/external/libchrome/base/threading/ |
H A D | thread.cc | 27 // using a Thread to setup and run a MessageLoop. 36 Thread::SetThreadWasQuitProperly(true); 39 Thread::Options::Options() 46 Thread::Options::Options(MessageLoop::Type type, 54 Thread::Options::~Options() { 57 Thread::Thread(const std::string& name) function in class:base::Thread 73 Thread::~Thread() { 77 bool Thread [all...] |
H A D | thread.h | 34 // WARNING! SUBCLASSES MUST CALL Stop() IN THEIR DESTRUCTORS! See ~Thread(). 38 // (1) Thread::CleanUp() 41 class BASE_EXPORT Thread : PlatformThread::Delegate { class in namespace:base 74 explicit Thread(const std::string& name); 78 // NOTE: ALL SUBCLASSES OF Thread MUST CALL Stop() IN THEIR DESTRUCTORS (or 84 ~Thread() override; 128 // this method returns, the Thread object is completely reset and may be used 134 // NOTE: If you are a consumer of Thread, it is not necessary to call this 135 // before deleting your Thread objects, as the destructor will do it. 136 // IF YOU ARE A SUBCLASS OF Thread, YO [all...] |
/external/autotest/client/site_tests/platform_TLSDateActual/ |
H A D | platform_TLSDateActual.py | 21 from threading import Thread namespace 26 class Forwarder(Thread): 28 Thread.__init__(self) 130 class ServingThread(Thread): 132 Thread.__init__(self)
|
/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
H A D | testserver.py | 33 from threading import Thread namespace 34 thread = Thread(target=self.serve_pending)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/ |
H A D | test_pool.py | 32 from threading import Thread namespace 39 t = Thread(target = function, args = args, kwargs = kwargs) 170 - Thread 1: Send a request to read a big S3 object. 171 - Thread 1: Returns connection to pool. 172 - Thread 1: Start reading the body if the response. 174 - Thread 2: Get the same connection from the pool. 175 - Thread 2: Send another request on the same connection. 176 - Thread 2: Try to read the response, but 180 - Thread 2: _mexe catches the exception, does not return the 184 - Thread [all...] |
/external/compiler-rt/lib/tsan/dd/ |
H A D | dd_rtl.h | 27 struct Thread { struct in namespace:__dsan 35 Thread *thr; 37 Callback(Thread *thr); 58 void ThreadInit(Thread *thr); 59 void ThreadDestroy(Thread *thr); 61 void MutexBeforeLock(Thread *thr, uptr m, bool writelock); 62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock); 63 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock); 64 void MutexDestroy(Thread *thr, uptr m);
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | gc-test.cc | 17 void *Thread(void *unused) { function 50 pthread_create(&t[i], 0, Thread, 0);
|
H A D | coverage-caller-callee.cc | 57 void *Thread(void *arg) { function 72 pthread_create(&t[i], 0, Thread, 0);
|
/external/compiler-rt/test/tsan/ |
H A D | java_move_overlap.cc | 15 void *Thread(void *p) { function 56 pthread_create(&th, 0, Thread, 0);
|
H A D | unaligned_race.cc | 121 void *Thread(void *p) { function 131 pthread_create(&th, 0, Thread, 0);
|
H A D | real_deadlock_detector_stress_test.cc | 41 void *Thread(void *seed) { function 178 pthread_create(&t[i], 0, Thread, (void*)(unsigned long)rand());
|
/external/libxml2/python/tests/ |
H A D | thread2.py | 7 from threading import Thread, Lock namespace 64 ts.append(Thread(target=test,args=(0,))) 79 ts.append(Thread(target=test,args=(1,)))
|
/external/llvm/lib/Support/ |
H A D | Threading.cpp | 48 pthread_t Thread; local 61 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0) 65 ::pthread_join(Thread, nullptr);
|
/external/compiler-rt/lib/tsan/benchmarks/ |
H A D | vts_many_threads_bench.cc | 54 void *Thread(void *arg) { function 61 printf("Thread %ld go!\n", idx); 67 printf("Thread %ld done\n", idx); 101 int status = pthread_create(&t[i], 0, Thread, (void*)i);
|
/external/deqp/framework/delibs/dethread/unix/ |
H A D | deThreadUnix.c | 2 * drawElements Thread Library 54 } Thread; typedef in typeref:struct:Thread_s 56 DE_STATIC_ASSERT(sizeof(deThread) >= sizeof(Thread*)); 60 Thread* thread = (Thread*)entryPtr; 73 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); 112 Thread* thread = (Thread*)threadpt [all...] |
/external/deqp/framework/common/ |
H A D | tcuThreadUtil.cpp | 21 * \brief Thread test utilities 123 void Operation::execute (Thread& thread) 166 Thread::Thread (deUint32 seed) function in class:tcu::ThreadUtil::Thread 172 Thread::~Thread (void) 180 deUint8* Thread::getDummyData (size_t size) 190 void Thread::addOperation (Operation* operation) 195 void Thread::run (void) 238 void Thread [all...] |
/external/valgrind/drd/tests/ |
H A D | annotate_smart_pointer.cpp | 75 class Thread class 78 Thread() : m_thread(INVALID_HANDLE_VALUE) { } function in class:Thread 79 ~Thread() { } 136 class Thread class 139 Thread() : m_tid() { } function in class:Thread 140 ~Thread() { } 315 std::vector<Thread> T(nthreads); 318 for (std::vector<Thread>::iterator q = T.begin(); q != T.end(); q++) 327 for (std::vector<Thread>::iterator q = T.begin(); q != T.end(); q++)
|
/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
H A D | thread.py | 11 class Thread(event_container.TimelineEventContainer): class in inherits:event_container.TimelineEventContainer 12 """A Thread stores all the trace events collected for a particular 18 super(Thread, self).__init__('thread %s' % tid, parent=process) 104 * thread_timestamp: Thread specific clock (scheduled) timestamp of the
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/ |
H A D | domain.py | 360 # If we're done, spawn off our last Uploader Thread 363 from threading import Thread namespace 364 class UploaderThread(Thread): 365 """Uploader Thread"""
|
/external/google-breakpad/src/processor/ |
H A D | synth_minidump.h | 40 // Context, Thread, and so on all inherit from test_assembler::Section. 47 // using google_breakpad::SynthMinidump::Thread; 61 // Thread thread1(minidump, 0xe4a4821d, stack1, context1); 97 // the dump. For example, although the Thread constructor takes 102 // cited both from Thread objects (as their stack contents) and by the 237 class Thread: public Section { class in namespace:google_breakpad::SynthMinidump 241 Thread(const Dump &dump, 334 Dump &Add(Thread *object); // append, record in thread list 355 // Add(Thread *) calls. 356 List<Thread> thread_list [all...] |
/external/valgrind/helgrind/ |
H A D | hg_lock_n_thread.h | 68 be as small as possible. Freeing Thread structures makes the 74 core's ThreadId associated with this Thread whilst it is alive. 80 Thread structure. */ 121 Thread; typedef in typeref:struct:_Thread 124 Thread* get_admin_threads ( void ); 188 Bool HG_(is_sane_Thread) ( Thread* thr );
|
/external/opencv3/samples/gpu/ |
H A D | stereo_multi.cpp | 27 // Thread 31 class Thread class 53 Thread(void (*func)(void* userData), void* userData) function in class:Thread 67 ~Thread() 78 class Thread 99 Thread(void (*func)(void* userData), void* userData) 107 ~Thread() 249 Thread thread0(launchGpuStereoAlg, &launchDatas[0]); 250 Thread thread1(launchGpuStereoAlg, &launchDatas[1]); 426 cout << "| Frame | GPU 0 ms | GPU 1 ms | Multi Thread m [all...] |
/external/webrtc/webrtc/base/ |
H A D | thread.cc | 44 Thread* Thread::Current() { 78 Thread *ThreadManager::CurrentThread() { 79 return static_cast<Thread *>(pthread_getspecific(key_)); 82 void ThreadManager::SetCurrentThread(Thread *thread) { 100 Thread *ThreadManager::CurrentThread() { 101 return static_cast<Thread *>(TlsGetValue(key_)); 104 void ThreadManager::SetCurrentThread(Thread *thread) { 109 Thread *ThreadManager::WrapCurrentThread() { 110 Thread* resul 141 Thread::Thread(SocketServer* ss) function in class:rtc::Thread [all...] |
/external/autotest/client/tests/kvm/scripts/ |
H A D | virtio_console_guest.py | 11 from threading import Thread namespace 169 class Switch(Thread): 171 Thread that sends data between ports. 181 Thread.__init__(self, name="Switch") 263 class Sender(Thread): 272 Thread.__init__(self, name="Sender") 857 slave = Thread(target=worker, args=(virt, ))
|
/external/dbus/test/internals/ |
H A D | refs.c | 79 } Thread; typedef in typeref:struct:__anon3518 89 Thread *thread = data; 118 Thread *thread = data; 149 Thread *thread = data; 261 Thread public_api = { f->connection, 268 Thread internal_api = { f->connection, 342 Thread public_api = { f->server, 349 Thread internal_api = { f->server, 411 Thread public_api = { message, 457 Thread public_ap [all...] |