/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 | 59 pthread_t threadid; local 78 pthread_create(&threadid, 0, thread_func, 0); 84 pthread_kill(threadid, SIGALRM); 85 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);
|
fp_race.c | 35 pthread_t threadid; local 71 pthread_create(&threadid, 0, thread_func, 0); 82 pthread_join(threadid, 0);
|
/packages/apps/Mms/src/com/android/mms/util/ |
DraftCache.java | 49 void onDraftChanged(long threadId, boolean hasDraft); 102 long threadId = cursor.getLong(COLUMN_DRAFT_THREAD_ID); 103 newDraftSet.add(threadId); 105 log("rebuildCache: add tid=" + threadId); 133 for (long threadId : added) { 134 l.onDraftChanged(threadId, true); 136 for (long threadId : removed) { 137 l.onDraftChanged(threadId, false); 146 public synchronized void setDraftState(long threadId, boolean hasDraft) { 147 if (threadId <= 0) [all...] |
Recycler.java | 84 long threadId = getThreadId(cursor); 85 deleteMessagesForThread(context, threadId, limit); 92 public void deleteOldMessagesByThreadId(Context context, long threadId) { 95 " threadId: " + threadId); 101 deleteMessagesForThread(context, threadId, getMessageLimit(context)); 126 abstract protected void deleteMessagesForThread(Context context, long threadId, int keep); 191 protected void deleteMessagesForThread(Context context, long threadId, int keep) { 199 ContentUris.withAppendedId(Sms.Conversations.CONTENT_URI, threadId), 222 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...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
HandleThread.java | 100 int threadId, nameLen; 103 threadId = data.getInt(); 107 Log.v("ddm-thread", "THCR: " + threadId + " '" + name + "'"); 109 client.getClientData().addThread(threadId, name); 117 int threadId; 119 threadId = data.getInt(); 120 Log.v("ddm-thread", "THDE: " + threadId); 122 client.getClientData().removeThread(threadId); 134 * (4b) threadId (matches value from THCR) 161 int threadId, status, tid, utime, stime [all...] |
/external/valgrind/main/exp-ptrcheck/ |
h_main.h | 59 void* h_replace_malloc ( ThreadId tid, SizeT n ); 60 void* h_replace___builtin_new ( ThreadId tid, SizeT n ); 61 void* h_replace___builtin_vec_new ( ThreadId tid, SizeT n ); 62 void* h_replace_memalign ( ThreadId tid, SizeT align, SizeT n ); 63 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 ); 64 void h_replace_free ( ThreadId tid, void* p ); 65 void h_replace___builtin_delete ( ThreadId tid, void* p ); 66 void h_replace___builtin_vec_delete ( ThreadId tid, void* p ); 67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size ); 68 SizeT h_replace_malloc_usable_size ( ThreadId tid, void* p ) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
NoConfirmationSendService.java | 70 // Using invalid threadId 0 here. When the message is inserted into the db, the 71 // provider looks up the threadId based on the recipient(s). 72 long threadId = 0; 74 message, threadId); 79 smsMessageSender.sendMessage(threadId); 81 Log.e(TAG, "Failed to send SMS message, threadId=" + threadId, e);
|
/dalvik/vm/ |
Debugger.h | 226 char* dvmDbgGetThreadName(ObjectId threadId); 227 ObjectId dvmDbgGetThreadGroup(ObjectId threadId); 233 bool dvmDbgGetThreadStatus(ObjectId threadId, u4* threadStatus, 235 u4 dvmDbgGetThreadSuspendCount(ObjectId threadId); 236 bool dvmDbgThreadExists(ObjectId threadId); 237 bool dvmDbgIsSuspended(ObjectId threadId); 238 //void dvmDbgWaitForSuspend(ObjectId threadId); 242 int dvmDbgGetThreadFrameCount(ObjectId threadId); 243 bool dvmDbgGetThreadFrame(ObjectId threadId, int num, FrameId* pFrameId, 249 void dvmDbgSuspendThread(ObjectId threadId); [all...] |
/external/v8/src/ |
v8threads.h | 46 void set_id(ThreadId id) { id_ = id; } 47 ThreadId id() { return id_; } 62 ThreadId id_; 101 return mutex_owner_.Equals(ThreadId::Current()); 104 ThreadId CurrentId(); 106 void TerminateExecution(ThreadId thread_id); 119 ThreadId mutex_owner_; 120 ThreadId lazily_archived_thread_;
|
/external/valgrind/main/drd/ |
drd_vc.c | 89 if (vc->vc[i].threadid == tid) 137 while (i < result->size && result->vc[i].threadid < rhs->vc[j].threadid) 147 if (result->vc[i].threadid <= rhs->vc[j].threadid) 151 tl_assert(result->vc[i].threadid == rhs->vc[j].threadid); 179 while (j < rhs->size && rhs->vc[j].threadid < result->vc[i].threadid) 183 if (result->vc[i].threadid == rhs->vc[j].threadid [all...] |
/dalvik/vm/alloc/ |
Visit.cpp | 55 u4 threadId, RootType type, void *arg) 61 (*visitor)(entry, threadId, type, arg); 69 u4 threadId, RootType type, void *arg) 75 (*visitor)(*it, threadId, type, arg); 87 u4 threadId = thread->threadId; 111 (*visitor)(&fp[i], threadId, ROOT_JAVA_FRAME, arg); 145 (*visitor)(&fp[i], threadId, ROOT_JAVA_FRAME, arg); 164 u4 threadId; 168 threadId = thread->threadId [all...] |
/external/valgrind/main/coregrind/ |
pub_core_tooliface.h | 139 Bool (*tool_handle_client_request)(ThreadId, UWord*, UWord*); 142 void (*tool_pre_syscall) (ThreadId, UInt, UWord*, UInt); 143 void (*tool_post_syscall)(ThreadId, UInt, UWord*, UInt, SysRes); 150 void* (*tool_malloc) (ThreadId, SizeT); 151 void* (*tool___builtin_new) (ThreadId, SizeT); 152 void* (*tool___builtin_vec_new) (ThreadId, SizeT); 153 void* (*tool_memalign) (ThreadId, SizeT, SizeT); 154 void* (*tool_calloc) (ThreadId, SizeT, SizeT); 155 void (*tool_free) (ThreadId, void*); 156 void (*tool___builtin_delete) (ThreadId, void*) [all...] |
m_tooliface.c | 265 Bool (*handle)(ThreadId, UWord*, UWord*) 273 void(*pre) (ThreadId, UInt, UWord*, UInt), 274 void(*post)(ThreadId, UInt, UWord*, UInt, SysRes res) 293 void* (*malloc) ( ThreadId, SizeT ), 294 void* (*__builtin_new) ( ThreadId, SizeT ), 295 void* (*__builtin_vec_new) ( ThreadId, SizeT ), 296 void* (*memalign) ( ThreadId, SizeT, SizeT ), 297 void* (*calloc) ( ThreadId, SizeT, SizeT ), 298 void (*free) ( ThreadId, void* ), 299 void (*__builtin_delete) ( ThreadId, void* ) [all...] |
pub_core_replacemalloc.h | 43 void* (*tl_malloc) (ThreadId tid, SizeT n); 44 void* (*tl___builtin_new) (ThreadId tid, SizeT n); 45 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n); 46 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n); 47 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n); 48 void (*tl_free) (ThreadId tid, void* p); 49 void (*tl___builtin_delete) (ThreadId tid, void* p); 50 void (*tl___builtin_vec_delete)(ThreadId tid, void* p); 51 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size); 52 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload) [all...] |
pub_core_signals.h | 51 extern void VG_(poll_signals) ( ThreadId ); 54 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, 59 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how, 64 ( ThreadId tid, /* OUT */ vki_sigset_t* saved_mask ); 71 extern void VG_(synth_fault) (ThreadId tid); 72 extern void VG_(synth_fault_mapping)(ThreadId tid, Addr addr); 73 extern void VG_(synth_fault_perms) (ThreadId tid, Addr addr); 74 extern void VG_(synth_sigill) (ThreadId tid, Addr addr); 75 extern void VG_(synth_sigtrap) (ThreadId tid); 76 extern void VG_(synth_sigbus) (ThreadId tid) [all...] |
/sdk/emulator/qtools/ |
dmtrace.h | 28 void addThread(int threadId, const char *name); 29 void updateName(int threadId, const char *name); 48 void writeDataRecord(FILE *fstream, int threadId,
|
/frameworks/base/tools/preload/ |
Proc.java | 86 * @param threadId thread the operation started in 90 void startOperation(int threadId, LoadedClass loadedClass, long time, 96 LinkedList<Operation> stack = stacks.get(threadId); 99 stacks.put(threadId, stack); 112 * @param threadId thread the operation ended in 116 Operation endOperation(int threadId, String className, 118 LinkedList<Operation> stack = stacks.get(threadId);
|
/packages/apps/Mms/src/com/android/mms/data/ |
Conversation.java | 100 private Conversation(Context context, long threadId, boolean allowQuery) { 102 Log.v(TAG, "Conversation constructor threadId: " + threadId); 105 if (!loadFromThreadId(threadId, allowQuery)) { 131 public static Conversation get(Context context, long threadId, boolean allowQuery) { 133 Log.v(TAG, "Conversation get by threadId: " + threadId); 135 Conversation conv = Cache.get(threadId); 139 conv = new Conversation(context, threadId, allowQuery); 143 LogTag.error("Tried to add duplicate Conversation to Cache (from threadId): " + conv) [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
IAccessibilityServiceConnection.aidl | 39 * @param threadId The id of the calling thread. 44 IAccessibilityInteractionConnectionCallback callback, long threadId); 58 * @param threadId The id of the calling thread. 63 IAccessibilityInteractionConnectionCallback callback, long threadId); 75 * @param threadId The id of the calling thread. 80 long threadId); 89 * @param threadId The id of the calling thread. 93 IAccessibilityInteractionConnectionCallback callback, long threadId); 103 * @param threadId The id of the calling thread. 108 long threadId); [all...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleThread.java | 116 * This is done by threadId, which isn't great since those are 119 * However, we're using the short threadId in THST messages, so we 125 int threadId; 127 threadId = in.getInt(); 129 //Log.d("ddm-thread", "Stack list request " + threadId); 131 StackTraceElement[] trace = DdmVmInternal.getStackTraceById(threadId); 135 return createStackChunk(trace, threadId); 142 * We include the threadId in the response so the other side doesn't have 145 private Chunk createStackChunk(StackTraceElement[] trace, int threadId) { 162 out.putInt(threadId); [all...] |
/dalvik/tools/dmtracedump/ |
CreateTestTrace.c | 65 int threadId; 121 unsigned int time = 0, threadId; 148 int threadId = strtoul(cp, &cp, 0); 149 if (maxThreadId < threadId) 150 maxThreadId = threadId; 186 * default values for the time and threadId. 189 threadId = 1; 194 threadId = strtoul(cp, &cp, 0); 199 if (callStack[threadId].frames == NULL) { 202 callStack[threadId].frames = stk [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/win32/ |
SDL_systhread.c | 42 unsigned, unsigned *threadID); 51 unsigned, unsigned *threadID); 56 unsigned, unsigned *threadID); 102 unsigned threadid; local 116 pThreadParms, 0, &threadid); 118 thread->handle = CreateThread(NULL, 0, RunThread, pThreadParms, 0, &threadid);
|