Home
last modified time | relevance | path

Searched refs:GlobalMutex (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/rtc_base/synchronization/
Dmutex.h111 using GlobalMutex = absl::Mutex; variable
114 class RTC_LOCKABLE GlobalMutex final {
116 GlobalMutex(const GlobalMutex&) = delete;
117 GlobalMutex& operator=(const GlobalMutex&) = delete;
119 constexpr explicit GlobalMutex(absl::ConstInitType /*unused*/) in GlobalMutex() function
135 explicit GlobalMutexLock(GlobalMutex* mutex)
140 GlobalMutex* mutex_;
Dmutex.cc19 void GlobalMutex::Lock() { in Lock()
25 void GlobalMutex::Unlock() { in Unlock()
30 GlobalMutexLock::GlobalMutexLock(GlobalMutex* mutex) : mutex_(mutex) { in GlobalMutexLock()
Dmutex_unittest.cc182 LockRunner<GlobalMutex, RawMutexLocker<GlobalMutex>> runner(absl::kConstInit); in TEST()
191 LockRunner<GlobalMutex, MutexLockLocker<GlobalMutex, GlobalMutexLock>> runner( in TEST()
200 ABSL_CONST_INIT static GlobalMutex global_lock(absl::kConstInit); in TEST()
/external/angle/src/libGL/
Dentry_points_gl_1_autogen.cpp41 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_Accum()
64 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_AlphaFunc()
87 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_Begin()
117 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_Bitmap()
143 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendFunc()
165 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CallList()
187 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CallLists()
210 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_Clear()
232 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ClearAccum()
255 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ClearColor()
[all …]
Dentry_points_gl_2_autogen.cpp43 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_AttachShader()
68 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindAttribLocation()
92 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendEquationSeparate()
115 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CompileShader()
138 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CreateProgram()
168 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CreateShader()
196 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DeleteProgram()
219 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DeleteShader()
244 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DetachShader()
266 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DisableVertexAttribArray()
[all …]
Dentry_points_gl_3_autogen.cpp41 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BeginConditionalRender()
65 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BeginTransformFeedback()
90 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindBufferBase()
118 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindBufferRange()
145 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindFragDataLocation()
169 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindFramebuffer()
193 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindRenderbuffer()
216 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindVertexArray()
252 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlitFramebuffer()
279 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CheckFramebufferStatus()
[all …]
Dentry_points_gl_4_autogen.cpp42 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BeginQueryIndexed()
66 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindTransformFeedback()
90 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendEquationSeparatei()
113 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendEquationi()
141 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendFuncSeparatei()
167 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendFunci()
191 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DeleteTransformFeedbacks()
215 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DrawArraysIndirect()
242 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DrawElementsIndirect()
267 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DrawTransformFeedback()
[all …]
/external/angle/src/libGLESv2/
Dentry_points_gles_1_0_autogen.cpp34 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_AlphaFunc()
58 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_AlphaFuncx()
82 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ClearColorx()
104 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ClearDepthx()
126 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ClientActiveTexture()
149 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ClipPlanef()
171 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ClipPlanex()
194 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_Color4f()
217 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_Color4ub()
240 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_Color4x()
[all …]
Dentry_points_gles_2_0_autogen.cpp33 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ActiveTexture()
57 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_AttachShader()
82 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindAttribLocation()
107 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindBuffer()
131 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindFramebuffer()
155 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindRenderbuffer()
180 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindTexture()
203 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendColor()
226 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendEquation()
249 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendEquationSeparate()
[all …]
Dglobal_state.h21 using GlobalMutex = std::recursive_mutex; variable
94 angle::GlobalMutex &GetGlobalMutex();
114 std::lock_guard<angle::GlobalMutex> globalMutexLock(egl::GetGlobalMutex())
168 ANGLE_INLINE std::unique_lock<angle::GlobalMutex> GetContextLock(Context *context) in GetContextLock()
171 auto lock = std::unique_lock<angle::GlobalMutex>(egl::GetGlobalMutex()); in GetContextLock()
176 return context->isShared() ? std::unique_lock<angle::GlobalMutex>(egl::GetGlobalMutex()) in GetContextLock()
177 : std::unique_lock<angle::GlobalMutex>(); in GetContextLock()
Dentry_points_gles_3_0_autogen.cpp35 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BeginQuery()
59 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BeginTransformFeedback()
84 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindBufferBase()
112 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindBufferRange()
138 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindSampler()
162 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindTransformFeedback()
185 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindVertexArray()
221 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlitFramebuffer()
248 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ClearBufferfi()
272 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ClearBufferfv()
[all …]
Dentry_points_gles_3_2_autogen.cpp32 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendBarrier()
55 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendEquationSeparatei()
78 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendEquationi()
106 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendFuncSeparatei()
132 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendFunci()
156 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ColorMaski()
199 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CopyImageSubData()
229 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DebugMessageCallback()
262 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DebugMessageControl()
296 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DebugMessageInsert()
[all …]
Dentry_points_gles_3_1_autogen.cpp35 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ActiveShaderProgram()
69 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindImageTexture()
94 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindProgramPipeline()
122 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BindVertexBuffer()
150 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CreateShaderProgramv()
182 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DeleteProgramPipelines()
206 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DispatchCompute()
231 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DispatchComputeIndirect()
255 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DrawArraysIndirect()
282 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DrawElementsIndirect()
[all …]
Dentry_points_gles_ext_autogen.cpp55 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DrawArraysInstancedBaseInstanceANGLE()
93 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DrawElementsInstancedBaseVertexBaseInstanceANGLE()
130 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_MultiDrawArraysInstancedBaseInstanceANGLE()
172 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_MultiDrawElementsInstancedBaseVertexBaseInstanceANGLE()
220 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CopyTexture3DANGLE()
276 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_CopySubTexture3DANGLE()
323 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlitFramebufferANGLE()
356 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_RenderbufferStorageMultisampleANGLE()
388 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_GetTexImageANGLE()
419 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_GetRenderbufferImageANGLE()
[all …]
Dglobal_state.cpp24 ANGLE_REQUIRE_CONSTANT_INIT std::atomic<angle::GlobalMutex *> g_Mutex(nullptr);
61 std::unique_ptr<angle::GlobalMutex> newMutex(new angle::GlobalMutex()); in AllocateMutex()
62 angle::GlobalMutex *expected = nullptr; in AllocateMutex()
74 angle::GlobalMutex &GetGlobalMutex() in GetGlobalMutex()
150 angle::GlobalMutex *mutex = g_Mutex.exchange(nullptr); in DeallocateMutex()
153 std::lock_guard<angle::GlobalMutex> lock(*mutex); in DeallocateMutex()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_profile_collector.cpp29 SpinMutex GlobalMutex; variable
127 SpinMutexLock Lock(&GlobalMutex); in post()
236 SpinMutexLock Lock(&GlobalMutex); in serialize()
307 SpinMutexLock Lock(&GlobalMutex); in reset()
379 SpinMutexLock Lock(&GlobalMutex); in nextBuffer()
/external/webrtc/rtc_base/system/
Dthread_registry.cc33 ABSL_CONST_INIT GlobalMutex g_thread_registry_lock(absl::kConstInit);
/external/webrtc/pc/
Dsrtp_session.h128 static webrtc::GlobalMutex lock_;
Dsrtp_session.cc366 ABSL_CONST_INIT webrtc::GlobalMutex g_libsrtp_lock(absl::kConstInit);
/external/webrtc/sdk/android/native_api/stacktrace/
Dstacktrace.cc95 ABSL_CONST_INIT GlobalMutex g_signal_handler_lock(absl::kConstInit);
/external/webrtc/media/sctp/
Dsctp_transport.cc61 ABSL_CONST_INIT webrtc::GlobalMutex g_usrsctp_lock_(absl::kConstInit);