Home
last modified time | relevance | path

Searched refs:PlatformThread (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dlock_test.cc27 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 …]
Dplatform_thread.cc24 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) {
Dplatform_thread.h43 class PlatformThread {
69 PlatformThread() {} in PlatformThread() function
70 NO_COPY_AND_ASSIGN(PlatformThread);
/third_party/cef/libcef_dll/base/
Dcef_lock.cc24 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()
Dcef_thread_checker_impl.cc19 return valid_thread_id_ == PlatformThread::CurrentRef(); in CalledOnValidThread()
30 valid_thread_id_ = PlatformThread::CurrentRef(); in EnsureThreadIdAssigned()
/third_party/cef/tests/cefclient/browser/
Dmain_message_loop_multithreaded_gtk.cc24 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()
Dmain_message_loop_multithreaded_win.cc23 : thread_id_(base::PlatformThread::CurrentId()), in MainMessageLoopMultithreadedWin()
95 return (thread_id_ == base::PlatformThread::CurrentId()); in RunsTasksOnCurrentThread()
Dutil_gtk.cc17 base::PlatformThreadId current_thread = base::PlatformThread::CurrentId(); in ScopedGdkThreadsEnter()
/third_party/cef/libcef/common/
Dvalue_base.h156 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()
Dbase_impl.cc339 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/
Dmain_runner.cc119 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()
Dzip_reader_impl.cc79 : supported_thread_id_(base::PlatformThread::CurrentId()), in CefZipReaderImpl()
276 if (base::PlatformThread::CurrentId() != supported_thread_id_) { in VerifyContext()
Dxml_reader_impl.cc113 : supported_thread_id_(base::PlatformThread::CurrentId()), in CefXmlReaderImpl()
448 if (base::PlatformThread::CurrentId() != supported_thread_id_) { in VerifyContext()
Dcontext.cc322 init_thread_id_ = base::PlatformThread::CurrentId(); in Initialize()
392 return (base::PlatformThread::CurrentId() == init_thread_id_); in OnInitThread()
Dsimple_menu_model_impl.cc45 : supported_thread_id_(base::PlatformThread::CurrentId()), in CefSimpleMenuModelImpl()
501 if (base::PlatformThread::CurrentId() != supported_thread_id_) { in VerifyContext()
Dmenu_model_impl.cc242 : supported_thread_id_(base::PlatformThread::CurrentId()), in CefMenuModelImpl()
1031 if (base::PlatformThread::CurrentId() != supported_thread_id_) { in VerifyContext()
/third_party/cef/include/base/
Dcef_platform_thread.h82 namespace PlatformThread {
/third_party/cef/patch/patches/
Dcontent_main_654986.patch156 - DCHECK_EQ(base::PlatformThread::CurrentId(), getpid());
157 + // DCHECK_EQ(base::PlatformThread::CurrentId(), getpid());
/third_party/cef/libcef/renderer/alloy/
Dalloy_content_renderer_client.cc169 base::PlatformThread::YieldCurrentThread(); in RunSingleProcessCleanup()
/third_party/chromium/patch/
D0003-ohos-1115.patch3356 @@ -205,7 +205,7 @@ class BASE_EXPORT PlatformThread {
3369 @@ -236,7 +236,7 @@ PlatformThreadId PlatformThread::CurrentId() {