/aosp12/art/libartbase/base/ |
H A D | atomic.h | 67 bool CompareAndSetStrongSequentiallyConsistent(T expected_value, T desired_value) { in PACKED() 72 bool CompareAndSetWeakSequentiallyConsistent(T expected_value, T desired_value) { in PACKED() 73 return this->compare_exchange_weak(expected_value, desired_value, std::memory_order_seq_cst); in PACKED() 78 bool CompareAndSetStrongRelaxed(T expected_value, T desired_value) { in PACKED() 85 bool CompareAndSetStrongRelease(T expected_value, T desired_value) { in PACKED() 90 bool CompareAndSetWeakRelaxed(T expected_value, T desired_value) { in PACKED() 97 bool CompareAndSetWeakAcquire(T expected_value, T desired_value) { in PACKED() 104 bool CompareAndSetWeakRelease(T expected_value, T desired_value) { in PACKED() 108 bool CompareAndSet(T expected_value, in PACKED() 113 ? this->compare_exchange_strong(expected_value, desired_value, memory_order) in PACKED() [all …]
|
/aosp12/art/dex2oat/linker/ |
H A D | elf_writer_test.cc | 43 #define EXPECT_ELF_FILE_ADDRESS(ef, expected_value, symbol_name, build_map) \ argument 49 if ((expected_value) == nullptr) { \ 50 (expected_value) = addr; \ 52 EXPECT_EQ(expected_value, addr); \ 53 EXPECT_EQ(expected_value, (ef)->FindDynamicSymbolAddress(symbol_name)); \
|
/aosp12/packages/services/Car/cpp/security/vehicle_binding_util/tests/ |
H A D | VehicleBindingIntegrationTedt.cpp | 49 std::string expected_value = "1"; in TEST() local 53 expected_value = ""; in TEST() 56 ASSERT_EQ(expected_value, android::base::GetProperty("vold.storage_seed_bound", "")); in TEST()
|
/aosp12/art/runtime/mirror/ |
H A D | var_handle.cc | 816 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local 825 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local 835 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local 965 expected_value, in Dispatch() 1072 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local 1081 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local 1091 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local 1224 T expected_value = ValueGetter<T>::Get(getter); in Dispatch() local 1226 MaybeByteSwap(byte_swap, &expected_value); in Dispatch() 1237 MaybeByteSwap(byte_swap, &expected_value); in Dispatch() [all …]
|
H A D | object.cc | 171 uint32_t expected_value, new_value; in GenerateIdentityHashCode() local 173 expected_value = hash_code_seed.load(std::memory_order_relaxed); in GenerateIdentityHashCode() 174 new_value = expected_value * 1103515245 + 12345; in GenerateIdentityHashCode() 175 } while (!hash_code_seed.CompareAndSetWeakRelaxed(expected_value, new_value) || in GenerateIdentityHashCode() 176 (expected_value & LockWord::kHashMask) == 0); in GenerateIdentityHashCode() 177 return expected_value & LockWord::kHashMask; in GenerateIdentityHashCode()
|
/aosp12/system/core/init/test_service/ |
H A D | test_service.cpp | 63 std::string expected_value = argv[i + 1]; in main() local 66 if (f->second != expected_value) { in main() 67 LOG(ERROR) << "field '" << argv[i] << "' expected '" << expected_value in main()
|
/aosp12/system/update_engine/update_manager/ |
H A D | update_time_restrictions_policy_impl_unittest.cc | 54 const EvalStatus& expected_value, in TestPolicy() argument 71 expected_value, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy() 72 if (expected_value == EvalStatus::kSucceeded) in TestPolicy()
|
/aosp12/system/libbase/ |
H A D | properties.cpp | 141 const std::string* expected_value; member 147 if (*data->expected_value == value) { in WaitForPropertyCallback() 196 bool WaitForProperty(const std::string& key, const std::string& expected_value, in WaitForProperty() argument 203 data.expected_value = &expected_value; in WaitForProperty()
|
/aosp12/bionic/tests/ |
H A D | buffer_tests.cpp | 219 uint8_t expected_value; in VerifyFencepost() local 222 expected_value = 0xad; in VerifyFencepost() 224 expected_value = 0xde; in VerifyFencepost() 226 ASSERT_EQ(expected_value, buffer[i]); in VerifyFencepost()
|
H A D | system_properties_test.cpp | 473 const std::string& expected_value) { in TEST() argument 475 EXPECT_EQ(static_cast<int>(expected_value.size()), system_properties.Get(name.c_str(), value)) in TEST() 477 EXPECT_EQ(expected_value, value) << name; in TEST() 481 const std::string& expected_value) { in TEST() argument 491 EXPECT_EQ(expected_value, value) << name; in TEST()
|
H A D | wchar_test.cpp | 446 T expected_value, ptrdiff_t expected_len) { in TestSingleWcsToInt() argument 448 ASSERT_EQ(expected_value, fn(str, &p, base)); in TestSingleWcsToInt() 812 T expected_value, ptrdiff_t expected_len) { in TestSingleWcsToFloat() argument 814 ASSERT_EQ(expected_value, fn(str, &p)); in TestSingleWcsToFloat()
|
/aosp12/hardware/google/pixel/rebalance_interrupts/ |
H A D | rebalance_interrupts.cpp | 189 void ReportIfAffinityUpdated(const std::string expected_value, in ReportIfAffinityUpdated() argument 194 if (readback != expected_value) { in ReportIfAffinityUpdated() 200 report += ": found " + readback + " vs " + expected_value + "\n"; in ReportIfAffinityUpdated()
|
/aosp12/art/runtime/gc/accounting/ |
H A D | remembered_set.cc | 45 void operator()(uint8_t* card, uint8_t expected_value, uint8_t new_value ATTRIBUTE_UNUSED) const { in operator ()() argument 46 if (expected_value == CardTable::kCardDirty) { in operator ()()
|
H A D | mod_union_table.cc | 45 uint8_t expected_value, in operator ()() argument 47 if (expected_value == CardTable::kCardDirty) { in operator ()() 62 uint8_t expected_value, in operator ()() argument 64 if (expected_value == CardTable::kCardDirty) { in operator ()()
|
/aosp12/system/libbase/include/android-base/ |
H A D | properties.h | 61 bool WaitForProperty(const std::string& key, const std::string& expected_value,
|
/aosp12/system/connectivity/wificond/tests/ |
H A D | nl80211_attribute_unittest.cpp | 306 std::vector<uint8_t> expected_value{{'a', 'b', 'c', 'd', 'e'}}; in TEST() local 307 EXPECT_EQ(expected_value, attr1.GetValue()); in TEST()
|
H A D | scan_utils_unittest.cpp | 123 MATCHER_P2(DoesNL80211PacketHaveAttributeWithUint32Value, attr, expected_value, 130 return actual_value == expected_value;
|
/aosp12/art/compiler/optimizing/ |
H A D | graph_checker.h | 82 uint32_t expected_value,
|
H A D | intrinsics_x86.cc | 1967 Location expected_value, in GenPrimitiveLockedCmpxchg() argument 1976 DCHECK_EQ(expected_value.AsRegister<Register>(), EAX); in GenPrimitiveLockedCmpxchg() 1998 codegen->Move32(Location::RegisterLocation(EAX), expected_value); in GenPrimitiveLockedCmpxchg() 2006 DCHECK_EQ(expected_value.AsRegisterPairLow<Register>(), EAX); in GenPrimitiveLockedCmpxchg() 2007 DCHECK_EQ(expected_value.AsRegisterPairHigh<Register>(), EDX); in GenPrimitiveLockedCmpxchg() 2021 Location expected_value, in GenPrimitiveCAS() argument 2068 Location expected_value, in GenReferenceCAS() argument 2083 Register expected = expected_value.AsRegister<Register>(); in GenReferenceCAS() 2166 Location expected_value = locations->InAt(3); in GenCAS() local 2181 GenPrimitiveCAS(type, codegen, expected_value, new_value, base, offset, out); in GenCAS() [all …]
|
H A D | graph_checker.cc | 589 uint32_t expected_value, in CheckTypeCheckBitstringInput() argument 602 if (actual_value != expected_value) { in CheckTypeCheckBitstringInput() 608 expected_value)); in CheckTypeCheckBitstringInput()
|
/aosp12/frameworks/base/cmds/idmap2/tests/ |
H A D | IdmapTests.cpp | 51 #define ASSERT_TARGET_INLINE_ENTRY(entry, target_resid, expected_type, expected_value) \ argument 54 ASSERT_EQ((entry).value.data_value, (expected_value))
|
/aosp12/system/unwinding/libunwindstack/tests/ |
H A D | DwarfOpTest.cpp | 228 TypeParam expected_value = 0; in TYPED_TEST_P() local 229 memcpy(&expected_value, &value, i); in TYPED_TEST_P() 230 ASSERT_EQ(expected_value, this->op_->StackAt(0)) << "Failed at size " << i; in TYPED_TEST_P()
|
/aosp12/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 1482 mirror::Object* expected_value = shadow_frame->GetVRegReference(arg_offset + 4); in UnstartedUnsafeCompareAndSwapObject() local 1509 expected_value, in UnstartedUnsafeCompareAndSwapObject() 1515 expected_value, in UnstartedUnsafeCompareAndSwapObject()
|
/aosp12/hardware/interfaces/keymaster/3.0/vts/functional/ |
H A D | keymaster_hidl_hal_test.cpp | 190 bool contains(hidl_vec<KeyParameter>& set, TypedTag<tag_type, tag> ttag, ValueT expected_value) { in contains() argument 192 return param.tag == tag && accessTagValue(ttag, param) == expected_value; in contains()
|
/aosp12/hardware/interfaces/keymaster/4.0/vts/functional/ |
H A D | keymaster_hidl_hal_test.cpp | 85 bool contains(hidl_vec<KeyParameter>& set, TypedTag<tag_type, tag> ttag, ValueT expected_value) { in contains() argument 87 return param.tag == tag && accessTagValue(ttag, param) == expected_value; in contains()
|