/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
H A D | trace_impl.cc | 134 uint32_t thread_id = ThreadWrapper::GetThreadId(); local 136 return sprintf(trace_message, "%10u; ", thread_id);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stoptheworld_linux_libcdep.cc | 89 bool SuspendThread(SuspendedThreadID thread_id); 92 bool ThreadSuspender::SuspendThread(SuspendedThreadID thread_id) { argument 96 if (suspended_threads_list_.Contains(thread_id)) 99 if (internal_iserror(internal_ptrace(PTRACE_ATTACH, thread_id, NULL, NULL), 103 VReport(1, "Could not attach to thread %d (errno %d).\n", thread_id, 107 VReport(1, "Attached to thread %d.\n", thread_id); 111 HANDLE_EINTR(waitpid_status, internal_waitpid(thread_id, NULL, __WALL)); 117 thread_id, wperrno); 118 internal_ptrace(PTRACE_DETACH, thread_id, NULL, NULL); 121 suspended_threads_list_.Append(thread_id); [all...] |
/external/gtest/test/ |
H A D | gtest-port_test.cc | 319 pthread_t thread_id; local 328 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex); 335 ASSERT_EQ(0, pthread_join(thread_id, &dummy));
|
/external/lldb/source/Breakpoint/ |
H A D | BreakpointLocation.cpp | 106 BreakpointLocation::SetThreadID (lldb::tid_t thread_id) argument 108 if (thread_id != LLDB_INVALID_THREAD_ID) 109 GetLocationOptions()->SetThreadID(thread_id); 115 m_options_ap->SetThreadID (thread_id);
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | common.cc | 247 DWORD thread_id; member in struct:google::protobuf::Mutex::Internal 264 mInternal->thread_id = GetCurrentThreadId(); 270 mInternal->thread_id = 0; 277 GOOGLE_DCHECK_EQ(mInternal->thread_id, GetCurrentThreadId());
|
/external/bluetooth/bluedroid/gki/ulinux/ |
H A D | gki_ulinux.c | 267 gki_cb.os.thread_id[p_pthread_info->task_id] = pthread_self(); 413 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */ 414 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */ 419 ret = pthread_create( &gki_cb.os.thread_id[task_id], 430 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, ¶m)==0) 451 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, ¶m); 457 (int)gki_cb.os.thread_id[task_id], 508 result = pthread_join( gki_cb.os.thread_id[task_id], NULL ); 580 pthread_detach(gki_cb.os.thread_id[task_id]); 629 result = pthread_join( gki_cb.os.thread_id[task_i 950 pthread_t thread_id = pthread_self( ); local [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | covariance_impl.cc | 534 int thread_id = omp_get_thread_num(); local 536 int thread_id = 0; local 539 double* solution = workspace.get() + thread_id * num_cols; 723 int thread_id = omp_get_thread_num(); local 725 int thread_id = 0; local 728 double* solution = workspace.get() + thread_id * num_cols;
|
/external/chromium_org/chrome/browser/metrics/ |
H A D | thread_watcher_unittest.cc | 73 CustomThreadWatcher(const BrowserThread::ID thread_id, argument 77 : ThreadWatcher(WatchingParams(thread_id, thread_name, sleep_time, 439 EXPECT_EQ(io_thread_id, io_watcher_->thread_id()); 446 EXPECT_EQ(db_thread_id, db_watcher_->thread_id());
|
H A D | thread_watcher.cc | 95 void CrashBecauseThreadWasUnresponsive(BrowserThread::ID thread_id) { argument 96 base::debug::Alias(&thread_id); 98 switch (thread_id) { 128 : thread_id_(params.thread_id), 131 BrowserThread::GetMessageLoopProxyForThread(params.thread_id)), 176 if (!ThreadWatcherList::IsRegistered(params.thread_id)) 350 void ThreadWatcher::OnPingMessage(const BrowserThread::ID& thread_id, argument 353 DCHECK(BrowserThread::CurrentlyOn(thread_id)); 476 DCHECK(!g_thread_watcher_list_->Find(watcher->thread_id())); 477 g_thread_watcher_list_->registered_[watcher->thread_id()] 481 IsRegistered(const BrowserThread::ID thread_id) argument 690 StartWatching( const BrowserThread::ID& thread_id, const std::string& thread_name, const base::TimeDelta& sleep_time, const base::TimeDelta& unresponsive_time, uint32 unresponsive_threshold, const CrashOnHangThreadMap& crash_on_hang_threads) argument 746 Find(const BrowserThread::ID& thread_id) argument [all...] |
/external/chromium_org/content/child/fileapi/ |
H A D | webfilesystem_impl.cc | 193 void DispatchResultsClosure(int thread_id, int callbacks_id, argument 196 if (thread_id != CurrentWorkerId()) { 202 thread_id, 207 WorkerTaskRunner::Instance()->PostTask(thread_id, results_closure); 214 int thread_id, int callbacks_id, 219 thread_id, callbacks_id, waitable_results, 230 int thread_id, int callbacks_id, 234 thread_id, callbacks_id, waitable_results, 239 void ResolveURLCallbackAdapter(int thread_id, argument 248 thread_id, callbacks_i 213 CallbackFileSystemCallbacks( int thread_id, int callbacks_id, WaitableCallbackResults* waitable_results, const base::Callback<void(WebFileSystemCallbacks*)>& callback, CallbacksUnregisterMode callbacksunregister_mode) argument 229 OpenFileSystemCallbackAdapter( int thread_id, int callbacks_id, WaitableCallbackResults* waitable_results, const std::string& name, const GURL& root) argument 255 StatusCallbackAdapter(int thread_id, int callbacks_id, WaitableCallbackResults* waitable_results, base::File::Error error) argument 271 ReadMetadataCallbackAdapter(int thread_id, int callbacks_id, WaitableCallbackResults* waitable_results, const base::File::Info& file_info) argument 280 ReadDirectoryCallbackAdapter( int thread_id, int callbacks_id, WaitableCallbackResults* waitable_results, const std::vector<storage::DirectoryEntry>& entries, bool has_more) argument 318 CreateFileWriterCallbackAdapter( int thread_id, int callbacks_id, WaitableCallbackResults* waitable_results, base::MessageLoopProxy* main_thread_loop, const GURL& path, blink::WebFileWriterClient* client, const base::File::Info& file_info) argument 356 CreateSnapshotFileCallbackAdapter( int thread_id, int callbacks_id, WaitableCallbackResults* waitable_results, base::MessageLoopProxy* main_thread_loop, const base::File::Info& file_info, const base::FilePath& platform_path, int request_id) argument [all...] |
/external/chromium_org/sandbox/win/sandbox_poc/ |
H A D | main_ui_window.cc | 536 DWORD thread_id; local 542 &thread_id); 567 &thread_id);
|
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
H A D | gki_ulinux.c | 105 pthread_t thread_id = pthread_self(); local 107 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id, 108 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(), 111 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; 116 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; 258 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */ 259 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */ 266 ret = pthread_create( &gki_cb.os.thread_id[task_id], 277 if(pthread_getschedparam(gki_cb.os.thread_id[task_i 889 pthread_t thread_id = pthread_self( ); local [all...] |
/external/libnfc-nci/src/gki/ulinux/ |
H A D | gki_ulinux.c | 102 pthread_t thread_id = pthread_self(); local 104 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id, 105 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(), 108 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; 113 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; 255 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */ 256 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */ 263 ret = pthread_create( &gki_cb.os.thread_id[task_id], 274 if(pthread_getschedparam(gki_cb.os.thread_id[task_i 866 pthread_t thread_id = pthread_self( ); local [all...] |
/external/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationClient.cpp | 447 uint64_t thread_id = threadIDHexExtractor.GetHexMaxU64(false, 0); local 471 std::map<uint64_t, uint32_t>::iterator iterator = m_thread_id_to_used_usec_map.find(thread_id); 474 prev_used_usec = m_thread_id_to_used_usec_map[thread_id]; 481 ((real_used_usec > 0) || (process->HasAssignedIndexIDToThread(thread_id))); 489 int32_t index_id = process->AssignIndexIDToThread(thread_id); 502 new_thread_id_to_used_usec_map[thread_id] = curr_used_usec;
|
/external/openssl/crypto/threads/ |
H A D | mttest.c | 766 DWORD thread_id[MAX_THREAD_NUMBER]; local 782 &(thread_id[i])); 1278 thread_id thread_ctx[MAX_THREAD_NUMBER];
|
/external/qemu/ |
H A D | posix-aio-compat.c | 64 static pthread_t thread_id; variable 379 thread_create(&thread_id, &attr, aio_thread, NULL);
|
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | server.c | 1019 unsigned long gdb_id, thread_id; local 1022 thread_id = gdb_id_to_thread_id (gdb_id); 1023 if (thread_id == 0) { 1029 general_thread = thread_id; 1032 cont_thread = thread_id; 1034 step_thread = thread_id; 1190 unsigned long gdb_id, thread_id; local 1193 thread_id = gdb_id_to_thread_id (gdb_id); 1194 if (thread_id == 0) { 1199 if (valgrind_thread_alive (thread_id)) [all...] |
/external/bluetooth/bluedroid/test/bluedroidtest/ |
H A D | bluedroidtest.c | 383 pthread_t thread_id; local 389 if (pthread_create(&thread_id, NULL,
|
/external/chromium_org/base/test/ |
H A D | trace_event_analyzer.h | 96 ProcessThreadID() : process_id(0), thread_id(0) {} 97 ProcessThreadID(int process_id, int thread_id) argument 98 : process_id(process_id), thread_id(thread_id) {} 102 return thread_id < rhs.thread_id; 105 int thread_id; member in struct:trace_analyzer::TraceEvent::ProcessThreadID 229 static Query EventTidIs(int thread_id) { argument 230 return Query(EVENT_TID) == Query::Int(thread_id); 234 return EventPidIs(thread.process_id) && EventTidIs(thread.thread_id); 300 OtherTidIs(int thread_id) argument [all...] |
/external/chromium_org/chrome/browser/media_galleries/linux/ |
H A D | mtp_device_delegate_impl_linux.cc | 193 content::BrowserThread::ID thread_id, 197 thread_id(thread_id), 629 content::BrowserThread::PostTask(task_info.thread_id, 191 PendingTaskInfo( const base::FilePath& path, content::BrowserThread::ID thread_id, const tracked_objects::Location& location, const base::Closure& task) argument
|
/external/chromium_org/components/metrics/ |
H A D | metrics_service.cc | 200 static base::PlatformThreadId thread_id = 0; local 201 if (!thread_id) 202 thread_id = base::PlatformThread::CurrentId(); 203 return base::PlatformThread::CurrentId() == thread_id;
|
/external/chromium_org/native_client_sdk/src/libraries/xray/ |
H A D | xray.c | 102 int32_t thread_id; member in struct:XRayTraceCapture 385 return capture->thread_id; 758 capture->thread_id = (int32_t)(&g_xray_thread_id_placeholder);
|
/external/chromium_org/testing/gtest/src/ |
H A D | gtest-port.cc | 290 DWORD thread_id; local 298 &thread_id); // Need a valid pointer for the call to work under Win98. 414 static void OnThreadExit(DWORD thread_id) { argument 415 GTEST_CHECK_(thread_id != 0) << ::GetLastError(); 424 thread_to_thread_locals->find(thread_id); 452 static void StartWatcherThreadFor(DWORD thread_id) { argument 457 thread_id); 466 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)),
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
H A D | env_posix.cc | 472 uint64_t thread_id = 0; local 473 memcpy(&thread_id, &tid, std::min(sizeof(thread_id), sizeof(tid))); 474 return thread_id;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
H A D | audio_coding_module_unittest.cc | 319 unsigned int thread_id = 0; local 320 ASSERT_TRUE(send_thread_->Start(thread_id)); 321 ASSERT_TRUE(insert_packet_thread_->Start(thread_id)); 322 ASSERT_TRUE(pull_audio_thread_->Start(thread_id));
|