Home
last modified time | relevance | path

Searched refs:FdOrErr (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DInstrumentationMap.cpp231 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename); in loadInstrumentationMap() local
232 if (!FdOrErr) { in loadInstrumentationMap()
234 consumeError(FdOrErr.takeError()); in loadInstrumentationMap()
249 if (auto E = loadYAML(*FdOrErr, FileSize, Filename, Map.Sleds, in loadInstrumentationMap()
DProfile.cpp263 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename); in loadProfile() local
264 if (!FdOrErr) in loadProfile()
265 return FdOrErr.takeError(); in loadProfile()
274 *FdOrErr, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0, in loadProfile()
276 sys::fs::closeFile(*FdOrErr); in loadProfile()
DTrace.cpp381 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename); in loadTraceFile() local
382 if (!FdOrErr) in loadTraceFile()
383 return FdOrErr.takeError(); in loadTraceFile()
399 *FdOrErr, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0, in loadTraceFile()
401 sys::fs::closeFile(*FdOrErr); in loadTraceFile()
/external/llvm-project/llvm/lib/XRay/
DProfile.cpp263 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename); in loadProfile() local
264 if (!FdOrErr) in loadProfile()
265 return FdOrErr.takeError(); in loadProfile()
274 *FdOrErr, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0, in loadProfile()
276 sys::fs::closeFile(*FdOrErr); in loadProfile()
DTrace.cpp381 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename); in loadTraceFile() local
382 if (!FdOrErr) in loadTraceFile()
383 return FdOrErr.takeError(); in loadTraceFile()
399 *FdOrErr, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0, in loadTraceFile()
401 sys::fs::closeFile(*FdOrErr); in loadTraceFile()
DInstrumentationMap.cpp266 Expected<sys::fs::file_t> FdOrErr = in loadInstrumentationMap() local
268 if (!FdOrErr) { in loadInstrumentationMap()
270 consumeError(FdOrErr.takeError()); in loadInstrumentationMap()
285 if (auto E = loadYAML(*FdOrErr, FileSize, Filename, Map.Sleds, in loadInstrumentationMap()