Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 6 of 6) sorted by relevance

/bootable/recovery/otautil/include/otautil/
Dprint_sha1.h43 [[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/
Drecovery-persist.cpp72 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/
Dfreecache.cpp154 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/
Dlogging.cpp193 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/
Dapplypatch.h124 bool CheckAndFreeSpaceOnCache(size_t bytes);
/bootable/recovery/updater/
Dinstall.cpp640 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()