Home
last modified time | relevance | path

Searched refs:PlatformThreadHandle (Results 1 – 25 of 27) sorted by relevance

12

/external/sfntly/cpp/src/test/
Dplatform_thread.h36 typedef HANDLE PlatformThreadHandle; typedef
37 const PlatformThreadHandle kNullThreadHandle = NULL;
39 typedef pthread_t PlatformThreadHandle;
40 const PlatformThreadHandle kNullThreadHandle = 0;
61 static bool Create(Delegate* delegate, PlatformThreadHandle* thread_handle);
66 static void Join(PlatformThreadHandle thread_handle);
Dlock_test.cc64 PlatformThreadHandle handle = kNullThreadHandle; in BasicLockTest()
132 PlatformThreadHandle handle = kNullThreadHandle; in TryLockTest()
146 PlatformThreadHandle handle = kNullThreadHandle; in TryLockTest()
194 PlatformThreadHandle handle = kNullThreadHandle; in MutexTwoThreads()
213 PlatformThreadHandle handle1 = kNullThreadHandle; in MutexFourThreads()
214 PlatformThreadHandle handle2 = kNullThreadHandle; in MutexFourThreads()
215 PlatformThreadHandle handle3 = kNullThreadHandle; in MutexFourThreads()
Dplatform_thread.cc32 PlatformThreadHandle* thread_handle) { in Create()
43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join()
66 PlatformThreadHandle* thread_handle) {
79 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
/external/libchrome/base/threading/
Dplatform_thread.h76 class PlatformThreadHandle {
84 constexpr PlatformThreadHandle() : handle_(0) {} in PlatformThreadHandle() function
86 explicit constexpr PlatformThreadHandle(Handle handle) : handle_(handle) {} in PlatformThreadHandle() function
88 bool is_equal(const PlatformThreadHandle& other) const { in is_equal()
143 static PlatformThreadHandle CurrentHandle();
168 PlatformThreadHandle* thread_handle) { in Create()
176 PlatformThreadHandle* thread_handle,
193 static void Join(PlatformThreadHandle thread_handle);
197 static void Detach(PlatformThreadHandle thread_handle);
Dplatform_thread_posix.cc89 PlatformThreadHandle* thread_handle, in CreateThread()
126 *thread_handle = PlatformThreadHandle(handle); in CreateThread()
167 PlatformThreadHandle PlatformThread::CurrentHandle() { in CurrentHandle()
168 return PlatformThreadHandle(pthread_self()); in CurrentHandle()
198 PlatformThreadHandle* thread_handle, in CreateWithPriority()
214 PlatformThreadHandle unused; in CreateNonJoinableWithPriority()
222 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join()
234 void PlatformThread::Detach(PlatformThreadHandle thread_handle) { in Detach()
Dthread_id_name_manager.h29 void RegisterThread(PlatformThreadHandle::Handle handle, PlatformThreadId id);
47 void RemoveName(PlatformThreadHandle::Handle handle, PlatformThreadId id);
52 typedef std::map<PlatformThreadId, PlatformThreadHandle::Handle>
54 typedef std::map<PlatformThreadHandle::Handle, std::string*>
Dplatform_thread_unittest.cc45 PlatformThreadHandle handle; in TEST()
55 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
72 PlatformThreadHandle handle; in TEST()
82 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
168 PlatformThreadHandle handle; in TEST()
188 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
290 PlatformThreadHandle handle; in TEST()
Dthread.h255 PlatformThreadHandle GetThreadHandle() const;
317 PlatformThreadHandle thread_;
Dthread_id_name_manager.cc49 void ThreadIdNameManager::RegisterThread(PlatformThreadHandle::Handle handle, in RegisterThread()
124 void ThreadIdNameManager::RemoveName(PlatformThreadHandle::Handle handle, in RemoveName()
Dwatchdog.h86 PlatformThreadHandle handle_;
Dthread.cc184 thread_ = base::PlatformThreadHandle(); in Stop()
228 PlatformThreadHandle Thread::GetThreadHandle() const { in GetThreadHandle()
Dsimple_thread.h146 PlatformThreadHandle thread_; // PlatformThread handle, reset after Join.
Dsimple_thread.cc42 thread_ = PlatformThreadHandle(); in Join()
/external/libchrome/base/synchronization/
Dlock_unittest.cc56 PlatformThreadHandle handle; in TEST()
122 PlatformThreadHandle handle; in TEST()
136 PlatformThreadHandle handle; in TEST()
162 PlatformThreadHandle handle; in TEST()
176 PlatformThreadHandle handle; in TEST()
222 PlatformThreadHandle handle; in TEST()
240 PlatformThreadHandle handle1; in TEST()
241 PlatformThreadHandle handle2; in TEST()
242 PlatformThreadHandle handle3; in TEST()
Dwaitable_event_unittest.cc176 PlatformThreadHandle thread; in TEST()
195 PlatformThreadHandle thread; in TEST()
216 PlatformThreadHandle thread; in TEST()
264 PlatformThreadHandle thread; in TEST()
Dcondition_variable_unittest.cc138 std::unique_ptr<PlatformThreadHandle[]> thread_handles_;
509 thread_handles_(new PlatformThreadHandle[thread_count]), in WorkQueue()
523 PlatformThreadHandle pth; in WorkQueue()
/external/libchrome/base/task_scheduler/
Dtask_tracker_posix.h47 const PlatformThreadHandle& service_thread_handle) { in set_service_thread_handle()
65 PlatformThreadHandle service_thread_handle_;
Dscheduler_worker.cc101 PlatformThreadHandle thread_handle; in JoinForTesting()
108 thread_handle_ = PlatformThreadHandle(); in JoinForTesting()
Dscheduler_worker.h221 PlatformThreadHandle thread_handle_;
/external/libchrome/base/
Dtools_sanity_unittest.cc289 PlatformThreadHandle a; in RunInParallel()
290 PlatformThreadHandle b; in RunInParallel()
/external/libchrome/base/debug/
Dactivity_tracker.h45 class PlatformThreadHandle; variable
159 static ActivityData ForThread(const PlatformThreadHandle& handle);
1339 explicit ScopedThreadJoinActivity(const PlatformThreadHandle* thread) in ScopedThreadJoinActivity()
1344 const PlatformThreadHandle* thread);
/external/libchrome/base/message_loop/
Dmessage_loop_perftest.cc114 PlatformThreadHandle thread_handle_;
/external/libchrome/base/memory/
Dshared_memory_unittest.cc295 std::unique_ptr<PlatformThreadHandle[]> thread_handles; in TEST_P()
298 thread_handles.reset(new PlatformThreadHandle[numthreads]); in TEST_P()
303 PlatformThreadHandle pth; in TEST_P()
/external/libchrome/base/time/
Dtime.h92 class PlatformThreadHandle; variable
959 static ThreadTicks GetForThread(const PlatformThreadHandle& thread_handle);
/external/libchrome/base/profiler/
Dstack_sampling_profiler_unittest.cc422 PlatformThreadHandle target_thread_handle; in WithTargetThread()
606 PlatformThreadHandle target_thread_handle; in TestLibraryUnload()
1389 PlatformThreadHandle target_thread_handle1, target_thread_handle2; in PROFILER_TEST_F()

12