Home
last modified time | relevance | path

Searched refs:threadID (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/src/core/
H A DSkSharedMutex.cpp81 // Returns true if threadID is in the set.
82 bool find(SkThreadID threadID) const { in find()
84 if (t == threadID) return true; in find()
90 bool tryAdd(SkThreadID threadID) { in tryAdd() argument
92 if (t == threadID) return false; in tryAdd()
94 fThreadIDs.append(1, &threadID); in tryAdd()
98 bool tryRemove(SkThreadID threadID) { in tryRemove() argument
100 if (fThreadIDs[i] == threadID) { in tryRemove()
130 SkThreadID threadID(SkGetThreadID()); in acquire()
136 SkASSERTF(!fCurrentShared->find(threadID), in acquire()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dtrace.cpp38 uint64_t threadFiberID(uint32_t threadID, uint32_t fiberID) { in threadFiberID() argument
39 return static_cast<uint64_t>(threadID) * 31 + static_cast<uint64_t>(fiberID); in threadFiberID()
191 : threadID(std::hash<std::thread::id>()(std::this_thread::get_id())) { in Event()
217 if (threadID != 0) { in write()
218 out << INDENT << QUOTE("tid") << ": " << threadFiberID(threadID, fiberID) in write()
232 << INDENT << QUOTE("tid") << ": " << threadFiberID(threadID, fiberID) in write()
H A Dscheduler_test.cpp116 auto threadID = std::this_thread::get_id(); in TEST_P()
118 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P()
143 auto threadID = std::this_thread::get_id(); in TEST_P()
145 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P()
H A Dscheduler.cpp42 printf("%.3x " msg "\n", (int)threadID() & 0xfff, __VA_ARGS__)
55 // threadID() returns a uint64_t representing the currently executing thread.
56 // threadID() is only intended to be used for debugging purposes.
57 inline uint64_t threadID() { in threadID() function
/third_party/python/Python/
H A Dthread_nt.h188 unsigned threadID; in PyThread_start_new_thread() local
206 0, &threadID); in PyThread_start_new_thread()
214 threadID = (unsigned)-1; in PyThread_start_new_thread()
222 return threadID; in PyThread_start_new_thread()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DRendererGL.cpp376 std::thread::id threadID = std::this_thread::get_id(); in bindWorkerContext() local
400 mCurrentWorkerContexts[threadID] = std::move(workerContext); in bindWorkerContext()
406 std::thread::id threadID = std::this_thread::get_id(); in unbindWorkerContext() local
409 auto it = mCurrentWorkerContexts.find(threadID); in unbindWorkerContext()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_pthread.cpp315 unsigned threadID; in dng_pthread_create() local
333 result = _beginthreadex(NULL, (unsigned)stacksize, trampoline, args.get(), 0, &threadID); in dng_pthread_create()
338 std::pair<DWORD, std::pair<HANDLE, void **> > newMapEntry(threadID, in dng_pthread_create()
349 *thread = (dng_pthread_t)threadID; in dng_pthread_create()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
H A Dtrace.h120 uint32_t threadID; member
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Ddaemon.c1196 unsigned threadID; in create_thread()
1198 arg, 0, &threadID); in create_thread()
1202 W32_SetThreadName(threadID, "libmicrohttpd"); in create_thread()
/third_party/rust/crates/libc/src/unix/haiku/
H A Dnative.rs1031 pub fn send_signal(threadID: thread_id, signal: ::c_uint) -> ::c_int; in send_signal()

Completed in 14 milliseconds