Home
last modified time | relevance | path

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

12

/external/chromium_org/base/threading/
Dplatform_thread.h68 class PlatformThreadHandle {
76 PlatformThreadHandle() in PlatformThreadHandle() function
81 explicit PlatformThreadHandle(Handle handle) in PlatformThreadHandle() function
86 PlatformThreadHandle(Handle handle, in PlatformThreadHandle() function
92 bool is_equal(const PlatformThreadHandle& other) const { in is_equal()
145 static PlatformThreadHandle CurrentHandle();
170 PlatformThreadHandle* thread_handle);
178 PlatformThreadHandle* thread_handle,
189 static void Join(PlatformThreadHandle thread_handle);
191 static void SetThreadPriority(PlatformThreadHandle handle,
Dplatform_thread_posix.cc53 PlatformThreadHandle* handle;
72 *(thread_params->handle) = PlatformThreadHandle(pthread_self(), in ThreadFunc()
92 PlatformThreadHandle* thread_handle, in CreateThread()
173 PlatformThreadHandle PlatformThread::CurrentHandle() { in CurrentHandle()
174 return PlatformThreadHandle(pthread_self(), CurrentId()); in CurrentHandle()
204 PlatformThreadHandle* thread_handle) { in Create()
212 PlatformThreadHandle* thread_handle, in CreateWithPriority()
221 PlatformThreadHandle unused; in CreateNonJoinable()
230 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join()
Dplatform_thread_win.cc59 PlatformThreadHandle::Handle platform_handle; in ThreadFunc()
94 PlatformThreadHandle* out_thread_handle) { in CreateThreadInternal()
119 *out_thread_handle = PlatformThreadHandle(thread_handle); in CreateThreadInternal()
138 PlatformThreadHandle PlatformThread::CurrentHandle() { in CurrentHandle()
140 return PlatformThreadHandle(); in CurrentHandle()
188 PlatformThreadHandle* thread_handle) { in Create()
195 PlatformThreadHandle* thread_handle, in CreateWithPriority()
209 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join()
236 void PlatformThread::SetThreadPriority(PlatformThreadHandle handle, in SetThreadPriority()
Dthread_id_name_manager.h27 void RegisterThread(PlatformThreadHandle::Handle handle, PlatformThreadId id);
36 void RemoveName(PlatformThreadHandle::Handle handle, PlatformThreadId id);
41 typedef std::map<PlatformThreadId, PlatformThreadHandle::Handle>
43 typedef std::map<PlatformThreadHandle::Handle, std::string*>
Dplatform_thread_unittest.cc32 PlatformThreadHandle handle; in TEST()
42 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
83 PlatformThreadHandle handle; in TEST()
99 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
Dthread.h166 PlatformThreadHandle thread_handle() { return thread_; } in thread_handle()
226 PlatformThreadHandle thread_;
Dthread_id_name_manager.cc43 void ThreadIdNameManager::RegisterThread(PlatformThreadHandle::Handle handle, in RegisterThread()
93 void ThreadIdNameManager::RemoveName(PlatformThreadHandle::Handle handle, in RemoveName()
Dplatform_thread_freebsd.cc63 void PlatformThread::SetThreadPriority(PlatformThreadHandle handle, in SetThreadPriority()
Dwatchdog.h84 PlatformThreadHandle handle_;
Dplatform_thread_linux.cc74 void PlatformThread::SetThreadPriority(PlatformThreadHandle handle, in SetThreadPriority()
Dplatform_thread_android.cc58 void PlatformThread::SetThreadPriority(PlatformThreadHandle handle, in SetThreadPriority()
/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/chromium_org/third_party/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/chromium_org/base/synchronization/
Dlock_unittest.cc54 PlatformThreadHandle handle; in TEST()
120 PlatformThreadHandle handle; in TEST()
134 PlatformThreadHandle handle; in TEST()
181 PlatformThreadHandle handle; in TEST()
199 PlatformThreadHandle handle1; in TEST()
200 PlatformThreadHandle handle2; in TEST()
201 PlatformThreadHandle handle3; in TEST()
Dwaitable_event_unittest.cc99 PlatformThreadHandle thread; in TEST()
118 PlatformThreadHandle thread; in TEST()
/external/chromium_org/content/renderer/gpu/
Dcompositor_output_surface.cc70 main_thread_handle_(base::PlatformThreadHandle()), in CompositorOutputSurface()
260 void SetThreadPriorityToIdle(base::PlatformThreadHandle handle) { in SetThreadPriorityToIdle()
264 void SetThreadPriorityToDefault(base::PlatformThreadHandle handle) { in SetThreadPriorityToDefault()
269 void SetThreadPriorityToIdle(base::PlatformThreadHandle handle) {}
270 void SetThreadPriorityToDefault(base::PlatformThreadHandle handle) {}
/external/chromium_org/media/audio/
Daudio_device_thread.cc53 base::PlatformThreadHandle thread_;
124 base::PlatformThreadHandle thread = base::PlatformThreadHandle(); in Stop()
/external/chromium_org/ppapi/proxy/
Dppb_var_unittest.cc168 std::vector<base::PlatformThreadHandle> create_var_threads(kNumThreads); in TEST_F()
197 std::vector<base::PlatformThreadHandle> change_ref_var_threads(kNumThreads); in TEST_F()
220 std::vector<base::PlatformThreadHandle> remove_ref_var_threads(kNumThreads); in TEST_F()
/external/chromium_org/base/memory/
Dshared_memory_unittest.cc277 scoped_ptr<PlatformThreadHandle[]> thread_handles; in TEST()
280 thread_handles.reset(new PlatformThreadHandle[numthreads]); in TEST()
285 PlatformThreadHandle pth; in TEST()
309 PlatformThreadHandle thread_handles[kNumThreads]; in TEST()
314 PlatformThreadHandle pth; in TEST()
/external/chromium_org/base/
Dtools_sanity_unittest.cc284 PlatformThreadHandle a; in RunInParallel()
285 PlatformThreadHandle b; in RunInParallel()
/external/chromium_org/remoting/base/
Dauto_thread.h98 base::PlatformThreadHandle thread_;

12