/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, in exchange() 55 mValue = startingValue; in AtomicUint32() 65 return mValue; in load() 74 return qurt_atomic_set(&mValue, desired); in exchange() 79 return qurt_atomic_add_return(&mValue, arg); in fetch_add() 84 return qurt_atomic_add_return(&mValue, 1); in fetch_increment() 89 return qurt_atomic_sub_return(&mValue, arg); in fetch_sub() 94 return qurt_atomic_sub_return(&mValue, 1); in fetch_decrement()
|
D | atomic_base.h | 33 unsigned int mValue;
|
/system/netd/libnetdutils/include/netdutils/ |
D | StatusOr.h | 44 StatusOr(const T& value) : mStatus(status::ok), mValue(value) {} in StatusOr() 46 StatusOr(T&& value) : mStatus(status::ok), mValue(std::move(value)) {} in StatusOr() 59 const T& value() const & { return mValue; } in value() 60 const T&& value() const && { return mValue; } in value() 68 T& value() & { return mValue; } in value() 69 T&& value() && { return mValue; } in value() 83 T mValue; variable
|
D | Handle.h | 51 constexpr Handle(const T& value) : mValue(value) {} in Handle() 53 const T get() const { return mValue; } in get() 59 T mValue;
|
/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/chre/util/tests/ |
D | optional_test.cc | 125 MovableButNonCopyable(int value) : mValue(value) {} in MovableButNonCopyable() 127 mValue = other.mValue; in MovableButNonCopyable() 128 other.mValue = kInvalidValue; in MovableButNonCopyable() 133 mValue = other.mValue; in operator =() 134 other.mValue = kInvalidValue; in operator =() 140 mValue = kUninitializedMagic; in ~MovableButNonCopyable() 144 return mValue; in getValue() 152 int mValue = kInvalidValue; member in MovableButNonCopyable
|
D | dynamic_vector_test.cc | 33 if (mValue >= 0) { in ~Dummy() 34 gDestructorCount[mValue]++; in ~Dummy() 38 mValue = value; in setValue() 41 return mValue; in getValue() 45 int mValue = -1; member in __anon1566bc9d0111::Dummy 118 MovableButNonCopyable(int value) : mValue(value) {} in MovableButNonCopyable() 121 mValue = other.mValue; in MovableButNonCopyable() 122 other.mValue = -1; in MovableButNonCopyable() 127 mValue = other.mValue; in operator =() 128 other.mValue = -1; in operator =() [all …]
|
D | priority_queue_test.cc | 11 mValue = value; in DummyElement() 16 mValue = value; in setValue() 19 return mValue; in getValue() 27 int mValue = -1; member in __anon2ccf46cc0111::DummyElement
|
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/media/audio_utils/ |
D | fifo_index.cpp | 55 : mIndex(index), mValue(0), mWriteback(false), mWaiters(0), mWakeOp(FUTEX_WAIT_PRIVATE) in RefIndexDeferredStoreReleaseDeferredWake() 66 mValue = value; in set() 74 mIndex.storeRelease(mValue); in writeback() 119 : mIndex(index), mValue(0), mLoaded(false) in RefIndexCachedLoadAcquireDeferredWait() 130 return mValue; in get() 137 mValue = mIndex.loadAcquire(); in prefetch() 160 int err = mIndex.wait(op, mValue /*expected*/, timeout); in wait()
|
/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/hidl/ |
D | ConstantExpression.cpp | 187 mValue = value; in LiteralConstantExpression() 268 mValue = handleUnary(mOp, static_cast<__type__>(mUnary->mValue)); \ in evaluate() 293 mValue = handleBinaryCommon(static_cast<__type__>(mLval->mValue), mOp, \ in evaluate() 294 static_cast<__type__>(mRval->mValue)); \ in evaluate() 314 mValue = handleShift(static_cast<__type__>(mLval->mValue), newOp, numBits); \ in evaluate() 324 mValue = handleLogical(mLval->mValue, mOp, mRval->mValue); in evaluate() 342 mValue = mCond->mValue ? (static_cast<__type__>(mTrueVal->mValue)) \ in evaluate() 343 : (static_cast<__type__>(mFalseVal->mValue)); \ in evaluate() 357 mValue = expr->mValue; in evaluate() 383 mValue = enumType->numValueNames(); in evaluate() [all …]
|
D | EnumType.cpp | 779 : mName(name), mValue(value), mLocation(location), mIsAutoFill(false) {} in EnumValue() 786 CHECK(mValue != nullptr); in rawValue() 787 return mValue->rawValue(castKind); in rawValue() 791 CHECK(mValue != nullptr); in cppValue() 792 return mValue->cppValue(castKind); in cppValue() 795 CHECK(mValue != nullptr); in javaValue() 796 return mValue->javaValue(castKind); in javaValue() 800 CHECK(mValue != nullptr); in constExpr() 801 return mValue; in constExpr() 806 if (mValue != nullptr) return; in autofill() [all …]
|
D | ConstantExpression.h | 146 uint64_t mValue; member
|
D | EnumType.h | 166 ConstantExpression* mValue; member
|
/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 | 134 uint32_t mValue; // cached value to be stored variable 188 uint32_t mValue; // most recently cached value variable
|
/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
|