Home
last modified time | relevance | path

Searched refs:ScopedDisallowBlocking (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/threading/
Dthread_restrictions_unittest.cc36 TEST_F(ThreadRestrictionsTest, ScopedDisallowBlocking) { in TEST_F() argument
38 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
45 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
54 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
83 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
94 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
130 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
Dthread_restrictions.cc41 ScopedDisallowBlocking::ScopedDisallowBlocking() in ScopedDisallowBlocking() function in base::ScopedDisallowBlocking
46 ScopedDisallowBlocking::~ScopedDisallowBlocking() { in ~ScopedDisallowBlocking()
Dthread_restrictions.h199 class BASE_EXPORT ScopedDisallowBlocking {
201 ScopedDisallowBlocking() EMPTY_BODY_IF_DCHECK_IS_OFF;
202 ~ScopedDisallowBlocking() EMPTY_BODY_IF_DCHECK_IS_OFF;
209 DISALLOW_COPY_AND_ASSIGN(ScopedDisallowBlocking);
/external/cronet/base/threading/
Dthread_restrictions_unittest.cc40 TEST_F(ThreadRestrictionsTest, ScopedDisallowBlocking) { in TEST_F() argument
42 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
49 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
58 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
89 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
100 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
136 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
184 ScopedDisallowBlocking scoped_disallow_blocking; in TEST_F()
Dthread_restrictions.cc108 ScopedDisallowBlocking::ScopedDisallowBlocking() in ScopedDisallowBlocking() function in base::ScopedDisallowBlocking
111 ScopedDisallowBlocking::~ScopedDisallowBlocking() { in ~ScopedDisallowBlocking()
Dthread_restrictions.h549 class BASE_EXPORT [[maybe_unused, nodiscard]] ScopedDisallowBlocking {
551 ScopedDisallowBlocking() DEFAULT_IF_DCHECK_IS_OFF;
553 ScopedDisallowBlocking(const ScopedDisallowBlocking&) = delete;
554 ScopedDisallowBlocking& operator=(const ScopedDisallowBlocking&) = delete;
556 ~ScopedDisallowBlocking() DEFAULT_IF_DCHECK_IS_OFF;
/external/cronet/testing/data_driven_testing/
Ddata_driven_test.cc86 base::ScopedDisallowBlocking disallow_blocking; in RunOneDataDrivenTest()
/external/cronet/base/task/thread_pool/
Dtask_tracker.cc436 absl::optional<ScopedDisallowBlocking> disallow_blocking; in RunTask()
/external/cronet/base/files/
Dfile_proxy_unittest.cc163 base::ScopedDisallowBlocking disallow_blocking; in TEST_F()
/external/cronet/net/base/
Dfile_stream_unittest.cc747 base::ScopedDisallowBlocking disallow_blocking; in TEST_F()
/external/cronet/net/disk_cache/
Dbackend_unittest.cc841 absl::optional<base::ScopedDisallowBlocking> disallow_blocking( in TEST_F()
2640 base::ScopedDisallowBlocking disallow_blocking; in TEST_F()