/external/libtextclassifier/abseil-cpp/absl/base/ |
D | invoke_test.cc | 29 namespace base_internal { namespace 92 decltype(base_internal::invoke(std::declval<const F&>())) CallMaybeWithArg( in invoke() 94 return base_internal::invoke(f); in invoke() 98 decltype(base_internal::invoke(std::declval<const F&>(), 42)) CallMaybeWithArg( in CallMaybeWithArg() 100 return base_internal::invoke(f, 42); in CallMaybeWithArg() 104 EXPECT_EQ(1, base_internal::invoke(Function, 3, 2)); in TEST() 105 EXPECT_EQ(1, base_internal::invoke(&Function, 3, 2)); in TEST() 109 EXPECT_EQ(42, base_internal::invoke(Sink, make_unique<int>(42))); in TEST() 113 EXPECT_THAT(base_internal::invoke(Factory, 42), ::testing::Pointee(42)); in TEST() 116 TEST(InvokeTest, VoidResult) { base_internal::invoke(NoOp); } in TEST() [all …]
|
D | call_once.h | 48 namespace base_internal { 92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag); 101 namespace base_internal { 112 explicit SchedulingHelper(base_internal::SchedulingMode mode) : mode_(mode) { in SchedulingHelper() 113 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in SchedulingHelper() 114 guard_result_ = base_internal::SchedulingGuard::DisableRescheduling(); in SchedulingHelper() 119 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in ~SchedulingHelper() 120 base_internal::SchedulingGuard::EnableRescheduling(guard_result_); in ~SchedulingHelper() 125 base_internal::SchedulingMode mode_; 148 base_internal::SchedulingMode scheduling_mode, Callable&& fn, in CallOnceImpl() [all …]
|
D | throw_delegate_test.cc | 26 using absl::base_internal::ThrowStdLogicError; 27 using absl::base_internal::ThrowStdInvalidArgument; 28 using absl::base_internal::ThrowStdDomainError; 29 using absl::base_internal::ThrowStdLengthError; 30 using absl::base_internal::ThrowStdOutOfRange; 31 using absl::base_internal::ThrowStdRuntimeError; 32 using absl::base_internal::ThrowStdRangeError; 33 using absl::base_internal::ThrowStdOverflowError; 34 using absl::base_internal::ThrowStdUnderflowError; 35 using absl::base_internal::ThrowStdBadFunctionCall; [all …]
|
/external/openscreen/third_party/abseil/src/absl/base/ |
D | invoke_test.cc | 29 namespace base_internal { namespace 92 decltype(base_internal::invoke(std::declval<const F&>())) CallMaybeWithArg( in invoke() 94 return base_internal::invoke(f); in invoke() 98 decltype(base_internal::invoke(std::declval<const F&>(), 42)) CallMaybeWithArg( in CallMaybeWithArg() 100 return base_internal::invoke(f, 42); in CallMaybeWithArg() 104 EXPECT_EQ(1, base_internal::invoke(Function, 3, 2)); in TEST() 105 EXPECT_EQ(1, base_internal::invoke(&Function, 3, 2)); in TEST() 109 EXPECT_EQ(42, base_internal::invoke(Sink, make_unique<int>(42))); in TEST() 113 EXPECT_THAT(base_internal::invoke(Factory, 42), ::testing::Pointee(42)); in TEST() 116 TEST(InvokeTest, VoidResult) { base_internal::invoke(NoOp); } in TEST() [all …]
|
D | call_once.h | 48 namespace base_internal { 92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag); 101 namespace base_internal { 112 explicit SchedulingHelper(base_internal::SchedulingMode mode) : mode_(mode) { in SchedulingHelper() 113 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in SchedulingHelper() 114 guard_result_ = base_internal::SchedulingGuard::DisableRescheduling(); in SchedulingHelper() 119 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in ~SchedulingHelper() 120 base_internal::SchedulingGuard::EnableRescheduling(guard_result_); in ~SchedulingHelper() 125 base_internal::SchedulingMode mode_; 148 base_internal::SchedulingMode scheduling_mode, Callable&& fn, in CallOnceImpl() [all …]
|
D | throw_delegate_test.cc | 26 using absl::base_internal::ThrowStdLogicError; 27 using absl::base_internal::ThrowStdInvalidArgument; 28 using absl::base_internal::ThrowStdDomainError; 29 using absl::base_internal::ThrowStdLengthError; 30 using absl::base_internal::ThrowStdOutOfRange; 31 using absl::base_internal::ThrowStdRuntimeError; 32 using absl::base_internal::ThrowStdRangeError; 33 using absl::base_internal::ThrowStdOverflowError; 34 using absl::base_internal::ThrowStdUnderflowError; 35 using absl::base_internal::ThrowStdBadFunctionCall; [all …]
|
/external/angle/third_party/abseil-cpp/absl/base/ |
D | invoke_test.cc | 29 namespace base_internal { namespace 92 decltype(base_internal::invoke(std::declval<const F&>())) CallMaybeWithArg( in invoke() 94 return base_internal::invoke(f); in invoke() 98 decltype(base_internal::invoke(std::declval<const F&>(), 42)) CallMaybeWithArg( in CallMaybeWithArg() 100 return base_internal::invoke(f, 42); in CallMaybeWithArg() 104 EXPECT_EQ(1, base_internal::invoke(Function, 3, 2)); in TEST() 105 EXPECT_EQ(1, base_internal::invoke(&Function, 3, 2)); in TEST() 109 EXPECT_EQ(42, base_internal::invoke(Sink, make_unique<int>(42))); in TEST() 113 EXPECT_THAT(base_internal::invoke(Factory, 42), ::testing::Pointee(42)); in TEST() 116 TEST(InvokeTest, VoidResult) { base_internal::invoke(NoOp); } in TEST() [all …]
|
D | call_once.h | 48 namespace base_internal { 92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag); 101 namespace base_internal { 112 explicit SchedulingHelper(base_internal::SchedulingMode mode) : mode_(mode) { in SchedulingHelper() 113 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in SchedulingHelper() 114 guard_result_ = base_internal::SchedulingGuard::DisableRescheduling(); in SchedulingHelper() 119 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in ~SchedulingHelper() 120 base_internal::SchedulingGuard::EnableRescheduling(guard_result_); in ~SchedulingHelper() 125 base_internal::SchedulingMode mode_; 148 base_internal::SchedulingMode scheduling_mode, Callable&& fn, in CallOnceImpl() [all …]
|
D | throw_delegate_test.cc | 26 using absl::base_internal::ThrowStdLogicError; 27 using absl::base_internal::ThrowStdInvalidArgument; 28 using absl::base_internal::ThrowStdDomainError; 29 using absl::base_internal::ThrowStdLengthError; 30 using absl::base_internal::ThrowStdOutOfRange; 31 using absl::base_internal::ThrowStdRuntimeError; 32 using absl::base_internal::ThrowStdRangeError; 33 using absl::base_internal::ThrowStdOverflowError; 34 using absl::base_internal::ThrowStdUnderflowError; 35 using absl::base_internal::ThrowStdBadFunctionCall; [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/ |
D | invoke_test.cc | 29 namespace base_internal { namespace 92 decltype(base_internal::invoke(std::declval<const F&>())) CallMaybeWithArg( in invoke() 94 return base_internal::invoke(f); in invoke() 98 decltype(base_internal::invoke(std::declval<const F&>(), 42)) CallMaybeWithArg( in CallMaybeWithArg() 100 return base_internal::invoke(f, 42); in CallMaybeWithArg() 104 EXPECT_EQ(1, base_internal::invoke(Function, 3, 2)); in TEST() 105 EXPECT_EQ(1, base_internal::invoke(&Function, 3, 2)); in TEST() 109 EXPECT_EQ(42, base_internal::invoke(Sink, make_unique<int>(42))); in TEST() 113 EXPECT_THAT(base_internal::invoke(Factory, 42), ::testing::Pointee(42)); in TEST() 116 TEST(InvokeTest, VoidResult) { base_internal::invoke(NoOp); } in TEST() [all …]
|
D | call_once.h | 48 namespace base_internal { 92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag); 101 namespace base_internal { 112 explicit SchedulingHelper(base_internal::SchedulingMode mode) : mode_(mode) { in SchedulingHelper() 113 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in SchedulingHelper() 114 guard_result_ = base_internal::SchedulingGuard::DisableRescheduling(); in SchedulingHelper() 119 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in ~SchedulingHelper() 120 base_internal::SchedulingGuard::EnableRescheduling(guard_result_); in ~SchedulingHelper() 125 base_internal::SchedulingMode mode_; 148 base_internal::SchedulingMode scheduling_mode, Callable&& fn, in CallOnceImpl() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | create_thread_identity.cc | 35 static base_internal::SpinLock freelist_lock( 36 base_internal::kLinkerInitialized); 37 static base_internal::ThreadIdentity* thread_identity_freelist; 42 base_internal::ThreadIdentity* identity = in ReclaimThreadIdentity() 43 static_cast<base_internal::ThreadIdentity*>(v); in ReclaimThreadIdentity() 48 base_internal::LowLevelAlloc::Free(identity->per_thread_synch.all_locks); in ReclaimThreadIdentity() 60 base_internal::ClearCurrentThreadIdentity(); in ReclaimThreadIdentity() 62 base_internal::SpinLockHolder l(&freelist_lock); in ReclaimThreadIdentity() 74 static void ResetThreadIdentity(base_internal::ThreadIdentity* identity) { in ResetThreadIdentity() 75 base_internal::PerThreadSynch* pts = &identity->per_thread_synch; in ResetThreadIdentity() [all …]
|
/external/angle/third_party/abseil-cpp/absl/synchronization/internal/ |
D | create_thread_identity.cc | 35 ABSL_CONST_INIT static base_internal::SpinLock freelist_lock( 36 absl::kConstInit, base_internal::SCHEDULE_KERNEL_ONLY); 37 ABSL_CONST_INIT static base_internal::ThreadIdentity* thread_identity_freelist; 42 base_internal::ThreadIdentity* identity = in ReclaimThreadIdentity() 43 static_cast<base_internal::ThreadIdentity*>(v); in ReclaimThreadIdentity() 48 base_internal::LowLevelAlloc::Free(identity->per_thread_synch.all_locks); in ReclaimThreadIdentity() 60 base_internal::ClearCurrentThreadIdentity(); in ReclaimThreadIdentity() 62 base_internal::SpinLockHolder l(&freelist_lock); in ReclaimThreadIdentity() 74 static void ResetThreadIdentity(base_internal::ThreadIdentity* identity) { in ResetThreadIdentity() 75 base_internal::PerThreadSynch* pts = &identity->per_thread_synch; in ResetThreadIdentity() [all …]
|
/external/openscreen/third_party/abseil/src/absl/synchronization/internal/ |
D | create_thread_identity.cc | 35 ABSL_CONST_INIT static base_internal::SpinLock freelist_lock( 36 absl::kConstInit, base_internal::SCHEDULE_KERNEL_ONLY); 37 ABSL_CONST_INIT static base_internal::ThreadIdentity* thread_identity_freelist; 42 base_internal::ThreadIdentity* identity = in ReclaimThreadIdentity() 43 static_cast<base_internal::ThreadIdentity*>(v); in ReclaimThreadIdentity() 48 base_internal::LowLevelAlloc::Free(identity->per_thread_synch.all_locks); in ReclaimThreadIdentity() 60 base_internal::ClearCurrentThreadIdentity(); in ReclaimThreadIdentity() 62 base_internal::SpinLockHolder l(&freelist_lock); in ReclaimThreadIdentity() 74 static void ResetThreadIdentity(base_internal::ThreadIdentity* identity) { in ResetThreadIdentity() 75 base_internal::PerThreadSynch* pts = &identity->per_thread_synch; in ResetThreadIdentity() [all …]
|
/external/abseil-cpp/absl/synchronization/internal/ |
D | create_thread_identity.cc | 35 static base_internal::SpinLock freelist_lock( 36 base_internal::kLinkerInitialized); 37 static base_internal::ThreadIdentity* thread_identity_freelist; 42 base_internal::ThreadIdentity* identity = in ReclaimThreadIdentity() 43 static_cast<base_internal::ThreadIdentity*>(v); in ReclaimThreadIdentity() 48 base_internal::LowLevelAlloc::Free(identity->per_thread_synch.all_locks); in ReclaimThreadIdentity() 60 base_internal::ClearCurrentThreadIdentity(); in ReclaimThreadIdentity() 62 base_internal::SpinLockHolder l(&freelist_lock); in ReclaimThreadIdentity() 74 static void ResetThreadIdentity(base_internal::ThreadIdentity* identity) { in ResetThreadIdentity() 75 base_internal::PerThreadSynch* pts = &identity->per_thread_synch; in ResetThreadIdentity() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/ |
D | create_thread_identity.cc | 35 ABSL_CONST_INIT static base_internal::SpinLock freelist_lock( 36 absl::kConstInit, base_internal::SCHEDULE_KERNEL_ONLY); 37 ABSL_CONST_INIT static base_internal::ThreadIdentity* thread_identity_freelist; 42 base_internal::ThreadIdentity* identity = in ReclaimThreadIdentity() 43 static_cast<base_internal::ThreadIdentity*>(v); in ReclaimThreadIdentity() 48 base_internal::LowLevelAlloc::Free(identity->per_thread_synch.all_locks); in ReclaimThreadIdentity() 60 base_internal::ClearCurrentThreadIdentity(); in ReclaimThreadIdentity() 62 base_internal::SpinLockHolder l(&freelist_lock); in ReclaimThreadIdentity() 74 static void ResetThreadIdentity(base_internal::ThreadIdentity* identity) { in ResetThreadIdentity() 75 base_internal::PerThreadSynch* pts = &identity->per_thread_synch; in ResetThreadIdentity() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/ |
D | create_thread_identity.cc | 35 ABSL_CONST_INIT static base_internal::SpinLock freelist_lock( 36 absl::kConstInit, base_internal::SCHEDULE_KERNEL_ONLY); 37 ABSL_CONST_INIT static base_internal::ThreadIdentity* thread_identity_freelist; 42 base_internal::ThreadIdentity* identity = in ReclaimThreadIdentity() 43 static_cast<base_internal::ThreadIdentity*>(v); in ReclaimThreadIdentity() 48 base_internal::LowLevelAlloc::Free(identity->per_thread_synch.all_locks); in ReclaimThreadIdentity() 60 base_internal::ClearCurrentThreadIdentity(); in ReclaimThreadIdentity() 62 base_internal::SpinLockHolder l(&freelist_lock); in ReclaimThreadIdentity() 74 static void ResetThreadIdentity(base_internal::ThreadIdentity* identity) { in ResetThreadIdentity() 75 base_internal::PerThreadSynch* pts = &identity->per_thread_synch; in ResetThreadIdentity() [all …]
|
/external/abseil-cpp/absl/base/ |
D | call_once.h | 48 namespace base_internal { 92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag); 101 namespace base_internal { 112 explicit SchedulingHelper(base_internal::SchedulingMode mode) : mode_(mode) { in SchedulingHelper() 113 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in SchedulingHelper() 114 guard_result_ = base_internal::SchedulingGuard::DisableRescheduling(); in SchedulingHelper() 119 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in ~SchedulingHelper() 120 base_internal::SchedulingGuard::EnableRescheduling(guard_result_); in ~SchedulingHelper() 125 base_internal::SchedulingMode mode_; 148 base_internal::SchedulingMode scheduling_mode, Callable&& fn, in CallOnceImpl() [all …]
|
D | throw_delegate_test.cc | 26 using absl::base_internal::ThrowStdLogicError; 27 using absl::base_internal::ThrowStdInvalidArgument; 28 using absl::base_internal::ThrowStdDomainError; 29 using absl::base_internal::ThrowStdLengthError; 30 using absl::base_internal::ThrowStdOutOfRange; 31 using absl::base_internal::ThrowStdRuntimeError; 32 using absl::base_internal::ThrowStdRangeError; 33 using absl::base_internal::ThrowStdOverflowError; 34 using absl::base_internal::ThrowStdUnderflowError; 35 using absl::base_internal::ThrowStdBadFunctionCall; [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/base/ |
D | call_once.h | 48 namespace base_internal { 92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag); 101 namespace base_internal { 112 explicit SchedulingHelper(base_internal::SchedulingMode mode) : mode_(mode) { in SchedulingHelper() 113 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in SchedulingHelper() 114 guard_result_ = base_internal::SchedulingGuard::DisableRescheduling(); in SchedulingHelper() 119 if (mode_ == base_internal::SCHEDULE_KERNEL_ONLY) { in ~SchedulingHelper() 120 base_internal::SchedulingGuard::EnableRescheduling(guard_result_); in ~SchedulingHelper() 125 base_internal::SchedulingMode mode_; 148 base_internal::SchedulingMode scheduling_mode, Callable&& fn, in CallOnceImpl() [all …]
|
/external/angle/third_party/abseil-cpp/absl/hash/internal/ |
D | wyhash.cc | 43 uint64_t a = absl::base_internal::UnalignedLoad64(ptr); in Wyhash() 44 uint64_t b = absl::base_internal::UnalignedLoad64(ptr + 8); in Wyhash() 45 uint64_t c = absl::base_internal::UnalignedLoad64(ptr + 16); in Wyhash() 46 uint64_t d = absl::base_internal::UnalignedLoad64(ptr + 24); in Wyhash() 47 uint64_t e = absl::base_internal::UnalignedLoad64(ptr + 32); in Wyhash() 48 uint64_t f = absl::base_internal::UnalignedLoad64(ptr + 40); in Wyhash() 49 uint64_t g = absl::base_internal::UnalignedLoad64(ptr + 48); in Wyhash() 50 uint64_t h = absl::base_internal::UnalignedLoad64(ptr + 56); in Wyhash() 70 uint64_t a = absl::base_internal::UnalignedLoad64(ptr); in Wyhash() 71 uint64_t b = absl::base_internal::UnalignedLoad64(ptr + 8); in Wyhash() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/base/internal/ |
D | unaligned_access.h | 62 namespace base_internal { 93 (absl::base_internal::UnalignedLoad16(_p)) 95 (absl::base_internal::UnalignedLoad32(_p)) 97 (absl::base_internal::UnalignedLoad64(_p)) 100 (absl::base_internal::UnalignedStore16(_p, _val)) 102 (absl::base_internal::UnalignedStore32(_p, _val)) 104 (absl::base_internal::UnalignedStore64(_p, _val)) 110 namespace base_internal { 141 (absl::base_internal::UnalignedLoad16(_p)) 143 (absl::base_internal::UnalignedLoad32(_p)) [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/base/internal/ |
D | unaligned_access.h | 62 namespace base_internal { 93 (absl::base_internal::UnalignedLoad16(_p)) 95 (absl::base_internal::UnalignedLoad32(_p)) 97 (absl::base_internal::UnalignedLoad64(_p)) 100 (absl::base_internal::UnalignedStore16(_p, _val)) 102 (absl::base_internal::UnalignedStore32(_p, _val)) 104 (absl::base_internal::UnalignedStore64(_p, _val)) 110 namespace base_internal { 141 (absl::base_internal::UnalignedLoad16(_p)) 143 (absl::base_internal::UnalignedLoad32(_p)) [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/ |
D | unaligned_access.h | 62 namespace base_internal { 93 (absl::base_internal::UnalignedLoad16(_p)) 95 (absl::base_internal::UnalignedLoad32(_p)) 97 (absl::base_internal::UnalignedLoad64(_p)) 100 (absl::base_internal::UnalignedStore16(_p, _val)) 102 (absl::base_internal::UnalignedStore32(_p, _val)) 104 (absl::base_internal::UnalignedStore64(_p, _val)) 110 namespace base_internal { 141 (absl::base_internal::UnalignedLoad16(_p)) 143 (absl::base_internal::UnalignedLoad32(_p)) [all …]
|
/external/abseil-cpp/absl/base/internal/ |
D | unaligned_access.h | 62 namespace base_internal { 93 (absl::base_internal::UnalignedLoad16(_p)) 95 (absl::base_internal::UnalignedLoad32(_p)) 97 (absl::base_internal::UnalignedLoad64(_p)) 100 (absl::base_internal::UnalignedStore16(_p, _val)) 102 (absl::base_internal::UnalignedStore32(_p, _val)) 104 (absl::base_internal::UnalignedStore64(_p, _val)) 110 namespace base_internal { 141 (absl::base_internal::UnalignedLoad16(_p)) 143 (absl::base_internal::UnalignedLoad32(_p)) [all …]
|