Home
last modified time | relevance | path

Searched refs:current_thread (Results 1 – 25 of 34) sorted by relevance

12

/external/valgrind/exp-bbv/
Dbbv_main.c72 static Int current_thread=0; variable
157 if (bbv_thread[current_thread].dyn_instr > interval_size) { in handle_overflow()
162 if (bbv_thread[current_thread].bbtrace_fp == NULL) { in handle_overflow()
163 bbv_thread[current_thread].bbtrace_fp=open_tracefile(current_thread); in handle_overflow()
168 VG_(fprintf)(bbv_thread[current_thread].bbtrace_fp, "T"); in handle_overflow()
172 if ( bb_elem->inst_counter[current_thread] != 0 ) { in handle_overflow()
173 VG_(fprintf)(bbv_thread[current_thread].bbtrace_fp, ":%d:%d ", in handle_overflow()
175 bb_elem->inst_counter[current_thread]); in handle_overflow()
176 bb_elem->inst_counter[current_thread] = 0; in handle_overflow()
180 VG_(fprintf)(bbv_thread[current_thread].bbtrace_fp, "\n"); in handle_overflow()
[all …]
/external/webrtc/webrtc/base/
Dthread_checker_impl.cc26 const PlatformThreadRef current_thread = CurrentThreadRef(); in CalledOnValidThread() local
29 valid_thread_ = current_thread; in CalledOnValidThread()
30 return IsThreadRefEqual(valid_thread_, current_thread); in CalledOnValidThread()
Dthread.cc339 Thread *current_thread = Thread::Current(); in Send() local
340 ASSERT(current_thread != NULL); // AutoThread ensures this in Send()
346 smsg.thread = current_thread; in Send()
362 current_thread->ReceiveSendsFromThread(this); in Send()
363 current_thread->socketserver()->Wait(kForever, false); in Send()
381 current_thread->socketserver()->WakeUp(); in Send()
Dthread_unittest.cc255 Thread* current_thread = Thread::Current(); in TEST() local
256 current_thread->UnwrapCurrent(); in TEST()
264 current_thread->WrapCurrent(); in TEST()
290 Thread* current_thread = Thread::Current(); in TEST() local
291 ASSERT_TRUE(current_thread != NULL); in TEST()
305 Bind(&LocalFuncs::InvokeSet, current_thread, &called)); in TEST()
/external/python/cpython2/Lib/
D_threading_local.py165 current_thread().__dict__[key] = dict
171 d = current_thread().__dict__.get(key)
174 current_thread().__dict__[key] = d
251 from threading import current_thread, RLock
Dthreading.py702 return current_thread().daemon
930 if self is current_thread():
1156 current_thread = currentThread variable
1214 current = current_thread()
/external/webrtc/talk/app/webrtc/java/jni/
Dandroidmediacodeccommon.h87 rtc::Thread* current_thread = rtc::Thread::Current(); in AllowBlockingCalls() local
88 if (current_thread != NULL) in AllowBlockingCalls()
89 current_thread->SetAllowBlockingCalls(true); in AllowBlockingCalls()
/external/libmojo/third_party/catapult/devil/devil/utils/
Dreraiser_thread.py210 current_thread = threading.current_thread()
211 if isinstance(current_thread, ReraiserThread):
212 return current_thread._thread_group # pylint: disable=no-member
Dtimeout_retry.py149 threading.current_thread().name)
/external/chromium-trace/catapult/devil/devil/utils/
Dreraiser_thread.py210 current_thread = threading.current_thread()
211 if isinstance(current_thread, ReraiserThread):
212 return current_thread._thread_group # pylint: disable=no-member
Dtimeout_retry.py151 threading.current_thread().name)
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py87 tid = threading.current_thread().ident
91 "pid": os.getpid(), "tid": threading.current_thread().ident,
155 tid = threading.current_thread().ident
/external/toolchain-utils/crb/
Dmachine_manager_singleton.py94 m.autotest_run = threading.current_thread()
99 m.autotest_run = threading.current_thread()
104 m.autotest_run = threading.current_thread()
/external/python/cpython2/Lib/multiprocessing/
Dsynchronize.py153 if threading.current_thread().name != 'MainThread':
154 name += '|' + threading.current_thread().name
178 if threading.current_thread().name != 'MainThread':
179 name += '|' + threading.current_thread().name
Dpool.py321 thread = threading.current_thread()
334 thread = threading.current_thread()
385 thread = threading.current_thread()
505 if threading.current_thread() is not worker_handler:
516 if threading.current_thread() is not task_handler:
520 if threading.current_thread() is not result_handler:
Dmanagers.py230 threading.current_thread().name)
280 threading.current_thread().name)
293 threading.current_thread().name)
421 threading.current_thread().name = name
740 if threading.current_thread().name != 'MainThread':
741 name += '|' + threading.current_thread().name
754 threading.current_thread().name)
819 threading.current_thread().name)
/external/python/cpython2/Lib/test/
Dtest_threading.py152 threading.current_thread()
777 current_thread = threading.current_thread()
778 self.assertRaises(RuntimeError, current_thread.join);
/external/v8/testing/gtest/src/
Dgtest-port.cc382 DWORD current_thread = ::GetCurrentThreadId(); in GetValueOnCurrentThread() local
387 thread_to_thread_locals->find(current_thread); in GetValueOnCurrentThread()
390 std::make_pair(current_thread, ThreadLocalValues())).first; in GetValueOnCurrentThread()
391 StartWatcherThreadFor(current_thread); in GetValueOnCurrentThread()
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest-port.cc359 DWORD current_thread = ::GetCurrentThreadId(); in GetValueOnCurrentThread() local
364 thread_to_thread_locals->find(current_thread); in GetValueOnCurrentThread()
367 std::make_pair(current_thread, ThreadLocalValues())).first; in GetValueOnCurrentThread()
368 StartWatcherThreadFor(current_thread); in GetValueOnCurrentThread()
/external/googletest/googletest/src/
Dgtest-port.cc400 DWORD current_thread = ::GetCurrentThreadId(); in GetValueOnCurrentThread() local
405 thread_to_thread_locals->find(current_thread); in GetValueOnCurrentThread()
408 std::make_pair(current_thread, ThreadLocalValues())).first; in GetValueOnCurrentThread()
409 StartWatcherThreadFor(current_thread); in GetValueOnCurrentThread()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-port.cc400 DWORD current_thread = ::GetCurrentThreadId(); in GetValueOnCurrentThread() local
405 thread_to_thread_locals->find(current_thread); in GetValueOnCurrentThread()
408 std::make_pair(current_thread, ThreadLocalValues())).first; in GetValueOnCurrentThread()
409 StartWatcherThreadFor(current_thread); in GetValueOnCurrentThread()
/external/python/cpython2/Lib/multiprocessing/dummy/
D__init__.py96 current_process = threading.current_thread
/external/toolchain-utils/crosperf/
Dmachine_manager.py428 m.test_run = threading.current_thread()
433 m.test_run = threading.current_thread()
448 m.test_run = threading.current_thread()
/external/autotest/client/common_lib/cros/
Dretry.py196 is_main_thread = isinstance(threading.current_thread(),
/external/autotest/server/cros/dynamic_suite/
Dfrontend_wrappers.py113 if isinstance(threading.current_thread(), threading._MainThread):

12