Searched refs:bytes (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/applypatch/ |
D | main.c | 38 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()
|
D | applypatch.h | 48 int CacheSizeCheck(size_t bytes);
|
D | applypatch.c | 668 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/ |
D | recovery.cpp | 302 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/ |
D | install.c | 1140 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()
|