/external/chromium_org/third_party/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/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/chromium/base/threading/ |
D | platform_thread_win.cc | 47 PlatformThreadHandle thread_handle; in CreateThreadInternal() local 64 thread_handle = CreateThread( in CreateThreadInternal() 66 if (!thread_handle) { in CreateThreadInternal() 72 *out_thread_handle = thread_handle; in CreateThreadInternal() 74 CloseHandle(thread_handle); in CreateThreadInternal() 117 PlatformThreadHandle* thread_handle) { in Create() argument 118 DCHECK(thread_handle); in Create() 119 return CreateThreadInternal(stack_size, delegate, thread_handle); in Create() 128 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument 129 DCHECK(thread_handle); in Join() [all …]
|
D | platform_thread_posix.cc | 57 PlatformThreadHandle* thread_handle) { in CreateThread() argument 109 success = !pthread_create(thread_handle, &attributes, ThreadFunc, params); in CreateThread() 202 PlatformThreadHandle* thread_handle) { in Create() argument 204 delegate, thread_handle); in Create() 217 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument 222 pthread_join(thread_handle, NULL); in Join()
|
D | platform_thread.h | 82 PlatformThreadHandle* thread_handle); 92 static void Join(PlatformThreadHandle thread_handle);
|
D | thread.h | 123 PlatformThreadHandle thread_handle() { return thread_; } in thread_handle() function
|
/external/chromium_org/base/threading/ |
D | platform_thread_win.cc | 104 void* thread_handle = CreateThread( in CreateThreadInternal() local 106 if (!thread_handle) { in CreateThreadInternal() 112 *out_thread_handle = PlatformThreadHandle(thread_handle); in CreateThreadInternal() 114 CloseHandle(thread_handle); in CreateThreadInternal() 176 PlatformThreadHandle* thread_handle) { in Create() argument 177 DCHECK(thread_handle); in Create() 178 return CreateThreadInternal(stack_size, delegate, thread_handle); in Create() 183 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument 185 bool result = Create(stack_size, delegate, thread_handle); in CreateWithPriority() 187 SetThreadPriority(*thread_handle, priority); in CreateWithPriority() [all …]
|
D | platform_thread_posix.cc | 92 PlatformThreadHandle* thread_handle, in CreateThread() argument 117 params.handle = thread_handle; in CreateThread() 136 CHECK_EQ(handle, thread_handle->platform_handle()); in CreateThread() 197 PlatformThreadHandle* thread_handle) { in Create() argument 200 delegate, thread_handle, kThreadPriority_Normal); in Create() 205 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument 209 delegate, thread_handle, priority); in CreateWithPriority() 223 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument 228 CHECK_EQ(0, pthread_join(thread_handle.handle_, NULL)); in Join()
|
D | platform_thread.h | 130 PlatformThreadHandle* thread_handle); 138 PlatformThreadHandle* thread_handle, 149 static void Join(PlatformThreadHandle thread_handle);
|
D | thread.h | 150 PlatformThreadHandle thread_handle() { return thread_; } in thread_handle() function
|
/external/chromium/chrome/browser/printing/ |
D | print_job.cc | 304 HANDLE thread_handle = worker_->thread_handle(); in ControlledWorkerShutdown() local 305 for (; thread_handle;) { in ControlledWorkerShutdown() 308 DWORD result = MsgWaitForMultipleObjects(1, &thread_handle, in ControlledWorkerShutdown()
|
/external/chromium_org/base/win/ |
D | scoped_process_information_unittest.cc | 73 EXPECT_EQ(kThreadHandle, process_info.thread_handle()); in TEST_F() 95 EXPECT_EQ(NULL, process_info.thread_handle()); in TEST_F() 165 EXPECT_EQ(kThreadHandle, process_info.thread_handle()); in TEST_F()
|
D | scoped_process_information.h | 57 HANDLE thread_handle() const { in thread_handle() function
|
D | scoped_process_information.cc | 76 CheckAndDuplicateHandle(other.thread_handle(), &thread_handle_)) { in DuplicateFrom()
|
/external/chromium_org/chrome/browser/printing/ |
D | print_job.cc | 336 HANDLE thread_handle = worker_->thread_handle().platform_handle(); in ControlledWorkerShutdown() local 337 for (; thread_handle;) { in ControlledWorkerShutdown() 340 DWORD result = MsgWaitForMultipleObjects(1, &thread_handle, in ControlledWorkerShutdown()
|
/external/chromium_org/net/test/embedded_test_server/ |
D | embedded_test_server_unittest.cc | 316 base::PlatformThreadHandle thread_handle; in TEST_P() local 320 ASSERT_TRUE(base::PlatformThread::Create(0, &delegate, &thread_handle)); in TEST_P() 321 base::PlatformThread::Join(thread_handle); in TEST_P()
|
/external/chromium_org/dbus/ |
D | test_server.cc | 27 base::PlatformThread::Join(dbus_thread->thread_handle()); in main()
|
/external/chromium_org/sandbox/win/src/ |
D | restricted_token_utils.cc | 213 HANDLE temp_thread = process_info.thread_handle(); in StartRestrictedProcessInJob() 229 ::ResumeThread(process_info.thread_handle()); in StartRestrictedProcessInJob()
|
D | target_process.h | 90 return sandbox_process_info_.thread_handle(); in MainThread()
|
D | target_process.cc | 166 HANDLE temp_thread = process_info.thread_handle(); in Create() 179 if (!::GetThreadContext(process_info.thread_handle(), &context)) { in Create()
|
D | policy_target_test.cc | 252 EXPECT_EQ(1, ::ResumeThread(target.thread_handle())); in TEST() 315 EXPECT_EQ(1, ::ResumeThread(target.thread_handle())); in TEST()
|
/external/chromium_org/third_party/openssl/openssl/crypto/threads/ |
D | mttest.c | 767 HANDLE thread_handle[MAX_THREAD_NUMBER]; in do_threads() local 777 thread_handle[i]=CreateThread(NULL, in do_threads() 793 (CONST HANDLE *)&(thread_handle[i]),TRUE,INFINITE) in do_threads()
|
/external/openssl/crypto/threads/ |
D | mttest.c | 767 HANDLE thread_handle[MAX_THREAD_NUMBER]; in do_threads() local 777 thread_handle[i]=CreateThread(NULL, in do_threads() 793 (CONST HANDLE *)&(thread_handle[i]),TRUE,INFINITE) in do_threads()
|