/external/sfntly/cpp/src/test/ |
D | platform_thread.cc | 32 PlatformThreadHandle* thread_handle) { in Create() argument 33 assert(thread_handle); in Create() 34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL); in Create() 35 if (!(*thread_handle)) { in Create() 43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument 44 assert(thread_handle); in Join() 45 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join() 47 CloseHandle(thread_handle); in Join() 66 PlatformThreadHandle* thread_handle) { 67 assert(thread_handle); [all …]
|
D | platform_thread.h | 61 static bool Create(Delegate* delegate, PlatformThreadHandle* thread_handle); 66 static void Join(PlatformThreadHandle thread_handle);
|
/external/libchrome/base/threading/ |
D | platform_thread_posix.cc | 83 PlatformThreadHandle* thread_handle, in CreateThread() argument 85 DCHECK(thread_handle); in CreateThread() 120 *thread_handle = PlatformThreadHandle(handle); in CreateThread() 188 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument 191 delegate, thread_handle, priority); in CreateWithPriority() 204 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument 209 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), NULL)); in Join() 213 void PlatformThread::Detach(PlatformThreadHandle thread_handle) { in Detach() argument 214 CHECK_EQ(0, pthread_detach(thread_handle.platform_handle())); in Detach()
|
D | platform_thread.h | 162 PlatformThreadHandle* thread_handle) { in Create() argument 163 return CreateWithPriority(stack_size, delegate, thread_handle, in Create() 170 PlatformThreadHandle* thread_handle, 181 static void Join(PlatformThreadHandle thread_handle); 185 static void Detach(PlatformThreadHandle thread_handle);
|
D | thread.h | 176 PlatformThreadHandle thread_handle() { return thread_; } in thread_handle() function
|
/external/libmpeg2/common/ |
D | ithread.c | 70 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument 73 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); in ithread_create() 76 WORD32 ithread_join(void *thread_handle, void ** val_ptr) in ithread_join() argument 78 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join()
|
D | ithread.h | 45 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
|
/external/libhevc/common/ |
D | ithread.c | 64 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument 66 … return pthread_create((pthread_t *)thread_handle, attribute, (void * (*)(void *))strt, argument); in ithread_create() 69 WORD32 ithread_join(void *thread_handle, void **val_ptr) in ithread_join() argument 71 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join()
|
D | ithread.h | 43 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
|
/external/libavc/common/ |
D | ithread.c | 77 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument 80 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); in ithread_create() 83 WORD32 ithread_join(void *thread_handle, void ** val_ptr) in ithread_join() argument 86 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join()
|
D | ithread.h | 65 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
|
/external/libchrome/base/win/ |
D | scoped_handle_test_dll.cc | 57 HANDLE thread_handle = in InternalRunThreadTest() local 60 if (!thread_handle) in InternalRunThreadTest() 63 threads_.push_back(thread_handle); in InternalRunThreadTest()
|
/external/v8/testing/gtest/src/ |
D | gtest-port.cc | 314 HANDLE thread_handle = ::CreateThread( in CreateThread() local 321 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread() 323 if (thread_handle == NULL) { in CreateThread() 326 return thread_handle; in CreateThread()
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
D | gtest-port.cc | 291 HANDLE thread_handle = ::CreateThread( in CreateThread() local 298 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread() 300 if (thread_handle == NULL) { in CreateThread() 303 return thread_handle; in CreateThread()
|
/external/googletest/googletest/src/ |
D | gtest-port.cc | 332 HANDLE thread_handle = ::CreateThread( in CreateThread() local 339 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread() 341 if (thread_handle == NULL) { in CreateThread() 344 return thread_handle; in CreateThread()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-port.cc | 332 HANDLE thread_handle = ::CreateThread( in CreateThread() local 339 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread() 341 if (thread_handle == NULL) { in CreateThread() 344 return thread_handle; in CreateThread()
|
/external/v8/src/base/platform/ |
D | time.cc | 670 ThreadTicks ThreadTicks::GetForThread(const HANDLE& thread_handle) { in GetForThread() argument 675 ::QueryThreadCycleTime(thread_handle, &thread_cycle_time); in GetForThread()
|
D | time.h | 410 static ThreadTicks GetForThread(const HANDLE& thread_handle);
|
/external/libchrome/base/time/ |
D | time.h | 803 static ThreadTicks GetForThread(const PlatformThreadHandle& thread_handle);
|