| /third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
| D | lock_test.cc | 27 class BasicLockTestThread : public PlatformThread::Delegate { 40 PlatformThread::Sleep(rand() % 20); in ThreadMain() 46 PlatformThread::Sleep(rand() % 20); in ThreadMain() 66 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); in BasicLockTest() 77 PlatformThread::Sleep(rand() % 20); in BasicLockTest() 83 PlatformThread::Sleep(rand() % 20); in BasicLockTest() 90 PlatformThread::Sleep(rand() % 20); in BasicLockTest() 94 PlatformThread::Join(handle); in BasicLockTest() 104 class TryLockTestThread : public PlatformThread::Delegate { 134 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); in TryLockTest() [all …]
|
| D | platform_thread.cc | 24 PlatformThread::Delegate* delegate = in ThreadFunc() 25 static_cast<PlatformThread::Delegate*>(params); in ThreadFunc() 31 bool PlatformThread::Create(Delegate* delegate, in Create() 43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() 51 void PlatformThread::Sleep(int32_t duration_ms) { in Sleep() 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) {
|
| D | platform_thread.h | 43 class PlatformThread { 69 PlatformThread() {} in PlatformThread() function 70 NO_COPY_AND_ASSIGN(PlatformThread);
|
| /third_party/cef/libcef_dll/base/ |
| D | cef_lock.cc | 24 DCHECK(owning_thread_ref_ == PlatformThread::CurrentRef()); in AssertAcquired() 28 DCHECK(owning_thread_ref_ == PlatformThread::CurrentRef()); in CheckHeldAndUnmark() 39 owning_thread_ref_ = PlatformThread::CurrentRef(); in CheckUnheldAndMark()
|
| D | cef_thread_checker_impl.cc | 19 return valid_thread_id_ == PlatformThread::CurrentRef(); in CalledOnValidThread() 30 valid_thread_id_ = PlatformThread::CurrentRef(); in EnsureThreadIdAssigned()
|
| /third_party/cef/tests/cefclient/browser/ |
| D | main_message_loop_multithreaded_gtk.cc | 24 base::PlatformThreadId current_thread = base::PlatformThread::CurrentId(); in lock_enter() 62 : thread_id_(base::PlatformThread::CurrentId()) { in MainMessageLoopMultithreadedGtk() 120 return (thread_id_ == base::PlatformThread::CurrentId()); in RunsTasksOnCurrentThread()
|
| D | main_message_loop_multithreaded_win.cc | 23 : thread_id_(base::PlatformThread::CurrentId()), in MainMessageLoopMultithreadedWin() 95 return (thread_id_ == base::PlatformThread::CurrentId()); in RunsTasksOnCurrentThread()
|
| D | util_gtk.cc | 17 base::PlatformThreadId current_thread = base::PlatformThread::CurrentId(); in ScopedGdkThreadsEnter()
|
| /third_party/cef/libcef/common/ |
| D | value_base.h | 156 locked_thread_id_ = base::PlatformThread::CurrentId(); in lock() 163 return (locked_thread_id_ == base::PlatformThread::CurrentId()); in locked() 176 : thread_id_(base::PlatformThread::CurrentId()) {} in CefValueControllerNonThreadSafe() 186 return (thread_id_ == base::PlatformThread::CurrentId()); in on_correct_thread()
|
| D | base_impl.cc | 339 return base::PlatformThread::CurrentId(); in cef_get_current_platform_thread_id() 345 return base::PlatformThread::CurrentId(); in cef_get_current_platform_thread_handle() 347 return base::PlatformThread::CurrentHandle().platform_handle(); in cef_get_current_platform_thread_handle()
|
| /third_party/cef/libcef/browser/ |
| D | main_runner.cc | 119 class CefUIThread : public base::PlatformThread::Delegate { 127 bool success = base::PlatformThread::CreateWithPriority( in Start() 147 base::PlatformThread::Join(thread_); in Stop() 172 base::PlatformThread::SetName("CefUIThread"); in ThreadMain()
|
| D | zip_reader_impl.cc | 79 : supported_thread_id_(base::PlatformThread::CurrentId()), in CefZipReaderImpl() 276 if (base::PlatformThread::CurrentId() != supported_thread_id_) { in VerifyContext()
|
| D | xml_reader_impl.cc | 113 : supported_thread_id_(base::PlatformThread::CurrentId()), in CefXmlReaderImpl() 448 if (base::PlatformThread::CurrentId() != supported_thread_id_) { in VerifyContext()
|
| D | context.cc | 322 init_thread_id_ = base::PlatformThread::CurrentId(); in Initialize() 392 return (base::PlatformThread::CurrentId() == init_thread_id_); in OnInitThread()
|
| D | simple_menu_model_impl.cc | 45 : supported_thread_id_(base::PlatformThread::CurrentId()), in CefSimpleMenuModelImpl() 501 if (base::PlatformThread::CurrentId() != supported_thread_id_) { in VerifyContext()
|
| D | menu_model_impl.cc | 242 : supported_thread_id_(base::PlatformThread::CurrentId()), in CefMenuModelImpl() 1031 if (base::PlatformThread::CurrentId() != supported_thread_id_) { in VerifyContext()
|
| /third_party/cef/include/base/ |
| D | cef_platform_thread.h | 82 namespace PlatformThread {
|
| /third_party/cef/patch/patches/ |
| D | content_main_654986.patch | 156 - DCHECK_EQ(base::PlatformThread::CurrentId(), getpid()); 157 + // DCHECK_EQ(base::PlatformThread::CurrentId(), getpid());
|
| /third_party/cef/libcef/renderer/alloy/ |
| D | alloy_content_renderer_client.cc | 169 base::PlatformThread::YieldCurrentThread(); in RunSingleProcessCleanup()
|
| /third_party/chromium/patch/ |
| D | 0003-ohos-1115.patch | 3356 @@ -205,7 +205,7 @@ class BASE_EXPORT PlatformThread { 3369 @@ -236,7 +236,7 @@ PlatformThreadId PlatformThread::CurrentId() {
|