/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
pipe_barrier_test.c | 52 int thread_id = *((int *) thread_data); local 54 printf("thread %d starting\n", thread_id); 55 os_time_sleep(thread_id * 1000 * 1000); 56 printf("thread %d before barrier\n", thread_id); 58 printf("thread %d exiting\n", thread_id);
|
/external/mesa3d/src/gallium/tests/unit/ |
pipe_barrier_test.c | 52 int thread_id = *((int *) thread_data); local 54 printf("thread %d starting\n", thread_id); 55 os_time_sleep(thread_id * 1000 * 1000); 56 printf("thread %d before barrier\n", thread_id); 58 printf("thread %d exiting\n", thread_id);
|
/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/qemu/distrib/sdl-1.2.15/src/thread/beos/ |
SDL_systhread_c.h | 27 typedef thread_id SYS_ThreadHandle;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
stack_utils.py | 35 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:
|
stack_utils_unittest.py | 37 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,
|
/external/compiler-rt/lib/lsan/lit_tests/TestCases/ |
disabler_in_tsd_destructor.cc | 32 pthread_t thread_id; local 33 res = pthread_create(&thread_id, 0, thread_func, 0); 35 res = pthread_join(thread_id, 0);
|
use_stacks_threaded.cc | 26 pthread_t thread_id; local 27 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync);
|
use_registers.cc | 41 pthread_t thread_id; local 42 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stoptheworld.h | 37 bool Contains(SuspendedThreadID thread_id) const { 39 if (thread_ids_[i] == thread_id) 44 void Append(SuspendedThreadID thread_id) { 45 thread_ids_.push_back(thread_id);
|
/external/chromium_org/components/browser_context_keyed_service/ |
refcounted_browser_context_keyed_service.cc | 28 const content::BrowserThread::ID thread_id) 30 thread_id_(thread_id) {
|
refcounted_browser_context_keyed_service.h | 58 const content::BrowserThread::ID thread_id);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_stoptheworld_testlib.cc | 48 pthread_t thread_id; local 49 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
|
/external/chromium_org/content/child/ |
quota_message_filter.cc | 34 int thread_id = 0; local 39 thread_id = found->second; 43 if (!thread_id) { 47 WorkerTaskRunner::Instance()->PostTask(thread_id, closure); 51 void QuotaMessageFilter::RegisterRequestID(int request_id, int thread_id) { 53 request_id_map_[request_id] = thread_id;
|
/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...] |
owner_manager.cc | 29 void OwnerManager::UpdateOwnerKey(const BrowserThread::ID thread_id, 37 thread_id, FROM_HERE, 81 void OwnerManager::Sign(const BrowserThread::ID thread_id, 90 thread_id, FROM_HERE, 106 thread_id, FROM_HERE, 113 void OwnerManager::Verify(const BrowserThread::ID thread_id, 122 thread_id, FROM_HERE, 136 thread_id, FROM_HERE,
|
owner_manager.h | 55 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,
|
ownership_service.h | 121 const BrowserThread::ID thread_id, 126 const BrowserThread::ID thread_id, 130 const BrowserThread::ID thread_id,
|
/external/chromium_org/chrome/browser/web_resource/ |
json_asynchronous_unpacker.cc | 35 BrowserThread::ID thread_id; variable 36 CHECK(BrowserThread::GetCurrentThreadIdentifier(&thread_id)); 41 this, thread_id, json_data)); 88 void StartProcessOnIOThread(BrowserThread::ID thread_id, 91 this, BrowserThread::GetMessageLoopProxyForThread(thread_id).get());
|
/external/chromium_org/sandbox/win/tests/validation_tests/ |
commands.h | 16 // Tries to open thread_id. Returns a SboxTestResult. 17 int TestOpenThread(DWORD thread_id);
|
/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...] |
thread_watcher.cc | 19 ThreadWatcher::ThreadWatcher(const BrowserThread::ID& thread_id, 23 : thread_id_(thread_id), 39 void ThreadWatcher::StartWatching(const BrowserThread::ID& thread_id, 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, 184 DCHECK(BrowserThread::CurrentlyOn(thread_id)); 215 DCHECK(!global_->PreLockedFind(watcher->thread_id())); [all...] |
/external/chromium_org/base/threading/ |
thread_id_name_manager_unittest.cc | 27 EXPECT_STREQ(kAThread, manager->GetName(thread_a.thread_id())); 28 EXPECT_STREQ(kBThread, manager->GetName(thread_b.thread_id())); 44 EXPECT_STREQ(kAThread, manager->GetName(thread_a.thread_id())); 47 EXPECT_STREQ("", manager->GetName(thread_a.thread_id())); 55 base::PlatformThreadId a_id = thread_a.thread_id(); 61 EXPECT_STREQ(kAThread, manager->GetName(thread_a.thread_id()));
|
platform_thread_unittest.cc | 71 PlatformThreadId thread_id() const { return thread_id_; } function in class:base::FunctionTestThread 89 EXPECT_NE(thread.thread_id(), main_thread_id); 109 EXPECT_NE(thread[n].thread_id(), main_thread_id); 113 EXPECT_NE(thread[i].thread_id(), thread[n].thread_id());
|
/external/chromium_org/base/win/ |
scoped_handle.cc | 20 DWORD thread_id; member in struct:__anon6435::Info 36 DWORD thread_id = GetCurrentThreadId(); local 40 Info handle_info = { owner, pc1, pc2, thread_id };
|