/external/libchrome/base/synchronization/ |
lock.cc | 23 DCHECK(owning_thread_ref_ == PlatformThread::CurrentRef()); 27 DCHECK(owning_thread_ref_ == PlatformThread::CurrentRef()); 33 owning_thread_ref_ = PlatformThread::CurrentRef();
|
lock_unittest.cc | 18 class BasicLockTestThread : public PlatformThread::Delegate { 31 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 37 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 57 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 68 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 74 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 81 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 85 PlatformThread::Join(handle); 93 class TryLockTestThread : public PlatformThread::Delegate { 123 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)) [all...] |
cancellation_flag.cc | 13 DCHECK_EQ(set_on_, PlatformThread::CurrentId());
|
cancellation_flag.h | 24 set_on_ = PlatformThread::CurrentId();
|
waitable_event_unittest.cc | 77 class WaitableEventSignaler : public PlatformThread::Delegate { 85 PlatformThread::Sleep(delay_); 101 PlatformThread::Create(0, &signaler, &thread); 106 PlatformThread::Join(thread); 118 PlatformThread::Create(0, &signaler, &thread); 125 PlatformThread::Join(thread); 144 PlatformThread::Create(0, &signaler, &thread); 150 PlatformThread::Join(thread);
|
spin_wait.h | 46 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50)); \
|
/external/sfntly/cpp/src/test/ |
platform_thread.cc | 24 PlatformThread::Delegate* delegate = 25 static_cast<PlatformThread::Delegate*>(params); 31 bool PlatformThread::Create(Delegate* delegate, 43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { 51 void PlatformThread::Sleep(int32_t duration_ms) { 58 PlatformThread::Delegate* delegate = 59 static_cast<PlatformThread::Delegate*>(params); 65 bool PlatformThread::Create(Delegate* delegate, 79 void PlatformThread::Join(PlatformThreadHandle thread_handle) { 85 void PlatformThread::Sleep(int32_t duration_ms) [all...] |
platform_thread.h | 43 class PlatformThread { 69 PlatformThread() {} 70 NO_COPY_AND_ASSIGN(PlatformThread);
|
lock_test.cc | 27 class BasicLockTestThread : public PlatformThread::Delegate { 40 PlatformThread::Sleep(rand() % 20); 46 PlatformThread::Sleep(rand() % 20); 66 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); 77 PlatformThread::Sleep(rand() % 20); 83 PlatformThread::Sleep(rand() % 20); 90 PlatformThread::Sleep(rand() % 20); 94 PlatformThread::Join(handle); 104 class TryLockTestThread : public PlatformThread::Delegate { 134 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)) [all...] |
/external/libchrome/base/memory/ |
singleton.cc | 27 PlatformThread::YieldCurrentThread();
|
/external/webrtc/webrtc/base/ |
platform_thread.h | 57 class PlatformThread { 59 PlatformThread(ThreadRunFunction func, void* obj, const char* thread_name); 60 virtual ~PlatformThread(); 95 RTC_DISALLOW_COPY_AND_ASSIGN(PlatformThread);
|
platform_thread_unittest.cc | 26 rtc::PlatformThread thread(&NullRunFunction, nullptr, "PlatformThreadTest"); 41 rtc::PlatformThread thread(&SetFlagRunFunction, &flag, "RunFunctionIsCalled");
|
platform_thread.cc | 94 PlatformThread::PlatformThread(ThreadRunFunction func, 111 PlatformThread::~PlatformThread() { 119 DWORD WINAPI PlatformThread::StartThread(void* param) { 120 static_cast<PlatformThread*>(param)->Run(); 124 void* PlatformThread::StartThread(void* param) { 125 static_cast<PlatformThread*>(param)->Run(); 130 void PlatformThread::Start() { 151 bool PlatformThread::IsRunning() const [all...] |
/external/libchrome/base/threading/ |
thread_checker_impl.cc | 19 return valid_thread_id_ == PlatformThread::CurrentRef(); 30 valid_thread_id_ = PlatformThread::CurrentRef();
|
platform_thread_unittest.cc | 27 class TrivialThread : public PlatformThread::Delegate { 48 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 49 PlatformThread::Join(handle); 60 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); 62 PlatformThread::Join(handle[n]); 71 class FunctionTestThread : public PlatformThread::Delegate { 89 thread_id_ = PlatformThread::CurrentId(); 93 EXPECT_EQ(thread_id_, PlatformThread::CurrentId()); 136 PlatformThreadId main_thread_id = PlatformThread::CurrentId(); 142 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)) [all...] |
platform_thread_posix.cc | 42 PlatformThread::Delegate* delegate; 50 PlatformThread::Delegate* delegate = nullptr; 60 PlatformThread::SetCurrentThreadPriority(thread_params->priority); 64 PlatformThread::CurrentHandle().platform_handle(), 65 PlatformThread::CurrentId()); 70 PlatformThread::CurrentHandle().platform_handle(), 71 PlatformThread::CurrentId()); 79 PlatformThread::Delegate* delegate, 127 PlatformThreadId PlatformThread::CurrentId() { 149 PlatformThreadRef PlatformThread::CurrentRef() [all...] |
thread_id_name_manager_unittest.cc | 68 base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); 69 base::PlatformThread::SetName("First Name"); 72 base::PlatformThread::SetName("New name"); 74 base::PlatformThread::SetName(""); 80 base::PlatformThreadId a_id = base::PlatformThread::CurrentId(); 81 base::PlatformThread::SetName("Test Name"); 84 base::PlatformThread::SetName("New name"); 87 base::PlatformThread::SetName("Test Name"); 90 base::PlatformThread::SetName("");
|
platform_thread_linux.cc | 80 void PlatformThread::SetName(const std::string& name) { 89 if (PlatformThread::CurrentId() == getpid())
|
/external/libchrome/base/debug/ |
debugger.cc | 28 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100));
|
/external/libchrome/base/test/ |
test_file_util.cc | 18 PlatformThread::Sleep(kDelay);
|
/external/webrtc/webrtc/voice_engine/test/auto_test/ |
voe_stress_test.h | 40 // TODO(pbos): Remove scoped_ptr and use PlatformThread directly. 41 rtc::scoped_ptr<rtc::PlatformThread> _ptrExtraApiThread;
|
/external/libchrome/base/message_loop/ |
message_loop_task_runner.cc | 22 valid_thread_id_ = PlatformThread::CurrentId(); 43 return valid_thread_id_ == PlatformThread::CurrentId();
|
/external/libchrome/base/ |
lazy_instance.cc | 33 PlatformThread::YieldCurrentThread();
|
/external/libchrome/base/trace_event/ |
trace_sampling_thread.h | 19 class TraceSamplingThread : public PlatformThread::Delegate { 24 // Implementation of PlatformThread::Delegate:
|
/external/webrtc/webrtc/system_wrappers/source/ |
event_timer_posix.h | 49 // TODO(pbos): Remove scoped_ptr and use PlatformThread directly. 50 rtc::scoped_ptr<rtc::PlatformThread> timer_thread_;
|