/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | egl_stubs_autogen.h | 32 class Thread; 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 *threa [all...] |
H A D | egl_ext_stubs_autogen.h | 32 class Thread; 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 *threa [all...] |
H A D | egl_ext_stubs.cpp | 15 #include "libANGLE/Thread.h" 22 EGLint ClientWaitSyncKHR(Thread *thread, in ClientWaitSyncKHR() 40 EGLImageKHR CreateImageKHR(Thread *thread, in CreateImageKHR() 57 EGLClientBuffer CreateNativeClientBufferANDROID(Thread *thread, const AttributeMap &attribMap) in CreateNativeClientBufferANDROID() 68 EGLSurface CreatePlatformPixmapSurfaceEXT(Thread *thread, in CreatePlatformPixmapSurfaceEXT() 81 EGLSurface CreatePlatformWindowSurfaceEXT(Thread *thread, in CreatePlatformWindowSurfaceEXT() 94 EGLStreamKHR CreateStreamKHR(Thread *thread, Display *display, const AttributeMap &attributes) in CreateStreamKHR() 106 EGLSyncKHR CreateSyncKHR(Thread *thread, in CreateSyncKHR() 122 EGLint DebugMessageControlKHR(Thread *thread, in DebugMessageControlKHR() 133 EGLBoolean DestroyImageKHR(Thread *threa [all...] |
H A D | egl_stubs.cpp | 16 #include "libANGLE/Thread.h" 50 EGLBoolean BindAPI(Thread *thread, EGLenum api) in BindAPI() 58 EGLBoolean BindTexImage(Thread *thread, Display *display, Surface *eglSurface, EGLint buffer) in BindTexImage() 77 EGLBoolean ChooseConfig(Thread *thread, in ChooseConfig() 90 EGLint ClientWaitSync(Thread *thread, in ClientWaitSync() 108 EGLBoolean CopyBuffers(Thread *thread, in CopyBuffers() 121 EGLContext CreateContext(Thread *thread, in CreateContext() 139 EGLImage CreateImage(Thread *thread, in CreateImage() 161 EGLSurface CreatePbufferFromClientBuffer(Thread *thread, in CreatePbufferFromClientBuffer() 180 EGLSurface CreatePbufferSurface(Thread *threa [all...] |
H A D | global_state.cpp | 15 #include "libANGLE/Thread.h" 44 Thread *AllocateCurrentThread() in AllocateCurrentThread() 46 Thread *thread; in AllocateCurrentThread() 50 thread = new Thread(); in AllocateCurrentThread() 118 Thread *GetCurrentThreadTLS() in GetCurrentThreadTLS() 122 return static_cast<Thread *>(GetTLSValue(CurrentThreadIndex)); in GetCurrentThreadTLS() 124 void SetCurrentThreadTLS(Thread *thread) in SetCurrentThreadTLS() 131 thread_local Thread *gCurrentThread = nullptr; 152 ANGLE_NO_SANITIZE_MEMORY ANGLE_NO_SANITIZE_THREAD Thread *GetCurrentThread() in GetCurrentThread() 155 Thread *curren in GetCurrentThread() [all...] |
H A D | global_state.h | 14 #include "libANGLE/Thread.h" 94 class Thread; 97 extern Thread *GetCurrentThreadTLS(); 98 extern void SetCurrentThreadTLS(Thread *thread); 100 extern thread_local Thread *gCurrentThread; 106 Thread *GetCurrentThread(); 109 // Sync the current context from Thread to global state. 113 ScopedSyncCurrentContextFromThread(egl::Thread *thread); 117 egl::Thread *const mThread; 138 egl::Thread *currentThrea in GetGlobalContext() [all...] |
H A D | entry_points_egl_autogen.cpp | 36 Thread *thread = egl::GetCurrentThread(); in EGL_ChooseConfig() 56 Thread *thread = egl::GetCurrentThread(); in EGL_CopyBuffers() 78 Thread *thread = egl::GetCurrentThread(); in EGL_CreateContext() 101 Thread *thread = egl::GetCurrentThread(); in EGL_CreatePbufferSurface() 124 Thread *thread = egl::GetCurrentThread(); in EGL_CreatePixmapSurface() 147 Thread *thread = egl::GetCurrentThread(); in EGL_CreateWindowSurface() 165 Thread *thread = egl::GetCurrentThread(); in EGL_DestroyContext() 182 Thread *thread = egl::GetCurrentThread(); in EGL_DestroySurface() 204 Thread *thread = egl::GetCurrentThread(); in EGL_GetConfigAttrib() 226 Thread *threa in EGL_GetConfigs() [all...] |
H A D | entry_points_egl_ext_autogen.cpp | 32 Thread *thread = egl::GetCurrentThread(); in EGL_SetBlobCacheFuncsANDROID() 49 Thread *thread = egl::GetCurrentThread(); in EGL_CreateNativeClientBufferANDROID() 69 Thread *thread = egl::GetCurrentThread(); in EGL_GetCompositorTimingSupportedANDROID() 94 Thread *thread = egl::GetCurrentThread(); in EGL_GetCompositorTimingANDROID() 115 Thread *thread = egl::GetCurrentThread(); in EGL_GetNextFrameIdANDROID() 135 Thread *thread = egl::GetCurrentThread(); in EGL_GetFrameTimestampSupportedANDROID() 162 Thread *thread = egl::GetCurrentThread(); in EGL_GetFrameTimestampsANDROID() 180 Thread *thread = egl::GetCurrentThread(); in EGL_GetNativeClientBufferANDROID() 194 Thread *thread = egl::GetCurrentThread(); in EGL_DupNativeFenceFDANDROID() 215 Thread *threa in EGL_PresentationTimeANDROID() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | thread.cpp | 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() 119 Thread::Affinity::Affinity(Affinity&& other) : cores(std::move(other.cores)) {} in Affinity() 120 Thread::Affinity::Affinity(const Affinity& other, Allocator* allocator) in Affinity() 123 Thread::Affinity::Affinity(std::initializer_list<Core> list, in Affinity() 132 Thread 283 Thread::Thread(Affinity&& affinity, Func&& func) { Thread() function in marl::Thread 401 Thread::Thread(Affinity&& affinity, Func&& func) Thread() function in marl::Thread 438 Thread::Thread(Thread&& rhs) : impl(rhs.impl) { Thread() function in marl::Thread [all...] |
H A D | thread_test.cpp | 21 marl::Thread::Core core(int idx) { in core() 22 marl::Thread::Core c; in core() 30 auto affinity = marl::Thread::Affinity( in TEST_F() 42 auto affinity = marl::Thread::Affinity( in TEST_F() 52 .add(marl::Thread::Affinity( in TEST_F() 58 .add(marl::Thread::Affinity({core(35)}, allocator)); in TEST_F() 71 auto affinity = marl::Thread::Affinity( in TEST_F() 81 .remove(marl::Thread::Affinity( in TEST_F() 87 .remove(marl::Thread::Affinity({core(40)}, allocator)); in TEST_F() 95 auto affinity = marl::Thread in TEST_F() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Thread.cpp | 7 // Thread.cpp : Defines the Thread class which represents a global EGL thread. 9 #include "libANGLE/Thread.h" 23 egl::Thread *thread = static_cast<egl::Thread *>(ptr); in ProcessCleanupCallback() 46 Thread::Thread() in Thread() function in egl::Thread 53 void Thread::setLabel(EGLLabelKHR label) in setLabel() 58 EGLLabelKHR Thread::getLabel() const in getLabel() 63 void Thread [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A D | Thread.cpp | 15 #include "Thread.hpp" 24 Thread::Thread(ID id, Context *ctx) in Thread() function in vk::dbg::Thread 29 void Thread::setName(const std::string &name) in setName() 35 std::string Thread::name() const in name() 41 void Thread::onLocationUpdate(marl::lock &lock) in onLocationUpdate() 88 void Thread::enter(const std::shared_ptr<File> &file, const std::string &function, const UpdateFrame &f) in enter() 114 void Thread::exit(bool isStep /* = false */) in exit() 124 void Thread::update(bool isStep, const UpdateFrame &f) in update() 143 Frame Thread [all...] |
H A D | EventListener.hpp | 24 class Thread; 34 virtual void onThreadStarted(ID<Thread>) {} in onThreadStarted() 38 virtual void onThreadStepped(ID<Thread>) {} in onThreadStepped() 42 virtual void onLineBreakpointHit(ID<Thread>) {} in onLineBreakpointHit() 46 virtual void onFunctionBreakpointHit(ID<Thread>) {} in onFunctionBreakpointHit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | thread.h | 25 // Thread provides an OS abstraction for threads of execution. 26 class Thread { class 122 MARL_EXPORT Thread() = default; 124 MARL_EXPORT Thread(Thread&&); 126 MARL_EXPORT Thread& operator=(Thread&&); 129 MARL_EXPORT Thread(Affinity&& affinity, Func&& func); 131 MARL_EXPORT ~Thread(); 145 Thread(cons [all...] |
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deThread.hpp | 23 * \brief Thread base class. 35 * Thread provides base class for implementing threads. To leverage that 36 * functionality, inherit Thread in your class and implement virtual run() 39 * \note Thread class is not thread-safe, i.e. thread control functions 43 class Thread class 46 Thread (void); 47 virtual ~Thread (void); 55 /** Thread entry point. */ 59 Thread (const Thread [all...] |
H A D | deThread.cpp | 21 * \brief Thread base class. 35 * \brief Thread constructor. 37 Thread::Thread (void) in Thread() function in de::Thread 49 Thread::~Thread (void) in ~Thread() 65 void Thread::setPriority (deThreadPriority priority) in setPriority() 72 static_cast<Thread*>(arg)->run(); in threadFunc() 83 void Thread::start (void) in start() 100 void Thread [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuThreadUtil.hpp | 23 * \brief Thread test utilities 90 class Thread; 95 MessageBuilder (Thread& thread) : m_thread(thread) {} in MessageBuilder() 109 Thread& m_thread; 141 virtual void exec (Thread& thread) = 0; //!< Overwritten by inherited class to perform actual operation 142 virtual void execute (Thread& thread); //!< May Be overwritten by inherited class to change how syncronization is done 153 class Thread : public de::Thread class 165 Thread (deUint32 seed); 166 ~Thread (voi [all...] |
H A D | tcuThreadUtil.cpp | 21 * \brief Thread test utilities 123 void Operation::execute (Thread& thread) in execute() 166 Thread::Thread (deUint32 seed) in Thread() function in tcu::ThreadUtil::Thread 172 Thread::~Thread (void) in ~Thread() 180 deUint8* Thread::getUnusedData (size_t size) in getUnusedData() 190 void Thread::addOperation (Operation* operation) in addOperation() 195 void Thread::run (void) in run() 238 void Thread [all...] |
/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
H A D | deThreadUnix.c | 2 * drawElements Thread Library 56 } Thread; typedef 58 DE_STATIC_ASSERT(sizeof(deThread) >= sizeof(Thread*)); 62 Thread* thread = (Thread*)entryPtr; in startThread() 75 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); in deThread_create() 114 Thread* thread = (Thread*)threadpt in deThread_join() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Thread.cpp | 15 #include "Thread.hpp" 19 Thread::Thread(void (*threadFunction)(void *parameters), void *parameters) in Thread() function in sw::Thread 33 Thread::~Thread() in ~Thread() 38 void Thread::join() in join() 54 unsigned long __stdcall Thread::startFunction(void *parameters) in startFunction() 62 void *Thread::startFunction(void *parameters) in startFunction()
|
H A D | Thread.hpp | 50 class Thread class 53 Thread(void (*threadFunction)(void *parameters), void *parameters); 55 ~Thread(); 95 friend class Thread; 128 inline void Thread::yield() in yield() 139 inline void Thread::sleep(int milliseconds) in sleep() 148 inline Thread::LocalStorageKey Thread::allocateLocalStorageKey(void (*destructor)(void *storage)) in allocateLocalStorageKey() 159 inline void Thread::freeLocalStorageKey(LocalStorageKey key) in freeLocalStorageKey() 168 inline void *Thread [all...] |
/third_party/ltp/testcases/realtime/stress/pi-tests/ |
H A D | testpi-3.c | 88 } Thread;*/ 90 typedef struct thread Thread; typedef 92 Thread arg1, arg2, arg3, arg4, arg5; 94 int strartThread(Thread * thr); 95 void stopThread(Thread * thr); 96 void joinThread(Thread * thr); 100 Thread *pthr = (Thread *) arg; in func_nonrt() 109 printf("Thread %d: Can't set affinity: %d %s\n", tid, rc, in func_nonrt() 115 printf("Thread starte in func_nonrt() [all...] |
/third_party/python/Lib/test/ |
H A D | test_threading.py | 56 class TestThread(threading.Thread): 58 threading.Thread.__init__(self, name=name) 104 thread = threading.Thread(name="myname1") 108 thread = threading.Thread(name=123) 112 thread = threading.Thread(target=func, name="myname2") 116 thread = threading.Thread(name="") 117 self.assertEqual(thread.name, "Thread-2") 120 thread = threading.Thread() 121 self.assertEqual(thread.name, "Thread-3") 124 thread = threading.Thread(targe [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-posix.cc | 997 class Thread::PlatformData { 1000 pthread_t thread_; // Thread handle for pthread. 1005 Thread::Thread(const Options& options) in Thread() function in v8::base::Thread 1015 Thread::~Thread() { in ~Thread() 1024 STATIC_ASSERT(Thread::kMaxThreadNameLength <= PTHREAD_MAX_NAMELEN_NP); in SetThreadName() 1036 STATIC_ASSERT(Thread::kMaxThreadNameLength <= kMaxNameLength); in SetThreadName() 1047 Thread* thread = reinterpret_cast<Thread*>(ar in ThreadEntry() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
H A D | ThreadTest.java | 62 private class Worker extends Thread { 83 ArrayList<Thread> threads = new ArrayList<Thread>(); in TestAnyTranslit() 85 threads.add(new Thread() { in TestAnyTranslit() 92 for (Thread th:threads) { in TestAnyTranslit() 95 for (Thread th:threads) { in TestAnyTranslit()
|