| /external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
| _irix.h | 105 NSPR_API(void *) _MD_GetSP(PRThread *thread); variable 186 /* Thread operations */ 260 PRInt32 cvar_wait; /* if 1, thread is waiting on cvar Q */ 326 ** Initialize the thread context preparing it to execute _main. 339 ** Switch away from the current thread context by saving its state and 340 ** calling the thread scheduler. Reload cpu when we come back from the 344 * thread may be unr RUNQ? 360 ** Restore a thread context that was saved by _MD_SWITCH_CONTEXT or 372 NSPR_API(PRStatus) _MD_InitThread(struct PRThread *thread, 374 NSPR_API(PRStatus) _MD_InitAttachedThread(struct PRThread *thread, [all...] |
| /external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
| tcmalloc_unittest.cc | 34 // * Each thread maintains a set of allocated objects, with 40 // * At any given step, the thread can do any of the following: 44 // c. Pass the object to another thread 167 static const int FLAGS_threadmb = 4; // Max memory size allocated by thread 328 // Info kept per thread 338 Mutex lock_; // For passing in another thread's obj 339 int id_; // My thread id 341 vector<Object> heap_; // This thread's heap 386 fprintf(LOGSTREAM, "Thread %2d: locks %6d ok; %6d trylocks failed\n", 466 // Pass a random object to another thread 476 TesterThread* thread = threads[tid]; local [all...] |
| /external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
| tcmalloc_unittest.cc | 34 // * Each thread maintains a set of allocated objects, with 40 // * At any given step, the thread can do any of the following: 44 // c. Pass the object to another thread 167 static const int FLAGS_threadmb = 4; // Max memory size allocated by thread 328 // Info kept per thread 338 Mutex lock_; // For passing in another thread's obj 339 int id_; // My thread id 341 vector<Object> heap_; // This thread's heap 386 fprintf(LOGSTREAM, "Thread %2d: locks %6d ok; %6d trylocks failed\n", 466 // Pass a random object to another thread 476 TesterThread* thread = threads[tid]; local [all...] |
| /external/conscrypt/src/main/java/org/conscrypt/ |
| OpenSSLSocketImpl.java | 490 // The RI runs the handlers in a separate thread, 493 // the handshaking thread just because a listener 495 Thread thread = Thread.currentThread(); local 496 thread.getUncaughtExceptionHandler().uncaughtException(thread, e); 607 Thread.currentThread().interrupt(); 628 * OpenSSL only lets one thread read at a time, so this is used to 629 * make sure we serialize callers of SSL_read. Thread is alread [all...] |
| /external/fio/ |
| stat.c | 1471 pthread_t thread; local [all...] |
| /external/guava/guava-tests/test/com/google/common/util/concurrent/ |
| JSR166TestCase.java | 60 * them. These methods are used to clear and check for thread 67 * small amounts of computation (creating a thread, calling a few 304 * harness thread, triggering a test case failure. Only the first 319 * Triggers test case failure if any thread assertions have failed, 320 * by rethrowing, in the test harness thread, any exception recorded 323 * Triggers test case failure if interrupt status is set in the main thread. 342 if (Thread.interrupted()) 343 throw new AssertionFailedError("interrupt status set in main thread"); 481 * Delays, via Thread.sleep, for the given millisecond delay, but 490 Thread.sleep(millis) [all...] |
| /external/linux-tools-perf/perf-3.12.0/tools/perf/ |
| builtin-kmem.c | 9 #include "util/thread.h" 308 struct thread *thread = machine__findnew_thread(machine, sample->pid, local 311 if (thread == NULL) { 317 dump_printf(" ... thread: %s:%d\n", thread->comm, thread->tid);
|
| builtin-lock.c | 9 #include "util/thread.h" 642 /* TODO: handlers for CPU oriented, thread oriented */ 757 struct thread *t; 759 pr_info("%10s: comm\n", "Thread ID"); 808 struct thread *thread = machine__findnew_thread(machine, sample->pid, local 811 if (thread == NULL) { 924 "dump thread list in perf.data"),
|
| builtin-script.c | 12 #include "util/thread.h" 282 struct thread *thread, 293 printf("%8.8s ", thread->comm); 295 printf("%s ", thread->comm); 297 printf("%16s ", thread->comm); 352 struct thread *thread, 363 thread__find_addr_map(thread, machine, cpumode, MAP__FUNCTION, 366 thread__find_addr_map(thread, machine, cpumode, MAP__VARIABLE 504 struct thread *thread = machine__findnew_thread(machine, sample->pid, local [all...] |
| builtin-trace.c | 8 #include "util/thread.h" 399 static struct thread_trace *thread__trace(struct thread *thread, FILE *fp) 403 if (thread == NULL) 406 if (thread->priv == NULL) 407 thread->priv = thread_trace__new(); 409 if (thread->priv == NULL) 412 ttrace = thread->priv; 463 static size_t trace__fprintf_entry_head(struct trace *trace, struct thread *thread, 697 struct thread *thread; local 749 struct thread *thread; local 816 struct thread *thread = machine__findnew_thread(&trace->host, local 1130 struct thread *thread = rb_entry(nd, struct thread, rb_node); local [all...] |
| /external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
| evsel.c | 702 int cpu, thread; local 707 for (thread = 0; thread < nthreads; thread++) { 708 FD(evsel, cpu, thread) = -1; 719 int cpu, thread; local 722 for (thread = 0; thread < nthreads; thread++) { 723 int fd = FD(evsel, cpu, thread), 794 int cpu, thread; local 881 int cpu, thread; local 1005 int cpu, thread; local [all...] |
| machine.c | 10 #include "thread.h" 35 struct thread *thread = machine__findnew_thread(machine, 0, local 39 if (thread == NULL) 43 thread__set_comm(thread, comm); 61 struct thread *n, *t; 74 struct thread *t = rb_entry(nd, struct thread, rb_node); 257 static struct thread *__machine__findnew_thread(struct machine *machine, 263 struct thread *th 319 struct thread *thread = machine__findnew_thread(machine, local 1004 struct thread *thread; local 1051 struct thread *thread; local 1107 struct thread *thread = machine__find_thread(machine, event->fork.tid); local 1133 struct thread *thread = machine__find_thread(machine, event->fork.tid); local [all...] |
| session.c | 1111 struct thread *perf_session__findnew(struct perf_session *session, pid_t pid) 1116 static struct thread *perf_session__register_idle_thread(struct perf_session *self) 1118 struct thread *thread = perf_session__findnew(self, 0); local 1120 if (thread == NULL || thread__set_comm(thread, "swapper")) { 1122 thread = NULL; 1125 return thread; [all...] |
| /external/lldb/source/Host/common/ |
| Host.cpp | 90 lldb::thread_t thread = LLDB_INVALID_HOST_THREAD; local 100 thread = ThreadCreate (thread_name, 105 return thread; 109 // Scoped class that will disable thread canceling when it is 118 // Disable the ability for this thread to be cancelled 127 // Restore the ability for this thread to be cancelled to what it 142 log->Printf ("%s (arg = %p) thread starting...", function, arg); 178 log->Printf ("%s (arg = %p) thread exiting because waitpid failed (%s)...", __FUNCTION__, arg, strerror(errno)); 235 // If our process exited, then this thread should exit 239 log->Printf ("%s (arg = %p) thread exiting because pid received exit signal...", __FUNCTION__, arg) 590 lldb::thread_t thread = LLDB_INVALID_HOST_THREAD; local [all...] |
| /external/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/ |
| DynamicLoaderDarwinKernel.cpp | 27 #include "lldb/Target/Thread.h" 289 ThreadSP thread = process->GetThreadList().GetSelectedThread (); local 290 if (thread.get() == NULL) 292 addr_t pc = thread->GetRegisterContext ()->GetPC(LLDB_INVALID_ADDRESS); [all...] |
| /external/lldb/source/Plugins/Process/Linux/ |
| ProcessMonitor.cpp | 31 #include "lldb/Target/Thread.h" 208 // functions without needed to go thru the thread funnel. 377 /// Under Linux, it is not possible to ptrace() from any other thread but the 380 /// process the operation must be "funneled" to a specific thread to perform the 917 /// One thread (@see SignalThread) simply blocks on a call to waitpid() looking 919 /// ProcessMessage is sent to the associated ProcessLinux instance. This thread 922 /// The second thread (@see OperationThread) is responsible for two things 1) 960 // Wait for the operation thread to initialize. 1019 // Wait for the operation thread to initialize. 1056 // Thread setup and tear down 1689 POSIXThread *thread = static_cast<POSIXThread*>(m_process->GetThreadList().FindThreadByID(wait_pid).get()); local [all...] |
| /external/lldb/source/Plugins/UnwindAssembly/x86/ |
| UnwindAssembly-x86.cpp | 23 #include "lldb/Target/Thread.h" 204 Thread *thread = m_exe_ctx.GetThreadPtr(); local 205 if (thread && *initialized_flag == 0) 207 RegisterContext *reg_ctx = thread->GetRegisterContext().get(); 232 // on initial construction we may not have a Thread so these have to remain 896 UnwindAssembly_x86::GetNonCallSiteUnwindPlanFromAssembly (AddressRange& func, Thread& thread, UnwindPlan& unwind_plan) 898 ExecutionContext exe_ctx (thread.shared_from_this()); 904 UnwindAssembly_x86::GetFastUnwindPlan (AddressRange& func, Thread& thread, UnwindPlan &unwind_plan [all...] |
| /external/lldb/tools/driver/ |
| Driver.cpp | 814 SBThread thread; local 822 // Prefer a thread that has just completed its plan over another thread as current thread. 829 thread = process.GetThreadAtIndex(i); 830 StopReason thread_stop_reason = thread.GetStopReason(); 845 other_thread = thread; 849 plan_thread = thread; 860 thread = curr_thread; 862 thread = process.GetThreadAtIndex(0) 1048 SBThread thread = SBThread::GetThreadFromEvent (event); local [all...] |
| /external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA2/ |
| SDL_main.cpp | 635 //this is not called from app thread! 766 gEpocEnv->Free(); //free up in thread resources 864 RThread thread; local 865 User::LeaveIfError(thread.Create(KSDLMain, DoMain, aStackSize, NULL, NULL)); 869 thread.Logon(*aStatus); 872 gEpocEnv->iId = thread.Id(); 873 thread.SetPriority(EPriorityLess); 876 thread.Resume(); 878 thread.Close();
|
| /external/qemu/ |
| gdbstub.c | 309 /* XXX: This is not thread safe. Do we care? */ 1599 uint32_t thread; local [all...] |
| /external/smack/src/com/kenai/jbosh/ |
| BOSHClient.java | 90 * Instances of this class are thread-safe. 208 * Processor thread runnable instance. 220 * Processor thread runnable instance. 259 * Thread which is used to process responses from the connection 262 private Thread procThread; 656 * transport implementation and starts the receive thread. 664 procThread = new Thread(procRunnable); 668 + "]: Receive thread"); 944 * This method is run in the processing thread. 947 LOG.log(Level.FINEST, "Processing thread starting") 994 final Thread thread = Thread.currentThread(); local [all...] |
| /external/smack/src/org/jivesoftware/smack/util/ |
| PacketParserUtils.java | 96 String thread = null; local 127 else if (elementName.equals("thread")) { 128 if (thread == null) { 129 thread = parser.nextText(); 153 message.setThread(thread); [all...] |
| /external/stressapptest/src/ |
| sat.cc | 66 // thread. 68 // This must be uninstalled while there is only a single thread, and of course 446 FillThread *thread = new FillThread(); local 447 thread->InitThread(i, this, os_, patternlist_, &fill_status); 451 thread->SetFillPages(pages_ / fill_threads_); 452 // The last thread finishes up all the leftover pages. 456 thread->SetFillPages(pages_ - pages_ / fill_threads_ * i); 458 fill_vector.push_back(thread); 472 logprintf(0, "Thread %d failed with status %d at %.2f seconds\n", 891 // Set number of disk random threads for each disk write thread 1058 ErrorPollThread *thread = new ErrorPollThread(); local 1076 CopyThread *thread = new CopyThread(); local 1126 FileThread *thread = new FileThread(); local 1143 NetworkListenThread *thread = new NetworkListenThread(); local 1150 NetworkThread *thread = new NetworkThread(); local 1163 CheckThread *thread = new CheckThread(); local 1175 InvertThread *thread = new InvertThread(); local 1189 DiskThread *thread = new DiskThread(blocktables_[i]); local 1230 CpuStressThread *thread = new CpuStressThread(); local 1301 CpuCacheCoherencyThread *thread = local 1351 CheckThread *thread = new CheckThread(); local [all...] |
| worker.h | 15 // worker.h : worker thread interface 17 // This file contains the Worker Thread class interface 52 // - Control thread creates object. 53 // - Control thread calls AddWorkers(1) for each worker thread. 54 // - Control thread calls Initialize(). 55 // - Control thread launches worker threads. 56 // - Every worker thread frequently calls ContinueRunning(). 57 // - Control thread periodically calls PauseWorkers(), effectively sleeps, and 61 // - Control thread eventually calls StopWorkers() 549 NetworkSlaveThread thread; member in struct:NetworkListenThread::ChildWorker [all...] |
| /external/valgrind/main/drd/tests/ |
| tsan_thread_wrappers_pthread.h | 487 /*! A thread pool that uses ProducerConsumerQueue. 507 MyThread *thread = new MyThread(&ThreadPool::Worker, this); local 508 workers_.push_back(thread);
|