/external/valgrind/main/helgrind/tests/ |
tc03_re_excl.c | 25 pthread_t thread_id; local 30 pthread_create(&thread_id, 0, worker_thread, (void*)x); 36 pthread_join(thread_id, 0);
|
/external/chromium/base/threading/ |
platform_thread_unittest.cc | 67 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);
|
thread.h | 126 PlatformThreadId thread_id() const { return thread_id_; } function in class:base::Thread
|
/external/protobuf/gtest/test/ |
gtest-port_test.cc | 97 pthread_t thread_id; local 106 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex); 113 ASSERT_EQ(0, pthread_join(thread_id, &dummy));
|
/external/bluetooth/glib/tests/ |
slice-concurrent.c | 30 int thread_id; member in struct:ThreadData 45 // g_print ("Thread %d starting\n", td->thread_id); 49 g_print ("%c", 'a' - 1 + td->thread_id); 98 tdata[t].thread_id = t + 1; 117 tdata[t].thread_id, tdata[t].n_freed, tdata[t].n_to_free);
|
threadpool-test.c | 217 guint thread_id; local 222 thread_id = GPOINTER_TO_UINT (data); 227 thread_id, last_thread_id)); 232 if (last_thread_id > thread_id) { 234 g_assert (last_thread_id <= thread_id); 247 last_thread_id = thread_id; 313 guint thread_id; local 315 thread_id = GPOINTER_TO_UINT (data); 317 DEBUG_MSG (("[idle] ---> entered thread:%2.2d", thread_id)); 321 DEBUG_MSG (("[idle] <--- exiting thread:%2.2d", thread_id)); [all...] |
/bionic/libc/bionic/ |
pthread-rwlocks.c | 167 static __inline__ int read_precondition(pthread_rwlock_t *rwlock, int thread_id) 177 if (rwlock->writerThreadId == 0 || rwlock->writerThreadId == thread_id) 185 static __inline__ int write_precondition(pthread_rwlock_t *rwlock, int thread_id) 192 if (rwlock->writerThreadId == thread_id) 234 int thread_id, ret = 0; local 240 thread_id = __get_thread_id(); 241 if (__unlikely(!read_precondition(rwlock, thread_id))) { 245 } while (ret == 0 && !read_precondition(rwlock, thread_id)); 264 int thread_id, ret = 0; local 270 thread_id = __get_thread_id() 283 int thread_id, ret = 0; local [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
ownership_service.cc | 107 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)) [all...] |
/external/chromium/chrome/browser/importer/ |
external_process_importer_client.cc | 44 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);
|
/external/openssl/crypto/bn/ |
bn_blind.c | 125 unsigned long thread_id; /* added in OpenSSL 0.9.6j and 0.9.7b; member in struct:bn_blinding_st 282 return b->thread_id; 287 b->thread_id = n;
|
/external/v8/test/cctest/ |
test-threads.cc | 153 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/chromium/base/ |
time_win_unittest.cc | 88 unsigned thread_id; local 91 &thread_id));
|
message_pump_glib.cc | 180 static base::PlatformThreadId thread_id = base::PlatformThread::CurrentId(); local 181 DCHECK(thread_id == base::PlatformThread::CurrentId()) <<
|
/external/chromium/chrome/browser/metrics/ |
thread_watcher.h | 58 // 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 of the thread being watched. Only one instance can exist fo [all...] |
/external/chromium/chrome/browser/ |
process_singleton_win.cc | 104 DWORD thread_id = GetWindowThreadProcessId(remote_window_, &process_id); local 106 if (!thread_id || !process_id) { 141 EnumThreadWindows(thread_id,
|
browser_focus_uitest.cc | 95 int thread_id = ::GetWindowThreadProcessId(window, &process_id); local [all...] |
/external/chromium/chrome/browser/web_resource/ |
web_resource_service.cc | 134 BrowserThread::ID thread_id; local 135 CHECK(BrowserThread::GetCurrentThreadIdentifier(&thread_id)); 139 thread_id)); 182 void StartProcessOnIOThread(BrowserThread::ID thread_id) { 183 UtilityProcessHost* host = new UtilityProcessHost(this, thread_id);
|
/external/chromium/chrome/browser/automation/ |
automation_provider_win.cc | 329 unsigned long thread_id = 0; local 331 thread_id = GetWindowThreadProcessId(params.window, &process_id); 333 if (thread_id != GetCurrentThreadId()) { 334 DCHECK_EQ(thread_id, GetCurrentThreadId());
|
/external/protobuf/src/google/protobuf/stubs/ |
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/valgrind/tsan/ |
ts_race_verifier.cc | 60 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, 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) [all...] |
/external/webrtc/src/system_wrappers/source/ |
data_log.cc | 361 unsigned int thread_id = 0; local 362 bool success = file_writer_thread_->Start(thread_id);
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
l2_packet_winpcap.c | 211 DWORD thread_id; local 251 &thread_id);
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_winpcap.c | 205 DWORD thread_id; local 245 &thread_id);
|
/external/chromium/base/synchronization/ |
condition_variable_unittest.cc | 75 TimeDelta GetAnAssignment(int thread_id); // Get a work task duration. 76 void WorkIsCompleted(int thread_id); 525 TimeDelta WorkQueue::GetAnAssignment(int thread_id) { 528 assignment_history_[thread_id]++; 535 void WorkQueue::WorkIsCompleted(int thread_id) { 537 completion_history_[thread_id]++; 699 int thread_id; local 702 thread_id = GetThreadId(); 724 work_time = GetAnAssignment(thread_id); 743 WorkIsCompleted(thread_id); [all...] |
/external/chromium/testing/gtest/test/ |
gtest-port_test.cc | 262 pthread_t thread_id; local 271 const int status = pthread_create(&thread_id, &attr, &ThreadFunc, &mutex); 278 ASSERT_EQ(0, pthread_join(thread_id, &dummy)); [all...] |