Home
last modified time | relevance | path

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

12

/dports/devel/llvm90/llvm-9.0.1.src/lib/XRay/
H A DInstrumentationMap.cpp218 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename); in loadInstrumentationMap() local
219 if (!FdOrErr) { in loadInstrumentationMap()
221 consumeError(FdOrErr.takeError()); in loadInstrumentationMap()
236 if (auto E = loadYAML(*FdOrErr, FileSize, Filename, Map.Sleds, in loadInstrumentationMap()
H A DTrace.cpp374 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename); in loadTraceFile() local
375 if (!FdOrErr) in loadTraceFile()
376 return FdOrErr.takeError(); in loadTraceFile()
392 *FdOrErr, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0, in loadTraceFile()
394 sys::fs::closeFile(*FdOrErr); in loadTraceFile()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/XRay/
H A 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()
H A 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()
H A 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()
/dports/devel/llvm10/llvm-10.0.1.src/lib/XRay/
H A 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()
H A 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()
H A 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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
H A 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()
H A 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()
H A 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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/XRay/
H A 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()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/XRay/
H A 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()
H A DProfile.cpp263 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename);
264 if (!FdOrErr)
265 return FdOrErr.takeError();
274 *FdOrErr, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0,
276 sys::fs::closeFile(*FdOrErr);
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/XRay/
H A 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()
H A 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()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/XRay/
H A 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()
H A 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()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/XRay/
H A 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()
H A 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()
/dports/devel/llvm11/llvm-11.0.1.src/lib/XRay/
H A 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()
H A 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()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/XRay/
H A 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()
H A 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()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/XRay/
H A 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()

12