Home
last modified time | relevance | path

Searched full:thread (Results 1 – 25 of 6073) sorted by relevance

12345678910>>...243

/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Degl_ext_stubs.cpp15 #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 …]
Degl_ext_stubs_autogen.h32 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 …]
Degl_stubs_autogen.h32 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 …]
Degl_stubs.cpp16 #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 …]
Dentry_points_egl_autogen.cpp36 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 …]
Dentry_points_egl_ext_autogen.cpp32 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/skia/tests/sksl/metal/
DOutParams.metal9 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/skia/tests/sksl/shared/
DOutParams.metal14 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 …]
DOutParamsNoInline.metal14 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 …]
DStructsInFunctions.metal26 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 …]
DMatricesNonsquare.metal14 thread bool operator==(const half2x3 left, const half2x3 right);
15 thread bool operator!=(const half2x3 left, const half2x3 right);
17 thread bool operator==(const half2x4 left, const half2x4 right);
18 thread bool operator!=(const half2x4 left, const half2x4 right);
20 thread bool operator==(const half3x2 left, const half3x2 right);
21 thread bool operator!=(const half3x2 left, const half3x2 right);
23 thread bool operator==(const half3x4 left, const half3x4 right);
24 thread bool operator!=(const half3x4 left, const half3x4 right);
26 thread bool operator==(const half4x2 left, const half4x2 right);
27 thread bool operator!=(const half4x2 left, const half4x2 right);
[all …]
/third_party/openGLES/extensions/NV/
DNV_shader_thread_group.txt52 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 …]
DNV_shader_thread_shuffle.txt48 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/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_shader_thread_group.txt52 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 …]
DNV_shader_thread_shuffle.txt48 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/
DdeThreadUnix.c2 * 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/rust/rust/library/std/src/thread/
Dmod.rs10 //! [channels], Rust's message-passing types, along with [other forms of thread
16 //! Fatal logic errors in Rust cause *thread panic*, during which
17 //! a thread will unwind the stack, running destructors and freeing
23 //! is not caught the thread will exit, but the panic may optionally be
24 //! detected from a different thread with [`join`]. If the main thread panics
28 //! When the main thread of a Rust program terminates, the entire program shuts
31 //! thread (i.e., join).
33 //! ## Spawning a thread
35 //! A new thread can be spawned using the [`thread::spawn`][`spawn`] function:
38 //! use std::thread;
[all …]
/third_party/python/Lib/
D_threading_local.py1 """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/skia/m133/tests/sksl/shared/
DStructsInFunctions.metal29 thread bool operator==(thread const S& left, thread const S& right);
30 thread bool operator!=(thread const S& left, thread const S& right);
32 thread bool operator==(thread const Nested& left, thread const Nested& right);
33 thread bool operator!=(thread const Nested& left, thread const Nested& right);
35 thread bool operator==(thread const Compound& left, thread const Compound& right);
36 thread bool operator!=(thread const Compound& left, thread const Compound& right);
37 thread bool operator==(thread const S& left, thread const S& right) {
41 thread bool operator!=(thread const S& left, thread const S& right) {
44 thread bool operator==(thread const Nested& left, thread const Nested& right) {
48 thread bool operator!=(thread const Nested& left, thread const Nested& right) {
[all …]
/third_party/python/Doc/library/
Dthreading.rst1 :mod:`threading` --- Thread-based parallelism
5 :synopsis: Thread-based parallelism.
20 to push tasks to a background thread without blocking execution of the
21 calling thread, while still being able to retrieve their results when needed.
23 :mod:`queue` provides a thread-safe interface for exchanging data between
39 <global interpreter lock>`, only one thread
55 Return the number of :class:`Thread` objects currently alive. The returned
63 Return the current :class:`Thread` object, corresponding to the caller's thread
64 of control. If the caller's thread of control was not created through the
65 :mod:`threading` module, a dummy thread object with limited functionality is
[all …]
/third_party/rust/rust/src/tools/miri/src/concurrency/
Dthread.rs27 /// Execute step on the active thread.
42 /// A thread identifier.
81 /// The state of a thread.
84 /// The thread is enabled and can be executed.
86 /// The thread tried to join the specified thread and is blocked until that
87 /// thread terminates.
89 /// The thread is blocked on some synchronization primitive. It is the
93 /// The thread has terminated its execution. We do not delete terminated
98 /// The join status of a thread.
101 /// The thread can be joined.
[all …]
/third_party/grpc/src/core/util/
Dthd.h22 /// Internal thread interface.
37 /// Base class for platform-specific thread-state
47 class Thread {
49 // Send a signal to the thread.
52 // Kill the running thread. Likely not a clean operation.
59 /// Set whether the thread is joinable or detached.
66 /// Set whether the thread is tracked for fork support.
73 /// Sets thread stack size (in bytes). Sets to 0 will use the default stack
87 /// Does not produce a validly-constructed thread; must later
88 /// use placement new to construct a real thread. Does not init mu_ and cv_
[all …]
/third_party/python/Lib/test/
Dtest_threading.py31 # #12316 and #11870), and fork() from a worker thread is known to trigger
56 class TestThread(threading.Thread):
58 threading.Thread.__init__(self, name=name)
104 thread = threading.Thread(name="myname1")
105 self.assertEqual(thread.name, "myname1")
108 thread = threading.Thread(name=123)
109 self.assertEqual(thread.name, "123")
112 thread = threading.Thread(target=func, name="myname2")
113 self.assertEqual(thread.name, "myname2")
116 thread = threading.Thread(name="")
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dthread.cpp15 #include "marl/thread.h"
38 #include <thread>
43 #include <thread>
47 #include <thread>
53 inline uint64_t operator()(const marl::Thread::Core& core) const { in operator ()()
64 std::numeric_limits<decltype(Thread::Core::windows.index)>::max() + 1ULL;
66 std::numeric_limits<decltype(Thread::Core::windows.group)>::max() + 1ULL;
68 "Thread::Core::windows.index is too small");
115 // Thread::Affinty
118 Thread::Affinity::Affinity(Allocator* allocator) : cores(allocator) {} in Affinity()
[all …]
/third_party/skia/platform_tools/android/apps/skottie/
Dskottie_metric.sql21 thread.upid as process_upid
24 INNER JOIN thread ON (thread.utid = thread_track.utid)
38 INNER JOIN thread ON (thread.utid = thread_track.utid)
39 INNER JOIN test_start_ts ON (test_start_ts.process_upid = thread.upid)
52 INNER JOIN thread ON (thread.utid = thread_track.utid)
64 thread.upid as process_upid
67 INNER JOIN thread ON (thread.name='SkottieAnimator' AND thread.utid = thread_track.utid)
75 thread.upid as process_upid
77 INNER JOIN process ON (process.upid = thread.upid)
78 INNER JOIN thread ON (
[all …]

12345678910>>...243