Home
last modified time | relevance | path

Searched refs:CurrentStatus (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/compiler-rt/lib/xray/
Dxray_profiling.cpp316 s32 CurrentStatus = XRayLogInitStatus::XRAY_LOG_INITIALIZED; in profilingFinalize() local
317 if (!atomic_compare_exchange_strong(&ProfilerLogStatus, &CurrentStatus, in profilingFinalize()
322 return static_cast<XRayLogInitStatus>(CurrentStatus); in profilingFinalize()
338 return static_cast<XRayLogInitStatus>(CurrentStatus); in profilingFinalize()
358 s32 CurrentStatus = XRayLogInitStatus::XRAY_LOG_UNINITIALIZED; in profilingLoggingInit() local
359 if (!atomic_compare_exchange_strong(&ProfilerLogStatus, &CurrentStatus, in profilingLoggingInit()
365 return static_cast<XRayLogInitStatus>(CurrentStatus); in profilingLoggingInit()
Dxray_fdr_logging.cpp388 s32 CurrentStatus = XRayLogInitStatus::XRAY_LOG_INITIALIZED; in fdrLoggingFinalize() local
389 if (!atomic_compare_exchange_strong(&LoggingStatus, &CurrentStatus, in fdrLoggingFinalize()
394 return static_cast<XRayLogInitStatus>(CurrentStatus); in fdrLoggingFinalize()
619 s32 CurrentStatus = XRayLogInitStatus::XRAY_LOG_UNINITIALIZED; in fdrLoggingInit() local
620 if (!atomic_compare_exchange_strong(&LoggingStatus, &CurrentStatus, in fdrLoggingInit()
625 return static_cast<XRayLogInitStatus>(CurrentStatus); in fdrLoggingInit()