MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / close

Method close

src/Common/PlatformFileSystem.cpp:229–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229bool PlatformFileSystem::close(std::istream &strm) {
230 std::scoped_lock<std::mutex> lock(m_inputStreamsMutex);
231
232 InputStreams::const_iterator it = m_inputStreams.find(&strm);
233 if (it != m_inputStreams.end()) {
234 m_inputStreams.erase(it);
235 return true;
236 }
237 return false;
238}
239
240std::ostream &PlatformFileSystem::openOutput(PathId fileId,
241 std::ios_base::openmode mode) {

Callers 15

compareFunction · 0.45
runFunction · 0.45
mainFunction · 0.45
batchCompilationFunction · 0.45
mainFunction · 0.45
TESTFunction · 0.45
processArgs_Method · 0.45
TESTFunction · 0.45
createFileList_Method · 0.45
reportHtmlMethod · 0.45
reportCoverageMethod · 0.45
initializeMethod · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36