Home
last modified time | relevance | path

Searched refs:mValue (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dserial_utils.h24 constexpr ResourceSerial() : mValue(kDirty) {} in ResourceSerial()
25 explicit constexpr ResourceSerial(uintptr_t value) : mValue(value) {} in ResourceSerial()
26 constexpr bool operator==(ResourceSerial other) const { return mValue == other.mValue; }
27 constexpr bool operator!=(ResourceSerial other) const { return mValue != other.mValue; }
29 void dirty() { mValue = kDirty; } in dirty()
30 void clear() { mValue = kEmpty; } in clear()
32 constexpr bool valid() const { return mValue != kEmpty && mValue != kDirty; } in valid()
33 constexpr bool empty() const { return mValue == kEmpty; } in empty()
39 uintptr_t mValue; variable
45 constexpr Serial() : mValue(kInvalid) {} in Serial()
[all …]
/third_party/skia/third_party/externals/dawn/src/common/
DRefBase.h39 RefBase() : mValue(Traits::kNullValue) { in RefBase()
43 Release(mValue); in ~RefBase()
56 RefBase(T value) : mValue(value) { in RefBase()
66 RefBase(const RefBase<T, Traits>& other) : mValue(other.mValue) { in RefBase()
67 Reference(other.mValue); in RefBase()
71 Set(other.mValue);
76 mValue = other.Detach(); in RefBase()
81 Release(mValue);
82 mValue = other.Detach();
91 RefBase(const RefBase<U, UTraits>& other) : mValue(other.mValue) { in RefBase()
[all …]
DTypedInteger.h68 T mValue; variable
71 constexpr TypedIntegerImpl() : mValue(0) { in TypedIntegerImpl()
82 explicit constexpr TypedIntegerImpl(I rhs) : mValue(static_cast<T>(rhs)) { in TypedIntegerImpl()
89 return static_cast<T>(this->mValue); in T()
95 return mValue op rhs.mValue; \
107 ASSERT(this->mValue < std::numeric_limits<T>::max());
108 ++this->mValue;
115 ASSERT(this->mValue < std::numeric_limits<T>::max());
116 ++this->mValue;
121 assert(this->mValue > std::numeric_limits<T>::min());
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
DSynchronizedValue.h29 ConstStrictLockPtr(const T &value, Lockable &mutex) : mLock(mutex), mValue(value) {} in ConstStrictLockPtr()
31 : mLock(mutex, std::adopt_lock), mValue(value) in ConstStrictLockPtr()
35 : mLock(std::move(other.mLock)), mValue(other.mValue) in ConstStrictLockPtr()
43 const T *operator->() const { return &mValue; }
44 const T &operator*() const { return mValue; }
48 T const &mValue; variable
72 T *operator->() { return const_cast<T *>(&this->mValue); }
73 T &operator*() { return const_cast<T &>(this->mValue); }
98 ConstUniqueLockPtr(const T &value, Lockable &mutex) : BaseType(mutex), mValue(value) {}
100 : BaseType(mutex, std::adopt_lock), mValue(value)
[all …]
DOptional.h18 Optional() : mValid(false), mValue(T()) {} in Optional()
20 Optional(const T &valueIn) : mValid(true), mValue(valueIn) {} in Optional()
22 Optional(const Optional &other) : mValid(other.mValid), mValue(other.mValue) {} in Optional()
27 this->mValue = other.mValue;
33 mValue = value;
40 mValue = std::move(value);
49 return std::move(mValue); in release()
55 T &value() { return mValue; } in value()
56 const T &value() const { return mValue; } in value()
60 return ((mValid == other.mValid) && (!mValid || (mValue == other.mValue)));
[all …]
Ddebug.h173 FmtHexHelper(const char *prefix, T value) : mPrefix(prefix), mValue(value) {} in FmtHexHelper()
174 explicit FmtHexHelper(T value) : mPrefix(nullptr), mValue(value) {} in FmtHexHelper()
178 T mValue; variable
186 return FmtHexAutoSized(os, fmt.mValue);
DPackedEnums.h47 EnumIterator(E value) : mValue(static_cast<UnderlyingType>(value)) {} in EnumIterator()
50 mValue++;
53 bool operator==(const EnumIterator &other) const { return mValue == other.mValue; }
54 bool operator!=(const EnumIterator &other) const { return mValue != other.mValue; }
55 E operator*() const { return static_cast<E>(mValue); }
58 UnderlyingType mValue;
/third_party/skia/third_party/externals/angle2/src/common/spirv/
Dspirv_types.h25 BoxedUint32() : mValue{0} {} in BoxedUint32()
26 explicit BoxedUint32(uint32_t value) : mValue{value} {} in BoxedUint32()
30 return T{mValue}; in as()
34 operator uint32_t() const { return mValue.value; } in uint32_t()
35 bool operator==(const BoxedUint32 &other) const { return mValue.value == other.mValue.value; }
37 bool valid() const { return static_cast<bool>(mValue.value); } in valid()
40 Helper mValue;
58 return mValue.value; in uint32_t()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DSymbolEnv.cpp86 TemplateArg::TemplateArg(bool value) : mKind(Kind::Bool), mValue(value) {} in TemplateArg()
88 TemplateArg::TemplateArg(int value) : mKind(Kind::Int), mValue(value) {} in TemplateArg()
90 TemplateArg::TemplateArg(unsigned value) : mKind(Kind::UInt), mValue(value) {} in TemplateArg()
92 TemplateArg::TemplateArg(const TType &value) : mKind(Kind::Type), mValue(value) {} in TemplateArg()
104 return mValue.b == other.mValue.b; in operator ==()
106 return mValue.i == other.mValue.i; in operator ==()
108 return mValue.u == other.mValue.u; in operator ==()
110 return *mValue.t == *other.mValue.t; in operator ==()
129 return mValue.b < other.mValue.b; in operator <()
131 return mValue.i < other.mValue.i; in operator <()
[all …]
DSymbolEnv.h107 Value value() const { return mValue; }
111 Value mValue;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DConcurrentCacheTests.cpp25 explicit SimpleCachedObject(size_t value) : mValue(value) { in SimpleCachedObject()
29 return mValue; in GetValue()
34 return a->mValue == b->mValue; in operator ()()
40 return obj->mValue; in operator ()()
45 size_t mValue; member in __anonc7e094a70111::SimpleCachedObject
/third_party/skia/third_party/externals/oboe/include/oboe/
DResultWithValue.h56 : mValue{} in ResultWithValue()
65 : mValue(value) in ResultWithValue()
82 return mValue; in value()
135 const T mValue;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DResourceMap.h72 IndexAndResource mValue; variable
319 return &mValue;
326 return mValue;
334 mValue.first = mFlatIndex; in updateValue()
335 mValue.second = mOrigin.mFlatResources[mFlatIndex]; in updateValue()
339 mValue.first = mHashIndex->first; in updateValue()
340 mValue.second = mHashIndex->second; in updateValue()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanFunctions.h313 return mValue; in VkResult()
318 constexpr VkResult(::VkResult value) : mValue(value) { in VkResult()
321 ::VkResult mValue;
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp1692 const E mValue; member in mozilla::CastableTypedEnumResult
1696 : mValue(aValue) in CastableTypedEnumResult()
1699 constexpr operator E() const { return mValue; } in operator E()
1703 operator DestinationType() const { return DestinationType(mValue); } in operator DestinationType()
1705 constexpr bool operator !() const { return !bool(mValue); } in operator !()
46925 : mValue(aValue) in AsVariantTemporary()
46930 : mValue(Forward<U>(aValue)) in AsVariantTemporary()
46934 : mValue(aOther.mValue) in AsVariantTemporary()
46938 : mValue(Move(aOther.mValue)) in AsVariantTemporary()
46945 typename RemoveConst<typename RemoveReference<T>::Type>::Type mValue; member
[all …]
/third_party/node/deps/npm/tap-snapshots/test/lib/commands/
Ddoctor.js.test.cjs72 Check Value Recommendation/Notes
1395 Check Value Recommendation/Notes
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DGLSLTest.cpp9218 const std::array<GLfloat, 32> mValue = {{0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 0.5f, 0.0f, 0.0f, in TEST_P() local
9222 glUniformMatrix4fv(matrixLocation, 2, false, mValue.data()); in TEST_P()