/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
D | egl_ext_stubs.cpp | 15 #include "libANGLE/Thread.h" 22 EGLint ClientWaitSyncKHR(Thread *thread, in ClientWaitSyncKHR() argument 28 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglClientWaitSync", in ClientWaitSyncKHR() 30 gl::Context *currentContext = thread->getContext(); in ClientWaitSyncKHR() 33 thread, syncObject->clientWait(display, currentContext, flags, timeout, &syncStatus), in ClientWaitSyncKHR() 36 thread->setSuccess(); in ClientWaitSyncKHR() 40 EGLImageKHR CreateImageKHR(Thread *thread, in CreateImageKHR() argument 47 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglCreateImageKHR", in CreateImageKHR() 50 ANGLE_EGL_TRY_RETURN(thread, display->createImage(context, target, buffer, attributes, &image), in CreateImageKHR() 53 thread->setSuccess(); in CreateImageKHR() [all …]
|
D | egl_ext_stubs_autogen.h | 32 class Thread; variable 35 EGLint ClientWaitSyncKHR(Thread *thread, 40 EGLImageKHR CreateImageKHR(Thread *thread, 46 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, 48 EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread, 53 EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread, 58 EGLStreamKHR CreateStreamKHR(Thread *thread, 61 EGLSyncKHR CreateSyncKHR(Thread *thread, 65 EGLint DebugMessageControlKHR(Thread *thread, 68 EGLBoolean DestroyImageKHR(Thread *thread, egl::Display *dpyPacked, Image *imagePacked); [all …]
|
D | egl_stubs_autogen.h | 32 class Thread; variable 35 EGLBoolean BindAPI(Thread *thread, EGLenum api); 36 EGLBoolean BindTexImage(Thread *thread, 40 EGLBoolean ChooseConfig(Thread *thread, 46 EGLint ClientWaitSync(Thread *thread, 51 EGLBoolean CopyBuffers(Thread *thread, 55 EGLContext CreateContext(Thread *thread, 60 EGLImage CreateImage(Thread *thread, 66 EGLSurface CreatePbufferFromClientBuffer(Thread *thread, 72 EGLSurface CreatePbufferSurface(Thread *thread, [all …]
|
D | egl_stubs.cpp | 16 #include "libANGLE/Thread.h" 50 EGLBoolean BindAPI(Thread *thread, EGLenum api) in BindAPI() argument 52 thread->setAPI(api); in BindAPI() 54 thread->setSuccess(); in BindAPI() 58 EGLBoolean BindTexImage(Thread *thread, Display *display, Surface *eglSurface, EGLint buffer) in BindTexImage() argument 60 ANGLE_EGL_TRY_RETURN(thread, display->prepareForCall(), "eglBindTexImage", in BindTexImage() 63 gl::Context *context = thread->getContext(); in BindTexImage() 69 ANGLE_EGL_TRY_RETURN(thread, eglSurface->bindTexImage(context, textureObject, buffer), in BindTexImage() 73 thread->setSuccess(); in BindTexImage() 77 EGLBoolean ChooseConfig(Thread *thread, in ChooseConfig() argument [all …]
|
D | entry_points_egl_autogen.cpp | 36 Thread *thread = egl::GetCurrentThread(); in EGL_ChooseConfig() local 41 ANGLE_EGL_VALIDATE(thread, ChooseConfig, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, in EGL_ChooseConfig() 44 return ChooseConfig(thread, dpyPacked, attrib_listPacked, configs, config_size, num_config); in EGL_ChooseConfig() 56 Thread *thread = egl::GetCurrentThread(); in EGL_CopyBuffers() local 61 ANGLE_EGL_VALIDATE(thread, CopyBuffers, GetDisplayIfValid(dpyPacked), EGLBoolean, dpyPacked, in EGL_CopyBuffers() 64 return CopyBuffers(thread, dpyPacked, surfacePacked, target); in EGL_CopyBuffers() 78 Thread *thread = egl::GetCurrentThread(); in EGL_CreateContext() local 85 ANGLE_EGL_VALIDATE(thread, CreateContext, GetDisplayIfValid(dpyPacked), EGLContext, dpyPacked, in EGL_CreateContext() 88 return CreateContext(thread, dpyPacked, configPacked, share_contextPacked, attrib_listPacked); in EGL_CreateContext() 101 Thread *thread = egl::GetCurrentThread(); in EGL_CreatePbufferSurface() local [all …]
|
D | entry_points_egl_ext_autogen.cpp | 32 Thread *thread = egl::GetCurrentThread(); in EGL_SetBlobCacheFuncsANDROID() local 36 ANGLE_EGL_VALIDATE_VOID(thread, SetBlobCacheFuncsANDROID, GetDisplayIfValid(dpyPacked), in EGL_SetBlobCacheFuncsANDROID() 39 SetBlobCacheFuncsANDROID(thread, dpyPacked, set, get); in EGL_SetBlobCacheFuncsANDROID() 49 Thread *thread = egl::GetCurrentThread(); in EGL_CreateNativeClientBufferANDROID() local 53 ANGLE_EGL_VALIDATE(thread, CreateNativeClientBufferANDROID, nullptr, EGLClientBuffer, in EGL_CreateNativeClientBufferANDROID() 56 return CreateNativeClientBufferANDROID(thread, attrib_listPacked); in EGL_CreateNativeClientBufferANDROID() 69 Thread *thread = egl::GetCurrentThread(); in EGL_GetCompositorTimingSupportedANDROID() local 75 ANGLE_EGL_VALIDATE(thread, GetCompositorTimingSupportedANDROID, GetDisplayIfValid(dpyPacked), in EGL_GetCompositorTimingSupportedANDROID() 78 return GetCompositorTimingSupportedANDROID(thread, dpyPacked, surfacePacked, namePacked); in EGL_GetCompositorTimingSupportedANDROID() 94 Thread *thread = egl::GetCurrentThread(); in EGL_GetCompositorTimingANDROID() local [all …]
|
/third_party/boost/libs/thread/test/ |
D | Jamfile.v2 | 113 rule thread-run ( sources ) 124 rule thread-test ( sources ) 139 rule thread-run2 ( sources : name ) 151 rule thread-run2-noit ( sources : name : reqs * ) 166 rule thread-run2-noit-pthread ( sources : name ) 181 rule thread-run2-h ( sources : name ) 193 rule thread-run-lib2 ( sources : name ) 204 rule thread-compile-fail ( sources : reqs * : name ) 213 rule clang-thread-safety ( properties * ) 217 return <cxxflags>-Werror=thread-safety <define>BOOST_THREAD_ENABLE_THREAD_SAFETY_ANALYSIS ; [all …]
|
/third_party/skia/tests/sksl/metal/ |
D | OutParams.metal | 9 void out_half_vh(thread half& v); 10 void _skOutParamHelper0_out_half_vh(thread half& h) { 15 void out_half2_vh2(thread half2& v); 16 void _skOutParamHelper1_out_half2_vh2(thread half2& h2) { 21 void out_half3_vh3(thread half3& v); 22 void _skOutParamHelper2_out_half3_vh3(thread half3& h3) { 27 void out_half4_vh4(thread half4& v); 28 void _skOutParamHelper3_out_half4_vh4(thread half4& h4) { 33 void out_half_vh(thread half& v); 34 void _skOutParamHelper4_out_half_vh(thread half3& h3) { [all …]
|
/third_party/boost/libs/thread/doc/ |
D | thread.qbk | 9 [library Thread 24 [template lockable_concept_link[link_text] [link thread.synchronization.mutex_concepts.lockable [li… 27 [def __BasicLockable [link thread.synchronization.mutex_concepts.basic_lockable `BasicLockable`]] 28 [def __Lockable [link thread.synchronization.mutex_concepts.lockable `Lockable`]] 29 [def __TimedLockable [link thread.synchronization.mutex_concepts.timed_lockable `TimedLockable`]] 30 [def __SharedLockable [link thread.synchronization.mutex_concepts.shared_lockable `SharedLockable`]] 31 [def __UpgradeLockable [link thread.synchronization.mutex_concepts.upgrade_lockable `UpgradeLockabl… 33 [template timed_lockable_concept_link[link_text] [link thread.synchronization.mutex_concepts.timed_… 37 [template shared_lockable_concept_link[link_text] [link thread.synchronization.mutex_concepts.share… 41 [template upgrade_lockable_concept_link[link_text] [link thread.synchronization.mutex_concepts.upgr… [all …]
|
D | thread_ref.qbk | 9 [section:thread_management Thread Management] 13 #include <boost/thread/thread.hpp> 17 class thread; 18 void swap(thread& lhs,thread& rhs) noexcept; 22 thread::id get_id() noexcept; 59 …for launching and managing threads. Each __thread__ object represents a single thread of execution, 60 or __not_a_thread__, and at most one __thread__ object represents a given thread of execution: obje… 64 allows the details of thread creation to be wrapped in a function. 66 boost::thread make_thread(); 70 boost::thread some_thread=make_thread(); [all …]
|
D | scoped_thread.qbk | 13 //#include <boost/thread/scoped_thread.hpp> 18 template <class CallableThread = join_if_joinable, class Thread = thread> 20 template <class CallableThread = join_if_joinable, class Thread = thread> 22 template <class CallableThread, class Thread = thread> 23 void swap(scoped_thread<Callable, Thread>& lhs, scoped_threadCallable, Thread>& rhs) noexcept; 26 …n C++ Concurrency in Action Boost.Thread defines a thread wrapper class that instead of calling te… 28 …scoped_thread class that doesn't allows any change in the wrapped thread, Boost.Thread provides a … 34 …thread that allows the user to state what to do at destruction time. One of the common uses is to … 36 …trict_scoped_thread hides completely the owned thread and so the user can do nothing with the owne… 38 boost::strict_scoped_thread<> t1((boost::thread(f))); [all …]
|
/third_party/skia/tests/sksl/shared/ |
D | OutParamsNoInline.metal | 14 void out_half_vh(Uniforms _uniforms, thread half& v); 15 void _skOutParamHelper0_out_half_vh(Uniforms _uniforms, thread half& h) { 20 void out_half2_vh2(Uniforms _uniforms, thread half2& v); 21 void _skOutParamHelper1_out_half2_vh2(Uniforms _uniforms, thread half2& h2) { 26 void out_half3_vh3(Uniforms _uniforms, thread half3& v); 27 void _skOutParamHelper2_out_half3_vh3(Uniforms _uniforms, thread half3& h3) { 32 void out_half4_vh4(Uniforms _uniforms, thread half4& v); 33 void _skOutParamHelper3_out_half4_vh4(Uniforms _uniforms, thread half4& h4) { 38 void out_half_vh(Uniforms _uniforms, thread half& v); 39 void _skOutParamHelper4_out_half_vh(Uniforms _uniforms, thread half3& h3) { [all …]
|
D | OutParams.metal | 14 void out_half_vh(Uniforms _uniforms, thread half& v); 15 void _skOutParamHelper0_out_half_vh(Uniforms _uniforms, thread half& h) { 20 void out_half2_vh2(Uniforms _uniforms, thread half2& v); 21 void _skOutParamHelper1_out_half2_vh2(Uniforms _uniforms, thread half2& h2) { 26 void out_half3_vh3(Uniforms _uniforms, thread half3& v); 27 void _skOutParamHelper2_out_half3_vh3(Uniforms _uniforms, thread half3& h3) { 32 void out_half4_vh4(Uniforms _uniforms, thread half4& v); 33 void _skOutParamHelper3_out_half4_vh4(Uniforms _uniforms, thread half4& h4) { 38 void out_half_vh(Uniforms _uniforms, thread half& v); 39 void _skOutParamHelper4_out_half_vh(Uniforms _uniforms, thread half3& h3) { [all …]
|
D | StructsInFunctions.metal | 26 thread bool operator==(thread const S& left, thread const S& right); 27 thread bool operator!=(thread const S& left, thread const S& right); 29 thread bool operator==(thread const Nested& left, thread const Nested& right); 30 thread bool operator!=(thread const Nested& left, thread const Nested& right); 32 thread bool operator==(thread const Compound& left, thread const Compound& right); 33 thread bool operator!=(thread const Compound& left, thread const Compound& right); 34 void modifies_a_struct_vS(thread S& s); 35 void _skOutParamHelper0_modifies_a_struct_vS(thread S& s) { 40 void modifies_a_struct_vS(thread S& s); 41 void _skOutParamHelper1_modifies_a_struct_vS(thread Nested& n3) { [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libGLESv2/ |
D | entry_points_egl.cpp | 19 #include "libANGLE/Thread.h" 59 Thread *thread = egl::GetCurrentThread(); in EGL_GetError() local 61 EGLint error = thread->getError(); in EGL_GetError() 62 thread->setSuccess(); in EGL_GetError() 80 Thread *thread = egl::GetCurrentThread(); in EGL_Initialize() local 83 ANGLE_EGL_TRY_RETURN(thread, ValidateInitialize(display), "eglInitialize", in EGL_Initialize() 86 ANGLE_EGL_TRY_RETURN(thread, display->initialize(), "eglInitialize", GetDisplayIfValid(display), in EGL_Initialize() 94 thread->setSuccess(); in EGL_Initialize() 102 Thread *thread = egl::GetCurrentThread(); in EGL_Terminate() local 105 ANGLE_EGL_TRY_RETURN(thread, ValidateTerminate(display), "eglTerminate", in EGL_Terminate() [all …]
|
D | entry_points_egl_ext.cpp | 18 #include "libANGLE/Thread.h" 38 Thread *thread = egl::GetCurrentThread(); in EGL_QuerySurfacePointerANGLE() local 46 thread->setError(error, GetDebug(), "eglQuerySurfacePointerANGLE", in EGL_QuerySurfacePointerANGLE() 53 thread->setSuccess(); in EGL_QuerySurfacePointerANGLE() 59 thread->setError(EglBadSurface(), GetDebug(), "eglQuerySurfacePointerANGLE", in EGL_QuerySurfacePointerANGLE() 70 thread->setError(EglBadAttribute(), GetDebug(), "eglQuerySurfacePointerANGLE", in EGL_QuerySurfacePointerANGLE() 78 thread->setError(EglBadAttribute(), GetDebug(), "eglQuerySurfacePointerANGLE", in EGL_QuerySurfacePointerANGLE() 84 thread->setError(EglBadAttribute(), GetDebug(), "eglQuerySurfacePointerANGLE", in EGL_QuerySurfacePointerANGLE() 92 thread->setError(error, GetDebug(), "eglQuerySurfacePointerANGLE", in EGL_QuerySurfacePointerANGLE() 97 thread->setSuccess(); in EGL_QuerySurfacePointerANGLE() [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | NV_shader_thread_group.txt | 52 to, run multiple shader threads for a single stage as a SIMD thread group, 53 where individual execution threads are assigned to thread groups in an 55 of new features to the OpenGL Shading Language to query thread states and 64 * New shader inputs to query the thread id, the warp id and the SM id. 66 * New shader inputs to query if a fragment shader thread is a helper 67 thread. 70 over all threads in a thread group. 73 a thread group. 84 language to support the thread state query and thread data sharing 87 Note that in this extension specification warp and thread group have the [all …]
|
D | NV_shader_thread_shuffle.txt | 48 to run multiple shader threads for a single stage as a SIMD thread group, 49 where individual execution threads are assigned to thread groups in an 52 multiple threads within a thread group. 60 language to support the thread data sharing functionalities. 89 (add a function to share data between threads in a thread group) 240 Shuffle functions allow active threads within a thread group to exchange 242 the operand <data> which can be different per thread and return a value 243 read from the source thread at an address computed with the <index> and 248 that specifies if the source thread from which the current thread reads 251 <width> is used for segmenting the thread group in multiple segments. The [all …]
|
/third_party/openGLES/extensions/NV/ |
D | NV_shader_thread_group.txt | 52 to, run multiple shader threads for a single stage as a SIMD thread group, 53 where individual execution threads are assigned to thread groups in an 55 of new features to the OpenGL Shading Language to query thread states and 64 * New shader inputs to query the thread id, the warp id and the SM id. 66 * New shader inputs to query if a fragment shader thread is a helper 67 thread. 70 over all threads in a thread group. 73 a thread group. 84 language to support the thread state query and thread data sharing 87 Note that in this extension specification warp and thread group have the [all …]
|
D | NV_shader_thread_shuffle.txt | 48 to run multiple shader threads for a single stage as a SIMD thread group, 49 where individual execution threads are assigned to thread groups in an 52 multiple threads within a thread group. 60 language to support the thread data sharing functionalities. 89 (add a function to share data between threads in a thread group) 240 Shuffle functions allow active threads within a thread group to exchange 242 the operand <data> which can be different per thread and return a value 243 read from the source thread at an address computed with the <index> and 248 that specifies if the source thread from which the current thread reads 251 <width> is used for segmenting the thread group in multiple segments. The [all …]
|
/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
D | deThreadUnix.c | 2 * drawElements Thread Library 21 * \brief Unix implementation of thread management. 53 pthread_t thread; member 56 } Thread; typedef 58 DE_STATIC_ASSERT(sizeof(deThread) >= sizeof(Thread*)); 62 Thread* thread = (Thread*)entryPtr; in startThread() local 63 deThreadFunc func = thread->func; in startThread() 64 void* arg = thread->arg; in startThread() 66 /* Start actual thread. */ in startThread() 75 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); in deThread_create() local [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/thread/ |
D | SDL_thread.c | 23 /* System independent thread management routines for SDL */ 105 /* This is a generic implementation of thread-local storage which doesn't 108 It is not especially efficient and doesn't clean up thread-local storage 109 as threads exit. If there is a real OS that doesn't support thread-local 114 SDL_threadID thread; member 126 SDL_threadID thread = SDL_ThreadID(); in SDL_Generic_GetTLSData() local 150 if (entry->thread == thread) { in SDL_Generic_GetTLSData() 165 SDL_threadID thread = SDL_ThreadID(); in SDL_Generic_SetTLSData() local 172 if (entry->thread == thread) { in SDL_Generic_SetTLSData() 190 entry->thread = thread; in SDL_Generic_SetTLSData() [all …]
|
/third_party/python/Lib/ |
D | _threading_local.py | 1 """Thread-local objects. 8 Thread-local objects support the management of thread-local data. 9 If you have data that you want to be local to a thread, simply create 10 a thread-local object and use its attributes: 26 What's important about thread-local objects is that their data are 27 local to a thread. If we access the data in a different thread: 37 >>> thread = threading.Thread(target=f) 38 >>> thread.start() 39 >>> thread.join() 43 we get different data. Furthermore, changes made in the other thread [all …]
|
/third_party/python/Doc/library/ |
D | threading.rst | 1 :mod:`threading` --- Thread-based parallelism 5 :synopsis: Thread-based parallelism. 27 <global interpreter lock>`, only one thread 42 Return the number of :class:`Thread` objects currently alive. The returned 50 Return the current :class:`Thread` object, corresponding to the caller's thread 51 of control. If the caller's thread of control was not created through the 52 :mod:`threading` module, a dummy thread object with limited functionality is 60 Handle uncaught exception raised by :func:`Thread.run`. 67 * *thread*: Thread which raised the exception, can be ``None``. 76 exceptions raised by :func:`Thread.run` are handled. [all …]
|
/third_party/grpc/src/core/lib/gprpp/ |
D | thd.h | 22 /** Internal thread interface. */ 36 /// Base class for platform-specific thread-state 46 class Thread { 51 /// Set whether the thread is joinable or detached. 58 /// Set whether the thread is tracked for fork support. 65 /// Sets thread stack size (in bytes). Sets to 0 will use the default stack 79 /// Does not produce a validly-constructed thread; must later 80 /// use placement new to construct a real thread. Does not init mu_ and cv_ 81 Thread() : state_(FAKE), impl_(nullptr) {} in Thread() function 83 /// Normal constructor to create a thread with name \a thd_name, [all …]
|