/external/v8/src/ |
D | v8threads.h | 27 void set_id(ThreadId id) { id_ = id; } in set_id() 28 ThreadId id() { return id_; } in id() 45 ThreadId id_; 79 return mutex_owner_.Equals(ThreadId::Current()); in IsLockedByCurrentThread() 82 ThreadId CurrentId(); 84 void TerminateExecution(ThreadId thread_id); 99 ThreadId mutex_owner_; 100 ThreadId lazily_archived_thread_;
|
D | v8threads.cc | 108 if (lazily_archived_thread_.Equals(ThreadId::Current())) { in RestoreThread() 109 lazily_archived_thread_ = ThreadId::Invalid(); in RestoreThread() 114 lazily_archived_thread_state_->set_id(ThreadId::Invalid()); in RestoreThread() 151 state->set_id(ThreadId::Invalid()); in RestoreThread() 160 mutex_owner_ = ThreadId::Current(); in Lock() 166 mutex_owner_ = ThreadId::Invalid(); in Unlock() 182 : id_(ThreadId::Invalid()), in ThreadState() 242 : mutex_owner_(ThreadId::Invalid()), in ThreadManager() 243 lazily_archived_thread_(ThreadId::Invalid()), in ThreadManager() 270 DCHECK(lazily_archived_thread_.Equals(ThreadId::Invalid())); in ArchiveThread() [all …]
|
D | isolate.h | 342 class ThreadId { 345 ThreadId() { base::Relaxed_Store(&id_, kInvalidId); } in ThreadId() function 347 ThreadId& operator=(const ThreadId& other) { 352 bool operator==(const ThreadId& other) const { return Equals(other); } 355 static ThreadId Current() { return ThreadId(GetCurrentThreadId()); } in Current() 358 static ThreadId Invalid() { return ThreadId(kInvalidId); } in Invalid() 361 V8_INLINE bool Equals(const ThreadId& other) const { in Equals() 376 static ThreadId FromInteger(int id) { return ThreadId(id); } in FromInteger() 381 explicit ThreadId(int id) { base::Relaxed_Store(&id_, id); } in ThreadId() function 436 ThreadId thread_id_ = ThreadId::Invalid(); [all …]
|
D | counters.cc | 485 if (!thread_id_.Equals(ThreadId::Invalid())) in IsCalledOnTheSameThread() 486 return thread_id_.Equals(ThreadId::Current()); in IsCalledOnTheSameThread() 487 thread_id_ = ThreadId::Current(); in IsCalledOnTheSameThread()
|
D | isolate.cc | 84 base::Atomic32 ThreadId::highest_thread_id_ = 0; 137 int ThreadId::AllocateThreadId() { in AllocateThreadId() 143 int ThreadId::GetCurrentThreadId() { in GetCurrentThreadId() 158 thread_id_ = ThreadId::Current(); in Initialize() 180 ThreadId thread_id = ThreadId::Current(); in FindOrAllocatePerThreadDataForThisThread() 198 ThreadId thread_id = ThreadId(thread_id_int); in DiscardPerThreadDataForThisThread() 211 ThreadId thread_id = ThreadId::Current(); in FindPerThreadDataForThisThread() 217 ThreadId thread_id) { in FindPerThreadDataForThread() 2323 ThreadId thread_id) { in Throw() 3131 ThreadId::Current())); in Throw() [all …]
|
D | compiler.cc | 142 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in FinalizeJob() 193 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in PrepareJob() 219 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in FinalizeJob() 875 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in CompileToplevel() 1051 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in Compile()
|
D | counters.h | 1052 ThreadId thread_id() const { return thread_id_; } in thread_id() 1074 ThreadId thread_id_;
|
/external/v8/src/compiler-dispatcher/ |
D | unoptimized-compile-job.cc | 94 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ~UnoptimizedCompileJob() 98 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ~UnoptimizedCompileJob() 109 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in PrepareOnMainThread() 262 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in FinalizeOnMainThread() 300 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ReportErrorsOnMainThread() 322 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ResetDataOnMainThread() 331 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ResetDataOnMainThread() 337 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ResetDataOnMainThread() 373 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ShortPrintOnMainThread()
|
D | compiler-dispatcher.cc | 27 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in DoNextStepOnMainThread()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/ |
D | xray-stacks.cpp | 334 StackTrieNode *createTrieNode(uint32_t ThreadId, int32_t FuncId, in createTrieNode() argument 340 Roots[ThreadId].push_back(Node); in createTrieNode() 344 StackTrieNode *findRootNode(uint32_t ThreadId, int32_t FuncId) { in findRootNode() argument 345 const auto &RootsByThread = Roots[ThreadId]; in findRootNode() 564 RootVector RootValues, uint32_t ThreadId, bool ReportThread) { in printAll() argument 571 printSingleStack<AggType>(OS, FN, ReportThread, ThreadId, Top); in printAll() 585 bool ReportThread, uint32_t ThreadId, in printSingleStack() argument 588 OS << "thread_" << ThreadId << ";"; in printSingleStack()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | dbghelp.h | 997 ULONG32 ThreadId; member 1012 ULONG32 ThreadId; member 1038 ULONG32 ThreadId; member 1074 DWORD ThreadId; member 1080 DWORD ThreadId; member 1167 ULONG ThreadId; member 1176 ULONG ThreadId; member 1187 ULONG ThreadId; member
|
/external/v8/src/builtins/ |
D | constants-table-builder.cc | 37 DCHECK(ThreadId::Current().Equals(isolate_->thread_id())); in AddObject()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/XRay/ |
D | Trace.cpp | 156 uint16_t ThreadId; member 216 State.ThreadId = RecordExtractor.getU16(&OffsetPtr); in processFDRNewBufferRecord() 477 Record.TId = State.ThreadId; in processFDRFunctionRecord()
|
/external/skqp/tools/ |
D | win_dbghelp.cpp | 156 ExpParam.ThreadId = GetCurrentThreadId(); in GenerateDumpAndPrintCallstack()
|
/external/skia/tools/ |
D | win_dbghelp.cpp | 156 ExpParam.ThreadId = GetCurrentThreadId(); in GenerateDumpAndPrintCallstack()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | LTOBackend.cpp | 351 [&](const SmallString<0> &BC, unsigned ThreadId) { in splitCodeGen() argument 363 codegen(C, TM.get(), AddStream, ThreadId, *MPartInCtx); in splitCodeGen()
|
/external/v8/src/ast/ |
D | ast-value-factory.cc | 188 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in AstStringConstants()
|
/external/google-breakpad/src/client/windows/crash_generation/ |
D | minidump_generator.cc | 324 dump_exception_info.ThreadId = thread_id_; in WriteMinidump()
|
/external/libchrome/base/threading/ |
D | thread_unittest.cc | 394 TEST_F(ThreadTest, ThreadId) { in TEST_F() argument
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 2483 CodeGenFunction &CGF, llvm::Value *UpdateLocation, llvm::Value *ThreadId, in emitForStaticInitCall() argument 2517 UpdateLocation, ThreadId, CGF.Builder.getInt32(addMonoNonMonoModifier( in emitForStaticInitCall() 2539 auto *ThreadId = getThreadID(CGF, Loc); in emitForStaticInit() local 2541 emitForStaticInitCall(CGF, UpdatedLocation, ThreadId, StaticInitFunction, in emitForStaticInit() 2553 auto *ThreadId = getThreadID(CGF, Loc); in emitDistributeStaticInit() local 2555 emitForStaticInitCall(CGF, UpdatedLocation, ThreadId, StaticInitFunction, in emitDistributeStaticInit() 4437 auto *ThreadId = getThreadID(CGF, Loc); in emitReduction() local 4444 ThreadId, // i32 <gtid> in emitReduction() 4473 ThreadId, // i32 <gtid> in emitReduction() 4606 ThreadId, // i32 <gtid> in emitReduction()
|
/external/google-breakpad/src/client/windows/handler/ |
D | exception_handler.cc | 922 except_info.ThreadId = requesting_thread_id; in WriteMinidumpWithExceptionForProcess()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/ |
D | Signals.inc | 781 ExceptionInfo.ThreadId = ::GetCurrentThreadId();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/ |
D | Signals.inc | 794 ExceptionInfo.ThreadId = ::GetCurrentThreadId();
|
/external/llvm/lib/Support/Windows/ |
D | Signals.inc | 780 ExceptionInfo.ThreadId = ::GetCurrentThreadId();
|
/external/v8/src/parsing/ |
D | parser.cc | 471 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in DeserializeScopeChain()
|