Searched refs:BooleanWithStack (Results 1 – 3 of 3) sorted by relevance
27 BooleanWithStack::BooleanWithStack(bool value) : value_(value) { in BooleanWithStack() function in base::BooleanWithStack33 std::ostream& operator<<(std::ostream& out, const BooleanWithStack& bws) { in operator <<()47 ABSL_CONST_INIT thread_local BooleanWithStack tls_blocking_disallowed;48 ABSL_CONST_INIT thread_local BooleanWithStack tls_singleton_disallowed;49 ABSL_CONST_INIT thread_local BooleanWithStack51 ABSL_CONST_INIT thread_local BooleanWithStack tls_cpu_intensive_work_disallowed;75 tls_blocking_disallowed = BooleanWithStack(true); in DisallowBlocking()79 : resetter_(&tls_blocking_disallowed, BooleanWithStack(true)) {} in ScopedDisallowBlocking()89 tls_base_sync_primitives_disallowed = BooleanWithStack(true); in DisallowBaseSyncPrimitives()93 : resetter_(&tls_base_sync_primitives_disallowed, BooleanWithStack(true)) {} in ScopedDisallowBaseSyncPrimitives()[all …]
501 class BooleanWithStack {504 BooleanWithStack() = default;507 explicit BooleanWithStack(bool value);512 const BooleanWithStack& bws);558 const AutoReset<BooleanWithStack> resetter_;688 const AutoReset<BooleanWithStack> resetter_;725 const AutoReset<BooleanWithStack> resetter_;802 const AutoReset<BooleanWithStack> resetter_;911 const AutoReset<BooleanWithStack> resetter_;934 const AutoReset<BooleanWithStack> resetter_;[all …]
171 additional_space += sizeof(BooleanWithStack) * 4; in TEST_F()