Searched refs:output (Results 1 - 2 of 2) sorted by relevance
/bootable/recovery/tools/ota/ |
H A D | add-property-tag.c | 55 // Write line to output with the tag added, adding a number (if >0) 102 FILE *output = fopen(tmpname, "w"); local 103 if (output == NULL) { 112 fputs(line, output); // Pass through unmodified 117 fputs(line, output); // Remove the tag but don't re-add it 119 write_tagged(output, line, tag, number + do_number); 125 fclose(output);
|
/bootable/recovery/applypatch/ |
H A D | applypatch.c | 814 int output; local 840 // write the output to /tmp and then copy it to the 922 output = -1; 926 // We store the decoded output in memory. 929 printf("failed to alloc %ld bytes for output\n", 938 // We write the decoded output to "<tgt-file>.patch". 943 output = open(outname, O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, 945 if (output < 0) { 946 printf("failed to open output file %s: %s\n", 951 token = &output; [all...] |
Completed in 53 milliseconds