/external/valgrind/main/drd/tests/ |
linuxthreads_det.c | 29 pthread_t threadid; local 32 pthread_create(&threadid, 0, thread_func, 0); 33 pthread_join(threadid, 0);
|
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/chromium_org/v8/src/ |
v8threads.h | 23 void set_id(ThreadId id) { id_ = id; } 24 ThreadId id() { return id_; } 41 ThreadId id_; 80 return mutex_owner_.Equals(ThreadId::Current()); 83 ThreadId CurrentId(); 85 void TerminateExecution(ThreadId thread_id); 100 ThreadId mutex_owner_; 101 ThreadId lazily_archived_thread_;
|
/frameworks/base/core/java/android/accessibilityservice/ |
IAccessibilityServiceConnection.aidl | 37 IAccessibilityInteractionConnectionCallback callback, int flags, long threadId); 41 long threadId); 45 IAccessibilityInteractionConnectionCallback callback, long threadId); 48 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId); 51 int interactionId, IAccessibilityInteractionConnectionCallback callback, long threadId); 55 IAccessibilityInteractionConnectionCallback callback, long threadId);
|
/packages/apps/Mms/src/com/android/mms/util/ |
DraftCache.java | 52 void onDraftChanged(long threadId, boolean hasDraft); 107 long threadId = cursor.getLong(COLUMN_DRAFT_THREAD_ID); 108 newDraftSet.add(threadId); 110 log("rebuildCache: add tid=" + threadId); 147 for (long threadId : added) { 148 l.onDraftChanged(threadId, true); 150 for (long threadId : removed) { 151 l.onDraftChanged(threadId, false); 161 public void setDraftState(long threadId, boolean hasDraft) { 162 if (threadId <= 0) [all...] |
Recycler.java | 85 long threadId = getThreadId(cursor); 86 deleteMessagesForThread(context, threadId, limit); 93 public void deleteOldMessagesByThreadId(Context context, long threadId) { 96 " threadId: " + threadId); 102 deleteMessagesForThread(context, threadId, getMessageLimit(context)); 127 abstract protected void deleteMessagesForThread(Context context, long threadId, int keep); 192 protected void deleteMessagesForThread(Context context, long threadId, int keep) { 200 ContentUris.withAppendedId(Sms.Conversations.CONTENT_URI, threadId), 223 ContentUris.withAppendedId(Sms.Conversations.CONTENT_URI, threadId), [all...] |
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
HprofData.java | 54 public final int threadId; 59 public static ThreadEvent start(int objectId, int threadId, String threadName, 61 return new ThreadEvent(ThreadEventType.START, objectId, threadId, 65 public static ThreadEvent end(int threadId) { 66 return new ThreadEvent(ThreadEventType.END, threadId); 69 private ThreadEvent(ThreadEventType type, int objectId, int threadId, 76 this.threadId = threadId; 82 private ThreadEvent(ThreadEventType type, int threadId) { 85 this.threadId = threadId [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
FrameCountTest.java | 62 long threadID = debuggeeWrapper.vmMirror.getThreadID(testedThreadName); 63 logWriter.println("==> threadID = " + threadID); 64 debuggeeWrapper.vmMirror.suspendThread(threadID); 66 int expectedCount = getFramesCount(threadID); 72 packet.setNextValueAsThreadID(threadID); 83 debuggeeWrapper.vmMirror.resumeThread(threadID); 87 private int getFramesCount(long threadID) { 97 packet.setNextValueAsThreadID(threadID); 103 logWriter.println("\tthreadID=" + threadID [all...] |
NameTest.java | 57 long threadID; 61 threadID = reply.getNextValueAsThreadID(); 65 packet.setNextValueAsThreadID(threadID); 71 logWriter.println("\tthreadID = " + threadID + " threadName = " 74 printErrorAndFail("Empty name for thread with ID=" + threadID);
|
FramesTest.java | 45 long threadID; 76 threadID = debuggeeWrapper.vmMirror.getThreadID(testedThreadName); 77 logWriter.println("==> threadID = " + threadID); 78 debuggeeWrapper.vmMirror.suspendThread(threadID); 109 debuggeeWrapper.vmMirror.resumeThread(threadID); 130 threadID = debuggeeWrapper.vmMirror.getThreadID(testedThreadName); 131 logWriter.println("==> threadID = " + threadID); 132 debuggeeWrapper.vmMirror.suspendThread(threadID); [all...] |
/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/main/drd/ |
drd_vc.c | 88 if (vc->vc[i].threadid == tid) 136 while (i < result->size && result->vc[i].threadid < rhs->vc[j].threadid) 146 if (result->vc[i].threadid <= rhs->vc[j].threadid) 150 tl_assert(result->vc[i].threadid == rhs->vc[j].threadid); 178 while (j < rhs->size && rhs->vc[j].threadid < result->vc[i].threadid) 182 if (result->vc[i].threadid == rhs->vc[j].threadid [all...] |
/external/chromium_org/media/cast/ |
cast_environment.cc | 45 bool CastEnvironment::PostTask(ThreadId identifier, 52 ThreadId identifier, 60 ThreadId identifier) const { 74 bool CastEnvironment::CurrentlyOn(ThreadId identifier) {
|
cast_environment.h | 23 enum ThreadId { 45 bool PostTask(ThreadId identifier, 49 bool PostDelayedTask(ThreadId identifier, 54 bool CurrentlyOn(ThreadId identifier); 65 ThreadId identifier) const;
|
/external/lzma/C/ |
Threads.c | 32 unsigned threadId; /* Windows Me/98/95: threadId parameter may not be NULL in _beginthreadex/CreateThread functions */
35 CreateThread(0, 0, func, param, 0, &threadId);
37 (HANDLE)_beginthreadex(NULL, 0, func, param, 0, &threadId);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
JDWPStackFrameTestCase.java | 90 protected int jdwpGetFrameCount(long threadID) { 94 packet.setNextValueAsThreadID(threadID); 103 protected FrameInfo[] jdwpGetFrames(long threadID, int startFrame, int length) { 107 packet.setNextValueAsThreadID(threadID); 168 protected String jdwpGetThreadName(long threadID) { 172 packet.setNextValueAsThreadID(threadID); 181 protected void jdwpSuspendThread(long threadID) { 185 packet.setNextValueAsThreadID(threadID); 191 protected void jdwpResumeThread(long threadID) { 195 packet.setNextValueAsThreadID(threadID); [all...] |
/external/chromium_org/mojo/services/html_viewer/ |
webthread_impl.h | 24 virtual blink::PlatformThreadId threadId() const = 0; 50 virtual blink::PlatformThreadId threadId() const; 70 virtual blink::PlatformThreadId threadId() const;
|
/external/valgrind/main/coregrind/ |
pub_core_tooliface.h | 144 Bool (*tool_handle_client_request)(ThreadId, UWord*, UWord*); 147 void (*tool_pre_syscall) (ThreadId, UInt, UWord*, UInt); 148 void (*tool_post_syscall)(ThreadId, UInt, UWord*, UInt, SysRes); 161 void* (*tool_malloc) (ThreadId, SizeT); 162 void* (*tool___builtin_new) (ThreadId, SizeT); 163 void* (*tool___builtin_vec_new) (ThreadId, SizeT); 164 void* (*tool_memalign) (ThreadId, SizeT, SizeT); 165 void* (*tool_calloc) (ThreadId, SizeT, SizeT); 166 void (*tool_free) (ThreadId, void*); 167 void (*tool___builtin_delete) (ThreadId, void*) [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...] |
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...] |
m_tooliface.c | 272 Bool (*handle)(ThreadId, UWord*, UWord*) 280 void(*pre) (ThreadId, UInt, UWord*, UInt), 281 void(*post)(ThreadId, UInt, UWord*, UInt, SysRes res) 316 void* (*malloc) ( ThreadId, SizeT ), 317 void* (*__builtin_new) ( ThreadId, SizeT ), 318 void* (*__builtin_vec_new) ( ThreadId, SizeT ), 319 void* (*memalign) ( ThreadId, SizeT, SizeT ), 320 void* (*calloc) ( ThreadId, SizeT, SizeT ), 321 void (*free) ( ThreadId, void* ), 322 void (*__builtin_delete) ( ThreadId, void* ) [all...] |
/packages/apps/Mms/src/com/android/mms/data/ |
Conversation.java | 111 private Conversation(Context context, long threadId, boolean allowQuery) { 113 Log.v(TAG, "Conversation constructor threadId: " + threadId); 116 if (!loadFromThreadId(threadId, allowQuery)) { 142 public static Conversation get(Context context, long threadId, boolean allowQuery) { 144 Log.v(TAG, "Conversation get by threadId: " + threadId); 146 Conversation conv = Cache.get(threadId); 150 conv = new Conversation(context, threadId, allowQuery); 154 LogTag.error("Tried to add duplicate Conversation to Cache (from threadId): " + conv) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/win32/ |
SDL_systhread.c | 46 unsigned, unsigned *threadID); 51 unsigned, unsigned *threadID); 56 unsigned, unsigned *threadID); 124 unsigned threadid = 0; local 127 pThreadParms, 0, &threadid)); 129 DWORD threadid = 0; local 130 thread->handle = CreateThread(NULL, 0, RunThreadViaCreateThread, pThreadParms, 0, &threadid);
|