| /external/elfutils/libdwfl/ |
| dwfl_frame.c | 49 Ebl *ebl = state->thread->process->ebl; 76 Dwfl_Thread *thread = state->thread; local 77 assert (thread->unwound == state); 78 thread->unwound = state->unwound; 83 thread_free_all_states (Dwfl_Thread *thread) 85 while (thread->unwound) 86 state_free (thread->unwound); 90 state_alloc (Dwfl_Thread *thread) 92 assert (thread->unwound == NULL) 272 Dwfl_Thread thread; local 351 Dwfl_Thread thread; local [all...] |
| /external/google-breakpad/src/client/mac/tests/ |
| crash_generation_server_test.cc | 183 // Have to spawn off a separate thread to request the dump, 184 // because MinidumpGenerator assumes the handler thread is not 185 // the only thread 186 pthread_t thread; local 187 if (pthread_create(&thread, NULL, RequestDump, (void*)mach_port_name) != 0) 190 pthread_join(thread, &result);
|
| /external/guava/guava-tests/test/com/google/common/util/concurrent/ |
| CycleDetectingLockFactoryTest.java | 469 LockingThread thread = new LockingThread(lockA); local 470 thread.start(); 472 thread.waitUntilHoldingLock(); 475 thread.releaseLockAndFinish(); 480 LockingThread thread = new LockingThread(writeLockA); local 481 thread.start(); 483 thread.waitUntilHoldingLock(); 487 thread.releaseLockAndFinish(); 493 LockingThread thread = new LockingThread(readLockA); local 494 thread.start() [all...] |
| /external/jemalloc/include/jemalloc/internal/ |
| tsd.h | 28 * TLS/TSD-agnostic macro-based implementation of thread-specific data. There 582 pthread_t thread; member in struct:tsd_init_block_s
|
| /external/libchrome/base/threading/ |
| platform_thread_unittest.cc | 22 // Trivial tests that thread runs and doesn't crash on create, join, or detach - 44 TrivialThread thread; local 47 ASSERT_FALSE(thread.run_event().IsSignaled()); 48 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 50 ASSERT_TRUE(thread.run_event().IsSignaled()); 54 TrivialThread thread[10]; local 55 PlatformThreadHandle handle[arraysize(thread)]; 57 for (size_t n = 0; n < arraysize(thread); n++) 58 ASSERT_FALSE(thread[n].run_event().IsSignaled()); 59 for (size_t n = 0; n < arraysize(thread); n++ 71 TrivialThread thread; local 81 TrivialThread thread[10]; local 167 FunctionTestThread thread; local 187 FunctionTestThread thread[10]; local [all...] |
| thread_local_storage_unittest.cc | 95 // Tell tls that we're not done with this thread, and still need destruction. 112 // thread, at least 1 will be called after TLS destruction. 116 // Create 10 pthread keys before initializing TLS on the thread. 122 // Initialize the Chrome TLS system. It's possible that base::Thread has 126 // Create 10 pthread keys after initializing TLS on the thread. 153 // If this path is hit, then the thread local destructor was called after 161 // If this path is hit, then the thread local destructor was called before 235 "tls thread"); 262 // values there. Instead a per-module thread destruction function is called. 264 // is detached from the thread), so this check remains POSIX only 267 pthread_t thread; local [all...] |
| /external/libcxx/src/ |
| thread.cpp | 1 //===------------------------- thread.cpp----------------------------------===// 13 #include "thread" 41 thread::~thread() 48 thread::join() 59 __throw_system_error(ec, "thread::join failed"); 63 thread::detach() 74 __throw_system_error(ec, "thread::detach failed"); 78 thread::hardware_concurrency() _NOEXCEPT 107 return 0; // Means not computable [thread.thread.static [all...] |
| /external/libevent/test/ |
| test-changelist.c | 56 HANDLE thread; member in struct:cpu_usage_timer 70 timer->thread = GetCurrentThread(); 71 r = GetThreadTimes(timer->thread, &createtime, &exittime, 118 r = GetThreadTimes(timer->thread, &createtime, &exittime,
|
| /external/linux-kselftest/tools/testing/selftests/x86/ |
| fsgsbase.c | 198 printf("\tother thread: ARCH_SET_GS(0x%lx)%s -- sel is 0x%hx\n", 231 printf("\tother thread: using LDT slot 0\n"); 256 printf("\tother thread: using GDT slot %d\n", desc.entry_number); 281 errx(1, "helper thread got bad command"); 351 printf("[RUN]\tARCH_SET_GS(0), clear gs, then manipulate GSBASE in a different thread\n"); 372 pthread_t thread; local 397 if (pthread_create(&thread, 0, threadproc, 0) != 0) 420 ftx = 3; /* Kill the thread. */ 423 if (pthread_join(thread, NULL) != 0)
|
| /external/ltp/testcases/kernel/controllers/io-throttle/ |
| iobw.c | 80 static void thread(int id) function 158 fprintf(stderr, "ERROR: couldn't fork thread %d\n", id); 161 thread(id);
|
| /external/ltp/testcases/kernel/io/stress_cd/ |
| stress_cd.c | 47 static void *thread(int *); 67 printf("Thread [main] checksum: %-#12lx\n", checksum); 81 printf("\tThread [main]: creating thread %d\n", i + 1); 84 (void *)thread, (void *)&arg[i])) { 88 "thread %d\n", i); 94 printf("\tThread [main]: created thread %d\n", i + 1); 101 printf("\tThread [main]: waiting for thread: %d\n", i + 1); 120 static void *thread(int *parm) function
|
| /external/ltp/testcases/realtime/include/ |
| librttest.h | 34 * 2006-May-08: Added atomic_{inc,set,get}, thread struct, debug function, 80 struct thread { struct 235 /* create_fifo_thread: spawn a SCHED_FIFO thread with priority prio running 236 * func as the thread function with arg as it's parameter. 243 /* create_rr_thread: spawn a SCHED_RR thread with priority prio running 244 * func as the thread function with arg as it's parameter. 251 /* create_other_thread: spawn a SCHED_OTHER thread 252 * func as the thread function with arg as it's parameter. 258 /* Change the priority of a running thread */ 275 /* get_thread: return a struct thread pointer from the list * [all...] |
| /external/ltp/utils/sctp/func_tests/ |
| test_1_to_1_threads.c | 140 pthread_t thread[THREADS]; local 175 status = pthread_create(&thread[cnt], &attr, relay, &pth[cnt]); 184 exit_status = pthread_join (thread[cnt], &result); 187 "Thread #%d exited with status:%d",
|
| /external/nist-sip/java/gov/nist/core/ |
| ThreadAuditor.java | 6 * Thread Auditor class: 15 * the thread can periodically ping the auditor. 25 private Map<Thread,ThreadHandle> threadHandles = new HashMap<Thread,ThreadHandle>(); 32 /// Set to true when the thread pings, periodically reset to false by the auditor 35 /// Thread being monitored 36 private Thread thread; field in class:ThreadAuditor.ThreadHandle 38 /// Thread auditor monitoring this thread 142 Thread thread = threadHandle.getThread(); local [all...] |
| /external/oj-libjdwp/src/share/back/ |
| EventRequestImpl.c | 77 jthread thread; local 78 thread = inStream_readThreadRef(env, in); 82 eventFilter_setThreadOnlyFilter(node, i, thread)); 183 jthread thread; local 186 thread = inStream_readThreadRef(env, in); 196 eventFilter_setStepFilter(node, i, thread, size, depth));
|
| ThreadReferenceImpl.c | 38 jthread thread; local 42 thread = inStream_readThreadRef(env, in); 47 if (threadControl_isDebugThread(thread)) { 60 (gdata->jvmti, thread, &info); 80 jthread thread; local 82 thread = inStream_readThreadRef(getEnv(), in); 87 if (threadControl_isDebugThread(thread)) { 91 error = threadControl_suspendThread(thread, JNI_FALSE); 102 jthread thread; local 104 thread = inStream_readThreadRef(getEnv(), in) 128 jthread thread; local 155 jthread thread; local 220 jthread thread; local 319 jthread thread; local 350 jthread thread; local 399 jthread thread; local 441 jthread thread; local 471 jthread thread; local 495 jthread thread; local 521 jthread thread; local 573 jthread thread; local [all...] |
| /external/perfetto/src/trace_processor/ |
| process_tracker.cc | 40 TraceStorage::Thread* thread = context_->storage->GetMutableThread(new_utid); local 41 thread->name_id = thread_name_id; 42 thread->start_ns = timestamp; 62 TraceStorage::Thread* thread = local 65 thread->name_id = thread_name_id; 76 // Try looking for a thread that matches both tid and thread group id (pid). 77 TraceStorage::Thread* thread = nullptr local [all...] |
| raw_table.cc | 231 const auto& thread = storage_->GetThread(utid); local 233 if (thread.upid.has_value()) { 234 tgid = storage_->GetProcess(thread.upid.value()).pid; 236 const auto& name = storage_->GetString(thread.name_id); 242 raw_evts.cpus()[row], thread.tid, tgid,
|
| /external/python/cpython2/Lib/test/ |
| test_thread.py | 5 thread = support.import_module('thread') variable 16 _print_mutex = thread.allocate_lock() 29 self.done_mutex = thread.allocate_lock() 31 self.running_mutex = thread.allocate_lock() 32 self.random_mutex = thread.allocate_lock() 47 thread.start_new_thread(self.task, (self.next_ident,)) 64 # Basic test for thread creation. 73 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0") 75 thread.stack_size(0 [all...] |
| /external/syzkaller/executor/ |
| common_fuchsia.h | 58 zx_handle_t thread; local 60 ZX_RIGHT_SAME_RIGHTS, &thread); 66 status = zx_thread_read_state(thread, ZX_THREAD_STATE_GENERAL_REGS, 79 status = zx_thread_write_state(thread, ZX_THREAD_STATE_GENERAL_REGS, ®s, sizeof(regs)); 84 status = zx_task_resume(thread, ZX_RESUME_EXCEPTION); 88 zx_handle_close(thread);
|
| /external/tensorflow/tensorflow/core/kernels/data/experimental/ |
| choose_fastest_dataset_op.cc | 202 // The first num_experiments_ iterations, we fire up a thread for 208 for (const auto& thread : threads) { 209 thread.result->notification.WaitForNotification(); 285 std::unique_ptr<Thread> thread; member in struct:tensorflow::data::__anon45268::ChooseFastestDatasetOp::Dataset::ChooseFastestIterator::ThreadInfo 303 threads[i].thread = ctx->StartThread(
|
| /external/tensorflow/tensorflow/core/lib/core/ |
| threadpool.cc | 31 namespace thread { namespace in namespace:tensorflow 34 typedef Thread EnvThread; 168 // Avoid a thread hop by running the root of the tree and one block on the 169 // main thread. 172 // Execute the root in the thread pool to avoid running work on more than 189 // ParallelFor may use the current thread to do some 191 // from outside of the thread pool, we get -1, so we can 211 } // namespace thread
|
| /external/testng/src/test/java/test/thread/ |
| ParallelTestTest.java | 1 package test.thread; 50 public static final String CLASS1 = "test.thread.Test1Test"; 51 public static final String CLASS2 = "test.thread.Test2Test";
|
| /external/webrtc/webrtc/base/ |
| thread.h | 32 class Thread; 43 Thread* CurrentThread(); 44 void SetCurrentThread(Thread* thread); 46 // Returns a thread object with its thread_ ivar set 47 // to whatever the OS uses to represent the thread. 48 // If there already *is* a Thread object corresponding to this thread, 49 // this method will return that. Otherwise it creates a new Thread 59 Thread *WrapCurrentThread() 76 Thread *thread; member in struct:rtc::_SendMessage [all...] |
| /external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
| InactivityTimer.java | 88 public Thread newThread(Runnable runnable) { 89 Thread thread = new Thread(runnable); local 90 thread.setDaemon(true); 91 return thread;
|