/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | serial_utils.h | 24 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/ |
D | RefBase.h | 39 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 …]
|
D | TypedInteger.h | 68 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/ |
D | SynchronizedValue.h | 29 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 …]
|
D | Optional.h | 18 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 …]
|
D | debug.h | 173 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);
|
D | PackedEnums.h | 47 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/flutter/skia/third_party/externals/angle2/src/common/ |
D | Optional.h | 18 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); 50 const T &value() const { return mValue; } in value() 54 return ((mValid == other.mValid) && (!mValid || (mValue == other.mValue))); 59 bool operator==(const T &value) const { return mValid && (mValue == value); } 65 T mValue; member
|
D | PackedEnums.h | 47 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;
|
D | debug.h | 151 FmtHexHelper(const char *prefix, T value) : mPrefix(prefix), mValue(value) {} in FmtHexHelper() 152 explicit FmtHexHelper(T value) : mPrefix(nullptr), mValue(value) {} in FmtHexHelper() 156 T mValue; variable 164 return FmtHexAutoSized(os, fmt.mValue);
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | renderer_utils.h | 50 constexpr ResourceSerial() : mValue(kDirty) {} in ResourceSerial() 51 explicit constexpr ResourceSerial(uintptr_t value) : mValue(value) {} in ResourceSerial() 52 constexpr bool operator==(ResourceSerial other) const { return mValue == other.mValue; } 53 constexpr bool operator!=(ResourceSerial other) const { return mValue != other.mValue; } 55 void dirty() { mValue = kDirty; } in dirty() 56 void clear() { mValue = kEmpty; } in clear() 58 constexpr bool valid() const { return mValue != kEmpty && mValue != kDirty; } in valid() 59 constexpr bool empty() const { return mValue == kEmpty; } in empty() 65 uintptr_t mValue; variable 71 constexpr Serial() : mValue(kInvalid) {} in Serial() [all …]
|
/third_party/skia/third_party/externals/angle2/src/common/spirv/ |
D | spirv_types.h | 25 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/ |
D | SymbolEnv.cpp | 86 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 …]
|
D | SymbolEnv.h | 107 Value value() const { return mValue; } 111 Value mValue;
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ConcurrentCacheTests.cpp | 25 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 __anond37b7da60111::SimpleCachedObject
|
/third_party/skia/third_party/externals/oboe/include/oboe/ |
D | ResultWithValue.h | 56 : mValue{} in ResultWithValue() 65 : mValue(value) in ResultWithValue() 82 return mValue; in value() 135 const T mValue;
|
/third_party/boost/libs/optional/test/ |
D | optional_test_member_T.cpp | 29 T mValue; member 35 x->mValue = Status::CONNECTED; in test_member_T() 37 BOOST_TEST(x->mValue == Status::CONNECTED); in test_member_T()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | ResourceMap.h | 72 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/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | ResourceMap.h | 71 IndexAndResource mValue; variable 298 return &mValue; 305 return mValue; 313 mValue.first = mFlatIndex; in updateValue() 314 mValue.second = mOrigin.mFlatResources[mFlatIndex]; in updateValue() 318 mValue.first = mHashIndex->first; in updateValue() 319 mValue.second = mHashIndex->second; in updateValue()
|
/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrColorMatrixFragmentProcessor.cpp | 58 const SkMatrix44& mValue = _outer.m; in onSetData() local 59 if (mPrev != (mValue)) { in onSetData() 60 mPrev = mValue; in onSetData() 61 pdman.setSkMatrix44(mVar, mValue); in onSetData()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | VulkanFunctions.h | 313 return mValue; in VkResult() 318 constexpr VkResult(::VkResult value) : mValue(value) { in VkResult() 321 ::VkResult mValue;
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | GLSLTest.cpp | 9218 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()
|