Searched refs:thread_id (Results 1 - 25 of 73) sorted by relevance

123

/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Dstack_utils_unittest.py37 thread_id, _ = sys._current_frames().items()[0]
38 return thread_id
43 thread_id = current_thread_id()
44 found_stack = stack_utils._find_thread_stack(thread_id)
57 thread_id = current_thread_id()
58 stack_utils.log_thread_state(logger, "test-thread", thread_id,
H A Dstack_utils.py35 def log_thread_state(logger, name, thread_id, msg=''):
37 stack = _find_thread_stack(thread_id)
40 logger("%s (tid %d) %s" % (name, thread_id, msg))
45 def _find_thread_stack(thread_id):
49 if tid == thread_id:
/external/valgrind/main/helgrind/tests/
H A Dtc03_re_excl.c25 pthread_t thread_id; local
30 pthread_create(&thread_id, 0, worker_thread, (void*)x);
36 pthread_join(thread_id, 0);
/external/qemu/distrib/sdl-1.2.15/src/thread/beos/
H A DSDL_systhread_c.h27 typedef thread_id SYS_ThreadHandle;
/external/valgrind/tsan/
H A Dts_race_verifier.h43 bool RaceVerifierStartAccess(int thread_id, uintptr_t addr, uintptr_t pc,
45 void RaceVerifierEndAccess(int thread_id, uintptr_t addr, uintptr_t pc,
H A Dts_race_verifier.cc60 int thread_id; member in struct:CallSite
218 * @param thread_id Thread id.
226 bool RaceVerifierStartAccess(int thread_id, uintptr_t addr, uintptr_t pc, argument
229 callSite.thread_id = thread_id;
234 Printf("[%d] pc %p %s addr %p start\n", thread_id, pc,
250 if (writes[i].thread_id != writes[j].thread_id)
253 if (writes[i].thread_id != reads[j].thread_id)
265 RaceVerifierEndAccess(int thread_id, uintptr_t addr, uintptr_t pc, bool is_w) argument
[all...]
/external/chromium/chrome/browser/chromeos/login/
H A Downership_service.cc107 BrowserThread::ID thread_id; local
108 if (!BrowserThread::GetCurrentThreadIdentifier(&thread_id))
109 thread_id = BrowserThread::UI;
114 thread_id,
122 BrowserThread::ID thread_id; local
123 if (!BrowserThread::GetCurrentThreadIdentifier(&thread_id))
124 thread_id = BrowserThread::UI;
129 thread_id,
138 BrowserThread::ID thread_id; local
139 if (!BrowserThread::GetCurrentThreadIdentifier(&thread_id))
170 UpdateOwnerKey(OwnershipService* service, const BrowserThread::ID thread_id, const std::vector<uint8>& new_key, OwnerManager::KeyUpdateDelegate* d) argument
189 TrySigningAttempt(OwnershipService* service, const BrowserThread::ID thread_id, const std::string& data, OwnerManager::Delegate* d) argument
205 TryVerifyAttempt(OwnershipService* service, const BrowserThread::ID thread_id, const std::string& data, const std::vector<uint8>& signature, OwnerManager::Delegate* d) argument
[all...]
H A Downer_manager.cc29 void OwnerManager::UpdateOwnerKey(const BrowserThread::ID thread_id, argument
37 thread_id, FROM_HERE,
81 void OwnerManager::Sign(const BrowserThread::ID thread_id, argument
90 thread_id, FROM_HERE,
106 thread_id, FROM_HERE,
113 void OwnerManager::Verify(const BrowserThread::ID thread_id, argument
122 thread_id, FROM_HERE,
136 thread_id, FROM_HERE,
H A Downer_manager.h55 void UpdateOwnerKey(const BrowserThread::ID thread_id,
70 // On success, calls d->OnKeyOpComplete() on |thread_id| with a
72 // On failure, calls d->OnKeyOpComplete() on |thread_id| with an appropriate
74 void Sign(const BrowserThread::ID thread_id,
82 // On success, calls d->OnKeyOpComplete() on |thread_id| with a
84 // On failure, calls d->OnKeyOpComplete() on |thread_id| with an appropriate
86 void Verify(const BrowserThread::ID thread_id,
H A Downership_service.h121 const BrowserThread::ID thread_id,
126 const BrowserThread::ID thread_id,
130 const BrowserThread::ID thread_id,
/external/chromium/chrome/browser/metrics/
H A Dthread_watcher.cc19 ThreadWatcher::ThreadWatcher(const BrowserThread::ID& thread_id, argument
23 : thread_id_(thread_id),
39 void ThreadWatcher::StartWatching(const BrowserThread::ID& thread_id, argument
53 thread_id, thread_name, sleep_time, unresponsive_time));
61 new ThreadWatcher(thread_id, thread_name, sleep_time, unresponsive_time);
65 if (!ThreadWatcherList::IsRegistered(thread_id))
115 thread_id(),
181 void ThreadWatcher::OnPingMessage(const BrowserThread::ID& thread_id, argument
184 DCHECK(BrowserThread::CurrentlyOn(thread_id));
215 DCHECK(!global_->PreLockedFind(watcher->thread_id()));
220 IsRegistered(const BrowserThread::ID thread_id) argument
329 Find(const BrowserThread::ID& thread_id) argument
336 PreLockedFind( const BrowserThread::ID& thread_id) argument
[all...]
H A Dthread_watcher.h58 // This method starts performing health check on the given thread_id. It will
59 // create ThreadWatcher object for the given thread_id, thread_name,
64 // thread_id.
65 static void StartWatching(const BrowserThread::ID& thread_id,
70 // Return the thread_id of the thread being watched.
71 BrowserThread::ID thread_id() const { return thread_id_; } function in class:ThreadWatcher
92 // Construct a ThreadWatcher for the given thread_id. sleep_time_ is the
95 ThreadWatcher(const BrowserThread::ID& thread_id,
149 static void OnPingMessage(const BrowserThread::ID& thread_id,
156 // The thread_id o
[all...]
/external/chromium/chrome/browser/importer/
H A Dexternal_process_importer_client.cc44 BrowserThread::ID thread_id; local
45 CHECK(BrowserThread::GetCurrentThreadIdentifier(&thread_id));
51 thread_id));
78 BrowserThread::ID thread_id) {
80 new ProfileImportProcessHost(this, thread_id);
77 StartImportProcessOnIOThread( BrowserThread::ID thread_id) argument
H A Dprofile_import_process_host.h35 // |thread_id| gives the thread where the client lives. The
38 BrowserThread::ID thread_id);
/external/chromium/base/threading/
H A Dplatform_thread_unittest.cc67 PlatformThreadId thread_id() const { return thread_id_; } function in class:base::FunctionTestThread
85 EXPECT_NE(thread.thread_id(), main_thread_id);
102 EXPECT_NE(thread[n].thread_id(), main_thread_id);
/external/bluetooth/bluedroid/gki/ulinux/
H A Dgki_int.h74 pthread_t thread_id[GKI_MAX_TASKS]; member in struct:__anon918
/external/chromium/chrome/browser/prefs/
H A Dpref_member.cc46 void PrefMemberBase::MoveToThread(BrowserThread::ID thread_id) { argument
51 internal()->MoveToThread(thread_id);
106 void PrefMemberBase::Internal::MoveToThread(BrowserThread::ID thread_id) { argument
108 thread_id_ = thread_id;
H A Dpref_member.h52 void MoveToThread(BrowserThread::ID thread_id);
92 void MoveToThread(BrowserThread::ID thread_id);
158 void MoveToThread(BrowserThread::ID thread_id) { argument
159 subtle::PrefMemberBase::MoveToThread(thread_id);
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
H A Dgki_int.h34 pthread_t thread_id[GKI_MAX_TASKS]; member in struct:__anon7368
H A Dgki_ulinux.c107 pthread_t thread_id = pthread_self(); local
109 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
110 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(),
113 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id;
118 gki_cb.os.thread_id[p_pthread_info->task_id] = 0;
257 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */
258 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */
265 ret = pthread_create( &gki_cb.os.thread_id[task_id],
276 if(pthread_getschedparam(gki_cb.os.thread_id[task_i
888 pthread_t thread_id = pthread_self( ); local
[all...]
/external/libnfc-nci/src/gki/ulinux/
H A Dgki_int.h34 pthread_t thread_id[GKI_MAX_TASKS]; member in struct:__anon7448
H A Dgki_ulinux.c104 pthread_t thread_id = pthread_self(); local
106 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
107 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(),
110 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id;
115 gki_cb.os.thread_id[p_pthread_info->task_id] = 0;
254 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */
255 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */
262 ret = pthread_create( &gki_cb.os.thread_id[task_id],
273 if(pthread_getschedparam(gki_cb.os.thread_id[task_i
863 pthread_t thread_id = pthread_self( ); local
[all...]
/external/v8/test/cctest/
H A Dtest-threads.cc153 i::ThreadId thread_id = i::ThreadId::Current(); local
155 CHECK(!(*refs_)[i].Equals(thread_id));
157 CHECK(thread_id.IsValid());
158 (*refs_)[thread_no_] = thread_id;
/external/valgrind/main/coregrind/m_gdbserver/
H A Dinferiors.c98 void add_thread (unsigned long thread_id, void *target_data, unsigned int gdb_id) argument
105 new_thread->entry.id = thread_id;
117 unsigned int thread_id_to_gdb_id (unsigned long thread_id) argument
123 if (inf->id == thread_id)
/external/chromium/chrome/browser/web_resource/
H A Dweb_resource_service.cc134 BrowserThread::ID thread_id; local
135 CHECK(BrowserThread::GetCurrentThreadIdentifier(&thread_id));
139 thread_id));
182 void StartProcessOnIOThread(BrowserThread::ID thread_id) { argument
183 UtilityProcessHost* host = new UtilityProcessHost(this, thread_id);

Completed in 396 milliseconds

123