Home
last modified time | relevance | path

Searched refs:threadId (Results 1 – 25 of 34) 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/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drdtsc_core.h100 void rdtscInit(int threadId);
108 #define RDTSC_INIT(threadId) rdtscInit(threadId) argument
115 #define RDTSC_INIT(threadId) argument
134 INLINE void rdtscInit(int threadId) in rdtscInit() argument
137 if (!gBucketsInitialized && (threadId == 0)) in rdtscInit()
147 std::string name = threadId == 0 ? "API" : "WORKER"; in rdtscInit()
Dthreads.cpp97 uint32_t threadId = 0; in CalculateProcessorTopology() local
104 while (BitScanForwardSizeT((unsigned long*)&threadId, gmask.Mask)) in CalculateProcessorTopology()
107 KAFFINITY threadMask = KAFFINITY(1) << threadId; in CalculateProcessorTopology()
126 threadMaskPerProcGroup[procGroup] |= (KAFFINITY(1) << threadId); in CalculateProcessorTopology()
132 procNum.Number = UCHAR(threadId); in CalculateProcessorTopology()
153 pCore->threadIds.push_back(threadId); in CalculateProcessorTopology()
257 void bindThread(SWR_CONTEXT* pContext, uint32_t threadId, uint32_t procGroupId = 0, bool bindProcGr… in bindThread() argument
271 if (threadId >= 32) in bindThread()
289 affinity.Mask = KAFFINITY(1) << threadId; in bindThread()
307 CPU_SET(threadId, &cpuset); in bindThread()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.structbuffer.floatidx.comp.out10 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
11 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
12 …ffer structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
13 …y of structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
14 …ructure{ temp 4-component vector of float color, temp 2-component vector of uint threadId} @data})
32 0:15 threadId: direct index for structure ( temp 2-component vector of uint)
33 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
45 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
85 …ructure{ temp 4-component vector of float color, temp 2-component vector of uint threadId} @data})
102 …temp structure{ temp 4-component vector of float color, temp 2-component vector of uint threadId})
[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()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DResumeTest.java223 long threadId = 0; field in ResumeTest.ThreadInfo
314 threadInfo.threadId = threadID; in createThreadInfos()
323 if (threadInfo.threadId == 0) { in createThreadInfos()
356 + threadInfo.threadId in checkThreadStatus()
363 packet.setNextValueAsThreadID(threadInfo.threadId); in checkThreadStatus()
367 threadInfo.threadId + in checkThreadStatus()
385 "checked thread " + threadInfo.threadId + in checkThreadStatus()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
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()
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()
/external/lzma/C/
DThreads.c40 DWORD threadId; in Thread_Create() local
41 *p = CreateThread(0, 0, func, param, 0, &threadId); in Thread_Create()
45 unsigned threadId; in Thread_Create()
46 *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.java192 long threadId = getThreadIdFromName(threadName); in suspendDebuggee() local
194 debuggeeWrapper.vmMirror.suspendThread(threadId); in suspendDebuggee()
195 return threadId; in suspendDebuggee()
198 private void resumeTest(long threadId) { in resumeTest() argument
200 debuggeeWrapper.vmMirror.resumeThread(threadId); in resumeTest()
206 for (long threadId : allThreadIds) { in getThreadIdFromName()
207 String currentThreadName = jdwpGetThreadName(threadId); in getThreadIdFromName()
209 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/grpc-grpc/src/csharp/Grpc.Core/Internal/
DNativeLogRedirector.cs28 …internal delegate void GprLogDelegate(IntPtr fileStringPtr, int line, ulong threadId, IntPtr sever… in GprLogDelegate() argument
55 …private static void HandleWrite(IntPtr fileStringPtr, int line, ulong threadId, IntPtr severityStr… in HandleWrite() argument
62 threadId, in HandleWrite()
/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/deqp-deps/glslang/Test/
Dhlsl.structbuffer.floatidx.comp4 uint2 threadId;
15 float2 coord = float2(data.threadId.xy);
/external/libpcap/rpcapd/
Drpcapd.c488 HANDLE threadId; // handle for the subthread in main_startup() local
503 threadId = (HANDLE)_beginthreadex(NULL, 0, main_active, in main_startup()
505 if (threadId == 0) in main_startup()
510 CloseHandle(threadId); in main_startup()
1049 HANDLE threadId; // handle for the subthread in accept_connection() local
1144 threadId = (HANDLE)_beginthreadex(NULL, 0, in accept_connection()
1146 if (threadId == 0) in accept_connection()
1154 CloseHandle(threadId); in accept_connection()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DNewInstanceAfterMultipleThreadSuspensionTest.java39 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
45 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()
DInvokeMethodWithSuspensionTest.java38 protected CommandPacket buildInvokeCommand(long threadId, long classID, in buildInvokeCommand() argument
44 command.setNextValueAsThreadID(threadId); in buildInvokeCommand()
/external/volley/src/main/java/com/android/volley/
DRequest.java233 final long threadId = Thread.currentThread().getId(); in finish() local
242 mEventLog.add(tag, threadId); in finish()
249 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()

12