/external/ltp/testcases/open_posix_testsuite/stress/mqueues/ |
D | multi_send_rev_2.c | 41 int ThreadID = *(int *)ID; in msend() local 43 printf("Enter into send [%d] \n", ThreadID); in msend() 50 s_msg_ptr[i], ThreadID); in msend() 59 int ThreadID = *(int *)ID; in mreceive() local 61 printf("Enter into receive[%d] \n", ThreadID); in mreceive() 64 mq_receive(mq, r_msg_ptr[ThreadID][i], MSG_SIZE, NULL)) { in mreceive() 69 r_msg_ptr[ThreadID][i], ThreadID); in mreceive() 71 printf("receive[%d] quit ...\n", ThreadID); in mreceive() 81 int ThreadID[Max_Threads]; in main() local 108 ThreadID[i] = i; in main() [all …]
|
D | multi_send_rev_1.c | 34 int ThreadID; member 44 send_info.ThreadID = ((mq_info *) info)->ThreadID; in msend() 46 printf("Enter into send [%d], mq = %d \n", send_info.ThreadID, in msend() 54 s_msg_ptr[i], send_info.ThreadID); in msend() 66 recv_info.ThreadID = ((mq_info *) info)->ThreadID; in mreceive() 68 printf("Enter into receive [%d], mq = %d \n", recv_info.ThreadID, in mreceive() 77 i + 1, r_msg_ptr[i], recv_info.ThreadID); in mreceive() 121 info[i].ThreadID = i; in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
D | multi_con_pro.c | 44 int ThreadID = *(int *)ID; in producer() local 47 printf("Enter into Producer Thread %d... \n", ThreadID); in producer() 62 data = 100 * ThreadID + i; in producer() 65 ThreadID, data, in); in producer() 91 printf("[%d] producer has added %d to the buffer[%d] \n", ThreadID, in producer() 102 printf("Producer %d exit... \n", ThreadID); in producer() 109 int ThreadID = *(int *)ID; in consumer() local 112 printf("Enter into Consumer Thread %d... \n", ThreadID); in consumer() 124 ThreadID, data, out); in consumer() 142 printf("Consumer %d exit... \n", ThreadID); in consumer() [all …]
|
/external/gwp_asan/gwp_asan/optional/ |
D | segv_handler_posix.cpp | 76 uint64_t ThreadID = gwp_asan::getThreadID(); in printHeader() local 79 if (ThreadID == gwp_asan::kInvalidThreadID) in printHeader() 82 snprintf(ThreadBuffer, kThreadBufferLen, "%" PRIu64, ThreadID); in printHeader() 134 uint64_t ThreadID = __gwp_asan_get_deallocation_thread_id(AllocMeta); in dumpReport() local 135 if (ThreadID == gwp_asan::kInvalidThreadID) in dumpReport() 138 Printf("0x%zx was deallocated by thread %zu here:\n", ErrorPtr, ThreadID); in dumpReport() 145 uint64_t ThreadID = __gwp_asan_get_allocation_thread_id(AllocMeta); in dumpReport() local 146 if (ThreadID == gwp_asan::kInvalidThreadID) in dumpReport() 149 Printf("0x%zx was allocated by thread %zu here:\n", ErrorPtr, ThreadID); in dumpReport()
|
/external/perfetto/include/perfetto/ext/base/ |
D | thread_checker.h | 35 using ThreadID = unsigned long; variable 37 using ThreadID = pthread_t; 50 mutable std::atomic<ThreadID> thread_id_;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
D | BlockIndexer.cpp | 67 CurrentBlock.ThreadID = R.tid(); in visit() 85 Indices.insert({{CurrentBlock.ProcessID, CurrentBlock.ThreadID}, {}}); in flush() 86 It->second.push_back({CurrentBlock.ProcessID, CurrentBlock.ThreadID, in flush() 90 CurrentBlock.ThreadID = 0; in flush()
|
D | Profile.cpp | 198 using ThreadProfileIndexMap = DenseMap<Profile::ThreadID, PathDataMapPtr>; in mergeProfilesByThread() 309 P.addBlock(Profile::Block{Profile::ThreadID{Header.Thread}, in loadProfile() 333 DenseMap<Profile::ThreadID, std::vector<StackEntry>> ThreadStacks; in profileFromTrace() 334 DenseMap<Profile::ThreadID, DenseMap<Profile::PathID, Profile::Data>> in profileFromTrace()
|
/external/gwp_asan/gwp_asan/ |
D | common.cpp | 46 AllocationTrace.ThreadID = getThreadID(); in RecordAllocation() 48 DeallocationTrace.ThreadID = kInvalidThreadID; in RecordAllocation() 53 DeallocationTrace.ThreadID = getThreadID(); in RecordDeallocation()
|
D | crash_handler.cpp | 111 return AllocationMeta->AllocationTrace.ThreadID; in __gwp_asan_get_allocation_thread_id() 135 return AllocationMeta->DeallocationTrace.ThreadID; in __gwp_asan_get_deallocation_thread_id()
|
D | common.h | 84 uint64_t ThreadID = kInvalidThreadID; member
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ThreadPool.cpp | 31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() local
|
/external/llvm/lib/Support/ |
D | ThreadPool.cpp | 31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() local
|
/external/perfetto/src/base/ |
D | thread_checker.cc | 27 constexpr ThreadID kDetached{}; 29 ThreadID CurrentThreadId() { in CurrentThreadId()
|
/external/gwp_asan/gwp_asan/tests/ |
D | crash_handler_api.cpp | 34 Metadata[Slot].AllocationTrace.ThreadID = 123; in metadata() 35 Metadata[Slot].DeallocationTrace.ThreadID = 321; in metadata() 85 EXPECT_EQ(Metadata[Index].AllocationTrace.ThreadID, in checkMetadata() 95 EXPECT_EQ(Metadata[Index].DeallocationTrace.ThreadID, in checkMetadata()
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntimeNVPTX.cpp | 177 llvm::Value *ThreadID = getNVPTXThreadID(CGF); in emitWorkerLoop() local 179 ThreadID, in emitWorkerLoop() 211 llvm::Value *ThreadID = getNVPTXThreadID(CGF); in emitEntryHeader() local 222 Bld.CreateICmpUGT(ThreadID, MasterID, "excess_in_master_warp"); in emitEntryHeader() 227 llvm::Value *IsWorker = Bld.CreateICmpULT(ThreadID, MasterID, "is_worker"); in emitEntryHeader()
|
D | CGOpenMPRuntime.cpp | 868 auto *ThreadID = getThreadID(CGF, D.getLocStart()); in emitTaskOutlinedFunction() local 871 UpLoc, ThreadID, in emitTaskOutlinedFunction() 988 llvm::Value *ThreadID = nullptr; in getThreadID() local 993 ThreadID = I->second.ThreadID; in getThreadID() 994 if (ThreadID != nullptr) in getThreadID() 995 return ThreadID; in getThreadID() 1002 ThreadID = CGF.EmitLoadOfLValue(LVal, Loc).getScalarVal(); in getThreadID() 1007 Elem.second.ThreadID = ThreadID; in getThreadID() 1009 return ThreadID; in getThreadID() 1019 ThreadID = in getThreadID() [all …]
|
D | CGOpenMPRuntime.h | 153 llvm::Value *ThreadID; member
|
/external/stressapptest/src/ |
D | sat.cc | 493 (*it)->ThreadID(), (*it)->GetStatus(), in InitializePages() 1509 logprintf(12, "Log: Joining thread %d\n", (*it)->ThreadID()); in JoinThreads() 1542 logprintf(12, "Log: Spawning thread %d\n", (*it)->ThreadID()); in JoinThreads() 1549 logprintf(12, "Log: Joining thread %d\n", (*it)->ThreadID()); in JoinThreads() 1566 logprintf(12, "Log: Reaping thread status %d\n", (*it)->ThreadID()); in JoinThreads() 1570 (*it)->ThreadID(), (*it)->GetStatus(), in JoinThreads() 1578 (*it)->ThreadID(), (*it)->GetErrorCount()); in JoinThreads() 1587 logprintf(12, "Log: Reaping thread status %d\n", (*it)->ThreadID()); in JoinThreads() 1591 (*it)->ThreadID(), (*it)->GetStatus(), in JoinThreads() 1600 (*it)->ThreadID(), (*it)->GetErrorCount()); in JoinThreads() [all …]
|
D | worker.h | 293 int ThreadID() {return thread_num_;} in ThreadID() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/ |
D | Profile.h | 53 using ThreadID = uint64_t; 63 ThreadID Thread;
|
D | BlockIndexer.h | 30 int32_t ThreadID; member
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/ |
D | OMPIRBuilder.cpp | 313 Value *ThreadID = getOrCreateThreadID(Ident); in CreateParallel() local 318 Ident, ThreadID, in CreateParallel() 327 Ident, ThreadID, in CreateParallel() 592 Value *SerializedParallelCallArgs[] = {Ident, ThreadID}; in CreateParallel() 602 Value *EndArgs[] = {Ident, ThreadID}; in CreateParallel()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 211 Value *ThreadID = Builder.CreateCall(GetID, {}); in lowerGlobal() local 213 {Builder.getInt64(0), ThreadID}); in lowerGlobal()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 211 Value *ThreadID = Builder.CreateCall(GetID, {}); in lowerGlobal() local 213 {Builder.getInt64(0), ThreadID}); in lowerGlobal()
|