Searched refs:gettid (Results 1 – 25 of 25) sorted by relevance
/bionic/tests/ |
D | stack_protector_test.cpp | 32 extern "C" pid_t gettid(); // glibc defines this but doesn't declare it anywhere. 43 pid_t tid = gettid(); in Check() 71 ASSERT_EQ(getpid(), gettid()); // We are the main thread, right? in TEST() 95 ASSERT_NE(0, gettid()); in TEST()
|
D | bug_26110743_test.cpp | 29 extern "C" pid_t gettid(); 80 pid_t mytid = gettid(); in ProcTaskFdReadlinkBody()
|
D | pthread_test.cpp | 554 tid_promise.set_value(gettid()); in TEST() 933 arg->tid = gettid(); in pthread_rwlock_wakeup_helper() 1080 arg->tid = gettid(); in pthread_rwlock_wakeup_timeout_helper() 1289 arg->tid = gettid(); in WriterThreadFn() 1298 arg->tid = gettid(); in ReaderThreadFn() 1904 *reinterpret_cast<pid_t*>(arg) = gettid(); in pthread_gettid_np_helper() 1915 ASSERT_EQ(gettid(), pthread_gettid_np(pthread_self())); in TEST() 2180 helper->tid = gettid(); in thread_fn() 2265 helper->child_tid = gettid(); in thread_fn() 2267 ASSERT_EQ(0, setpriority(PRIO_PROCESS, gettid(), 1)); in thread_fn() [all …]
|
D | leak_test.cpp | 145 *data->tid = gettid(); in TEST()
|
D | utils.h | 155 extern "C" pid_t gettid();
|
D | stdio_ext_test.cpp | 221 *pid = gettid(); in LockingByCallerHelper()
|
D | signal_test.cpp | 790 ASSERT_EQ(0, syscall(SYS_rt_tgsigqueueinfo, getpid(), gettid(), SIGUSR1, &sent)) in TEST() 797 ASSERT_EQ(0, syscall(SYS_rt_tgsigqueueinfo, getpid(), gettid(), SIGUSR1, &sent)) in TEST()
|
D | time_test.cpp | 624 tdd->tid = gettid(); in TimerDeleteCallback()
|
D | unistd_test.cpp | 508 return gettid(); in GetTidForTest()
|
/bionic/libc/dns/resolv/ |
D | res_state.c | 89 D("%s: rt=%p for thread=%d", __FUNCTION__, rt, gettid()); in _res_thread_free() 120 __FUNCTION__, gettid(), rt); in _res_thread_get() 126 __FUNCTION__, gettid(), rt, (rt->_nres->options & RES_INIT) != 0); in _res_thread_get() 130 __FUNCTION__, gettid(), rt); in _res_thread_get()
|
/bionic/linker/ |
D | linker_memory.cpp | 46 return fallback_tid.compare_exchange_strong(expected, gettid()); in __linker_enable_fallback_allocator() 53 } else if (previous != gettid()) { in __linker_disable_fallback_allocator() 65 if (__predict_false(fallback_tid) && __predict_false(gettid() == fallback_tid)) { in get_allocator()
|
/bionic/libc/bionic/ |
D | libc_init_common.cpp | 76 if (gettid() > 65535) { in __check_max_thread_id() 78 "pid <= 65535, but current pid is %d", gettid()); in __check_max_thread_id()
|
D | gettid.cpp | 34 pid_t gettid() { in gettid() function
|
D | fork.cpp | 46 self->set_cached_pid(gettid()); in __clone_for_fork()
|
/bionic/benchmarks/ |
D | unistd_benchmark.cpp | 35 BIONIC_TRIVIAL_BENCHMARK(BM_unistd_gettid, gettid());
|
/bionic/libc/ |
D | SECCOMP_ALLOWLIST_COMMON.TXT | 10 pid_t gettid:gettid() all
|
D | libc.map.txt | 485 gettid;
|
D | Android.bp | 1056 "bionic/gettid.cpp",
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 48 RecordEntry::RecordEntry() : tid_(gettid()) { in RecordEntry()
|
D | README.md | 289 with the THREAD\_ID returned by gettid(), which is the thread that is making
|
/bionic/libc/include/ |
D | unistd.h | 83 pid_t gettid(void) __attribute_const__;
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 541 tid = gettid(); in TEST()
|
D | malloc_debug_unit_tests.cpp | 2274 tid = gettid(); in TEST_F()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 500 uint16_t tid = gettid(); in async_safe_write_log()
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 485 gettid;
|