Home
last modified time | relevance | path

Searched refs:FileHandler (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfile_handler_unittest.cpp28 FileHandler handler(TESTPATH); in TEST_F()
35 FileHandler handler(TESTPATH); in TEST_F()
46 FileHandler handler(TESTPATH); in TEST_F()
55 FileHandler handler(TESTPATH); in TEST_F()
82 FileHandler handler(TESTPATH); in TEST_F()
104 FileHandler handler(TESTPATH); in TEST_F()
120 FileHandler handler(TESTPATH); in TEST_F()
/openbmc/phosphor-ipmi-flash/bmc/
H A Dfile_handler.cpp28 bool FileHandler::open(const std::string& path, std::ios_base::openmode mode) in open()
42 void FileHandler::close() in close()
47 bool FileHandler::write(std::uint32_t offset, in write()
55 std::optional<std::vector<uint8_t>> FileHandler::read(std::uint32_t offset, in read()
73 int FileHandler::getSize() in getSize()
H A Dfile_handler.hpp14 class FileHandler : public ImageHandlerInterface class
23 explicit FileHandler(const std::string& filename) : filename(filename) {} in FileHandler() function in ipmi_flash::FileHandler
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_by_type.hpp18 class FileHandler class
147 FileHandler(uint32_t fileHandle) : fileHandle(fileHandle) {} in FileHandler() function in pldm::responder::FileHandler
151 virtual ~FileHandler() {} in ~FileHandler()
163 std::unique_ptr<FileHandler> getHandlerByType(uint16_t fileType,
H A Dfile_io_by_type.cpp34 int FileHandler::transferFileData(int32_t fd, bool upstream, uint32_t offset, in transferFileData()
55 int FileHandler::transferFileDataToSocket(int32_t fd, uint32_t& length, in transferFileDataToSocket()
74 int FileHandler::transferFileData(const fs::path& path, bool upstream, in transferFileData()
126 std::unique_ptr<FileHandler> getHandlerByType(uint16_t fileType, in getHandlerByType()
187 int FileHandler::readFile(const std::string& filePath, uint32_t offset, in readFile()
H A Dfile_io_type_vpd.hpp15 class keywordHandler : public FileHandler
21 FileHandler(fileHandle) in keywordHandler()
H A Dfile_io_type_pel.hpp15 class PelHandler : public FileHandler
20 PelHandler(uint32_t fileHandle) : FileHandler(fileHandle) {} in PelHandler()
H A Dfile_io_type_progress_src.hpp16 class ProgressCodeHandler : public FileHandler
21 ProgressCodeHandler(uint32_t fileHandle) : FileHandler(fileHandle) {} in ProgressCodeHandler()
H A Dfile_io_type_dump.hpp16 class DumpHandler : public FileHandler
22 FileHandler(fileHandle), dumpType(fileType) in DumpHandler()
H A Dfile_io_type_cert.hpp22 class CertHandler : public FileHandler
28 FileHandler(fileHandle), certType(fileType) in CertHandler()
H A Dfile_io.cpp851 std::unique_ptr<FileHandler> handler{}; in rwFileByTypeIntoMemory()
923 std::unique_ptr<FileHandler> handler{}; in writeFileByType()
980 std::unique_ptr<FileHandler> handler{}; in readFileByType()
1029 std::unique_ptr<FileHandler> handler{}; in fileAck()
1123 std::unique_ptr<FileHandler> handler{}; in newFileAvailable()
1175 std::unique_ptr<FileHandler> handler{}; in fileAckWithMetaData()
1219 std::unique_ptr<FileHandler> handler{}; in newFileAvailableWithMetaData()
H A Dfile_io_type_lid.hpp27 class LidHandler : public FileHandler
33 FileHandler(fileHandle), lidType(lidType) in LidHandler()
H A Dfile_io_type_pcie.hpp137 class PCIeInfoHandler : public FileHandler
/openbmc/qemu/tests/functional/qemu_test/
H A Dtestcase.py53 self._log_fh = logging.FileHandler(self.log_filename, mode='w')
124 self._console_log_fh = logging.FileHandler(self.console_log_name,
/openbmc/phosphor-ipmi-flash/bmc/version-handler/
H A Dversion_handlers_builder.cpp74 output.handler = std::make_unique<FileHandler>(path); in buildHandlerFromJson()
/openbmc/phosphor-ipmi-flash/bmc/log-handler/
H A Dlog_handlers_builder.cpp63 output.handler = std::make_unique<FileHandler>(path); in buildHandlerFromJson()
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dmain.cpp57 return HandlerPack(name, std::make_unique<FileHandler>(path)); in CreateFileHandlerPack()
H A Dfirmware_handlers_builder.cpp63 output.handler = std::make_unique<FileHandler>(path); in buildHandlerFromJson()
/openbmc/openbmc/poky/scripts/
H A Doe-build-perf-test75 handler = logging.FileHandler(log_file)
H A Dyocto-check-layer86 fh = logging.FileHandler(args.output_log)
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/
H A Dserial.py21 fileHandler = logging.FileHandler(filePath, 'w', 'utf-8')
H A Dssh.py23 fileHandler = logging.FileHandler(filePath, 'w', 'utf-8')
/openbmc/openbmc/poky/meta/lib/oeqa/core/
H A Dcontext.py160 fh = logging.FileHandler(args.output_log)
/openbmc/openbmc/poky/meta/lib/oeqa/
H A Dtargetcontrol.py116 self.loggerhandler = logging.FileHandler(self.qemurunnerlog)
/openbmc/openbmc-build-scripts/scripts/
H A Dget_unit_test_report.py153 file_handler = logging.FileHandler(output_file)

12