Home
last modified time | relevance | path

Searched refs:outFile (Results 1 – 12 of 12) sorted by relevance

/openbmc/phosphor-mrw-tools/
H A Dgen_openpower_fru.pl13 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 Dgen_fru_properties.pl15 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 Dgen_callouts.pl14 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 Dgen_path_callouts.pl222 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 Ddns_updater.cpp19 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 Ddns_updater.hpp23 void updateDNSEntries(const fs::path& inFile, const fs::path& outFile);
/openbmc/libcper/tests/
H A Dir-tests.cpp43 std::ofstream outFile(cper_out, std::ios::binary); in cper_create_examples() local
44 if (!outFile.is_open()) { in cper_create_examples()
53 outFile.write(buffer, bytesRead); in cper_create_examples()
54 if (!outFile) { in cper_create_examples()
57 outFile.close(); in cper_create_examples()
61 outFile.close(); in cper_create_examples()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dutils.cpp64 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 Dbiosconfigcommands.cpp442 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()
784 std::ofstream outFile(FilePath, std::ios::binary | std::ios::app); in ipmiOEMSetPayload() local
785 outFile.seekp(pPayloadInProgress->payloadOffset); in ipmiOEMSetPayload()
791 outFile.write(writedata + 16, payload.size() - 16); in ipmiOEMSetPayload()
792 outFile.close(); in ipmiOEMSetPayload()
/openbmc/fb-ipmi-oem/src/
H A Dselcommands.cpp135 std::ofstream outFile(SEL_JSON_DATA_FILE); in writeEmptyJson() local
136 if (outFile) in writeEmptyJson()
139 outFile << selDataObj.dump(4); in writeEmptyJson()
140 outFile.close(); in writeEmptyJson()
H A Doemcommands.cpp2544 std::ofstream outFile(dumpDir / filename); in handleCtrlBank() local
2545 if (!outFile.is_open()) in handleCtrlBank()
2550 outFile << "Crash Dump generated at: " in handleCtrlBank()
2553 outFile << ss.str(); in handleCtrlBank()
2554 outFile.close(); in handleCtrlBank()
2656 std::ofstream outFile(JSON_OEM_DATA_FILE, std::ofstream::trunc); in registerOEMFunctions() local
2657 outFile << oemData.dump(4); // Write empty JSON object to the file in registerOEMFunctions()
2658 outFile.close(); in registerOEMFunctions()
/openbmc/u-boot/lib/lzma/
H A Dlzma.txt487 outStream.file = outFile;
520 MyWriteFileAndCheck(outFile, header, headerSize)