/system/chre/platform/slpi/include/chre/target_platform/ |
D | atomic_base_impl.h | 31 mValue = startingValue; in AtomicBool() 41 return mValue; in load() 50 return qurt_atomic_set(&mValue, static_cast<unsigned int>(desired)); in exchange() 54 mValue = startingValue; in AtomicUint32() 64 return mValue; in load() 73 return qurt_atomic_set(&mValue, desired); in exchange() 78 return qurt_atomic_add_return(&mValue, arg); in fetch_add() 83 return qurt_atomic_add_return(&mValue, 1); in fetch_increment() 88 return qurt_atomic_sub_return(&mValue, arg); in fetch_sub() 93 return qurt_atomic_sub_return(&mValue, 1); in fetch_decrement()
|
D | atomic_base.h | 36 unsigned int mValue;
|
/system/chre/platform/tinysys/include/chre/target_platform/ |
D | atomic_base.h | 48 return mValue; in get() 58 mValue = value; in set() 63 volatile T mValue; 78 return atomic_swap_byte(reinterpret_cast<volatile uint8_t *>(&mValue), in swap() 95 return atomic_swap(&mValue, desired); in swap() 105 return atomic_add(&mValue, arg); in add() 115 return atomic_add(&mValue, ~arg + 1); in sub()
|
/system/core/libcutils/ |
D | properties_test.cpp | 63 PropertiesTest() : mValue() {} in PropertiesTest() 73 char mValue[PROPERTY_VALUE_MAX]; member in android::PropertiesTest 86 return property_get(PROPERTY_TEST_KEY, mValue, defaultValue); in SetAndGetProperty() 90 for (size_t i = 0; i < arraysize(mValue); ++i) { in ResetValue() 91 mValue[i] = (char) c; in ResetValue() 107 size_t len = property_get(PROPERTY_TEST_KEY, mValue, PROPERTY_TEST_VALUE_DEFAULT); in TEST_F() 109 EXPECT_STREQ(PROPERTY_TEST_VALUE_DEFAULT, mValue); in TEST_F() 116 EXPECT_STREQ("hello_world", mValue); in TEST_F() 125 EXPECT_STREQ(EMPTY_STRING_DEFAULT, mValue); in TEST_F() 135 EXPECT_STREQ(maxLengthString.c_str(), mValue); in TEST_F() [all …]
|
/system/libcppbor/include/cppbor/ |
D | cppbor.h | 276 explicit EncodedItem(std::vector<uint8_t> value) : mValue(std::move(value)) {} in EncodedItem() 278 bool operator==(const EncodedItem& other) const& { return mValue == other.mValue; } 286 size_t encodedSize() const override { return mValue.size(); } in encodedSize() 288 if (end - pos < static_cast<ssize_t>(mValue.size())) return nullptr; in encode() 289 return std::copy(mValue.begin(), mValue.end(), pos); in encode() 292 std::for_each(mValue.begin(), mValue.end(), encodeCallback); in encode() 294 std::unique_ptr<Item> clone() const override { return std::make_unique<EncodedItem>(mValue); } in clone() 297 std::vector<uint8_t> mValue; 320 explicit Uint(uint64_t v) : mValue(v) {} in Uint() 322 bool operator==(const Uint& other) const& { return mValue == other.mValue; } [all …]
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubTestConstants.java | 233 private final int mValue; field in ContextHubTestConstants.TestNames 235 this.mValue = value; in TestNames() 246 return mValue; in asInt() 328 private final int mValue; field in ContextHubTestConstants.MessageType 330 this.mValue = value; in MessageType() 341 return mValue; in asInt()
|
/system/chre/util/tests/ |
D | optional_test.cc | 127 MovableButNonCopyable(int value) : mValue(value) {} in MovableButNonCopyable() 129 mValue = other.mValue; in MovableButNonCopyable() 130 other.mValue = kInvalidValue; in MovableButNonCopyable() 135 mValue = other.mValue; in operator =() 136 other.mValue = kInvalidValue; in operator =() 142 mValue = kUninitializedMagic; in ~MovableButNonCopyable() 146 return mValue; in getValue() 154 int mValue = kInvalidValue; member in MovableButNonCopyable
|
D | dynamic_vector_test.cc | 38 if (mValue >= 0) { in ~DestructorCounter() 39 gDestructorCount[mValue]++; in ~DestructorCounter() 43 mValue = value; in setValue() 46 return mValue; in getValue() 50 int mValue = -1; member in __anon1566bc9d0111::DestructorCounter 123 MovableButNonCopyable(int value) : mValue(value) {} in MovableButNonCopyable() 126 mValue = other.mValue; in MovableButNonCopyable() 127 other.mValue = -1; in MovableButNonCopyable() 132 mValue = other.mValue; in operator =() 133 other.mValue = -1; in operator =() [all …]
|
D | segmented_queue_test.cc | 58 CopyableButNonMovable(int value) : mValue(value) {} in CopyableButNonMovable() 61 mValue = other.mValue; in CopyableButNonMovable() 66 mValue = other.mValue; in operator =() 74 return mValue; in getValue() 79 int mValue; member in __anon4772d8e60111::CopyableButNonMovable 84 MovableButNonCopyable(int value) : mValue(value) {} in MovableButNonCopyable() 87 mValue = other.mValue; in MovableButNonCopyable() 88 other.mValue = -1; in MovableButNonCopyable() 93 mValue = other.mValue; in operator =() 94 other.mValue = -1; in operator =() [all …]
|
D | priority_queue_test.cc | 27 mValue = value; in FakeElement() 32 mValue = value; in setValue() 35 return mValue; in getValue() 43 int mValue = -1; member in __anon2ccf46cc0111::FakeElement
|
D | fixed_size_vector_test.cc | 30 if (mValue >= 0) { in ~Foo() 31 destructor_count[mValue]++; in ~Foo() 35 mValue = value; in setValue() 39 int mValue = -1; member in __anone8d8fb220111::Foo
|
/system/chre/platform/arm/include/chre/target_platform/ |
D | atomic_base.h | 137 return mValue; in get() 147 mValue = value; in set() 152 volatile T mValue; 175 return atomic::swapByte(reinterpret_cast<volatile uint8_t *>(&mValue), in swap() 192 return atomic::swapWord(&mValue, desired); in swap() 202 return atomic::addToWord(&mValue, arg); in add() 212 return atomic::subFromWord(&mValue, arg); in sub()
|
/system/media/audio_utils/ |
D | fifo_index.cpp | 65 : mIndex(index), mValue(0), mWriteback(false), mWaiters(0), mWakeOp(FUTEX_WAIT_PRIVATE) 76 mValue = value; 84 mIndex.storeRelease(mValue); 129 : mIndex(index), mValue(0), mLoaded(false) 140 return mValue; 147 mValue = mIndex.loadAcquire(); 170 int err = mIndex.wait(op, mValue /*expected*/, timeout);
|
/system/libvintf/include/vintf/ |
D | CheckFlags.h | 29 [[nodiscard]] constexpr Type enable##name() const { return Type(mValue | (1 << bit)); } \ 30 [[nodiscard]] constexpr Type disable##name() const { return Type(mValue & ~(1 << bit)); } \ 31 constexpr bool is##name##Enabled() const { return mValue & (1 << bit); } 38 explicit constexpr Type(int32_t value) : mValue(value) {} in Type() 41 int32_t mValue;
|
D | SerializeFlags.h | 29 explicit constexpr Type(uint32_t value) : mValue(value) {} in Type() 32 constexpr Type enable##name() const { return Type(mValue | (1 << bit)); } \ 33 constexpr Type disable##name() const { return Type(mValue & ~(1 << bit)); } \ 34 constexpr bool is##name##Enabled() const { return mValue & (1 << bit); } 52 uint32_t mValue;
|
/system/tools/aidl/ |
D | aidl_const_expressions.cpp | 50 OverflowGuard(T value) : mValue(value) {} in OverflowGuard() 53 T operator+() { return +mValue; } in operator +() 59 return -mValue; in operator -() 61 T operator!() { return !mValue; } in operator !() 62 T operator~() { return ~mValue; } in operator ~() 66 mOverflowed = __builtin_add_overflow(mValue, o, &out); in operator +() 71 mOverflowed = __builtin_sub_overflow(mValue, o, &out); in operator -() 82 out = mValue * o; in operator *() 84 mOverflowed = __builtin_mul_overflow(mValue, o, &out); in operator *() 93 return static_cast<T>(mValue / o); in operator /() [all …]
|
/system/tools/hidl/ |
D | ConstantExpression.cpp | 193 mValue = value; in LiteralConstantExpression() 274 mValue = handleUnary(mOp, static_cast<__type__>(mUnary->mValue)); \ in evaluate() 299 mValue = handleBinaryCommon(static_cast<__type__>(mLval->mValue), mOp, \ in evaluate() 300 static_cast<__type__>(mRval->mValue)); \ in evaluate() 320 mValue = handleShift(static_cast<__type__>(mLval->mValue), newOp, numBits); \ in evaluate() 330 mValue = handleLogical(mLval->mValue, mOp, mRval->mValue); in evaluate() 348 mValue = mCond->mValue ? (static_cast<__type__>(mTrueVal->mValue)) \ in evaluate() 349 : (static_cast<__type__>(mFalseVal->mValue)); \ in evaluate() 363 mValue = expr->mValue; in evaluate() 389 mValue = enumType->numValueNames(); in evaluate() [all …]
|
D | EnumType.cpp | 812 : mName(name), mValue(value), mLocation(location), mIsAutoFill(false) {} in EnumValue() 819 CHECK(mValue != nullptr); in rawValue() 820 return mValue->rawValue(castKind); in rawValue() 824 CHECK(mValue != nullptr); in cppValue() 825 return mValue->cppValue(castKind); in cppValue() 828 CHECK(mValue != nullptr); in javaValue() 829 return mValue->javaValue(castKind); in javaValue() 833 CHECK(mValue != nullptr); in constExpr() 834 return mValue; in constExpr() 839 if (mValue != nullptr) return; in autofill() [all …]
|
D | ConstantExpression.h | 146 uint64_t mValue; member
|
D | EnumType.h | 168 ConstantExpression* mValue; member
|
/system/libcppbor/src/ |
D | cppbor.cpp | 363 Nint::Nint(int64_t v) : mValue(v) { in Nint() 382 pos = encodeHeader(mValue.size(), pos, end); in encode() 383 if (!pos || end - pos < static_cast<ptrdiff_t>(mValue.size())) return nullptr; in encode() 384 return std::copy(mValue.begin(), mValue.end(), pos); in encode() 388 for (auto c : mValue) { in encodeValue() 406 pos = encodeHeader(mValue.size(), pos, end); in encode() 407 if (!pos || end - pos < static_cast<ptrdiff_t>(mValue.size())) return nullptr; in encode() 408 return std::copy(mValue.begin(), mValue.end(), pos); in encode() 412 for (auto c : mValue) { in encodeValue() 562 return std::make_unique<SemanticTag>(mValue, mTaggedItem->clone()); in clone() [all …]
|
/system/core/healthd/ |
D | charger_test.cpp | 48 Atomic(T&& init) : mValue(std::move(init)) {} in Atomic() 52 mValue = std::move(newVal); in set() 59 [this, &expectVal] { return mValue == expectVal; }); in waitFor() 64 T mValue; member in Atomic
|
/system/media/audio_utils/include/audio_utils/ |
D | fifo_index.h | 150 uint32_t mValue; // cached value to be stored 204 uint32_t mValue; // most recently cached value
|
/system/tools/hidl/c2hal/ |
D | Expression.cpp | 104 : mType(type), mValue(value), mIsId(isId) in AtomExpression() 112 Define *define = ast.getDefinesScope().lookup(mValue); in getType() 122 return mIsId ? StringHelper::ToCase(atomCase, mValue) : mValue; in toString() 127 std::string mValue; member
|