/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
rdtsc_core.h | 98 void rdtscInit(int threadId); 106 #define RDTSC_INIT(threadId) rdtscInit(threadId) 113 #define RDTSC_INIT(threadId) 132 INLINE void rdtscInit(int threadId) 135 if (!gBucketsInitialized && (threadId == 0)) 145 std::string name = threadId == 0 ? "API" : "WORKER";
|
/external/valgrind/drd/ |
drd_vc.h | 60 DrdThreadId threadid; member in struct:__anon37588 109 while (j < vc2->size && vc2->vc[j].threadid < vc1->vc[i].threadid) 111 if (j >= vc2->size || vc2->vc[j].threadid > vc1->vc[i].threadid) 118 tl_assert(j < vc2->size && vc2->vc[j].threadid == vc1->vc[i].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);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
AllThreadsTest.java | 68 long threadID; 79 threadID = reply.getNextValueAsThreadID(); 80 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); 85 packet.setNextValueAsReferenceTypeID(threadID); 93 logWriter.println("\t" + threadID + " " 126 long threadID; 139 threadID = reply.getNextValueAsThreadID(); 140 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); 145 packet.setNextValueAsReferenceTypeID(threadID); 153 logWriter.println("\t" + threadID + " [all...] |
SuspendTest.java | 66 long threadID; 77 threadID = reply.getNextValueAsThreadID() ; 78 threadName = debuggeeWrapper.vmMirror.getThreadName(threadID); 83 packet.setNextValueAsReferenceTypeID(threadID); 91 logWriter.println("\t" + threadID + " " 97 printErrorAndFail("thread ID=" + threadID + "; name=\""
|
/external/valgrind/coregrind/ |
pub_core_syswrap.h | 45 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid); 47 extern void VG_(client_syscall) ( ThreadId tid, UInt trc ); 49 extern void VG_(post_syscall) ( ThreadId tid ); 59 ThreadId tid, 68 extern Bool VG_(is_ip_in_blocking_syscall)(ThreadId tid, Addr ip); 72 extern void VG_(reap_threads)(ThreadId self); 88 (ThreadId,VgSchedReturnCode); 91 extern void VG_(save_context)(ThreadId tid, vki_ucontext_t *uc, 93 extern void VG_(restore_context)(ThreadId tid, vki_ucontext_t *uc, 98 extern void VG_(track_client_dataseg)(ThreadId tid) [all...] |
m_threadstate.c | 45 ThreadId VG_(running_tid) = VG_INVALID_THREADID; 58 ThreadId tid; 100 ThreadState *VG_(get_ThreadState)(ThreadId tid) 107 Bool VG_(is_valid_tid) ( ThreadId tid ) 117 ThreadId VG_(get_running_tid)(void) 122 Bool VG_(is_running_thread)(ThreadId tid) 133 inline Bool VG_(is_exiting)(ThreadId tid) 143 ThreadId tid; 157 ThreadId tid; 167 ThreadId */ [all...] |
pub_core_scheduler.h | 44 extern ThreadId VG_(alloc_ThreadState)(void); 47 extern void VG_(exit_thread)(ThreadId tid); 52 extern void VG_(get_thread_out_of_syscall)(ThreadId tid); 57 extern void VG_(nuke_all_threads_except) ( ThreadId me, 65 extern void VG_(acquire_BigLock) ( ThreadId tid, const HChar* who ); 80 extern void VG_(release_BigLock) ( ThreadId tid, 87 extern Bool VG_(owns_BigLock_LL) ( ThreadId tid ); 94 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid ); 97 // ThreadId and initialise the bigLock. 98 extern ThreadId VG_(scheduler_init_phase1) ( void ) [all...] |
/external/valgrind/exp-sgcheck/ |
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...] |
/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...] |
/external/deqp/framework/delibs/decpp/ |
deBlockBuffer.cpp | 43 Message (deUint16 threadId, deUint16 payload) 44 : data((threadId << 16) | payload) 84 deUint16 threadId = msg.getThreadId(); 86 if (threadId == 0xffff) 101 DE_TEST_ASSERT(de::inBounds<int>(threadId, 0, (int)m_lastPayload.size())); 102 DE_TEST_ASSERT((m_lastPayload[threadId] == 0 && msg.getPayload() == 0) || m_lastPayload[threadId] < msg.getPayload()); 104 m_lastPayload[threadId] = msg.getPayload(); 105 m_payloadSum[threadId] += (deUint32)msg.getPayload(); 111 deUint32 getPayloadSum (deUint16 threadId) cons [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
SetValuesTest.java | 84 long threadID = getThreadID(); 88 packet.setNextValueAsThreadID(threadID); 104 long threadID = getThreadID(); 107 jdwpSuspendThread(threadID); 113 packet.setNextValueAsThreadID(threadID); 131 long threadID = getThreadID(); 134 jdwpSuspendThread(threadID); 136 FrameInfo frameInfo = findFrameInfo(threadID); 156 packet.setNextValueAsThreadID(threadID); 172 long threadID = debuggeeWrapper.vmMirror.getThreadID(testedThreadName) [all...] |
GetValuesTest.java | 83 long threadID = getThreadID(); 87 packet.setNextValueAsThreadID(threadID); 103 long threadID = getThreadID(); 106 jdwpSuspendThread(threadID); 112 packet.setNextValueAsThreadID(threadID); 128 long threadID = getThreadID(); 131 jdwpSuspendThread(threadID); 133 FrameInfo frameInfo = findFrameInfo(threadID); 153 packet.setNextValueAsThreadID(threadID); 168 long threadID = debuggeeWrapper.vmMirror.getThreadID(testedThreadName) [all...] |
JDWPStackFrameAccessTest.java | 191 long threadId = getThreadIdFromName(threadName); 193 debuggeeWrapper.vmMirror.suspendThread(threadId); 194 return threadId; 197 private void resumeTest(long threadId) { 199 debuggeeWrapper.vmMirror.resumeThread(threadId); 205 for (long threadId : allThreadIds) { 206 String currentThreadName = jdwpGetThreadName(threadId); 208 return threadId; 395 * @param threadID 402 protected FrameInfo getFrameInfo(long threadID, long classID, long methodID) [all...] |
/external/v8/src/ |
v8threads.cc | 103 if (lazily_archived_thread_.Equals(ThreadId::Current())) { 104 lazily_archived_thread_ = ThreadId::Invalid(); 109 lazily_archived_thread_state_->set_id(ThreadId::Invalid()); 146 state->set_id(ThreadId::Invalid()); 155 mutex_owner_ = ThreadId::Current(); 161 mutex_owner_ = ThreadId::Invalid(); 178 : id_(ThreadId::Invalid()), 241 : mutex_owner_(ThreadId::Invalid()), 242 lazily_archived_thread_(ThreadId::Invalid()), 269 DCHECK(lazily_archived_thread_.Equals(ThreadId::Invalid())) [all...] |
/art/tools/dmtracedump/ |
createtesttrace.cc | 63 int32_t threadId; 134 int32_t threadId = strtoul(cp, &cp, 0); 135 if (maxThreadId < threadId) maxThreadId = threadId; 159 uint32_t threadId; 174 * default values for the time and threadId. 177 threadId = 1; 181 threadId = strtoul(cp, &cp, 0); 186 if (callStack[threadId].frames == nullptr) { 188 callStack[threadId].frames = stk [all...] |
/external/valgrind/drd/tests/ |
fp_race.c | 35 pthread_t threadid; local 71 pthread_create(&threadid, 0, thread_func, 0); 82 pthread_join(threadid, 0);
|
sem_as_mutex.c | 36 pthread_t threadid; local 72 pthread_create(&threadid, 0, thread_func, 0); 83 pthread_join(threadid, 0);
|
/external/valgrind/include/ |
pub_tool_machine.h | 34 #include "pub_tool_basics.h" // ThreadID 114 Addr VG_(get_IP) ( ThreadId tid ); 115 Addr VG_(get_SP) ( ThreadId tid ); 125 VG_(get_shadow_regs_area) ( ThreadId tid, 129 VG_(set_shadow_regs_area) ( ThreadId tid, 138 extern void VG_(apply_to_GP_regs)(void (*f)(ThreadId tid, 144 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid ); 148 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid, 154 extern Addr VG_(thread_get_stack_max) ( ThreadId tid ); 157 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid ) [all...] |
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/ |
loc_stub_android_runtime.cpp | 36 pthread_t threadId = 0; 37 pthread_create(&threadId, NULL, (void *(*)(void*))start, arg); 38 return threadId;
|
/hardware/qcom/gps/sdm845/utils/platform_lib_abstractions/loc_stub/src/ |
loc_stub_android_runtime.cpp | 36 pthread_t threadId = 0; 37 pthread_create(&threadId, NULL, (void *(*)(void*))start, arg); 38 return threadId;
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
Threads.c | 29 unsigned threadId; /* Windows Me/98/95: threadId parameter may not be NULL in _beginthreadex/CreateThread functions */
31 /* CreateThread(0, 0, startAddress, parameter, 0, &threadId); */
32 (HANDLE)_beginthreadex(NULL, 0, startAddress, parameter, 0, &threadId);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
InvokeMethodAfterMultipleThreadSuspensionTest.java | 40 protected CommandPacket buildInvokeCommand(long threadId, long classID, 43 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.getThreadFrames(threadId, 0, 1); 50 long receiverId = debuggeeWrapper.vmMirror.getThisObject(threadId, topFrameId); 56 command.setNextValueAsThreadID(threadId);
|
InvokeMethodWithSuspensionTest.java | 38 protected CommandPacket buildInvokeCommand(long threadId, long classID, 41 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.getThreadFrames(threadId, 0, 1); 48 long receiverId = debuggeeWrapper.vmMirror.getThisObject(threadId, topFrameId); 54 command.setNextValueAsThreadID(threadId);
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/ |
LooperExecutor.java | 29 private long threadId; 37 threadId = Thread.currentThread().getId(); 79 return (Thread.currentThread().getId() == threadId); 88 if (Thread.currentThread().getId() == threadId) {
|