/external/google-breakpad/src/common/linux/tests/ |
crash_generator.cc | 57 pthread_t thread; member in struct:__anon20790::ThreadData 175 fprintf(stderr, "CrashGenerator: Invalid thread counts; num_threads=%u" 215 perror("CrashGenerator: Failed to kill thread by signal"); 218 // guarantee when it'll be delivered. We don't want the main thread to 219 // race and exit before the thread we signaled is processed. So sleep 291 fprintf(stderr, "CrashGenerator: Failed to initialize thread attribute\n"); 297 fprintf(stderr, "CrashGenerator: Failed to initialize thread barrier\n"); 304 if (pthread_create(&thread_data[i].thread, &thread_attributes, 306 fprintf(stderr, "CrashGenerator: Failed to create thread %d\n", i); 313 fprintf(stderr, "CrashGenerator: Failed to wait for thread barrier\n") [all...] |
/external/iputils/ninfod/ |
ninfod_core.c | 446 DEBUG(LOG_DEBUG, "%s(): thread=%ld\n", __func__, pthread_self()); 448 DEBUG(LOG_DEBUG, "%s(): thread=%ld => %d\n", __func__, pthread_self(), ret); 523 pthread_t thread; local 682 if (pthread_create(&thread, &pattr, ni_send_thread, p)) {
|
/external/libchrome/base/debug/ |
activity_tracker_unittest.cc | 384 // Start another thread and ensure it re-uses the existing memory. 406 ThreadActivityTracker* thread = global->GetOrCreateTrackerForCurrentThread(); local 429 thread->GetBaseAddress(), 438 // Make a copy of the thread-tracker state so it can be restored later. 441 memcpy(tracker_copy.get(), thread->GetBaseAddress(), tracker_size); 450 thread->GetBaseAddress(), &owning_id, &stamp)); 456 thread->SetOwningProcessIdForTesting(other_process_id, stamp); 462 thread->GetBaseAddress(), &owning_id, &stamp)); 488 memcpy(const_cast<void*>(thread->GetBaseAddress()), tracker_copy.get(),
|
/external/lzma/C/ |
LzFindMt.h | 27 CThread thread;
member in struct:_CMtSync
|
MtCoder.h | 1 /* MtCoder.h -- Multi-thread Coder
13 CThread thread;
member in struct:__anon28734 59 CLoopThread thread;
member in struct:__anon28736
|
/external/mesa3d/src/gallium/auxiliary/os/ |
os_thread.h | 31 * Thread, mutex, condition variable, barrier, semaphore and 32 * thread-specific data functions. 59 pipe_thread thread; variable 66 ret = thrd_create( &thread, routine, param ); 70 ret = thrd_create( &thread, routine, param ); 75 return thread; 78 static inline int pipe_thread_wait( pipe_thread thread ) 80 return thrd_join( thread, NULL ); 83 static inline int pipe_thread_destroy( pipe_thread thread ) 85 return thrd_detach( thread ); [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/ |
StubFtpServer.java | 140 // Simple value object that holds the socket and thread for a single session
143 private Thread thread;
field in class:StubFtpServer.SessionInfo 151 private Thread serverThread;
208 * Start a new Thread for this server instance
211 serverThread = new Thread(this);
213 // Wait until the thread is initialized
216 // Start here in case server thread runs faster than main thread.
230 * The logic for the server thread
[all...] |
/external/oj-libjdwp/src/share/back/ |
stepControl.c | 36 getFrameCount(jthread thread) 42 (gdata->jvmti, thread, &count); 59 * per thread. 62 enableStepping(jthread thread) 66 LOG_STEP(("enableStepping: thread=%p", thread)); 69 thread); 76 disableStepping(jthread thread) 80 LOG_STEP(("disableStepping: thread=%p", thread)); 266 jthread thread = evinfo->thread; local 369 jthread thread = evinfo->thread; local 436 jthread thread; local [all...] |
/external/python/cpython2/Lib/logging/ |
config.py | 41 import thread 44 thread = None variable 803 Returns a Thread object on which you can call start() to start the server, 807 if not thread: [all...] |
/external/python/cpython3/Lib/logging/ |
config.py | 37 import _thread as thread 40 thread = None variable 804 Returns a Thread object on which you can call start() to start the server, 817 if not thread: #pragma: no cover [all...] |
/external/swiftshader/src/D3D9/ |
Direct3DSwapChain9.cpp | 103 int thread; local 104 for(thread = 0; thread < renderer->getThreadCount(); thread++) 106 int64_t drawTime = renderer->getVertexTime(thread) + renderer->getSetupTime(thread) + renderer->getPixelTime(thread); 108 int vertexPercentage = sw::clamp((int)(100 * renderer->getVertexTime(thread) / frameTime), 0, 100); 109 int setupPercentage = sw::clamp((int)(100 * renderer->getSetupTime(thread) / frameTime), 0, 100); 110 int pixelPercentage = sw::clamp((int)(100 * renderer->getPixelTime(thread) / frameTime), 0, 100) [all...] |
/external/tensorflow/tensorflow/core/framework/ |
device_base.h | 53 namespace thread { namespace in namespace:tensorflow 111 thread::ThreadPool* workers = nullptr; 148 // The preferred thread pool for this device. If it is nullptr, the system 149 // automatically assigns a thread pool for execution. 150 virtual thread::ThreadPool* tensorflow_device_thread_pool() { 226 void set_tensorflow_device_thread_pool(thread::ThreadPool* thread_pool) { 234 thread::ThreadPool* device_thread_pool_ = nullptr;
|
/external/testng/src/main/java/org/testng/internal/thread/graph/ |
GraphThreadPoolExecutor.java | 1 package org.testng.internal.thread.graph; 138 System.out.println("============ [GraphThreadPoolExecutor] " + Thread.currentThread().getId() + " " 149 public Thread newThread(Runnable r) { 150 Thread result = new Thread(r);
|
/external/v8/src/wasm/ |
wasm-debug.cc | 106 WasmInterpreter::Thread* thread = interpreter_.GetThread(0); local 109 DCHECK(thread->state() == WasmInterpreter::STOPPED || 110 thread->state() == WasmInterpreter::FINISHED); 111 thread->Reset(); 112 thread->PushFrame(&module()->functions[func_index], wasm_args.start()); 116 WasmInterpreter::State state = ContinueExecution(thread); 119 NotifyDebugEventListeners(thread); 142 WasmVal ret_val = thread->GetReturnValue(0); 160 WasmInterpreter::State ContinueExecution(WasmInterpreter::Thread* thread) 242 WasmInterpreter::Thread* thread = interpreter()->GetThread(0); local 257 WasmInterpreter::Thread* thread = interpreter()->GetThread(0); local 272 WasmInterpreter::Thread* thread = interpreter()->GetThread(0); local [all...] |
/external/volley/src/main/java/com/android/volley/ |
VolleyLog.java | 81 * calling thread ID and method name. 102 Thread.currentThread().getId(), caller, msg); 106 * A simple event log with records containing a name, thread ID, and timestamp. 116 public final long thread; field in class:VolleyLog.MarkerLog.Marker 119 public Marker(String name, long thread, long time) { 121 this.thread = thread; 155 d("(+%-4d) [%2d] %s", (thisTime - prevTime), marker.thread, marker.name);
|
/external/webrtc/webrtc/base/ |
criticalsection_unittest.cc | 19 #include "webrtc/base/thread.h" 35 // Each value should only be taken by one thread, so if this value 38 << " Thread=" << Thread::Current() << " value=" << values[i]; 55 EXPECT_EQ(0, zero_count_) << "Thread=" << Thread::Current(); 58 EXPECT_EQ(1, v) << " Thread=" << Thread::Current(); 199 void StartThreads(ScopedPtrCollection<Thread>* threads, 202 Thread* thread = new Thread() local [all...] |
thread.cc | 11 #include "webrtc/base/thread.h" 44 Thread* Thread::Current() { 57 // maintaining thread safety using immutability within context of GCD dispatch 78 Thread *ThreadManager::CurrentThread() { 79 return static_cast<Thread *>(pthread_getspecific(key_)); 82 void ThreadManager::SetCurrentThread(Thread *thread) { 83 pthread_setspecific(key_, thread); 100 Thread *ThreadManager::CurrentThread() 127 Thread* thread; member in struct:rtc::ThreadInit 338 AutoThread thread; local [all...] |
/external/webrtc/webrtc/p2p/base/ |
p2ptransportchannel.h | 187 rtc::Thread* thread() { return worker_thread_; } function in class:cricket::P2PTransportChannel 269 rtc::Thread* worker_thread_;
|
relayserver.h | 22 #include "webrtc/base/thread.h" 35 // Creates a server, which will use this thread to post messages to itself. 36 explicit RelayServer(rtc::Thread* thread); 39 rtc::Thread* thread() { return thread_; } function in class:cricket::RelayServer 78 rtc::Thread* thread_; 118 // Handle messages in our worker thread.
|
/frameworks/av/services/audioflinger/ |
PatchPanel.cpp | 264 sp<ThreadBase> thread = local 266 newPatch->mPlaybackThread = (MixerThread *)thread.get(); 267 if (thread == 0) { 268 ALOGW("createAudioPatch() cannot get playback thread"); 277 sp<ThreadBase> thread = audioflinger->openOutput_l( local 284 newPatch->mPlaybackThread = (PlaybackThread *)thread.get(); 314 sp<ThreadBase> thread = audioflinger->openInput_l(srcModule, local 321 newPatch->mRecordThread = (RecordThread *)thread.get(); 334 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( local 336 if (thread == 0) 381 sp<ThreadBase> thread = local 613 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( local 639 sp<ThreadBase> thread = local [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerIntegrationTest.java | 232 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); 238 factory.thread.join(3000); 239 assertEquals(Thread.State.TERMINATED, factory.thread.getState()); 244 assertNotSame(Thread.State.TERMINATED, factory.thread.getState()); 250 Thread thread = null; field in class:StorageManagerIntegrationTest.MyThreadFactory 253 public Thread newThread(Runnable r) [all...] |
/frameworks/base/tests/touchlag/ |
touchlag.cpp | 141 class EventThread : public Thread { 167 EventThread() : Thread(false), 173 sp<EventThread> thread; member in class:TouchEvents 177 thread = new EventThread(); 178 thread->run("EventThread", PRIORITY_URGENT_DISPLAY); 182 *x = thread->x; 183 *y = thread->y; 184 return thread->down;
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureClient_test.cpp | 29 #include <utils/Thread.h> 522 class MyThread : public Thread { 563 MyThread* thread = new MyThread(mST); local 564 sp<Thread> threadBase(thread); 568 thread->run("MyThread"); 573 thread->bufferDequeued(); 574 thread->requestExitAndWait();
|
/hardware/qcom/gps/msm8909w_3100/gnss/ |
GnssAdapter.h | 50 pthread_t thread; /* NI thread */ member in struct:__anon50429 128 /* ======== EVENTS ====(Called from QMI Thread)========================================= */ 134 /* ======== COMMANDS ====(Called from ULP Thread)==================================== */ 141 /* ======== COMMANDS ====(Called from Client Thread)==================================== */ 155 /* ======== COMMANDS ====(Called from Client Thread)==================================== */ 159 /* ======================(Called from ULP Thread)======================================= */ 183 /* ======== COMMANDS ====(Called from Client Thread)==================================== */ 185 /* ======================(Called from NI Thread)======================================== */ 192 /* ======== COMMANDS ====(Called from Client Thread)==================================== * [all...] |
/hardware/qcom/gps/msm8998/gnss/ |
GnssAdapter.h | 49 pthread_t thread; /* NI thread */ member in struct:__anon50779 117 /* ======== EVENTS ====(Called from QMI Thread)========================================= */ 123 /* ======== COMMANDS ====(Called from ULP Thread)==================================== */ 130 /* ======== COMMANDS ====(Called from Client Thread)==================================== */ 142 /* ======== COMMANDS ====(Called from Client Thread)==================================== */ 146 /* ======================(Called from ULP Thread)======================================= */ 170 /* ======== COMMANDS ====(Called from Client Thread)==================================== */ 172 /* ======================(Called from NI Thread)======================================== */ 179 /* ======== COMMANDS ====(Called from Client Thread)==================================== * [all...] |