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

123456789

/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
H A Dpipe_barrier_test.c52 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/
H A Dpipe_barrier_test.c52 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/chromium_org/third_party/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/chromium_org/content/child/
H A Dquota_message_filter.cc24 int QuotaMessageFilter::GenerateRequestID(int thread_id) { argument
26 request_id_map_[next_request_id_] = thread_id;
30 void QuotaMessageFilter::ClearThreadRequests(int thread_id) { argument
34 if (iter->second == thread_id)
46 int request_id = -1, thread_id = 0; local
54 thread_id = found->second;
59 if (!thread_id)
61 return new WorkerThreadTaskRunner(thread_id);
H A Dquota_message_filter.h26 // Generates a new request_id, registers { request_id, thread_id } map to
29 int GenerateRequestID(int thread_id);
31 // Clears all requests from the thread_id.
32 void ClearThreadRequests(int thread_id);
/external/compiler-rt/test/lsan/TestCases/
H A Dcleanup_in_tsd_destructor.cc37 pthread_t thread_id; local
38 res = pthread_create(&thread_id, 0, thread_func, 0);
40 res = pthread_join(thread_id, 0);
H A Ddisabler_in_tsd_destructor.cc32 pthread_t thread_id; local
33 res = pthread_create(&thread_id, 0, thread_func, 0);
35 res = pthread_join(thread_id, 0);
H A Duse_stacks_threaded.cc26 pthread_t thread_id; local
27 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync);
H A Duse_registers.cc41 pthread_t thread_id; local
42 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync);
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_info.cc18 thread_id(-1),
28 int thread_id,
36 thread_id(thread_id),
22 ServiceWorkerVersionInfo( ServiceWorkerVersion::RunningStatus running_status, ServiceWorkerVersion::Status status, const GURL& script_url, int64 version_id, int process_id, int thread_id, int devtools_agent_route_id) argument
H A Dservice_worker_context_observer.h48 int thread_id) {}
51 int thread_id) {}
55 int thread_id,
59 int thread_id,
46 OnWorkerStarted(int64 version_id, int process_id, int thread_id) argument
49 OnWorkerStopped(int64 version_id, int process_id, int thread_id) argument
53 OnErrorReported(int64 version_id, int process_id, int thread_id, const ErrorInfo& info) argument
57 OnReportConsoleMessage(int64 version_id, int process_id, int thread_id, const ConsoleMessage& message) argument
H A Dservice_worker_dispatcher_host.h75 void OnRegisterServiceWorker(int thread_id,
80 void OnUnregisterServiceWorker(int thread_id,
84 void OnGetRegistration(int thread_id,
92 void OnWorkerScriptLoaded(int embedded_worker_id, int thread_id);
128 void RegistrationComplete(int thread_id,
135 void UnregistrationComplete(int thread_id,
140 int thread_id,
146 void SendRegistrationError(int thread_id,
150 void SendUnregistrationError(int thread_id,
154 void SendGetRegistrationError(int thread_id,
[all...]
H A Dservice_worker_info.h24 int thread_id,
34 int thread_id; member in class:content::ServiceWorkerVersionInfo
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld.h37 bool Contains(SuspendedThreadID thread_id) const {
39 if (thread_ids_[i] == thread_id)
44 void Append(SuspendedThreadID thread_id) { argument
45 thread_ids_.push_back(thread_id);
/external/chromium_org/components/keyed_service/content/
H A Drefcounted_browser_context_keyed_service.cc27 const content::BrowserThread::ID thread_id)
28 : requires_destruction_on_thread_(true), thread_id_(thread_id) {}
26 RefcountedBrowserContextKeyedService( const content::BrowserThread::ID thread_id) argument
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_testlib.cc48 pthread_t thread_id; local
49 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
/external/chromium_org/content/child/service_worker/
H A Dservice_worker_dispatcher.h152 void OnAssociateRegistration(int thread_id,
156 void OnDisassociateRegistration(int thread_id,
158 void OnRegistered(int thread_id,
162 void OnUnregistered(int thread_id,
165 void OnDidGetRegistration(int thread_id,
169 void OnRegistrationError(int thread_id,
173 void OnUnregistrationError(int thread_id,
178 int thread_id,
182 void OnServiceWorkerStateChanged(int thread_id,
185 void OnSetVersionAttributes(int thread_id,
[all...]
H A Dservice_worker_message_filter.h39 int thread_id,
44 int thread_id,
50 int thread_id,
/external/chromium_org/chrome/browser/web_resource/
H A Djson_asynchronous_unpacker.cc35 BrowserThread::ID thread_id; variable
36 CHECK(BrowserThread::GetCurrentThreadIdentifier(&thread_id));
41 this, thread_id, json_data));
88 void StartProcessOnIOThread(BrowserThread::ID thread_id, argument
91 this, BrowserThread::GetMessageLoopProxyForThread(thread_id).get());
/external/chromium_org/base/threading/
H A Dthread_id_name_manager_unittest.cc27 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()));
/external/chromium_org/sandbox/win/tests/validation_tests/
H A Dcommands.h20 // Tries to open thread_id. Returns a SboxTestResult.
21 int TestOpenThread(DWORD thread_id);
/external/chromium_org/third_party/webrtc/test/
H A Ddirect_transport.cc27 unsigned int thread_id; local
28 EXPECT_TRUE(thread_->Start(thread_id));
39 unsigned int thread_id; local
40 EXPECT_TRUE(thread_->Start(thread_id));

Completed in 518 milliseconds

123456789