Home
last modified time | relevance | path

Searched refs:native_id (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Python/
Dthread_pthread.h345 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 …]
Dthread_nt.h254 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/
Dthread_id.cpp235 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 <<()
Dprocess_id.cpp97 …format_id< pid_size >(buf, sizeof(buf) / sizeof(*buf), pid.native_id(), (strm.flags() & std::ios_b… in operator <<()
Dcore.cpp255 seed += static_cast< uint32_t >(log::aux::this_thread::get_id().native_id()); in get_random_seed()
/third_party/ffmpeg/libavformat/
Dmatroskaenc.c765 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/
Did.hpp48 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/
Dgraph_partitioner.cc129 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/
Dcore14_classic.hpp95 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/
Dcore14_classic.hpp95 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.c1262 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/
Dthreading.py1152 def native_id(self): member in Thread
/third_party/python/Lib/test/
Dtest_threading.py154 native_ids = set(t.native_id for t in threads) | {threading.get_native_id()}
D_test_multiprocessing.py375 current_mainthread_native_id = threading.main_thread().native_id
389 mainthread_native_id = threading.main_thread().native_id
/third_party/python/Misc/NEWS.d/
D3.9.0a2.rst186 ``MainThread.native_id`` is now correctly reset in child processes spawned
/third_party/python/Doc/library/
Dthreading.rst402 .. attribute:: native_id
/third_party/python/Doc/whatsnew/
D3.8.rst1263 a :data:`~threading.Thread.native_id`