Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dmain.c38 size_t bytes = strtol(argv[2], &endptr, 10); in SpaceMode() local
39 if (bytes == 0 && endptr == argv[2]) { in SpaceMode()
43 return CacheSizeCheck(bytes); in SpaceMode()
Dapplypatch.h48 int CacheSizeCheck(size_t bytes);
Dapplypatch.c668 int CacheSizeCheck(size_t bytes) { in CacheSizeCheck() argument
669 if (MakeFreeSpaceOnCache(bytes) < 0) { in CacheSizeCheck()
670 printf("unable to make %ld bytes available on /cache\n", (long)bytes); in CacheSizeCheck()
/bootable/recovery/
Drecovery.cpp302 size_t bytes; in copy_log_file() local
303 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) { in copy_log_file()
304 fwrite(buf, 1, bytes, dest_fp); in copy_log_file()
/bootable/recovery/updater/
Dinstall.c1140 size_t bytes = strtol(bytes_str, &endptr, 10); in ApplyPatchSpaceFn() local
1141 if (bytes == 0 && endptr == bytes_str) { in ApplyPatchSpaceFn()
1148 return StringValue(strdup(CacheSizeCheck(bytes) ? "" : "t")); in ApplyPatchSpaceFn()