/external/valgrind/main/drd/tests/ |
sem_as_mutex.c | 36 pthread_t threadid; local 72 pthread_create(&threadid, 0, thread_func, 0); 83 pthread_join(threadid, 0);
|
sem_open.c | 36 pthread_t threadid; local 84 pthread_create(&threadid, 0, thread_func, 0); 95 pthread_join(threadid, 0);
|
/external/valgrind/main/coregrind/ |
m_threadstate.c | 40 ThreadId VG_(running_tid) = VG_INVALID_THREADID; 61 ThreadState *VG_(get_ThreadState)(ThreadId tid) 68 Bool VG_(is_valid_tid) ( ThreadId tid ) 78 ThreadId VG_(get_running_tid)(void) 83 Bool VG_(is_running_thread)(ThreadId tid) 94 inline Bool VG_(is_exiting)(ThreadId tid) 104 ThreadId tid; 118 ThreadId tid; 128 ThreadId */ 129 ThreadId VG_(lwpid_to_vgtid)(Int lwp [all...] |
pub_core_scheduler.h | 41 extern ThreadId VG_(alloc_ThreadState)(void); 44 extern void VG_(exit_thread)(ThreadId tid); 49 extern void VG_(get_thread_out_of_syscall)(ThreadId tid); 52 extern void VG_(nuke_all_threads_except) ( ThreadId me, 60 extern void VG_(acquire_BigLock) ( ThreadId tid, HChar* who ); 75 extern void VG_(release_BigLock) ( ThreadId tid, 86 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid ); 89 // ThreadId and initialise the bigLock. 90 extern ThreadId VG_(scheduler_init_phase1) ( void ); 93 // client stack and the root ThreadId decided on by phase 1 [all...] |
pub_core_syswrap.h | 41 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid); 43 extern void VG_(client_syscall) ( ThreadId tid, UInt trc ); 45 extern void VG_(post_syscall) ( ThreadId tid ); 52 ThreadId tid, 59 extern void VG_(reap_threads)(ThreadId self); 75 (ThreadId,VgSchedReturnCode);
|
/external/valgrind/main/include/ |
pub_tool_machine.h | 104 Addr VG_(get_IP) ( ThreadId tid ); 105 Addr VG_(get_SP) ( ThreadId tid ); 115 VG_(get_shadow_regs_area) ( ThreadId tid, 119 VG_(set_shadow_regs_area) ( ThreadId tid, 125 void VG_(set_syscall_return_shadows) ( ThreadId tid, 140 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid ); 141 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid, 146 extern Addr VG_(thread_get_stack_max) ( ThreadId tid ); 149 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid ); 153 extern Addr VG_(thread_get_altstack_min) ( ThreadId tid ) [all...] |
/dalvik/vm/mterp/cstubs/ |
entry.cpp | 28 LOGVV("mterp threadid=%d returning", dvmThreadSelf()->threadId);
|
/frameworks/base/core/java/com/google/android/mms/util/ |
PduCacheEntry.java | 27 public PduCacheEntry(GenericPdu pdu, int msgBox, long threadId) { 30 mThreadId = threadId;
|
/external/valgrind/main/drd/ |
drd_malloc_wrappers.c | 71 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) 90 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) 110 static void handle_free(ThreadId tid, void* p) 124 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p) 145 static void* drd_malloc(ThreadId tid, SizeT n) 151 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) 157 static void* drd_calloc(ThreadId tid, SizeT nmemb, SizeT size1) 164 static void drd_free(ThreadId tid, void* p) 177 static void* drd_realloc(ThreadId tid, void* p_old, SizeT new_size) 252 static void* drd___builtin_new(ThreadId tid, SizeT n [all...] |
drd_vc.h | 61 DrdThreadId threadid; member in struct:__anon12445 110 while (j < vc2->size && vc2->vc[j].threadid < vc1->vc[i].threadid) 112 if (j >= vc2->size || vc2->vc[j].threadid > vc1->vc[i].threadid) 119 tl_assert(j < vc2->size && vc2->vc[j].threadid == vc1->vc[i].threadid);
|
drd_malloc_wrappers.h | 40 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size); 41 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p);
|
/dalvik/vm/jdwp/ |
JdwpEvent.cpp | 106 ObjectId threadId; /* ThreadOnly */ 208 dvmDbgConfigureStep(pMod->step.threadId, size, depth); 266 dvmDbgUnconfigureStep(pMod->step.threadId); 476 if (pMod->threadOnly.threadId != basket->threadId) 512 if (pMod->step.threadId != basket->threadId) 649 * Call this with a threadId of zero if you just want to wait for the 655 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId) 668 state->eventThreadId, threadId); [all...] |
JdwpHandler.cpp | 104 ObjectId threadId, ObjectId objectId, RefTypeId classId, MethodId methodId, 111 LOGV(" --> threadId=%llx objectId=%llx", threadId, objectId); 140 JdwpError err = dvmDbgInvokeMethod(threadId, objectId, classId, methodId, 755 ObjectId threadId = dvmReadObjectId(&buf); 759 threadId, 0, classId, methodId, false); 773 ObjectId threadId = dvmReadObjectId(&buf); 782 threadId, objectId, classId, methodId, true); 851 * This can get called on different things, e.g. threadId gets 933 ObjectId threadId = dvmReadObjectId(&buf) [all...] |
/external/webkit/Source/JavaScriptCore/wtf/qt/ |
ThreadingQt.cpp | 182 int waitForThreadCompletion(ThreadIdentifier threadID, void** result) 184 ASSERT(threadID); 186 QThread* thread = threadForIdentifier(threadID); 190 clearThreadForIdentifier(threadID); 197 void detachThread(ThreadIdentifier threadID) 199 ASSERT(threadID); 200 clearThreadForIdentifier(threadID);
|
/dalvik/vm/ |
Thread.cpp | 289 * We need to assign the threadId early so we can lock/notify 475 LOGI("threadid=%d ODD: want thread-suspend lock (%s:%s)," 477 self->threadId, who, getSuspendCauseStr(why)); 487 LOGE("threadid=%d: couldn't get thread-suspend lock (%s:%s)," 489 self->threadId, who, getSuspendCauseStr(why)); 532 int threadId = 0; 538 threadId = self->threadId; 551 LOGW("threadid=%d: non-daemon id=%d still running at shutdown?!", 552 threadId, target->threadId) [all...] |
/external/valgrind/main/memcheck/ |
mc_include.h | 82 void* MC_(new_block) ( ThreadId tid, 86 void MC_(handle_free) ( ThreadId tid, 91 void MC_(mempool_alloc) ( ThreadId tid, Addr pool, 119 void* MC_(malloc) ( ThreadId tid, SizeT n ); 120 void* MC_(__builtin_new) ( ThreadId tid, SizeT n ); 121 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n ); 122 void* MC_(memalign) ( ThreadId tid, SizeT align, SizeT n ); 123 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ); 124 void MC_(free) ( ThreadId tid, void* p ); 125 void MC_(__builtin_delete) ( ThreadId tid, void* p ) [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
GCController.cpp | 77 ThreadIdentifier threadID = createThread(collect, 0, "WebCore: GCController"); 80 waitForThreadCompletion(threadID, 0); 84 detachThread(threadID);
|
/external/v8/src/ |
v8threads.cc | 150 if (lazily_archived_thread_.Equals(ThreadId::Current())) { 151 lazily_archived_thread_ = ThreadId::Invalid(); 154 lazily_archived_thread_state_->set_id(ThreadId::Invalid()); 193 state->set_id(ThreadId::Invalid()); 202 mutex_owner_ = ThreadId::Current(); 208 mutex_owner_ = ThreadId::Invalid(); 227 : id_(ThreadId::Invalid()), 285 mutex_owner_(ThreadId::Invalid()), 286 lazily_archived_thread_(ThreadId::Invalid()), 301 ASSERT(lazily_archived_thread_.Equals(ThreadId::Invalid())) [all...] |
/external/valgrind/tsan/ |
ts_pin.cc | 104 static THREADID g_tid_of_thread_which_called_create_thread = -1; 132 typedef void (*callback_t)(THREADID tid, InstrumentedCallFrame &frame, 203 THREADID tid; 204 THREADID parent_tid; 229 // Array of pin threads, indexed by pin's THREADID. 240 static void ReportAccesRange(THREADID tid, uintptr_t pc, EventType type, uintptr_t x, size_t size) { 253 #define EXTRA_REPLACE_PARAMS THREADID tid, uintptr_t pc, 481 if (t.parent_tid != (THREADID)-1) { 688 #define FAST_WRAP_PARAM0 THREADID tid, ADDRINT pc, ADDRINT sp 694 THREADID tid, InstrumentedCallFrame &frame, ADDRINT re [all...] |
/dalvik/vm/native/ |
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cpp | 88 * public static StackTraceElement[] getStackTraceById(int threadId) 91 * NULL on failure, e.g. if the threadId couldn't be found. 97 u4 threadId = args[0]; 100 trace = dvmDdmGetStackTraceById(threadId);
|
java_lang_VMThread.cpp | 171 int threadId = -1; 177 threadId = thread->threadId; 180 dvmDdmSendThreadNameChange(threadId, nameStr); 182 //LOGI("UPDATE: threadid=%d now '%s'", threadId, str);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
ThreadingWin.cpp | 174 static void storeThreadHandleByIdentifier(DWORD threadID, HANDLE threadHandle) 177 ASSERT(!threadMap().contains(threadID)); 178 threadMap().add(threadID, threadHandle); 210 ThreadIdentifier threadID = 0; 233 threadID = static_cast<ThreadIdentifier>(threadIdentifier); 236 return threadID; 239 int waitForThreadCompletion(ThreadIdentifier threadID, void** result) 241 ASSERT(threadID); 243 HANDLE threadHandle = threadHandleForIdentifier(threadID); 245 LOG_ERROR("ThreadIdentifier %u did not correspond to an active thread when trying to quit", threadID); [all...] |
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
SamplingProfilerTest.java | 125 final int threadId = 1; 127 ThreadEvent start1 = ThreadEvent.start(objectId, threadId, 134 ThreadEvent end2 = ThreadEvent.end(threadId+1); 140 ThreadEvent end1 = ThreadEvent.end(threadId); 147 hprofData.addThreadEvent(ThreadEvent.end(threadId)); 164 final int threadId = 2; 169 StackTrace stackTrace = new StackTrace(stackTraceId, threadId, stackFrames); 177 ThreadEvent start = ThreadEvent.start(objectId, threadId, 231 assertTrue(threadsActive.add(event.threadId)); 232 assertTrue(threadsSeen.add(event.threadId)); [all...] |
/dalvik/vm/mterp/portable/ |
entry.cpp | 39 LOGVV("threadid=%d: %s.%s pc=%#x fp=%p", 40 self->threadId, curMethod->clazz->descriptor, curMethod->name,
|
/external/v8/test/cctest/ |
test-threads.cc | 144 i::List<i::ThreadId>* refs, 153 i::ThreadId thread_id = i::ThreadId::Current(); 165 i::List<i::ThreadId>* refs_; 174 i::List<i::ThreadId> refs(kNThreads); 182 refs.Add(i::ThreadId::Invalid());
|