Home
last modified time | relevance | path

Searched refs:threadId (Results 1 – 25 of 37) sorted by relevance

12

/external/deqp/framework/delibs/decpp/
DdeThreadSafeRingBuffer.cpp42 Message (deUint16 threadId, deUint16 payload) in Message()
43 : data((threadId << 16) | payload) in Message()
72 deUint16 threadId = msg.getThreadId(); in run() local
74 if (threadId == 0xffff) in run()
77 DE_TEST_ASSERT(de::inBounds<int>(threadId, 0, (int)m_lastPayload.size())); in run()
78 …DE_TEST_ASSERT((m_lastPayload[threadId] == 0 && msg.getPayload() == 0) || m_lastPayload[threadId] … in run()
80 m_lastPayload[threadId] = msg.getPayload(); in run()
81 m_payloadSum[threadId] += (deUint32)msg.getPayload(); in run()
85 deUint32 getPayloadSum (deUint16 threadId) const in getPayloadSum()
87 return m_payloadSum[threadId]; in getPayloadSum()
[all …]
DdeBlockBuffer.cpp43 Message (deUint16 threadId, deUint16 payload) in Message()
44 : data((threadId << 16) | payload) in Message()
84 deUint16 threadId = msg.getThreadId(); in run() local
86 if (threadId == 0xffff) in run()
101 DE_TEST_ASSERT(de::inBounds<int>(threadId, 0, (int)m_lastPayload.size())); in run()
102 …DE_TEST_ASSERT((m_lastPayload[threadId] == 0 && msg.getPayload() == 0) || m_lastPayload[threadId] … in run()
104 m_lastPayload[threadId] = msg.getPayload(); in run()
105 m_payloadSum[threadId] += (deUint32)msg.getPayload(); in run()
111 deUint32 getPayloadSum (deUint16 threadId) const in getPayloadSum()
113 return m_payloadSum[threadId]; in getPayloadSum()
[all …]
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
DLooperExecutor.java29 private long threadId; field in LooperExecutor
37 threadId = Thread.currentThread().getId(); in run()
79 return (Thread.currentThread().getId() == threadId); in checkOnLooperThread()
88 if (Thread.currentThread().getId() == threadId) { in execute()
DAppRTCUtils.java29 private final Long threadId; field in AppRTCUtils.NonThreadSafe
33 threadId = Thread.currentThread().getId(); in NonThreadSafe()
38 return threadId.equals(Thread.currentThread().getId()); in calledOnValidThread()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPProxyTestCase.java35 private final long threadId; field in JDWPProxyTestCase.EventContext
39 public EventContext(long threadId, long frameId, Location location) { in EventContext() argument
40 this.threadId = threadId; in EventContext()
46 return threadId; in getThreadId()
DJDWPInvokeMethodWithSuspensionTestCase.java161 protected abstract CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
DJDWPInvokeMethodSuspendedTwiceTestCase.java172 protected abstract CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DResumeTest.java226 long threadId = 0; field in ResumeTest.ThreadInfo
317 threadInfo.threadId = threadID; in createThreadInfos()
326 if (threadInfo.threadId == 0) { in createThreadInfos()
359 + threadInfo.threadId in checkThreadStatus()
366 packet.setNextValueAsThreadID(threadInfo.threadId); in checkThreadStatus()
370 threadInfo.threadId + in checkThreadStatus()
388 "checked thread " + threadInfo.threadId + in checkThreadStatus()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethodWithSuspensionTest.java38 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
41 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.getThreadFrames(threadId, 0, 1); in buildInvokeCommand()
48 long receiverId = debuggeeWrapper.vmMirror.getThisObject(threadId, topFrameId); in buildInvokeCommand()
54 command.setNextValueAsThreadID(threadId); in buildInvokeCommand()
DInvokeMethodAfterMultipleThreadSuspensionTest.java40 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
43 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.getThreadFrames(threadId, 0, 1); in buildInvokeCommand()
50 long receiverId = debuggeeWrapper.vmMirror.getThisObject(threadId, topFrameId); in buildInvokeCommand()
56 command.setNextValueAsThreadID(threadId); in buildInvokeCommand()
/external/lzma/C/
DThreads.c38 DWORD threadId; in Thread_Create() local
39 *p = CreateThread(0, 0, func, param, 0, &threadId); in Thread_Create()
43 unsigned threadId; in Thread_Create()
44 *p = (HANDLE)_beginthreadex(NULL, 0, func, param, 0, &threadId); in Thread_Create()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DJDWPStackFrameAccessTest.java191 long threadId = getThreadIdFromName(threadName); in suspendDebuggee() local
193 debuggeeWrapper.vmMirror.suspendThread(threadId); in suspendDebuggee()
194 return threadId; in suspendDebuggee()
197 private void resumeTest(long threadId) { in resumeTest() argument
199 debuggeeWrapper.vmMirror.resumeThread(threadId); in resumeTest()
205 for (long threadId : allThreadIds) { in getThreadIdFromName()
206 String currentThreadName = jdwpGetThreadName(threadId); in getThreadIdFromName()
208 return threadId; in getThreadIdFromName()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DSingleStepWithPendingExceptionTest.java90 long threadId = debuggeeWrapper.vmMirror.waitForBreakpoint(breakpointRequestId); in testSingleStepWithPendingException() local
93 int singleStepRequestId = setSingleStepOut(threadId); in testSingleStepWithPendingException()
130 private int setSingleStepOut(long threadId) { in setSingleStepOut() argument
131 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setStep(new String[0], threadId, in setSingleStepOut()
/external/testng/src/test/java/test/thread/
DBaseThreadTest.java40 protected void logThread(long threadId) { in logThread() argument
42 log("BaseThreadTest", "Logging thread:" + threadId); in logThread()
43 m_threadIds.add(threadId); in logThread()
/external/testng/src/test/java/test/testng285/
DBugBase.java18 void log(long threadId) { in log() argument
19 m_threadIds.add(threadId); in log()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DInvokeMethodWithSuspensionTest.java38 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
44 command.setNextValueAsThreadID(threadId); in buildInvokeCommand()
DInvokeMethodAfterMultipleThreadSuspensionTest.java40 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
46 command.setNextValueAsThreadID(threadId); in buildInvokeCommand()
DNewInstanceWithSuspensionTest.java37 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
43 command.setNextValueAsThreadID(threadId); in buildInvokeCommand()
DNewInstanceAfterMultipleThreadSuspensionTest.java39 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
45 command.setNextValueAsThreadID(threadId); in buildInvokeCommand()
DAbstractNewInstanceTestCase.java98 long threadId = debuggeeWrapper.vmMirror.waitForBreakpoint(breakpointRequestId); in checkNewInstanceTag() local
123 packet.setNextValueAsThreadID(threadId); in checkNewInstanceTag()
/external/volley/src/main/java/com/android/volley/
DRequest.java221 final long threadId = Thread.currentThread().getId(); in finish() local
229 mEventLog.add(tag, threadId); in finish()
236 mEventLog.add(tag, threadId); in finish()
DVolleyLog.java130 public synchronized void add(String name, long threadId) { in add() argument
135 mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime())); in add()
/external/guice/core/src/com/google/inject/internal/
DCycleDetectingLock.java270 private List<ID> getAllLockIdsAfter(long threadId, ReentrantCycleDetectingLock lock) { in getAllLockIdsAfter() argument
273 Collection<ReentrantCycleDetectingLock> ownedLocks = locksOwnedByThread.get(threadId); in getAllLockIdsAfter()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java92 private static void checkThreadPoolName(Thread thread, int threadId) { in checkThreadPoolName() argument
93 assertTrue(thread.getName().matches("^pool-\\d+-thread-" + threadId + "$")); in checkThreadPoolName()
/external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/
DPeerConnectionTest.java779 for (String threadId : (new File("/proc/self/task")).list()) {
780 threads.add(threadId);

12