Home
last modified time | relevance | path

Searched refs:GetThreadId (Results 1 – 25 of 28) sorted by relevance

12

/external/perfetto/include/perfetto/base/
Dthread_utils.h41 inline PlatformThreadID GetThreadId() { in GetThreadId() function
46 inline PlatformThreadID GetThreadId() {
51 inline PlatformThreadID GetThreadId() {
56 inline PlatformThreadID GetThreadId() {
63 inline PlatformThreadID GetThreadId() {
68 inline PlatformThreadID GetThreadId() {
Dunix_task_runner.h90 PlatformThreadID created_thread_id_ = GetThreadId();
/external/libchrome/base/threading/
Dthread_id_name_manager_unittest.cc27 EXPECT_STREQ(kAThread, manager->GetName(thread_a.GetThreadId())); in TEST_F()
28 EXPECT_STREQ(kBThread, manager->GetName(thread_b.GetThreadId())); in TEST_F()
44 EXPECT_STREQ(kAThread, manager->GetName(thread_a.GetThreadId())); in TEST_F()
47 EXPECT_STREQ("", manager->GetName(thread_a.GetThreadId())); in TEST_F()
55 base::PlatformThreadId a_id = thread_a.GetThreadId(); in TEST_F()
61 EXPECT_STREQ(kAThread, manager->GetName(thread_a.GetThreadId())); in TEST_F()
Dthread_unittest.cc134 *id = thread->GetThreadId(); in ReturnThreadId()
410 base::PlatformThreadId id_from_current_thread = a.GetThreadId(); in TEST_F()
417 EXPECT_NE(base::kInvalidThreadId, a.GetThreadId()); in TEST_F()
418 EXPECT_NE(base::kInvalidThreadId, b.GetThreadId()); in TEST_F()
421 EXPECT_NE(a.GetThreadId(), b.GetThreadId()); in TEST_F()
430 base::PlatformThreadId current_id = a.GetThreadId(); in TEST_F()
Dthread.h246 PlatformThreadId GetThreadId() const;
Dthread.cc221 PlatformThreadId Thread::GetThreadId() const { in GetThreadId() function in base::Thread
/external/perfetto/src/profiling/memory/
Dclient_unittest.cc46 auto main_thread_id = base::GetThreadId(); in TEST()
49 [main_thread_id] { EXPECT_NE(main_thread_id, base::GetThreadId()); }); in TEST()
Dclient.cc55 return getpid() == base::GetThreadId(); in IsMainThread()
/external/perfetto/src/base/
Dwatchdog_unittest.cc121 g_aborted_thread = GetThreadId(); in SIGABRTHandler()
145 expected_tid = GetThreadId(); in TEST()
Dunix_task_runner.cc45 created_thread_id_ = GetThreadId(); in Run()
225 return GetThreadId() == created_thread_id_; in RunsTasksOnCurrentThread()
Dwatchdog_posix.cc250 sev._sigev_un._tid = base::GetThreadId(); in Timer()
/external/webrtc/webrtc/modules/utility/source/
Dhelpers_android.cc85 std::string GetThreadId() { in GetThreadId() function
95 return "@[tid=" + GetThreadId() + "]"; in GetThreadInfo()
/external/webrtc/webrtc/modules/utility/include/
Dhelpers_ios.h26 std::string GetThreadId();
Dhelpers_android.h49 std::string GetThreadId();
/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.h77 pid_t GetThreadId(unsigned index) const;
Dcrash_generator.cc123 pid_t CrashGenerator::GetThreadId(unsigned index) const { in GetThreadId() function in google_breakpad::CrashGenerator
/external/google-breakpad/src/common/linux/
Delf_core_dump_unittest.cc143 pid_t expected_crash_thread_id = crash_generator.GetThreadId(kCrashThread); in TEST()
146 expected_thread_ids.insert(crash_generator.GetThreadId(i)); in TEST()
/external/webrtc/talk/app/webrtc/java/jni/
Djni_helpers.cc99 static std::string GetThreadId() { in GetThreadId() function
124 std::string name(GetThreadName() + " - " + GetThreadId()); in AttachCurrentThreadIfNeeded()
/external/libchrome/base/synchronization/
Dcondition_variable_unittest.cc80 int GetThreadId(); // Get an ID assigned to a thread..
542 int WorkQueue::GetThreadId() { in GetThreadId() function in base::__anon16d4e8c80111::WorkQueue
726 thread_id = GetThreadId(); in ThreadMain()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_core_dumper_unittest.cc106 EXPECT_EQ(crash_generator.GetThreadId(kCrashThread), in TEST()
/external/mesa3d/include/c11/
Dthreads_win32.h564 return GetThreadId(thr0) == GetThreadId(thr1); in thrd_equal()
/external/virglrenderer/src/gallium/include/c11/
Dthreads_win32.h546 return GetThreadId(thr0) == GetThreadId(thr1); in thrd_equal()
/external/libcxx/src/support/win32/
Dthread_win32.cpp219 return GetThreadId(*__t); in __libcpp_thread_get_id()
/external/libchrome/base/debug/
Dactivity_tracker.cc163 thread_ref.as_tid = ::GetThreadId(handle.platform_handle()); in ForThread()
/external/syzkaller/executor/
Dsyscalls.h13151 {"GetThreadId", 0, (syscall_t)GetThreadId},

12