| /bionic/tests/ |
| pthread_test.cpp | 145 // The surviving thread inherits all the forking thread's TLS values... 228 // because it is always set to false after each test. Each thread 252 // Can we create a thread? 290 // If thread 2 is already waiting to join thread 1... 328 // Wait for the thread to be running... 340 // Unlocking data->mutex will cause the main thread to exit, invalidating *data. Save the handle. 343 // Let the main thread know we're running. 346 // And wait for the main thread to exit 551 pthread_t thread; local 954 pthread_t thread; local 1002 pthread_t thread; local 1076 pthread_t thread; local 1112 pthread_t thread; local 1379 pthread_t thread; member in class:pthread_CondWakeupTest 1847 pthread_t thread; local 2003 pthread_t thread; local 2101 pthread_t thread; local 2214 pthread_t thread; local 2486 pthread_t thread; local [all...] |
| /bootable/recovery/updater/ |
| blockimg.cpp | 332 * To achieve this, we expand the new data from the archive in a background thread, and block that 333 * threads 'receive uncompressed data' function until the main thread has reached a point where we 334 * want some new data to be written. We signal the background thread with the destination for the 335 * data and block the main thread, waiting for the background thread to complete writing that 336 * section. Then it signals the main thread to wake up and goes back to blocking waiting for a 340 * the main thread wants some data written, it sets writer to the destination location and signals 341 * the condition. When the background thread is done writing, it clears writer and signals the 373 // At this point nti->writer is set, and we own it. The main thread is waiting for it to 413 // At this point nti->writer is set, and we own it. The main thread is waiting for it t 539 pthread_t thread; member in struct:CommandParameters [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_socket.py | 37 import thread
40 thread = None
variable 95 are caught and transferred to the main thread to alert
99 functions that rely on the client thread during setup,
114 it wants the client thread to proceed. This is useful if the
116 dependent upon the client thread during its setup routine."""
130 self.client_thread = thread.start_new_thread(
164 thread.exit()
201 # Indicate explicitly we're ready for the client thread to
711 @unittest.skipUnless(thread, 'Threading required for this test.') [all...] |
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
| VmMirror.java | 63 /** PacketDispatcher thread used for asynchronous reading packets. */ 210 * Waits for stop on breakpoint and gets id of thread where it stopped. 214 * @return threadID id of thread, where we stop on breakpoint 496 * Resumes specified thread on target Virtual Machine 523 * Suspends specified thread in debuggee VM. 673 * Gets ThreadID for specified thread name. 676 * thread name 682 long thread = -1; local 689 // Get thread ID for threadName 692 thread = request.getNextValueAsThreadID() [all...] |
| /external/google-breakpad/src/processor/ |
| minidump.cc | 1614 MinidumpThread* thread = &(*threads)[thread_index]; local [all...] |
| /external/libchrome/base/debug/ |
| activity_tracker.h | 118 int64_t thread_id; // A unique identifier for a thread within a process. 119 } thread; member in union:base::debug::ActivityData 162 data.thread.thread_id = id; 184 // persistent memory allocator. Instances of this class are NOT thread-safe. 185 // Use from a single thread or protect access with a lock. 263 // Task activities involve callbacks posted to a thread or thread-pool 278 // Thread activities involve the life management of threads. 309 // from a completely different thread though most activities will leave 345 // done by a thread by supporting key/value pairs of any type. This can provid [all...] |
| /external/linux-kselftest/tools/testing/selftests/seccomp/ |
| seccomp_bpf.c | 92 #define SECCOMP_RET_KILL_THREAD 0x00000000U /* kill the thread */ 624 /* This is a thread task to die via seccomp filter violation. */ 637 /* Prepare a thread that will kill itself or both of us. */ 640 pthread_t thread; local 679 /* Start a thread that will exit immediately. */ 680 ASSERT_EQ(0, pthread_create(&thread, NULL, kill_thread, (void *)false)); 681 ASSERT_EQ(0, pthread_join(thread, &status)); 684 /* Start a thread that will die immediately. */ 685 ASSERT_EQ(0, pthread_create(&thread, NULL, kill_thread, (void *)true)); 686 ASSERT_EQ(0, pthread_join(thread, &status)) [all...] |
| /external/lzma/CPP/7zip/UI/FileManager/ |
| ProgressDialog2.cpp | 935 INT_PTR CProgressDialog::Create(const UString &title, NWindows::CThread &thread, HWND wndParent)
943 HANDLE h[] = { thread, _createDialogEvent };
959 thread.Wait();
1270 NWindows::CThread thread;
local 1271 RINOK(thread.Create(MyThreadFunction, this));
1272 CProgressDialog::Create(title, thread, parentWindow);
|
| /external/mesa3d/src/gallium/drivers/ddebug/ |
| dd_pipe.h | 310 * An independent, separate thread loops over the list of records and checks 312 * the thread dumps the records of in-flight draws. 314 thrd_t thread; member in struct:dd_context
|
| /external/oj-libjdwp/src/share/back/ |
| threadControl.c | 52 * This is a per-thread structure that is allocated on the 53 * first event that occurs in a thread. It is freed after the 54 * thread's thread end event has completed processing. The 55 * structure contains state information on its thread including 57 * per-thread state such as the current method invocation or 65 jthread thread; member in struct:ThreadNode 77 jint resumeFrameDepth; /* !=0 => This thread is in a call to Thread.resume() */ 86 struct ThreadList *list; /* Tells us what list this thread is in * 129 jthread thread; member in struct:DeferredEventMode 659 jthread thread; local 827 jthread thread = threads[i]; local 2471 jthread thread; local [all...] |
| util.c | 212 localThreadClass = findClass(env,"java/lang/Thread"); 244 /* Find the system thread group */ 251 EXIT_ERROR(error, "Can't get system thread group"); 254 EXIT_ERROR(AGENT_ERROR_NULL_POINTER, "Can't get system thread group"); 317 (tag == JDWP_TAG(THREAD)) || 332 return JDWP_TAG(THREAD); 556 jthread thread; local 560 * Instance methods start with the instance, thread and class, 562 * thread. 567 thread = inStream_readThreadRef(env, in) 667 jthread thread = threads[i]; local 882 jthread thread; local 1050 jthread thread = threadControl_currentThread(); local [all...] |
| /external/python/cpython2/Lib/test/support/ |
| __init__.py | 28 import thread 30 thread = None variable [all...] |
| /external/python/cpython2/Lib/test/ |
| test_socket.py | 41 import thread 44 thread = None variable 99 are caught and transferred to the main thread to alert 103 functions that rely on the client thread during setup, 118 it wants the client thread to proceed. This is useful if the 120 dependent upon the client thread during its setup routine.""" 134 self.client_thread = thread.start_new_thread( 167 thread.exit() 204 # Indicate explicitly we're ready for the client thread to 774 @unittest.skipUnless(thread, 'Threading required for this test.' [all...] |
| /external/squashfs-tools/squashfs-tools/ |
| unsquashfs.c | 48 pthread_t *thread, *inflator_thread; variable 409 * queue to read thread to read and ultimately (via the 1023 * the writer thread is queued a squashfs_file structure describing the [all...] |
| /external/stressapptest/src/ |
| 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() 548 NetworkSlaveThread thread; member in struct:NetworkListenThread::ChildWorker [all...] |
| /external/v8/src/base/platform/ |
| platform-win32.cc | 438 // Returns the accumulated user time for thread. 443 // Get the amount of time that the thread has executed in user mode. 1292 Thread* thread = reinterpret_cast<Thread*>(arg); local [all...] |
| /external/webrtc/talk/session/media/ |
| channel_unittest.cc | 148 flags1, flags2, rtc::Thread::Current()); 152 int flags1, int flags2, rtc::Thread* thread) { 155 channel1_.reset(CreateChannel(thread, &media_engine_, ch1, 158 channel2_.reset(CreateChannel(thread, &media_engine_, ch2, 204 rtc::Thread* thread, 210 thread, engine, ch, transport_controller, cricket::CN_AUDIO, rtcp); 286 // Calling "_w" method here is ok since we only use one thread for this test 446 CallThread* thread = new CallThread(this, method, result) local 453 CallThread* thread = new CallThread(this, method, result); local [all...] |
| /frameworks/av/services/audioflinger/ |
| Effects.cpp | 64 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread, 71 mThread(thread), mChain(chain), mId(id), mSessionId(sessionId), 82 mAudioFlinger(thread->mAudioFlinger) 97 &desc->uuid, sessionId, thread->id(), &mEffectInterface); 110 setOffloaded(thread->type() == ThreadBase::OFFLOAD, thread->id()); 189 sp <ThreadBase> thread = mThread.promote(); local 191 if (thread == nullptr || chain == nullptr) { 194 io = thread->id(); 288 // unsafe method called when the effect parent thread has been destroye 566 sp<ThreadBase> thread; local 789 sp<ThreadBase> thread = mThread.promote(); local 897 sp<ThreadBase> thread = mThread.promote(); local 1220 sp<ThreadBase> thread = mThread.promote(); local 1635 sp<ThreadBase> thread = effect->thread().promote(); local 1696 sp<ThreadBase> thread = effect->thread().promote(); local 1728 sp<ThreadBase> thread = effect->thread().promote(); local 2022 sp<ThreadBase> thread = mThread.promote(); local 2046 sp<ThreadBase> thread = mThread.promote(); local 2136 sp<ThreadBase> thread = mThread.promote(); local [all...] |
| Tracks.cpp | 66 ThreadBase *thread, 83 mThread(thread), 103 mThreadIoHandle(thread ? thread->id() : AUDIO_IO_HANDLE_NONE), 170 const sp<MemoryDealer> roHeap(thread->readOnlyHeap()); 186 mBufferMemory = thread->pipeMemory(); 283 const ThreadBase& thread, 291 uint64_t mixBufferNs = ((uint64_t)2 * thread.frameCount() * 1000000000) / 292 thread.sampleRate(); 317 // will be freed from the main thread once all pending buffers hav 631 sp<ThreadBase> thread = mThread.promote(); local 929 sp<ThreadBase> thread = mThread.promote(); local 1018 sp<ThreadBase> thread = mThread.promote(); local 1051 sp<ThreadBase> thread = mThread.promote(); local 1085 sp<ThreadBase> thread = mThread.promote(); local 1176 sp<ThreadBase> thread = mThread.promote(); local 1190 sp<ThreadBase> thread = mThread.promote(); local 1227 sp<ThreadBase> thread = mThread.promote(); local 1271 sp<ThreadBase> thread = mThread.promote(); local 1283 sp<ThreadBase> thread = mThread.promote(); local 1431 sp<ThreadBase> thread = mThread.promote(); local 1522 sp<ThreadBase> thread = mTrack->mThread.promote(); local 1539 sp<ThreadBase> thread = mTrack->mThread.promote(); local 1701 sp<ThreadBase> thread = mThread.promote(); local 2045 sp<ThreadBase> thread = mThread.promote(); local 2056 sp<ThreadBase> thread = mThread.promote(); local 2071 sp<ThreadBase> thread = mThread.promote(); local 2224 sp<ThreadBase> thread = mThread.promote(); local 2235 sp<ThreadBase> thread = mThread.promote(); local 2245 sp<ThreadBase> thread = mThread.promote(); local [all...] |
| /external/icu/tools/srcgen/currysrc/libs/ |
| org.eclipse.core.jobs_3.10.0.v20180427-1454.jar | |
| /external/guice/extensions/struts2/lib/ |
| jetty-util-6.1.0.jar | |
| /cts/tests/tests/media/src/android/media/cts/ |
| MediaCodecTest.java | 472 try { Thread.sleep(400); } catch (InterruptedException ignored) {} 531 // sync flush from same thread 535 // sync flush from different thread 540 Thread flushThread = new FlushThread(encoder, buffersExhausted, codecFlushed); 554 // async flush from same thread 561 callback.run(); // drive input on main thread 563 // async flush from different thread 624 Thread flushingThread = new Thread(new Runnable() { 640 Thread resettingThread = new Thread(new Runnable() [all...] |
| /art/runtime/ |
| debugger.cc | 110 // GC to deadlock if another thread tries to call SuspendAll while the GC is in a runnable state. 150 void MethodEntered(Thread* thread, 165 thread->SetDebugMethodEntry(); 172 thread->SetDebugMethodEntry(); 174 Dbg::UpdateDebugger(thread, this_object.Get(), method, 0, Dbg::kMethodEntry, nullptr); 178 void MethodExited(Thread* thread, 189 if (thread->IsDebugMethodEntry()) { 193 thread->ClearDebugMethodEntry() 467 Thread* thread = Thread::FromManagedThread(soa, thread_peer); variable 917 Thread* thread = DecodeThread(soa, thread_id, &error); local 935 Thread* thread = DecodeThread(soa, thread_id, &error); local 2285 Thread* thread = DecodeThread(soa, thread_id, &error); local 2305 Thread* thread = DecodeThread(soa, thread_id, &error); local 2317 Thread* thread = DecodeThread(soa, thread_id, &error); local 2389 Thread* thread = DecodeThread(soa, thread_id, &error); local 2406 Thread* thread = DecodeThread(soa, thread_id, &error); local 2479 Thread* thread = thread_list->SuspendThreadByPeer(peer.get(), local 2497 Thread* thread; local 2525 Thread* thread = DecodeThread(soa, thread_id, &error); local 2584 Thread* thread = DecodeThread(soa, thread_id, &error); local 2753 Thread* thread = DecodeThread(soa, thread_id, &error); local [all...] |
| /external/adhd/cras/src/libcras/ |
| cras_client.c | 114 /* Manage information for a thread. */ 142 * tid - Thread id of the audio thread spawned for this stream. 143 * running - Audio thread runs while this is non-zero. 144 * wake_fds - Pipe to wake the audio thread. 157 struct thread_state thread; member in struct:client_stream 158 int wake_fds[2]; /* Pipe to wake the thread */ 196 * command_fds - Pipe for user commands to thread. 197 * command_reply_fds - Pipe for acking/nacking command messages from thread. 201 * running - The client thread will run while this is non zero 230 struct thread_state thread; member in struct:cras_client [all...] |
| /external/blktrace/ |
| blktrace.c | 7 * Rewrite to have a single thread per CPU (managing all devices on that CPU) 104 * and it will signal the processing thread using the dp_cond, 119 * For piped output to stdout we will have each tracer thread (one per dev) 122 * The main thread will then collect trace buffers from each of lists in turn. 125 * can then signal the main thread using <dp_cond,dp_mutex> and 127 * signal. When dp_entries is 0, the main thread will wait for that condition 158 * Each thread doing work on a (client) side of blktrace will have one 161 * thread. 167 pthread_t thread; member in struct:tracer 301 * tracer threads add entries, the main thread takes them off and processe [all...] |