Searched refs:current_thread (Results 1 - 25 of 32) sorted by relevance

12

/external/webrtc/webrtc/base/
H A Dthread_checker_impl.cc26 const PlatformThreadRef current_thread = CurrentThreadRef(); local
29 valid_thread_ = current_thread;
30 return IsThreadRefEqual(valid_thread_, current_thread);
H A Dthread.cc339 Thread *current_thread = Thread::Current(); local
340 ASSERT(current_thread != NULL); // AutoThread ensures this
346 smsg.thread = current_thread;
362 current_thread->ReceiveSendsFromThread(this);
363 current_thread->socketserver()->Wait(kForever, false);
381 current_thread->socketserver()->WakeUp();
H A Dthread_unittest.cc255 Thread* current_thread = Thread::Current(); local
256 current_thread->UnwrapCurrent();
264 current_thread->WrapCurrent();
290 Thread* current_thread = Thread::Current(); local
291 ASSERT_TRUE(current_thread != NULL);
305 Bind(&LocalFuncs::InvokeSet, current_thread, &called));
/external/valgrind/exp-bbv/
H A Dbbv_main.c72 static Int current_thread=0; variable
157 if (bbv_thread[current_thread].dyn_instr > interval_size) {
162 if (bbv_thread[current_thread].bbtrace_fp == NULL) {
163 bbv_thread[current_thread].bbtrace_fp=open_tracefile(current_thread);
168 VG_(fprintf)(bbv_thread[current_thread].bbtrace_fp, "T");
172 if ( bb_elem->inst_counter[current_thread] != 0 ) {
173 VG_(fprintf)(bbv_thread[current_thread].bbtrace_fp, ":%d:%d ",
175 bb_elem->inst_counter[current_thread]);
176 bb_elem->inst_counter[current_thread]
[all...]
/external/webrtc/talk/app/webrtc/java/jni/
H A Dandroidmediacodeccommon.h87 rtc::Thread* current_thread = rtc::Thread::Current(); local
88 if (current_thread != NULL)
89 current_thread->SetAllowBlockingCalls(true);
/external/python/cpython2/Lib/
H A 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 namespace
H A Dthreading.py31 'current_thread', 'enumerate', 'Event',
67 # Issue #4188: calling current_thread() can incur an infinite
301 # Return True if lock is owned by current_thread.
702 return current_thread().daemon
897 # current_thread()), and would block.
930 if self is current_thread():
1113 # If they invoke anything in threading.py that calls current_thread(), they
1115 # Their purpose is to return *something* from current_thread().
1153 ##print "current_thread(): no current thread for", _get_ident()
1156 current_thread variable
[all...]
/external/chromium-trace/catapult/devil/devil/utils/
H A Dreraiser_thread.py210 current_thread = threading.current_thread()
211 if isinstance(current_thread, ReraiserThread):
212 return current_thread._thread_group # pylint: disable=no-member
H A Dtimeout_retry.py151 threading.current_thread().name)
/external/libmojo/third_party/catapult/devil/devil/utils/
H A Dreraiser_thread.py210 current_thread = threading.current_thread()
211 if isinstance(current_thread, ReraiserThread):
212 return current_thread._thread_group # pylint: disable=no-member
H A Dtimeout_retry.py149 threading.current_thread().name)
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
H A Dlog.py87 tid = threading.current_thread().ident
91 "pid": os.getpid(), "tid": threading.current_thread().ident,
155 tid = threading.current_thread().ident
/external/python/cpython2/Lib/multiprocessing/
H A 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
H A 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)
H A 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:
/external/toolchain-utils/crb/
H A 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/dummy/
H A D__init__.py96 current_process = threading.current_thread
/external/autotest/client/common_lib/cros/
H A Dretry.py196 is_main_thread = isinstance(threading.current_thread(),
/external/autotest/server/cros/dynamic_suite/
H A Dfrontend_wrappers.py113 if isinstance(threading.current_thread(), threading._MainThread):
/external/python/cpython2/Lib/test/
H A Dtest_threading.py150 # Calling current_thread() forces an entry for the foreign
152 threading.current_thread()
324 threading.current_thread()
424 threading.current_thread()
515 args=(threading.current_thread(),))
534 args=(threading.current_thread(),))
546 main_thread = threading.current_thread()
777 current_thread = threading.current_thread()
778 self.assertRaises(RuntimeError, current_thread
[all...]
/external/toolchain-utils/crosperf/
H A Dmachine_manager.py428 m.test_run = threading.current_thread()
433 m.test_run = threading.current_thread()
448 m.test_run = threading.current_thread()
/external/googletest/googletest/src/
H A Dgtest-port.cc400 DWORD current_thread = ::GetCurrentThreadId(); local
405 thread_to_thread_locals->find(current_thread);
408 std::make_pair(current_thread, ThreadLocalValues())).first;
409 StartWatcherThreadFor(current_thread);
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-port.cc400 DWORD current_thread = ::GetCurrentThreadId(); local
405 thread_to_thread_locals->find(current_thread);
408 std::make_pair(current_thread, ThreadLocalValues())).first;
409 StartWatcherThreadFor(current_thread);
/external/python/cpython2/Lib/bsddb/test/
H A Dtest_lock.py17 from threading import current_thread as currentThread
/external/v8/testing/gtest/src/
H A Dgtest-port.cc382 DWORD current_thread = ::GetCurrentThreadId(); local
387 thread_to_thread_locals->find(current_thread);
390 std::make_pair(current_thread, ThreadLocalValues())).first;
391 StartWatcherThreadFor(current_thread);

Completed in 638 milliseconds

12