/external/valgrind/drd/tests/ |
linuxthreads_det.c | 29 pthread_t threadid; local 32 pthread_create(&threadid, 0, thread_func, 0); 33 pthread_join(threadid, 0);
|
dlopen_lib.c | 6 void *PrintHello(void *threadid) 8 const long tid = (uintptr_t)threadid;
|
sigalrm.c | 58 pthread_t threadid; local 75 if (pthread_create(&threadid, 0, thread_func, 0) != 0) { 84 pthread_kill(threadid, SIGALRM); 85 pthread_join(threadid, 0);
|
pth_cond_destroy_busy.c | 39 pthread_t threadid; local 45 pthread_create(&threadid, 0, thread_func, 0); 61 pthread_join(threadid, 0);
|
pth_cond_race.c | 28 pthread_t threadid; local 46 pthread_create(&threadid, 0, thread_func, 0); 51 pthread_join(threadid, 0);
|
/external/testng/src/test/java/test/testng285/ |
BugBase.java | 18 void log(long threadId) { 19 m_threadIds.add(threadId);
|
/external/v8/src/ |
v8threads.h | 25 void set_id(ThreadId id) { id_ = id; } 26 ThreadId id() { return id_; } 43 ThreadId id_; 82 return mutex_owner_.Equals(ThreadId::Current()); 85 ThreadId CurrentId(); 87 void TerminateExecution(ThreadId thread_id); 102 ThreadId mutex_owner_; 103 ThreadId lazily_archived_thread_;
|
/external/ltp/testcases/open_posix_testsuite/stress/mqueues/ |
multi_send_rev_2.c | 41 int ThreadID = *(int *)ID; 43 printf("Enter into send [%d] \n", ThreadID); 50 s_msg_ptr[i], ThreadID); 59 int ThreadID = *(int *)ID; 61 printf("Enter into receive[%d] \n", ThreadID); 64 mq_receive(mq, r_msg_ptr[ThreadID][i], MSG_SIZE, NULL)) { 69 r_msg_ptr[ThreadID][i], ThreadID); 71 printf("receive[%d] quit ...\n", ThreadID); 81 int ThreadID[Max_Threads] [all...] |
multi_send_rev_1.c | 34 int ThreadID; 44 send_info.ThreadID = ((mq_info *) info)->ThreadID; 46 printf("Enter into send [%d], mq = %d \n", send_info.ThreadID, 54 s_msg_ptr[i], send_info.ThreadID); 66 recv_info.ThreadID = ((mq_info *) info)->ThreadID; 68 printf("Enter into receive [%d], mq = %d \n", recv_info.ThreadID, 77 i + 1, r_msg_ptr[i], recv_info.ThreadID); 121 info[i].ThreadID = i [all...] |
/external/skia/src/core/ |
SkSharedMutex.cpp | 80 // Returns true if threadID is in the set. 81 bool find(SkThreadID threadID) const { 83 if (t == threadID) return true; 89 bool tryAdd(SkThreadID threadID) { 91 if (t == threadID) return false; 93 fThreadIDs.append(1, &threadID); 97 bool tryRemove(SkThreadID threadID) { 99 if (fThreadIDs[i] == threadID) { 129 SkThreadID threadID(SkGetThreadID()); 135 if (!fWaitingExclusive->tryAdd(threadID)) { [all...] |
/hardware/interfaces/gnss/1.0/default/ |
ThreadCreationWrapper.cpp | 28 pthread_t threadId; 34 int ret = pthread_create(&threadId, nullptr, threadFunc, reinterpret_cast<void*>( 39 pthread_setname_np(threadId, name); 41 return threadId;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
FrameCountTest.java | 63 long threadID = debuggeeWrapper.vmMirror.getThreadID(testedThreadName); 64 logWriter.println("==> threadID = " + threadID); 65 debuggeeWrapper.vmMirror.suspendThread(threadID); 67 int expectedCount = getFramesCount(threadID); 73 packet.setNextValueAsThreadID(threadID); 84 debuggeeWrapper.vmMirror.resumeThread(threadID); 88 private int getFramesCount(long threadID) { 98 packet.setNextValueAsThreadID(threadID); 104 logWriter.println("\tthreadID=" + threadID [all...] |
NameTest.java | 58 long threadID; 62 threadID = reply.getNextValueAsThreadID(); 66 packet.setNextValueAsThreadID(threadID); 72 logWriter.println("\tthreadID = " + threadID + " threadName = " 75 printErrorAndFail("Empty name for thread with ID=" + threadID);
|
FramesTest.java | 45 long threadID; 77 threadID = debuggeeWrapper.vmMirror.getThreadID(testedThreadName); 78 logWriter.println("==> threadID = " + threadID); 79 debuggeeWrapper.vmMirror.suspendThread(threadID); 110 debuggeeWrapper.vmMirror.resumeThread(threadID); 131 threadID = debuggeeWrapper.vmMirror.getThreadID(testedThreadName); 132 logWriter.println("==> threadID = " + threadID); 133 debuggeeWrapper.vmMirror.suspendThread(threadID); [all...] |
/external/lzma/C/ |
Threads.c | 34 /* Windows Me/98/95: threadId parameter may not be NULL in _beginthreadex/CreateThread functions */
38 DWORD threadId;
39 *p = CreateThread(0, 0, func, param, 0, &threadId);
43 unsigned threadId;
44 *p = (HANDLE)_beginthreadex(NULL, 0, func, param, 0, &threadId);
|
/external/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
multi_con_pro.c | 44 int ThreadID = *(int *)ID; 47 printf("Enter into Producer Thread %d... \n", ThreadID); 62 data = 100 * ThreadID + i; 65 ThreadID, data, in); 91 printf("[%d] producer has added %d to the buffer[%d] \n", ThreadID, 102 printf("Producer %d exit... \n", ThreadID); 109 int ThreadID = *(int *)ID; 112 printf("Enter into Consumer Thread %d... \n", ThreadID); 124 ThreadID, data, out); 142 printf("Consumer %d exit... \n", ThreadID); [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
IAccessibilityServiceConnection.aidl | 40 IAccessibilityInteractionConnectionCallback callback, int flags, long threadId, 45 long threadId); 49 IAccessibilityInteractionConnectionCallback callback, long threadId); 52 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId); 55 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId); 59 IAccessibilityInteractionConnectionCallback callback, long threadId);
|
/external/deqp/framework/delibs/decpp/ |
deThreadSafeRingBuffer.cpp | 42 Message (deUint16 threadId, deUint16 payload) 43 : data((threadId << 16) | payload) 72 deUint16 threadId = msg.getThreadId(); 74 if (threadId == 0xffff) 77 DE_TEST_ASSERT(de::inBounds<int>(threadId, 0, (int)m_lastPayload.size())); 78 DE_TEST_ASSERT((m_lastPayload[threadId] == 0 && msg.getPayload() == 0) || m_lastPayload[threadId] < msg.getPayload()); 80 m_lastPayload[threadId] = msg.getPayload(); 81 m_payloadSum[threadId] += (deUint32)msg.getPayload(); 85 deUint32 getPayloadSum (deUint16 threadId) cons [all...] |
/external/valgrind/coregrind/ |
m_tooliface.c | 275 static Bool (*tool_handle_client_request_func)(ThreadId, UWord *, UWord *); 277 static Bool wrap_tool_handle_client_request(ThreadId tid, UWord *arg1, 288 Bool (*handle)(ThreadId, UWord*, UWord*) 298 void(*pre) (ThreadId, UInt, UWord*, UInt), 299 void(*post)(ThreadId, UInt, UWord*, UInt, SysRes res) 334 void* (*malloc) ( ThreadId, SizeT ), 335 void* (*__builtin_new) ( ThreadId, SizeT ), 336 void* (*__builtin_vec_new) ( ThreadId, SizeT ), 337 void* (*memalign) ( ThreadId, SizeT, SizeT ), 338 void* (*calloc) ( ThreadId, SizeT, SizeT ) [all...] |
pub_core_tooliface.h | 145 Bool (*tool_handle_client_request)(ThreadId, UWord*, UWord*); 148 void (*tool_pre_syscall) (ThreadId, UInt, UWord*, UInt); 149 void (*tool_post_syscall)(ThreadId, UInt, UWord*, UInt, SysRes); 162 void* (*tool_malloc) (ThreadId, SizeT); 163 void* (*tool___builtin_new) (ThreadId, SizeT); 164 void* (*tool___builtin_vec_new) (ThreadId, SizeT); 165 void* (*tool_memalign) (ThreadId, SizeT, SizeT); 166 void* (*tool_calloc) (ThreadId, SizeT, SizeT); 167 void (*tool_free) (ThreadId, void*); 168 void (*tool___builtin_delete) (ThreadId, void*) [all...] |
pub_core_signals.h | 55 extern void VG_(poll_signals) ( ThreadId ); 58 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, 63 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how, 68 ( ThreadId tid, /* OUT */ vki_sigset_t* saved_mask ); 75 extern void VG_(synth_fault) (ThreadId tid); 76 extern void VG_(synth_fault_mapping)(ThreadId tid, Addr addr); 77 extern void VG_(synth_fault_perms) (ThreadId tid, Addr addr); 78 extern void VG_(synth_sigill) (ThreadId tid, Addr addr); 79 extern void VG_(synth_sigtrap) (ThreadId tid); 80 extern void VG_(synth_sigbus) (ThreadId tid) [all...] |
pub_core_replacemalloc.h | 44 void* (*tl_malloc) (ThreadId tid, SizeT n); 45 void* (*tl___builtin_new) (ThreadId tid, SizeT n); 46 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n); 47 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n); 48 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n); 49 void (*tl_free) (ThreadId tid, void* p); 50 void (*tl___builtin_delete) (ThreadId tid, void* p); 51 void (*tl___builtin_vec_delete)(ThreadId tid, void* p); 52 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size); 53 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload) [all...] |
/external/valgrind/drd/ |
drd_vc.c | 91 if (vc->vc[i].threadid == tid) 139 while (i < result->size && result->vc[i].threadid < rhs->vc[j].threadid) 149 if (result->vc[i].threadid <= rhs->vc[j].threadid) 153 tl_assert(result->vc[i].threadid == rhs->vc[j].threadid); 181 while (j < rhs->size && rhs->vc[j].threadid < result->vc[i].threadid) 185 if (result->vc[i].threadid == rhs->vc[j].threadid [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
JDWPStackFrameTestCase.java | 91 protected int jdwpGetFrameCount(long threadID) { 95 packet.setNextValueAsThreadID(threadID); 104 protected FrameInfo[] jdwpGetFrames(long threadID, int startFrame, int length) { 108 packet.setNextValueAsThreadID(threadID); 169 protected String jdwpGetThreadName(long threadID) { 173 packet.setNextValueAsThreadID(threadID); 182 protected void jdwpSuspendThread(long threadID) { 186 packet.setNextValueAsThreadID(threadID); 192 protected void jdwpResumeThread(long threadID) { 196 packet.setNextValueAsThreadID(threadID); [all...] |
/external/testng/src/test/java/test/thread/ |
BaseThreadTest.java | 40 protected void logThread(long threadId) { 42 log("BaseThreadTest", "Logging thread:" + threadId); 43 m_threadIds.add(threadId);
|