/external/ltp/testcases/open_posix_testsuite/stress/mqueues/ |
D | multi_send_rev_2.c | 41 int ThreadID = *(int *)ID; in send() local 43 printf("Enter into send [%d] \n", ThreadID); in send() 50 s_msg_ptr[i], ThreadID); in send() 59 int ThreadID = *(int *)ID; in receive() local 61 printf("Enter into receive[%d] \n", ThreadID); in receive() 64 mq_receive(mq, r_msg_ptr[ThreadID][i], MSG_SIZE, NULL)) { in receive() 69 r_msg_ptr[ThreadID][i], ThreadID); in receive() 71 printf("receive[%d] quit ...\n", ThreadID); in receive() 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 send() 46 printf("Enter into send [%d], mq = %d \n", send_info.ThreadID, in send() 54 s_msg_ptr[i], send_info.ThreadID); in send() 66 recv_info.ThreadID = ((mq_info *) info)->ThreadID; in receive() 68 printf("Enter into receive [%d], mq = %d \n", recv_info.ThreadID, in receive() 77 i + 1, r_msg_ptr[i], recv_info.ThreadID); in receive() 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/llvm/lib/Support/ |
D | ThreadPool.cpp | 31 for (unsigned ThreadID = 0; ThreadID < ThreadCount; ++ThreadID) { in ThreadPool() local
|
/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/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 211 Value *ThreadID = Builder.CreateCall(GetID, {}); in lowerGlobal() local 213 {Builder.getInt64(0), ThreadID}); in lowerGlobal()
|