Searched refs:outFile (Results 1 – 3 of 3) sorted by relevance
| /rk3399_rockchip-uboot/tools/rockchip/ |
| H A D | boot_merger.c | 612 static bool writeFile(FILE *outFile, const char *path, bool fix) in writeFile() argument 654 if (!fwrite(gBuf, size, 1, outFile)) in writeFile() 665 static bool saveEntry(FILE *outFile, char *path, rk_entry_type type, in saveEntry() argument 692 fwrite(&entry, sizeof(rk_boot_entry), 1, outFile); in saveEntry() 801 FILE *outFile; in mergeBoot() local 824 outFile = fopen(gOpts.outPath, "wb+"); in mergeBoot() 825 if (!outFile) { in mergeBoot() 832 fwrite(&hdr, 1, sizeof(rk_boot_header), outFile); in mergeBoot() 840 if (!saveEntry(outFile, (char *)gOpts.code471Path[i], ENTRY_471, in mergeBoot() 846 if (!saveEntry(outFile, (char *)gOpts.code472Path[i], ENTRY_472, in mergeBoot() [all …]
|
| H A D | trust_merger.c | 529 FILE *outFile = NULL; in mergetrust() local 622 outFile = fopen(gOpts.outPath, "wb+"); in mergetrust() 623 if (!outFile) { in mergetrust() 626 outFile = fopen(DEF_OUT_PATH, "wb"); in mergetrust() 627 if (!outFile) { in mergetrust() 636 if (!fwrite(gBuf, TRUST_HEADER_SIZE, 1, outFile)) in mergetrust() 651 if (!fwrite(gBuf, imagesize[i], 1, outFile)) in mergetrust() 706 if (!fwrite(outBuf, g_trust_max_size * g_trust_max_num, 1, outFile)) { in mergetrust() 729 if (outFile) in mergetrust() 730 fclose(outFile); in mergetrust()
|
| /rk3399_rockchip-uboot/lib/lzma/ |
| H A D | lzma.txt | 487 outStream.file = outFile; 520 MyWriteFileAndCheck(outFile, header, headerSize)
|