/third_party/python/Python/ |
D | thread_pthread.h | 345 uint64_t native_id; in PyThread_get_thread_native_id() local 346 (void) pthread_threadid_np(NULL, &native_id); in PyThread_get_thread_native_id() 348 pid_t native_id; in PyThread_get_thread_native_id() local 349 native_id = syscall(SYS_gettid); in PyThread_get_thread_native_id() 351 int native_id; in PyThread_get_thread_native_id() local 352 native_id = pthread_getthreadid_np(); in PyThread_get_thread_native_id() 354 pid_t native_id; in PyThread_get_thread_native_id() local 355 native_id = getthrid(); in PyThread_get_thread_native_id() 357 tid_t native_id; in PyThread_get_thread_native_id() local 358 native_id = thread_self(); in PyThread_get_thread_native_id() [all …]
|
D | thread_nt.h | 254 DWORD native_id; in PyThread_get_thread_native_id() local 255 native_id = GetCurrentThreadId(); in PyThread_get_thread_native_id() 256 return (unsigned long) native_id; in PyThread_get_thread_native_id()
|
/third_party/boost/libs/log/src/ |
D | thread_id.cpp | 235 format_id< tid_size >(buf, size, tid.native_id(), false); in format_thread_id() 244 …format_id< tid_size >(buf, sizeof(buf) / sizeof(*buf), tid.native_id(), (strm.flags() & std::ios_b… in operator <<()
|
D | process_id.cpp | 97 …format_id< pid_size >(buf, sizeof(buf) / sizeof(*buf), pid.native_id(), (strm.flags() & std::ios_b… in operator <<()
|
D | core.cpp | 255 seed += static_cast< uint32_t >(log::aux::this_thread::get_id().native_id()); in get_random_seed()
|
/third_party/ffmpeg/libavformat/ |
D | matroskaenc.c | 765 int native_id, int qt_id) in mkv_write_codecprivate() argument 776 if (native_id) { in mkv_write_codecprivate() 1121 int native_id = 0; in mkv_write_track() local 1166 native_id = 1; in mkv_write_track() 1173 native_id = MATROSKA_TRACK_TYPE_SUBTITLE; in mkv_write_track() 1176 native_id = MATROSKA_TRACK_TYPE_METADATA; in mkv_write_track() 1179 native_id = MATROSKA_TRACK_TYPE_METADATA; in mkv_write_track() 1182 native_id = MATROSKA_TRACK_TYPE_SUBTITLE; in mkv_write_track() 1186 if (!native_id) { in mkv_write_track() 1212 native_id = 1; in mkv_write_track() [all …]
|
/third_party/boost/boost/log/detail/ |
D | id.hpp | 48 native_type native_id() const BOOST_NOEXCEPT { return m_NativeID; } in native_id() function in boost::aux::id
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/trt_pass/ |
D | graph_partitioner.cc | 129 static size_t native_id = 0; in NewSubGraph() local 132 … : std::string("N_") + std::to_string(native_id++); in NewSubGraph()
|
/third_party/boost/libs/pfr/include/boost/pfr/detail/ |
D | core14_classic.hpp | 95 constexpr std::size_t native_id = (Unptr & native_types_mask); in type_to_id_extension_apply() local 102 return (extensions >> bits_per_extension) | native_id | ext; in type_to_id_extension_apply()
|
/third_party/boost/boost/pfr/detail/ |
D | core14_classic.hpp | 95 constexpr std::size_t native_id = (Unptr & native_types_mask); in type_to_id_extension_apply() local 102 return (extensions >> bits_per_extension) | native_id | ext; in type_to_id_extension_apply()
|
/third_party/python/Modules/ |
D | _threadmodule.c | 1262 unsigned long native_id = PyThread_get_thread_native_id(); in thread_get_native_id() local 1263 return PyLong_FromUnsignedLong(native_id); in thread_get_native_id()
|
/third_party/python/Lib/ |
D | threading.py | 1152 def native_id(self): member in Thread
|
/third_party/python/Lib/test/ |
D | test_threading.py | 154 native_ids = set(t.native_id for t in threads) | {threading.get_native_id()}
|
D | _test_multiprocessing.py | 375 current_mainthread_native_id = threading.main_thread().native_id 389 mainthread_native_id = threading.main_thread().native_id
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a2.rst | 186 ``MainThread.native_id`` is now correctly reset in child processes spawned
|
/third_party/python/Doc/library/ |
D | threading.rst | 402 .. attribute:: native_id
|
/third_party/python/Doc/whatsnew/ |
D | 3.8.rst | 1263 a :data:`~threading.Thread.native_id`
|