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