/external/libchrome/base/threading/ |
D | platform_thread.h | 76 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);
|
D | platform_thread_posix.cc | 89 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()
|
D | thread_id_name_manager.h | 29 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*>
|
D | platform_thread_unittest.cc | 45 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()
|
D | thread.h | 255 PlatformThreadHandle GetThreadHandle() const; 317 PlatformThreadHandle thread_;
|
D | thread_id_name_manager.cc | 49 void ThreadIdNameManager::RegisterThread(PlatformThreadHandle::Handle handle, in RegisterThread() 124 void ThreadIdNameManager::RemoveName(PlatformThreadHandle::Handle handle, in RemoveName()
|
D | thread.cc | 184 thread_ = base::PlatformThreadHandle(); in Stop() 228 PlatformThreadHandle Thread::GetThreadHandle() const { in GetThreadHandle()
|
D | simple_thread.h | 146 PlatformThreadHandle thread_; // PlatformThread handle, reset after Join.
|
D | simple_thread.cc | 42 thread_ = PlatformThreadHandle(); in Join()
|
/external/sfntly/cpp/src/test/ |
D | platform_thread.h | 36 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);
|
D | lock_test.cc | 64 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()
|
D | platform_thread.cc | 32 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/synchronization/ |
D | lock_unittest.cc | 56 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()
|
D | waitable_event_unittest.cc | 176 PlatformThreadHandle thread; in TEST() 195 PlatformThreadHandle thread; in TEST() 216 PlatformThreadHandle thread; in TEST() 264 PlatformThreadHandle thread; in TEST()
|
D | condition_variable_unittest.cc | 138 std::unique_ptr<PlatformThreadHandle[]> thread_handles_; 509 thread_handles_(new PlatformThreadHandle[thread_count]), in WorkQueue() 523 PlatformThreadHandle pth; in WorkQueue()
|
/external/libchrome/base/debug/ |
D | activity_tracker.h | 45 class PlatformThreadHandle; variable 159 static ActivityData ForThread(const PlatformThreadHandle& handle); 1339 explicit ScopedThreadJoinActivity(const PlatformThreadHandle* thread) in ScopedThreadJoinActivity() 1344 const PlatformThreadHandle* thread);
|
D | activity_tracker.cc | 120 PlatformThreadHandle::Handle as_handle; 159 ActivityData ActivityData::ForThread(const PlatformThreadHandle& handle) { in ForThread() 1807 const base::PlatformThreadHandle* thread) in ScopedThreadJoinActivity()
|
/external/libchrome/base/message_loop/ |
D | message_loop_perftest.cc | 114 PlatformThreadHandle thread_handle_;
|
/external/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 295 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/ |
D | time.h | 92 class PlatformThreadHandle; variable 961 static ThreadTicks GetForThread(const PlatformThreadHandle& thread_handle);
|
/external/libchrome/base/ |
D | observer_list_unittest.cc | 603 std::vector<base::PlatformThreadHandle> threads(num_threads); in ThreadSafeObserverHarness()
|