/bootable/recovery/otafault/ |
H A D | test.cpp | 27 char buf[8]; local 29 int readv = ota_read(fd, buf, 4);
|
H A D | ota_io.cpp | 133 ssize_t ota_read(int fd, void* buf, size_t nbyte) { argument 146 ssize_t status = read(fd, buf, nbyte); 173 ssize_t ota_write(int fd, const void* buf, size_t nbyte) { argument 186 ssize_t status = write(fd, buf, nbyte);
|
/bootable/recovery/minadbd/ |
H A D | fuse_adb_provider_test.cpp | 86 char buf[1]; local 87 ASSERT_EQ(-EIO, read_block_adb(data, 0, reinterpret_cast<uint8_t*>(buf), 1));
|
/bootable/recovery/ |
H A D | recovery-persist.cpp | 68 char buf[4096]; local 70 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) { 71 fwrite(buf, 1, bytes, dest_fp); 85 const char *buf, size_t len, 91 std::string buffer(buf, len); 81 logsave( log_id_t , char , const char *filename, const char *buf, size_t len, void * ) argument
|
H A D | rotate_logs.cpp | 34 ssize_t logbasename(log_id_t /* id */, char /* prio */, const char* filename, const char* /* buf */, 44 ssize_t logrotate(log_id_t id, char prio, const char* filename, const char* buf, size_t len, argument 48 return __android_log_pmsg_file_write(id, prio, filename, buf, len); 57 return __android_log_pmsg_file_write(id, prio, filename, buf, len); 77 return __android_log_pmsg_file_write(id, prio, name.c_str(), buf, len);
|
H A D | roots.cpp | 206 struct stat buf; local 207 int ret = fstat(fd, &buf); 211 if (S_ISREG(buf.st_mode)) { 212 computed_size = buf.st_size - reserve_len; 213 } else if (S_ISBLK(buf.st_mode)) {
|
H A D | recovery.cpp | 412 static ssize_t __pmsg_write(const char *filename, const char *buf, size_t len) { argument 414 filename, buf, len); 436 char buf[4096]; local 438 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) { 439 fwrite(buf, 1, bytes, dest_fp);
|
/bootable/recovery/bootloader_message/ |
H A D | bootloader_message.cpp | 55 struct stat buf; local 56 ret = stat(blk_device.c_str(), &buf);
|
/bootable/recovery/tests/manual/ |
H A D | recovery_test.cpp | 44 const char *buf, size_t len, void *arg) { 48 EXPECT_EQ(myContent, buf); 86 std::string buf; local 87 EXPECT_TRUE(android::base::ReadFileToString(myFilename, &buf)); 88 EXPECT_EQ(myContent, buf); 43 __pmsg_fn(log_id_t logId, char prio, const char *filename, const char *buf, size_t len, void *arg) argument
|