/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_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/chromium_org/base/threading/ |
D | platform_thread_win.cc | 111 void* thread_handle = CreateThread( in CreateThreadInternal() local 113 if (!thread_handle) { in CreateThreadInternal() 119 *out_thread_handle = PlatformThreadHandle(thread_handle); in CreateThreadInternal() 121 CloseHandle(thread_handle); in CreateThreadInternal() 188 PlatformThreadHandle* thread_handle) { in Create() argument 189 DCHECK(thread_handle); in Create() 190 return CreateThreadInternal(stack_size, delegate, thread_handle); in Create() 195 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument 197 bool result = Create(stack_size, delegate, thread_handle); in CreateWithPriority() 199 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() 138 CHECK_EQ(handle, thread_handle->platform_handle()); in CreateThread() 204 PlatformThreadHandle* thread_handle) { in Create() argument 207 delegate, thread_handle, kThreadPriority_Normal); in Create() 212 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument 216 delegate, thread_handle, priority); in CreateWithPriority() 230 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument 235 CHECK_EQ(0, pthread_join(thread_handle.handle_, NULL)); in Join()
|
D | platform_thread.h | 170 PlatformThreadHandle* thread_handle); 178 PlatformThreadHandle* thread_handle, 189 static void Join(PlatformThreadHandle thread_handle);
|
D | thread.h | 166 PlatformThreadHandle thread_handle() { return thread_; } in thread_handle() function
|
/external/libhevc/common/ |
D | ithread.c | 77 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument 82 if(0 == thread_handle) in ithread_create() 85 ppv_thread_handle = (HANDLE *)thread_handle; in ithread_create() 98 WORD32 ithread_join(void *thread_handle, void **val_ptr) in ithread_join() argument 103 if(0 == thread_handle) in ithread_join() 106 ppv_thread_handle = (HANDLE *)thread_handle; in ithread_join() 117 void ithread_exit(void *thread_handle) in ithread_exit() argument 123 if(0 == thread_handle) in ithread_exit() 126 ppv_thread_handle = (HANDLE *)thread_handle; in ithread_exit() 326 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument [all …]
|
D | ithread.h | 43 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
|
/external/chromium_org/base/win/ |
D | scoped_process_information_unittest.cc | 71 EXPECT_EQ(kThreadHandle, process_info.thread_handle()); in TEST_F() 93 EXPECT_EQ(NULL, process_info.thread_handle()); in TEST_F() 163 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/lldb/tools/darwin-threads/ |
D | examine-threads.c | 255 get_proc_threadinfo (pid_t pid, uint64_t thread_handle, struct proc_threadinfo *pth) in get_proc_threadinfo() argument 258 int ret = proc_pidinfo (pid, PROC_PIDTHREADINFO, thread_handle, in get_proc_threadinfo() 428 … printf (" pthread handle id 0x%llx\n", (uint64_t) identifier_info.thread_handle); in main() 431 … int proc_threadinfo_succeeded = get_proc_threadinfo (pid, identifier_info.thread_handle, &pth); in main()
|
/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 | 256 EXPECT_EQ(1, ::ResumeThread(target.thread_handle())); in TEST() 319 EXPECT_EQ(1, ::ResumeThread(target.thread_handle())); in TEST()
|
/external/chromium_org/testing/gtest/src/ |
D | gtest-port.cc | 292 HANDLE thread_handle = ::CreateThread( in CreateThread() local 299 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread() 301 if (thread_handle == NULL) { in CreateThread() 304 return thread_handle; in CreateThread()
|
/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()
|
/external/chromium_org/base/process/ |
D | launch_win.cc | 222 ResumeThread(process_info.thread_handle()); in LaunchProcess()
|
/external/lldb/tools/debugserver/source/MacOSX/ |
D | MachTask.cpp | 263 if ((scanType & eProfileThreadName) && (identifier_info.thread_handle != 0)) in get_threads_profile_data() 266 …int len = ::proc_pidinfo(pid, PROC_PIDTHREADINFO, identifier_info.thread_handle, &proc_threadinfo,… in get_threads_profile_data()
|
D | MachThread.cpp | 687 …roc_pidinfo (m_process->ProcessID(), PROC_PIDTHREADINFO, m_ident_info.thread_handle, &m_proc_threa… in GetName()
|