Home
last modified time | relevance | path

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

/bootable/recovery/
Drecovery-persist.cpp70 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/
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/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/recovery_utils/
Dlogging.cpp192 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/
Dapplypatch.h125 bool CheckAndFreeSpaceOnCache(size_t bytes);
/bootable/recovery/updater/
Dinstall.cpp609 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()