Searched refs:bytes (Results 1 – 6 of 6) sorted by relevance
/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/ |
D | recovery-persist.cpp | 72 size_t bytes; in copy_file() local 73 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) { in copy_file() 74 fwrite(buf, 1, bytes, dest_fp); in copy_file()
|
/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/otautil/ |
D | logging.cpp | 193 size_t bytes; in copy_log_file() local 194 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) { in copy_log_file() 195 fwrite(buf, 1, bytes, dest_fp); in copy_log_file()
|
/bootable/recovery/applypatch/include/applypatch/ |
D | applypatch.h | 124 bool CheckAndFreeSpaceOnCache(size_t bytes);
|
/bootable/recovery/updater/ |
D | install.cpp | 640 size_t bytes; in ApplyPatchSpaceFn() local 641 if (!android::base::ParseUint(bytes_str.c_str(), &bytes)) { in ApplyPatchSpaceFn() 647 if (state->is_retry || CheckAndFreeSpaceOnCache(bytes)) { in ApplyPatchSpaceFn()
|