Home
last modified time | relevance | path

Searched refs:FileCloser (Results 1 – 3 of 3) sorted by relevance

/openbmc/openpower-proc-control/procedures/phal/
H A Dreinit_devtree.cpp27 struct FileCloser struct
34 using FILE_Ptr = std::unique_ptr<FILE, FileCloser>;
48 FILE_Ptr fpOverride(fopen(DEVTREE_ATTR_OVERRIDE_PATH, "r"), FileCloser()); in applyAttrOverride()
155 FileCloser()); in reinitDevtree()
187 FILE_Ptr fpImport(fopen(tmpFile.getPath().c_str(), "r"), FileCloser()); in reinitDevtree()
/openbmc/witherspoon-pfault-analysis/
H A Dpmbus.cpp39 struct FileCloser struct
240 std::unique_ptr<FILE, FileCloser> file{fopen(path.c_str(), "rb")}; in readBinary()
/openbmc/phosphor-power/
H A Dpmbus.cpp39 struct FileCloser struct
258 std::unique_ptr<FILE, FileCloser> file{fopen(path.c_str(), "rb")}; in readBinary()