Lines Matching refs:Context
30 static __rtsan::Context &GetContextForThisThreadImpl() { in GetContextForThisThreadImpl()
36 __rtsan::Context *current_thread_context = in GetContextForThisThreadImpl()
37 static_cast<__rtsan::Context *>(pthread_getspecific(context_key)); in GetContextForThisThreadImpl()
39 current_thread_context = static_cast<__rtsan::Context *>( in GetContextForThisThreadImpl()
40 __sanitizer::InternalAlloc(sizeof(__rtsan::Context))); in GetContextForThisThreadImpl()
41 new (current_thread_context) __rtsan::Context(); in GetContextForThisThreadImpl()
64 __rtsan::Context::Context() = default;
66 void __rtsan::Context::RealtimePush() { realtime_depth++; } in RealtimePush()
68 void __rtsan::Context::RealtimePop() { realtime_depth--; } in RealtimePop()
70 void __rtsan::Context::BypassPush() { bypass_depth++; } in BypassPush()
72 void __rtsan::Context::BypassPop() { bypass_depth--; } in BypassPop()
74 void __rtsan::Context::ExpectNotRealtime( in ExpectNotRealtime()
84 bool __rtsan::Context::InRealtimeContext() const { return realtime_depth > 0; } in InRealtimeContext()
86 bool __rtsan::Context::IsBypassed() const { return bypass_depth > 0; } in IsBypassed()
88 void __rtsan::Context::PrintDiagnostics(const char *intercepted_function_name) { in PrintDiagnostics()
96 __rtsan::Context &__rtsan::GetContextForThisThread() { in GetContextForThisThread()