HomeSort by relevance Sort by last modified time
    Searched refs:PlatformThread (Results 1 - 25 of 301) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/test/ui/
run_all_unittests.cc 9 base::PlatformThread::SetName("Tests_Main");
  /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/chromium_org/base/threading/
platform_thread_unittest.cc 14 class TrivialThread : public PlatformThread::Delegate {
35 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
36 PlatformThread::Join(handle);
47 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n]));
49 PlatformThread::Join(handle[n]);
61 thread_id_ = PlatformThread::CurrentId();
62 PlatformThread::YieldCurrentThread();
63 PlatformThread::Sleep(TimeDelta::FromMilliseconds(50));
66 EXPECT_EQ(thread_id_, PlatformThread::CurrentId());
80 PlatformThreadId main_thread_id = PlatformThread::CurrentId()
    [all...]
platform_thread_posix.cc 50 PlatformThread::Delegate* delegate;
61 PlatformThread::Delegate* delegate = thread_params->delegate;
66 PlatformThread::SetThreadPriority(PlatformThread::CurrentHandle(),
73 PlatformThread::CurrentId());
77 PlatformThread::CurrentHandle().platform_handle(),
78 PlatformThread::CurrentId());
83 PlatformThread::CurrentHandle().platform_handle(),
84 PlatformThread::CurrentId());
91 PlatformThread::Delegate* delegate
    [all...]
platform_thread_win.cc 47 PlatformThread::Delegate* delegate;
53 PlatformThread::Delegate* delegate = thread_params->delegate;
71 PlatformThread::CurrentId());
78 PlatformThread::CurrentId());
82 // CreateThreadInternal() matches PlatformThread::Create(), except that
86 PlatformThread::Delegate* delegate,
121 PlatformThreadId PlatformThread::CurrentId() {
126 PlatformThreadHandle PlatformThread::CurrentHandle() {
132 void PlatformThread::YieldCurrentThread() {
137 void PlatformThread::Sleep(TimeDelta duration)
    [all...]
thread_checker_impl.cc 19 return valid_thread_id_ == PlatformThread::CurrentId();
31 valid_thread_id_ = PlatformThread::CurrentId();
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_android.cc 57 void PlatformThread::SetThreadPriority(PlatformThreadHandle handle,
63 Java_ThreadUtils_setThreadPriorityAudio(env, PlatformThread::CurrentId());
77 void PlatformThread::SetName(const char* name) {
89 PlatformThread::SetThreadPriority(PlatformThread::CurrentHandle(),
  /external/chromium/base/synchronization/
lock.cc 23 DCHECK_EQ(owning_thread_id_, PlatformThread::CurrentId());
28 DCHECK_EQ(owning_thread_id_, PlatformThread::CurrentId());
36 owning_thread_id_ = PlatformThread::CurrentId();
lock_unittest.cc 15 class BasicLockTestThread : public PlatformThread::Delegate {
28 PlatformThread::Sleep(rand() % 20);
34 PlatformThread::Sleep(rand() % 20);
54 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
65 PlatformThread::Sleep(rand() % 20);
71 PlatformThread::Sleep(rand() % 20);
78 PlatformThread::Sleep(rand() % 20);
82 PlatformThread::Join(handle);
90 class TryLockTestThread : public PlatformThread::Delegate {
120 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle))
    [all...]
cancellation_flag.cc 13 DCHECK_EQ(set_on_, PlatformThread::CurrentId());
  /external/chromium_org/base/synchronization/
lock_unittest.cc 17 class BasicLockTestThread : public PlatformThread::Delegate {
30 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20));
36 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20));
56 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
67 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20));
73 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20));
80 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20));
84 PlatformThread::Join(handle);
92 class TryLockTestThread : public PlatformThread::Delegate {
122 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle))
    [all...]
lock.cc 30 DCHECK_EQ(owning_thread_id_, PlatformThread::CurrentId());
35 DCHECK_EQ(owning_thread_id_, PlatformThread::CurrentId());
43 owning_thread_id_ = PlatformThread::CurrentId();
cancellation_flag.cc 13 DCHECK_EQ(set_on_, PlatformThread::CurrentId());
  /external/chromium/base/threading/
platform_thread_unittest.cc 13 class TrivialThread : public PlatformThread::Delegate {
34 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle));
35 PlatformThread::Join(handle);
46 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n]));
48 PlatformThread::Join(handle[n]);
60 thread_id_ = PlatformThread::CurrentId();
61 PlatformThread::YieldCurrentThread();
62 PlatformThread::Sleep(50);
76 PlatformThreadId main_thread_id = PlatformThread::CurrentId();
82 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle))
    [all...]
thread_checker_impl.cc 19 return valid_thread_id_ == PlatformThread::CurrentId();
31 valid_thread_id_ = PlatformThread::CurrentId();
platform_thread_win.cc 27 PlatformThread::Delegate* delegate;
33 PlatformThread::Delegate* delegate = thread_params->delegate;
41 // CreateThreadInternal() matches PlatformThread::Create(), except that
45 PlatformThread::Delegate* delegate,
81 PlatformThreadId PlatformThread::CurrentId() {
86 void PlatformThread::YieldCurrentThread() {
91 void PlatformThread::Sleep(int duration_ms) {
96 void PlatformThread::SetName(const char* name) {
116 bool PlatformThread::Create(size_t stack_size, Delegate* delegate,
123 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate)
    [all...]
platform_thread_posix.cc 41 PlatformThread::Delegate* delegate;
47 PlatformThread::Delegate* delegate = thread_params->delegate;
56 PlatformThread::Delegate* delegate,
120 PlatformThreadId PlatformThread::CurrentId() {
136 void PlatformThread::YieldCurrentThread() {
141 void PlatformThread::Sleep(int duration_ms) {
161 void PlatformThread::SetName(const char* name) {
192 void PlatformThread::SetName(const char* /*name*/) {
201 bool PlatformThread::Create(size_t stack_size, Delegate* delegate,
208 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate)
    [all...]
  /external/chromium_org/base/memory/
singleton.cc 24 PlatformThread::YieldCurrentThread();
  /external/chromium_org/base/test/
test_file_util.cc 18 PlatformThread::Sleep(kDelay);
  /external/chromium/base/
tools_sanity_unittest.cc 16 class TOOLS_SANITY_TEST_CONCURRENT_THREAD : public PlatformThread::Delegate {
26 PlatformThread::Sleep(100);
120 PlatformThread::Delegate *thread1 =
122 PlatformThread::Delegate *thread2 =
125 PlatformThread::Create(0, thread1, &a);
126 PlatformThread::Create(0, thread2, &b);
127 PlatformThread::Join(a);
128 PlatformThread::Join(b);
  /external/chromium_org/base/
tools_sanity_unittest.cc 192 class TOOLS_SANITY_TEST_CONCURRENT_THREAD : public PlatformThread::Delegate {
202 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100));
208 class ReleaseStoreThread : public PlatformThread::Delegate {
218 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100));
224 class AcquireLoadThread : public PlatformThread::Delegate {
230 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100));
237 void RunInParallel(PlatformThread::Delegate *d1, PlatformThread::Delegate *d2) {
240 PlatformThread::Create(0, d1, &a);
241 PlatformThread::Create(0, d2, &b)
    [all...]
  /external/chromium_org/content/browser/geolocation/
device_data_provider_unittest.cc 30 base::PlatformThread::Sleep(base::TimeDelta());
35 base::PlatformThread::Sleep(base::TimeDelta());

Completed in 364 milliseconds

1 2 3 4 5 6 7 8 91011>>