Lines Matching refs:string

38 static std::string get_misc_blk_device(std::string* err) {  in get_misc_blk_device()
54 static bool wait_for_device(const std::string& blk_device, std::string* err) { in wait_for_device()
75 static bool read_misc_partition(void* p, size_t size, const std::string& misc_blk_device, in read_misc_partition()
76 size_t offset, std::string* err) { in read_misc_partition()
99 static bool write_misc_partition(const void* p, size_t size, const std::string& misc_blk_device, in write_misc_partition()
100 size_t offset, std::string* err) { in write_misc_partition()
125 std::string get_bootloader_message_blk_device(std::string* err) { in get_bootloader_message_blk_device()
126 std::string misc_blk_device = get_misc_blk_device(err); in get_bootloader_message_blk_device()
132 bool read_bootloader_message_from(bootloader_message* boot, const std::string& misc_blk_device, in read_bootloader_message_from()
133 std::string* err) { in read_bootloader_message_from()
138 bool read_bootloader_message(bootloader_message* boot, std::string* err) { in read_bootloader_message()
139 std::string misc_blk_device = get_misc_blk_device(err); in read_bootloader_message()
146 bool read_bootloader_control_from(bootloader_control* boot_ctrl, const std::string& misc_blk_device, in read_bootloader_control_from()
147 std::string* err) { in read_bootloader_control_from()
152 bool write_bootloader_message_to(const bootloader_message& boot, const std::string& misc_blk_device, in write_bootloader_message_to()
153 std::string* err) { in write_bootloader_message_to()
158 bool write_bootloader_message(const bootloader_message& boot, std::string* err) { in write_bootloader_message()
159 std::string misc_blk_device = get_misc_blk_device(err); in write_bootloader_message()
166 bool write_bootloader_control_to(const bootloader_control* boot_ctrl, const std::string& misc_blk_d… in write_bootloader_control_to()
167 std::string* err) { in write_bootloader_control_to()
172 bool clear_bootloader_message(std::string* err) { in clear_bootloader_message()
177 bool write_bootloader_message(const std::vector<std::string>& options, std::string* err) { in write_bootloader_message()
184 bool update_bootloader_message(const std::vector<std::string>& options, std::string* err) { in update_bootloader_message()
195 const std::vector<std::string>& options) { in update_bootloader_message_in_struct()
212 bool write_reboot_bootloader(std::string* err) { in write_reboot_bootloader()
225 bool read_wipe_package(std::string* package_data, size_t size, std::string* err) { in read_wipe_package()
226 std::string misc_blk_device = get_misc_blk_device(err); in read_wipe_package()
235 bool write_wipe_package(const std::string& package_data, std::string* err) { in write_wipe_package()
236 std::string misc_blk_device = get_misc_blk_device(err); in write_wipe_package()
245 std::string err; in write_reboot_bootloader()
250 std::string err; in write_bootloader_message()