Searched defs:bytes (Results 1 - 3 of 3) sorted by relevance

/bootable/recovery/applypatch/
H A Dmain.c38 size_t bytes = strtol(argv[2], &endptr, 10); local
39 if (bytes == 0 && endptr == argv[2]) {
43 return CacheSizeCheck(bytes);
188 " or %s -s <bytes>\n"
H A Dapplypatch.c80 printf("short read of \"%s\" (%ld bytes of %ld)\n",
110 // "EMMC:<partition_device>:..."). The smallest size_n bytes for
215 file->size = 0; // # bytes read so far
218 // Read enough additional bytes to get us up to the next size
234 printf("short read (%zu bytes of %zu) for partition \"%s\"\n",
321 printf("short write of \"%s\" (%ld bytes of %ld) (%s)\n",
395 printf("only wrote %zu of %zu bytes to MTD %s\n",
630 printf("error writing %d bytes: %s\n", (int)(len-done), strerror(errno));
654 // Return the amount of free space (in bytes) on the filesystem
665 int CacheSizeCheck(size_t bytes) { argument
[all...]
/bootable/recovery/updater/
H A Dinstall.c268 // fs_type="yaffs2" partition_type="MTD" location=partition fs_size=<bytes> mount_point=<location>
269 // fs_type="ext4" partition_type="EMMC" location=device fs_size=<bytes> mount_point=<location>
270 // fs_type="f2fs" partition_type="EMMC" location=device fs_size=<bytes> mount_point=<location>
273 // if fs_size < 0, then reserve that many bytes at the end of the partition (not for "f2fs")
572 printf("%s: failed to allocate %ld bytes for %s\n",
966 ErrorAbort(state, "%s: failed to alloc %lld bytes", name, (long long)st.st_size+1);
978 ErrorAbort(state, "%s: failed to read %lld bytes from %s",
1131 // apply_patch_space(bytes)
1140 size_t bytes = strtol(bytes_str, &endptr, 10); local
1141 if (bytes
[all...]

Completed in 90 milliseconds