Searched refs:bytes (Results 1 – 6 of 6) sorted by relevance
/bootable/recovery/ |
D | recovery-persist.cpp | 70 size_t bytes; in copy_file() local 71 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) { in copy_file() 72 fwrite(buf, 1, bytes, dest_fp); in copy_file()
|
/bootable/recovery/otautil/include/otautil/ |
D | print_sha1.h | 43 [[maybe_unused]] static std::string print_hex(const uint8_t* bytes, size_t len) { in print_hex() argument 44 return print_sha1(bytes, len); in print_hex()
|
/bootable/recovery/applypatch/ |
D | freecache.cpp | 154 bool CheckAndFreeSpaceOnCache(size_t bytes) { in CheckAndFreeSpaceOnCache() argument 157 LOG(WARNING) << "Skipped making (" << bytes in CheckAndFreeSpaceOnCache() 164 if (RemoveFilesInDirectory(bytes, dirname, FreeSpaceForFile)) { in CheckAndFreeSpaceOnCache()
|
/bootable/recovery/recovery_utils/ |
D | logging.cpp | 192 size_t bytes; in copy_log_file() local 193 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) { in copy_log_file() 194 fwrite(buf, 1, bytes, dest_fp); in copy_log_file()
|
/bootable/recovery/applypatch/include/applypatch/ |
D | applypatch.h | 125 bool CheckAndFreeSpaceOnCache(size_t bytes);
|
/bootable/recovery/updater/ |
D | install.cpp | 609 size_t bytes; in ApplyPatchSpaceFn() local 610 if (!android::base::ParseUint(bytes_str.c_str(), &bytes)) { in ApplyPatchSpaceFn() 616 if (state->is_retry || CheckAndFreeSpaceOnCache(bytes)) { in ApplyPatchSpaceFn()
|