/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/libhevc/encoder/ |
D | osal_thread.c | 158 &(hdl->thread_handle), /* Thread Handle */ in osal_thread_create() 205 WORD32 osal_thread_destroy(IN void *thread_handle) in osal_thread_destroy() argument 208 if(0 == thread_handle) in osal_thread_destroy() 212 thread_handle_t *hdl = (thread_handle_t *)thread_handle; in osal_thread_destroy() 375 WORD32 osal_thread_suspend(IN void *thread_handle) in osal_thread_suspend() argument 378 if(0 == thread_handle) in osal_thread_suspend() 417 WORD32 osal_thread_resume(IN void *thread_handle) in osal_thread_resume() argument 420 if(0 == thread_handle) in osal_thread_resume() 458 WORD32 osal_thread_wait(IN void *thread_handle) in osal_thread_wait() argument 460 if(0 == thread_handle) in osal_thread_wait() [all …]
|
D | osal.h | 152 void *thread_handle; /* Thread to be associated with mail box. */ member 454 extern WORD32 osal_thread_destroy(IN void *thread_handle); 463 extern WORD32 osal_thread_suspend(IN void *thread_handle); 467 extern WORD32 osal_thread_resume(IN void *thread_handle); 471 extern WORD32 osal_thread_wait(IN void *thread_handle);
|
D | osal_thread.h | 58 pthread_t thread_handle; /* POSIX Thread handle */ member
|
D | osal_select_engine.h | 64 void *thread_handle; /* Select engine thread handle */ member
|
D | osal_handle.h | 72 debug_handle_t thread_handle[DEBUG_ORDER]; member
|
/external/libchrome/base/threading/ |
D | platform_thread_posix.cc | 89 PlatformThreadHandle* thread_handle, in CreateThread() argument 91 DCHECK(thread_handle); in CreateThread() 126 *thread_handle = PlatformThreadHandle(handle); in CreateThread() 198 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument 201 thread_handle, priority); in CreateWithPriority() 222 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument 224 base::debug::ScopedThreadJoinActivity thread_activity(&thread_handle); in Join() 230 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), nullptr)); in Join() 234 void PlatformThread::Detach(PlatformThreadHandle thread_handle) { in Detach() argument 235 CHECK_EQ(0, pthread_detach(thread_handle.platform_handle())); in Detach()
|
D | platform_thread.h | 168 PlatformThreadHandle* thread_handle) { in Create() argument 169 return CreateWithPriority(stack_size, delegate, thread_handle, in Create() 176 PlatformThreadHandle* thread_handle, 193 static void Join(PlatformThreadHandle thread_handle); 197 static void Detach(PlatformThreadHandle thread_handle);
|
/external/curl/lib/ |
D | curl_threads.c | 115 curl_win_thread_handle_t thread_handle; in Curl_thread_create() local 117 thread_handle = CreateThread(NULL, 0, func, arg, 0, NULL); in Curl_thread_create() 119 thread_handle = _beginthreadex(NULL, 0, func, arg, 0, NULL); in Curl_thread_create() 121 t = (curl_thread_t)thread_handle; in Curl_thread_create()
|
/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/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/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/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-port.cc | 388 HANDLE thread_handle = ::CreateThread( in CreateThread() local 395 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread() 397 if (thread_handle == NULL) { in CreateThread() 400 return thread_handle; in CreateThread()
|
/external/mesa3d/src/gtest/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/libaom/libaom/third_party/googletest/src/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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/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/googletest/googletest/src/ |
D | gtest-port.cc | 471 HANDLE thread_handle = ::CreateThread( in CreateThread() local 478 GTEST_CHECK_(thread_handle != nullptr) in CreateThread() 480 if (thread_handle == nullptr) { in CreateThread() 483 return thread_handle; in CreateThread()
|
/external/libpcap/rpcapd/ |
D | daemon.c | 99 struct thread_handle { struct 116 static int daemon_msg_startcap_req(struct daemon_slpars *pars, uint32 plen, struct thread_handle *t… argument 117 …_endcap_req(struct daemon_slpars *pars, struct session *session, struct thread_handle *threaddata); 153 struct thread_handle threaddata; // 'read from daemon and send to client' thread in daemon_serviceloop() 1545 daemon_msg_startcap_req(struct daemon_slpars *pars, uint32 plen, struct thread_handle *threaddata, … in daemon_msg_startcap_req() 1904 daemon_msg_endcap_req(struct daemon_slpars *pars, struct session *session, struct thread_handle *th… in daemon_msg_endcap_req()
|
/external/v8/src/base/platform/ |
D | time.cc | 801 ThreadTicks ThreadTicks::GetForThread(const HANDLE& thread_handle) { in GetForThread() argument 806 ::QueryThreadCycleTime(thread_handle, &thread_cycle_time); in GetForThread()
|
D | time.h | 454 static ThreadTicks GetForThread(const HANDLE& thread_handle);
|
/external/libchrome/base/time/ |
D | time.h | 961 static ThreadTicks GetForThread(const PlatformThreadHandle& thread_handle);
|