/bootable/recovery/tools/ota/ |
D | check-lost+found.c | 51 FILE *out = fopen(kOutputFile, "a"); in main() local 52 if (out == NULL) { in main() 59 fprintf(out, "*** check-lost+found ***\nStarted: %s", ctime(&start)); in main() 69 fprintf(out, "Wrote %s, rebooting\n", kMarkerFile); in main() 70 fflush(out); in main() 88 fprintf(out, "Reboot failed?!\n"); in main() 91 fprintf(out, "Can't write %s: %s\n", kMarkerFile, strerror(errno)); in main() 94 fprintf(out, "Found %s\n", kMarkerFile); in main() 103 fprintf(out, "Can't open %s: %s\n", fn, strerror(errno)); in main() 113 fprintf(out, "OMGZ FOUND %d FILES IN %s\n", count, fn); in main() [all …]
|
D | add-property-tag.c | 56 void write_tagged(FILE *out, const char *line, const char *tag, int number) { in write_tagged() argument 60 fprintf(out, "%.*s%s%d%s", (int)(end - line), line, tag, number, end); in write_tagged() 62 fprintf(out, "%.*s%s%s", (int)(end - line), line, tag, end); in write_tagged()
|
/bootable/recovery/ |
D | fuse_sideload.c | 120 struct fuse_init_out out; in handle_init() local 135 out.minor = MIN(req->minor, FUSE_KERNEL_MINOR_VERSION); in handle_init() 136 fuse_struct_size = sizeof(out); in handle_init() 148 out.major = FUSE_KERNEL_VERSION; in handle_init() 149 out.max_readahead = req->max_readahead; in handle_init() 150 out.flags = 0; in handle_init() 151 out.max_background = 32; in handle_init() 152 out.congestion_threshold = 32; in handle_init() 153 out.max_write = 4096; in handle_init() 154 fuse_reply(fd, hdr->unique, &out, fuse_struct_size); in handle_init() [all …]
|
D | bootloader.cpp | 29 static int get_bootloader_message_mtd(struct bootloader_message *out, const Volume* v); 31 static int get_bootloader_message_block(struct bootloader_message *out, const Volume* v); 34 int get_bootloader_message(struct bootloader_message *out) { in get_bootloader_message() argument 41 return get_bootloader_message_mtd(out, v); in get_bootloader_message() 43 return get_bootloader_message_block(out, v); in get_bootloader_message() 71 static int get_bootloader_message_mtd(struct bootloader_message *out, in get_bootloader_message_mtd() argument 94 memcpy(out, &data[write_size * MISC_COMMAND_PAGE], sizeof(*out)); in get_bootloader_message_mtd() 163 static int get_bootloader_message_block(struct bootloader_message *out, in get_bootloader_message_block() argument 181 memcpy(out, &temp, sizeof(temp)); in get_bootloader_message_block()
|
D | interlace-frames.py | 38 out = Image.new("RGB", (w, h*N)) variable 42 out.putpixel((i, j*N+fn), f.getpixel((i, j))) 53 out.save(sys.argv[-1], pnginfo=meta)
|
D | bootloader.h | 64 int get_bootloader_message(struct bootloader_message *out);
|
D | verifier.cpp | 329 Certificate* out = NULL; in load_keys() local 343 out = (Certificate*)realloc(out, *numKeys * sizeof(Certificate)); in load_keys() 344 Certificate* cert = out + (*numKeys - 1); in load_keys() 455 return out; in load_keys() 459 free(out); in load_keys()
|
D | NOTICE | 172 result of this License or out of the use or inability to use the
|
/bootable/recovery/mtdutils/ |
D | flash_image.c | 98 MtdWriteContext *out = mtd_write_partition(partition); in main() local 99 if (out == NULL) die("error writing %s", argv[1]); in main() 103 int wrote = mtd_write_data(out, buf, headerlen); in main() 108 wrote = mtd_write_data(out, buf, len); in main() 113 if (mtd_write_close(out)) die("error closing %s", argv[1]); in main() 117 out = mtd_write_partition(partition); in main() 118 if (out == NULL) die("error re-opening %s", argv[1]); in main() 120 wrote = mtd_write_data(out, header, headerlen); in main() 136 if (mtd_write_data(out, buf, len) != len) in main() 141 if (mtd_write_close(out)) die("error closing %s", argv[1]); in main()
|
/bootable/recovery/applypatch/ |
D | imgdiff.c | 538 int TryReconstruction(ImageChunk* chunk, unsigned char* out) { in TryReconstruction() argument 558 strm.next_out = out; in TryReconstruction() 562 if (memcmp(out, chunk->deflate_data+p, have) != 0) { in TryReconstruction() 590 unsigned char* out = malloc(BUFFER_SIZE); in ReconstructDeflateChunk() local 600 if (TryReconstruction(chunk, out) == 0) { in ReconstructDeflateChunk() 601 free(out); in ReconstructDeflateChunk() 606 free(out); in ReconstructDeflateChunk() 722 int out = 0; in MergeAdjacentNormalChunks() local 742 printf("chunk %d is now %d\n", in_start, out); in MergeAdjacentNormalChunks() 744 if (out != in_start) { in MergeAdjacentNormalChunks() [all …]
|
/bootable/recovery/updater/ |
D | blockimg.c | 69 RangeSet* out = malloc(sizeof(RangeSet) + num * sizeof(int)); in parse_range() local 70 if (out == NULL) { in parse_range() 75 out->count = num / 2; in parse_range() 76 out->size = 0; in parse_range() 79 out->pos[i] = strtol(strtok_r(NULL, ",", &save), NULL, 0); in parse_range() 81 out->size += out->pos[i]; in parse_range() 83 out->size -= out->pos[i]; in parse_range() 87 return out; in parse_range()
|