/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 | 80 PlatformThreadHandle* thread_handle, in CreateThread() argument 82 DCHECK(thread_handle); in CreateThread() 117 *thread_handle = PlatformThreadHandle(handle); in CreateThread() 185 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument 188 delegate, thread_handle, priority); in CreateWithPriority() 201 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument 206 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), NULL)); in Join()
|
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);
|
D | thread.h | 175 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/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()
|