| /development/tools/bugreport/src/com/android/bugreport/logcat/ |
| LogLine.java | 58 * The thread that emitted the log. 91 * The thread associated with this log line. 95 public ThreadInfo thread; field in class:LogLine
|
| /external/autotest/client/tests/monotonic_time/src/ |
| threads.c | 19 typedef struct thread { struct 20 pthread_t thread; member in struct:thread 31 * Helper function to run a thread on a specific set of CPUs. 35 thread_t *thread = arg; local 38 if (sched_setaffinity(0, sizeof thread->cpus, &thread->cpus) < 0) 41 result = thread->func(thread->arg); 58 thread_t *thread; local 64 thread = &threads[num_threads++] 93 thread_t *thread; local [all...] |
| /external/compiler-rt/lib/msan/ |
| msan_thread.cc | 14 MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); local 15 thread->start_routine_ = start_routine; 16 thread->arg_ = arg; 17 thread->destructor_iterations_ = GetPthreadDestructorIterations(); 19 return thread; 58 // We also clear the shadow on thread destruction because 71 // start_routine_ == 0 if we're on the main thread or on one of the
|
| /external/compiler-rt/lib/tsan/rtl/ |
| tsan_debugging.cc | 25 if (typ == ReportTypeThreadLeak) return "thread-leak"; 146 ReportThread *thread = rep->threads[idx]; local 147 *tid = thread->id; 148 *os_id = thread->os_id; 149 *running = thread->running; 150 *name = thread->name; 151 *parent_tid = thread->parent_tid; 152 if (thread->stack) CopyTrace(thread->stack->frames, trace, trace_size);
|
| /external/elfutils/tests/ |
| backtrace-child.c | 21 Main thread will signal SIGUSR2. Other thread will signal SIGUSR1. 230 pthread_t thread; local 231 int i = pthread_create (&thread, NULL, start, NULL); 241 pthread_join (thread, NULL);
|
| backtrace-dwarf.c | 97 Dwfl_Thread *thread = dwfl_frame_thread (state); local 98 Dwfl *dwfl = dwfl_thread_dwfl (thread); 117 thread_callback (Dwfl_Thread *thread, void *thread_arg) 119 if (dwfl_thread_getframes (thread, frame_callback, NULL) == -1)
|
| /external/grpc-grpc/src/core/lib/gprpp/ |
| thd_windows.cc | 35 #define thread_local __declspec(thread) 47 ThreadInternalsWindows* thread; member in struct:__anon23100::thd_info 48 void (*body)(void* arg); /* body of a thread */ 49 void* arg; /* argument to a thread */ 65 info_->thread = this; 78 gpr_mu_lock(&g_thd_info->thread->mu_); 79 while (!g_thd_info->thread->started_) { 80 gpr_cv_wait(&g_thd_info->thread->ready_, &g_thd_info->thread->mu_, 83 gpr_mu_unlock(&g_thd_info->thread->mu_) [all...] |
| /external/libchrome/base/sampling_heap_profiler/ |
| lock_free_address_hash_set_unittest.cc | 149 auto thread = std::make_unique<WriterThread>(&set, &cancel); local 150 thread->Start(); 162 thread->Join();
|
| /external/libcups/cups/ |
| thread.c | 20 #include "thread-private.h" 147 * '_cupsThreadCancel()' - Cancel (kill) a thread. 151 _cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */ 153 pthread_cancel(thread); 158 * '_cupsThreadCreate()' - Create a thread. 161 _cups_thread_t /* O - Thread ID */ 166 pthread_t thread; local 168 if (pthread_create(&thread, NULL, (void *(*)(void *))func, arg)) 171 return (thread); [all...] |
| /external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
| dscr_default_test.c | 23 unsigned long thread = (unsigned long)in; local 46 fprintf(stderr, "thread %ld kernel DSCR should be %ld " 47 "but is %ld\n", thread, d, cur_dscr); 48 result[thread] = 1; 49 pthread_exit(&result[thread]); 53 fprintf(stderr, "thread %ld user DSCR should be %ld " 54 "but is %ld\n", thread, d, cur_dscr_usr); 55 result[thread] = 1; 56 pthread_exit(&result[thread]); 59 result[thread] = 0 [all...] |
| /external/linux-kselftest/tools/testing/selftests/powerpc/tm/ |
| tm-tmspr.c | 15 * (2) in each thread: 101 pthread_t *thread; local 110 thread = malloc(thread_num * sizeof(pthread_t)); 111 if (thread == NULL) 116 if (pthread_create(&thread[i], NULL, (void *)tfiar_tfhar, 122 if (pthread_create(&thread[i], NULL, (void *)texasr, (void *)i)) 127 if (pthread_join(thread[i], NULL) != 0) 131 free(thread);
|
| /external/ltp/testcases/kernel/syscalls/sched_getattr/ |
| sched_getattr01.c | 95 pthread_t thread; local 106 pthread_create(&thread, NULL, run_deadline, NULL); 107 pthread_join(thread, NULL);
|
| /external/ltp/testcases/kernel/syscalls/tgkill/ |
| tgkill01.c | 5 * tgkill() delivers a signal to a specific thread. Test this by installing 19 pthread_t thread; member in struct:thread_state 36 struct thread_state *thread = arg; local 43 thread->tid = sys_gettid(); 52 static void start_thread(struct thread_state *thread) 54 SAFE_PTHREAD_CREATE(&thread->thread, NULL, thread_func, thread); 69 SAFE_PTHREAD_JOIN(threads[i].thread, NULL); 93 if (!pthread_equal(sigusr1_thread, threads[i].thread)) { [all...] |
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/ |
| common.h | 63 printf("Failed: policy: %s thread policy: %u != %u\n", 69 printf("Failed: policy: %s thread priority %u != %u\n", 120 pthread_t thread; local 129 rc = pthread_create(&thread, &attr, thread_func, p); 138 pthread_join(thread, &status);
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
| 2-2.c | 9 * When each thread unblocked as a result of pthread_cond_signal() 10 * returns from its call to pthread_cond_timedwait(), the thread shall 42 fprintf(stderr, "[Thread 0x%p] failed to acquire the mutex\n", 46 fprintf(stderr, "[Thread 0x%p] started and locked the mutex\n", 58 "[Thread 0x%p] is waiting for the cond for at most %d secs\n", 62 fprintf(stderr, "[Thread 0x%p] pthread_cond_wait returned %d\n", 69 "[Thread 0x%p] should be able to lock the recursive mutex again\n", 75 "[Thread 0x%p] was wakened and acquired the mutex again\n", 80 fprintf(stderr, "[Thread 0x%p] failed to release the mutex\n", 87 "[Thread 0x%p] did not owned the mutex after the cond wait\n" 99 pthread_t thread[THREAD_NUM]; local [all...] |
| /external/ltp/testcases/realtime/func/async_handler/ |
| async_handler_jk.c | 24 * An async event server thread is created that goes to sleep waiting 27 * A user thread is created that simulates the firing of an event by 28 * signalling the async handler thread to do some work. 82 struct thread *thread = ((struct thread *)arg); local 84 thread->func = NULL; // entrypoint 85 thread->flags |= THREAD_FLAG_SUSPENDED; 88 if ((err = pthread_mutex_lock(&thread->mutex))) 92 while (thread->flags & THREAD_FLAG_SUSPENDED 112 struct thread *thread = ((struct thread *)arg); local [all...] |
| /external/lzma/CPP/Windows/ |
| Thread.h | 1 // Windows/Thread.h
14 ::CThread thread;
member in class:NWindows::CThread 16 CThread() { Thread_Construct(&thread); }
18 bool IsCreated() { return Thread_WasCreated(&thread) != 0; }
19 WRes Close() { return Thread_Close(&thread); }
21 { return Thread_Create(&thread, startAddress, parameter); }
22 WRes Wait() { return Thread_Wait(&thread); }
25 operator HANDLE() { return thread; }
26 void Attach(HANDLE handle) { thread = handle; }
27 HANDLE Detach() { HANDLE h = thread; thread = NULL; return h; } [all...] |
| /external/perfetto/src/trace_processor/ |
| process_tracker_unittest.cc | 107 TraceStorage::Thread thread = context.storage->GetThread(/*utid=*/1); local 110 ASSERT_EQ(thread.tid, 4); 111 ASSERT_EQ(thread.upid.value(), 1); 119 TraceStorage::Thread thread = context.storage->GetThread(1); local 121 // We expect 3 threads: Invalid thread, main thread for pid, tid 12. 126 ASSERT_EQ(thread.upid.value(), 1);
|
| thread_table.cc | 36 Table::Register<ThreadTable>(db, storage, "thread"); 108 const auto& thread = storage_->GetThread(current); local 115 if (thread.upid.has_value()) { 116 sqlite3_result_int64(context, thread.upid.value()); 123 const auto& name = storage_->GetString(thread.name_id); 128 sqlite3_result_int64(context, thread.tid); 132 if (thread.start_ns != 0) { 133 sqlite3_result_int64(context, thread.start_ns);
|
| /external/testng/src/main/java/org/testng/internal/thread/ |
| ExecutorAdapter.java | 1 package org.testng.internal.thread; 46 Thread.currentThread().interrupt(); 54 List<Thread> threads = m_threadFactory.getThreads();
|
| /external/testng/src/test/java/test/thread/ |
| BaseThreadTest.java | 1 package test.thread; 37 logThread(Thread.currentThread().getId()); 42 log("BaseThreadTest", "Logging thread:" + threadId); 65 System.out.println("[" + cls + "] thread:" + Thread.currentThread().getId()
|
| FactoryTest.java | 1 package test.thread; 13 * In non-parallel mode, we should only have one thread id 21 * In parallel mode "methods", we should have as many thread id's
|
| TrueParallelTest.java | 1 package test.thread;
|
| /external/webrtc/webrtc/p2p/base/ |
| testturnserver.h | 21 #include "webrtc/base/thread.h" 51 TestTurnServer(rtc::Thread* thread, 54 : server_(thread) { 75 rtc::Thread* thread = rtc::Thread::Current(); local 78 thread->socketserver(), int_addr), proto); 83 thread->socketserver()->CreateAsyncSocket(SOCK_STREAM);
|
| /frameworks/av/media/libaaudio/tests/ |
| test_stop_hang.cpp | 25 #include <thread> 35 std::thread *thread = nullptr; member in struct:AudioEngine 46 // Will block if the thread is running.
|