| /openbmc/phosphor-mrw-tools/ |
| H A D | gen_openpower_fru.pl | 13 my $outFile = ""; 19 "o=s" => \$outFile, 23 if (($mrwFile eq "") or ($configFile eq "") or ($outFile eq "")) 80 open(my $fh, '>', $outFile) or die "Could not open file '$outFile' $!";
|
| H A D | gen_fru_properties.pl | 15 my $outFile = ""; 23 "o=s" => \$outFile, 29 if (($mrwFile eq "") or ($configFile eq "") or ($outFile eq "")) 60 open(my $fh, '>', $outFile) or die "Could not open file '$outFile' $!";
|
| H A D | gen_callouts.pl | 14 my $outFile = ""; 19 "o=s" => \$outFile, 24 if (($mrwFile eq "") or ($outFile eq "")) 45 open(my $fh, '>', $outFile) or die "Could not open file '$outFile' $!";
|
| H A D | gen_path_callouts.pl | 222 my $outFile = ""; 234 "o=s" => \$outFile, 240 if (($mrwFile eq "") or ($outFile eq "")) 262 my $outDir = dirname($outFile); 790 open(my $fh, '>', $outFile) or die "Could not open file '$outFile' $!";
|
| /openbmc/phosphor-networkd/src/ |
| H A D | dns_updater.cpp | 19 void updateDNSEntries(const fs::path& inFile, const fs::path& outFile) in updateDNSEntries() argument 24 std::fstream outStream(outFile, std::fstream::out); in updateDNSEntries() 27 lg2::error("Unable to open output file {FILE}", "FILE", outFile); in updateDNSEntries()
|
| H A D | ncsi_cmd.cpp | 546 std::ofstream outFile(fileName, std::ios::binary); in ncsiDump() local 554 if (outFile.is_open()) in ncsiDump() 555 outFile.close(); in ncsiDump() 559 if (!outFile.is_open()) in ncsiDump() 578 outFile.close(); in ncsiDump() 593 outFile.close(); in ncsiDump() 602 if (outFile.is_open()) in ncsiDump() 604 outFile.write( in ncsiDump() 671 outFile.close(); in ncsiDump()
|
| H A D | dns_updater.hpp | 23 void updateDNSEntries(const fs::path& inFile, const fs::path& outFile);
|
| /openbmc/libcper/tests/ |
| H A D | ir-tests.c | 90 FILE *outFile = NULL; in cper_create_examples() local 103 outFile = fopen(info->cper_out, "wb"); in cper_create_examples() 104 if (outFile == NULL) { in cper_create_examples() 116 fclose(outFile); in cper_create_examples() 117 outFile = NULL; in cper_create_examples() 130 fwrite(hex_str, sizeof(char), 2, outFile); in cper_create_examples() 132 fwrite("\n", sizeof(char), 1, outFile); in cper_create_examples() 135 fclose(outFile); in cper_create_examples() 136 outFile = NULL; in cper_create_examples() 156 if (outFile != NULL) { in cper_create_examples() [all …]
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/ |
| H A D | utils.cpp | 64 std::ofstream outFile(dstFile, std::ios::out); in mergeFiles() local 81 outFile << inFile.rdbuf(); in mergeFiles() 84 outFile.close(); in mergeFiles()
|
| /openbmc/intel-ipmi-oem/src/ |
| H A D | biosconfigcommands.cpp | 442 std::ofstream outFile(biosConfigNVPath, std::ios::binary); in flushNVOOBdata() local 444 outFile.seekp(std::ios_base::beg); in flushNVOOBdata() 446 outFile.write(writedata, sizeof(struct NVOOBdata)); in flushNVOOBdata() 448 if (!outFile.good()) in flushNVOOBdata() 785 std::ofstream outFile(FilePath, std::ios::binary | std::ios::app); in ipmiOEMSetPayload() local 786 outFile.seekp(pPayloadInProgress->payloadOffset); in ipmiOEMSetPayload() 792 outFile.write(writedata + 16, payload.size() - 16); in ipmiOEMSetPayload() 793 outFile.close(); in ipmiOEMSetPayload()
|
| /openbmc/fb-ipmi-oem/src/ |
| H A D | selcommands.cpp | 137 std::ofstream outFile(SEL_JSON_DATA_FILE); in writeEmptyJson() local 138 if (outFile) in writeEmptyJson() 141 outFile << selDataObj.dump(4); in writeEmptyJson() 142 outFile.close(); in writeEmptyJson()
|
| H A D | oemcommands.cpp | 2707 std::ofstream outFile(dumpDir / filename); in handleCtrlBank() local 2708 if (!outFile.is_open()) in handleCtrlBank() 2713 outFile << "Crash Dump generated at: " in handleCtrlBank() 2716 outFile << ss.str(); in handleCtrlBank() 2717 outFile.close(); in handleCtrlBank() 2819 std::ofstream outFile(JSON_OEM_DATA_FILE, std::ofstream::trunc); in registerOEMFunctions() local 2820 outFile << oemData.dump(4); // Write empty JSON object to the file in registerOEMFunctions() 2821 outFile.close(); in registerOEMFunctions()
|
| /openbmc/u-boot/lib/lzma/ |
| H A D | lzma.txt | 487 outStream.file = outFile; 520 MyWriteFileAndCheck(outFile, header, headerSize)
|