Lines Matching refs:mValue

1692   const E mValue;
1696 : mValue(aValue)
1699 constexpr operator E() const { return mValue; }
1703 operator DestinationType() const { return DestinationType(mValue); }
1705 constexpr bool operator !() const { return !bool(mValue); }
46925 : mValue(aValue)
46930 : mValue(Forward<U>(aValue))
46934 : mValue(aOther.mValue)
46938 : mValue(Move(aOther.mValue))
46945 typename RemoveConst<typename RemoveReference<T>::Type>::Type mValue;
47005 ::new (KnownNotNull, ptr()) T(Move(aValue.mValue));
50157 ValueType mValue;
50160 constexpr AtomicBase() : mValue() {}
50162 : mValue(ToStorageTypeArgument<T>::convert(aInit))
50172 Intrinsics::store(mValue, aVal);
50182 return Intrinsics::exchange(mValue, aVal);
50187 return Intrinsics::compareExchange(mValue, aOldValue, aNewValue);
50206 operator T() const { return Base::Intrinsics::load(Base::mValue); }
50207 T operator++(int) { return Base::Intrinsics::inc(Base::mValue); }
50208 T operator--(int) { return Base::Intrinsics::dec(Base::mValue); }
50209 T operator++() { return Base::Intrinsics::inc(Base::mValue) + 1; }
50210 T operator--() { return Base::Intrinsics::dec(Base::mValue) - 1; }
50239 return Base::Intrinsics::add(Base::mValue, aDelta) + aDelta;
50244 return Base::Intrinsics::sub(Base::mValue, aDelta) - aDelta;
50249 return Base::Intrinsics::or_(Base::mValue, aVal) | aVal;
50254 return Base::Intrinsics::xor_(Base::mValue, aVal) ^ aVal;
50259 return Base::Intrinsics::and_(Base::mValue, aVal) & aVal;
50279 return Base::Intrinsics::add(Base::mValue, aDelta) + aDelta;
50284 return Base::Intrinsics::sub(Base::mValue, aDelta) - aDelta;
50306 operator T() const { return T(Base::Intrinsics::load(Base::mValue)); }
50327 return Base::Intrinsics::load(Base::mValue);
50369 : mValue(Traits::empty())
50376 : mValue(aValue)
50384 : mValue(Move(aOther.mValue))
50387 aOther.mValue = Traits::empty();
50390 ~Scoped() { Traits::release(mValue); }
50393 operator const Resource&() const { return mValue; }
50394 const Resource& operator->() const { return mValue; }
50395 const Resource& get() const { return mValue; }
50397 Resource& rwget() { return mValue; }
50401 Resource tmp = mValue;
50402 mValue = Traits::empty();
50413 Traits::release(mValue);
50414 mValue = Traits::empty();
50417 bool operator==(const Resource& aOther) const { return mValue == aOther; }
50423 Traits::release(mValue);
50424 mValue = aOther;
50442 Resource mValue;
51755 nsAutoRefCnt() : mValue(0) {}
51756 explicit nsAutoRefCnt(nsrefcnt aValue) : mValue(aValue) {}
51762 nsrefcnt operator++() { return ++mValue; }
51763 nsrefcnt operator--() { return --mValue; }
51765 nsrefcnt operator=(nsrefcnt aValue) { return (mValue = aValue); }
51766 operator nsrefcnt() const { return mValue; }
51767 nsrefcnt get() const { return mValue; }
51773 nsrefcnt mValue;
51780 ThreadSafeAutoRefCnt() : mValue(0) {}
51781 explicit ThreadSafeAutoRefCnt(nsrefcnt aValue) : mValue(aValue) {}
51790 return mValue.fetch_add(1, std::memory_order_relaxed) + 1;
51798 nsrefcnt result = mValue.fetch_sub(1, std::memory_order_release) - 1;
51804 result = mValue.load(std::memory_order_acquire);
51813 mValue.store(aValue, std::memory_order_release);
51821 return mValue.load(std::memory_order_acquire);
51828 std::atomic<nsrefcnt> mValue;
59247 , mValue(nullptr)
59256 const nsAttrValue* mValue;
59667 constexpr BaseTimeDuration() : mValue(0) {}
59671 BaseTimeDuration(_SomethingVeryRandomHere* aZero) : mValue(0)
59680 : mValue(aOther.mValue)
59686 mValue = aOther.mValue;
59692 if (mValue == (9223372036854775807L)) {
59695 if (mValue == (-9223372036854775807L -1)) {
59698 return BaseTimeDurationPlatformUtils::ToSeconds(mValue);
59705 if (mValue == (9223372036854775807L)) {
59708 if (mValue == (-9223372036854775807L -1)) {
59711 return BaseTimeDurationPlatformUtils::ToSecondsSigDigits(mValue);
59748 return FromTicks(ValueCalculator::Add(mValue, aOther.mValue));
59752 return FromTicks(ValueCalculator::Subtract(mValue, aOther.mValue));
59756 mValue = ValueCalculator::Add(mValue, aOther.mValue);
59761 mValue = ValueCalculator::Subtract(mValue, aOther.mValue);
59769 if (mValue == (9223372036854775807L)) {
59771 } else if (mValue == (-9223372036854775807L -1)) {
59774 ticks = -mValue;
59783 return FromTicks(std::max(aA.mValue, aB.mValue));
59788 return FromTicks(std::min(aA.mValue, aB.mValue));
59804 return FromTicks(ValueCalculator::Multiply(mValue, aMultiplier));
59808 return FromTicks(ValueCalculator::Multiply(mValue, aMultiplier));
59812 return FromTicks(ValueCalculator::Multiply(mValue, aMultiplier));
59816 return FromTicks(ValueCalculator::Multiply(mValue, aMultiplier));
59823 return FromTicks(ValueCalculator::Multiply(mValue, aMultiplier));
59828 return FromTicks(ValueCalculator::Divide(mValue, aDivisor));
59836 return ValueCalculator::DivideDouble(mValue, aOther.mValue);
59841 return FromTicks(ValueCalculator::Modulo(mValue, aOther.mValue));
59847 return mValue < aOther.mValue;
59852 return mValue <= aOther.mValue;
59857 return mValue >= aOther.mValue;
59862 return mValue > aOther.mValue;
59867 return mValue == aOther.mValue;
59872 return mValue != aOther.mValue;
59876 return mValue == 0;
59880 return mValue != 0;
59905 t.mValue = aTicks;
59926 int64_t mValue;
59971 constexpr TimeStamp() : mValue(0) {}
59973 bool IsNull() const { return mValue == 0; }
59981 return mValue != 0;
60004 int64_t ticks = int64_t(mValue - aOther.mValue);
60006 if (mValue > aOther.mValue) {
60033 TimeStampValue value = mValue + aOther.mValue;
60037 if (aOther.mValue < 0 && value > mValue) {
60040 mValue = value;
60046 TimeStampValue value = mValue - aOther.mValue;
60050 if (aOther.mValue > 0 && value > mValue) {
60053 mValue = value;
60061 return mValue < aOther.mValue;
60067 return mValue <= aOther.mValue;
60073 return mValue >= aOther.mValue;
60079 return mValue > aOther.mValue;
60085 : !aOther.IsNull() && mValue == aOther.mValue;
60103 TimeStamp(TimeStampValue aValue) : mValue(aValue) {}
60109 TimeStampValue mValue;
62490 T mValue;
62494 explicit Opaque(T aValue) : mValue(aValue) {}
62497 return mValue == aOther.mValue;
76076 return CheckedInt<T>(0, aVal.isValid() && aVal.mValue == 0);
76087 if (!aVal.isValid() || aVal.mValue == MinValue<T>::value) {
76088 return CheckedInt<T>(aVal.mValue, false);
76090 return CheckedInt<T>(-aVal.mValue, true);
76100 T mValue;
76104 CheckedInt(U aValue, bool aIsValid) : mValue(aValue), mIsValid(aIsValid)
76117 : mValue(T(aValue)),
76131 CheckedInt<U> ret(mValue);
76137 constexpr CheckedInt() : mValue(0), mIsValid(true)
76147 return mValue;
76202 return mIsValid && aOther.mIsValid && mValue == aOther.mValue;
76247 template<typename T> inline CheckedInt<T> operator +(const CheckedInt<T>& aLhs, const CheckedInt<T>& aRhs) { if (!detail::IsAddValid(aLhs.mValue, aRhs.mValue)) { return CheckedInt<T>(0, false); } return CheckedInt<T>(aLhs.mValue + aRhs.mValue, aLhs.mIsValid && aRhs.mIsValid); }
76248 template<typename T> inline CheckedInt<T> operator -(const CheckedInt<T>& aLhs, const CheckedInt<T>& aRhs) { if (!detail::IsSubValid(aLhs.mValue, aRhs.mValue)) { return CheckedInt<T>(0, false); } return CheckedInt<T>(aLhs.mValue - aRhs.mValue, aLhs.mIsValid && aRhs.mIsValid); }
76249 template<typename T> inline CheckedInt<T> operator *(const CheckedInt<T>& aLhs, const CheckedInt<T>& aRhs) { if (!detail::IsMulValid(aLhs.mValue, aRhs.mValue)) { return CheckedInt<T>(0, false); } return CheckedInt<T>(aLhs.mValue * aRhs.mValue, aLhs.mIsValid && aRhs.mIsValid); }
76250 template<typename T> inline CheckedInt<T> operator /(const CheckedInt<T>& aLhs, const CheckedInt<T>& aRhs) { if (!detail::IsDivValid(aLhs.mValue, aRhs.mValue)) { return CheckedInt<T>(0, false); } return CheckedInt<T>(aLhs.mValue / aRhs.mValue, aLhs.mIsValid && aRhs.mIsValid); }
76251 template<typename T> inline CheckedInt<T> operator %(const CheckedInt<T>& aLhs, const CheckedInt<T>& aRhs) { if (!detail::IsModValid(aLhs.mValue, aRhs.mValue)) { return CheckedInt<T>(0, false); } return CheckedInt<T>(aLhs.mValue % aRhs.mValue, aLhs.mIsValid && aRhs.mIsValid); }
80864 nsAttrValue mValue;
80868 , mValue(aValue)
80926 return BorrowedAttrInfo(&mAttrs[aIndex].mName, &mAttrs[aIndex].mValue);
80942 return &mAttrs[i].mValue;
80951 return &mAttrs[i].mValue;
81180 nsAttrValue mValue;
86707 Maybe<T> mValue;
86711 : mValue()
86715 : mValue()
86719 : mValue()
86721 mValue.emplace(aValue);
86725 : mValue()
86727 mValue.emplace(mozilla::Move(aValue));
86731 : mValue(mozilla::Move(aOther.mValue))
86735 : mValue(aOther.mValue)
86740 mValue = aOther.mValue;
86745 mValue.reset();
86746 mValue.emplace(aArgs);
86751 mValue.reset();
86752 mValue.emplace(mozilla::Move(aArgs));
86759 if (mValue.isNothing()) {
86760 mValue.emplace();
86762 return mValue.ref();
86766 mValue.reset();
86770 return mValue.ref();
86774 return mValue.ref();
86778 return mValue.isNothing();
86783 return mValue == aOtherNullable.mValue;
86798 return aStream << aNullable.mValue;
91839 explicit nsUint32HashKey(KeyTypePointer aKey) : mValue(*aKey) {}
91840 nsUint32HashKey(const nsUint32HashKey& aToCopy) : mValue(aToCopy.mValue) {}
91843 KeyType GetKey() const { return mValue; }
91844 bool KeyEquals(KeyTypePointer aKey) const { return *aKey == mValue; }
91851 const uint32_t mValue;
91865 explicit nsUint64HashKey(KeyTypePointer aKey) : mValue(*aKey) {}
91866 nsUint64HashKey(const nsUint64HashKey& aToCopy) : mValue(aToCopy.mValue) {}
91869 KeyType GetKey() const { return mValue; }
91870 bool KeyEquals(KeyTypePointer aKey) const { return *aKey == mValue; }
91880 const uint64_t mValue;
91894 explicit nsFloatHashKey(KeyTypePointer aKey) : mValue(*aKey) {}
91895 nsFloatHashKey(const nsFloatHashKey& aToCopy) : mValue(aToCopy.mValue) {}
91898 KeyType GetKey() const { return mValue; }
91899 bool KeyEquals(KeyTypePointer aKey) const { return *aKey == mValue; }
91909 const float mValue;
93833 nsString mValue;
106349 return mValue & 0x1;
106364 return reinterpret_cast<nsStyleSet*>(mValue);
106370 return reinterpret_cast<ServoStyleSet*>(mValue & ~0x1);
106472 uintptr_t mValue;
106475 StyleSetHandle() { mPtr.mValue = 0; }
106476 StyleSetHandle(const StyleSetHandle& aOth) { mPtr.mValue = aOth.mPtr.mValue; }
106484 mPtr.mValue = reinterpret_cast<uintptr_t>(aStyleSet);
106493 mPtr.mValue =
106503 explicit operator bool() const { return !!mPtr.mValue; }
106504 bool operator!() const { return !mPtr.mValue; }
114600 uint32_t mValue;
114607 return (a.mTag < b.mTag) || ((a.mTag == b.mTag) && (a.mValue < b.mValue));
114613 return (a.mTag == b.mTag) && (a.mValue == b.mValue);
114713 float mValue;
114719 return (a.mTag == b.mTag) && (a.mValue == b.mValue);
115588 PropertyValue() : mProperty(nullptr), mValue(nullptr) {}
115590 : mProperty(aProperty), mValue(aValue) {}
115592 bool IsArray() { return !mProperty && mValue; }
115596 return reinterpret_cast<nsTArray<PropertyValue>*>(&mValue);
115601 mProperty->mDestructor(mValue);
115603 mProperty->mDestructorWithFrame(aFrame, mValue);
115622 void* mValue;
117917 SetValue(mUnit, mValue, aOther);
117973 return ConvertsToLength(mUnit, mValue);
117986 return ToLength(GetUnit(), mValue);
118033 "aValue must be an enum that fits within mValue.mInt!");
118062 nsStyleUnion mValue;
118190 mValue.mInt = aValue;
118196 InitWithValue(mUnit, mValue, aCopy);
118202 InitWithValue(mUnit, mValue, aUnit, aValue);
118214 return mValue.mInt;
118225 return mValue.mInt;
118234 return mValue.mFloat;
118243 return mValue.mFloat;
118253 return mValue.mFloat;
118263 return mValue.mFloat;
118272 return mValue.mFloat;
118281 return AsCalcValue(mValue);
118336 SetValue(aUnit, aValue, aOther.mUnit, aOther.mValue);
118343 InitWithValue(aUnit, aValue, aOther.mUnit, aOther.mValue);
122392 Value mValue;
122411 return mValue.mHTMLImageElement.Value();
122415 return mValue.mHTMLImageElement.SetValue();
122422 return mValue.mHTMLImageElement.Value();
122426 return mValue.mHTMLImageElement.SetValue();
122439 return mValue.mHTMLImageElement.Value();
122446 return mValue.mHTMLImageElement.Value();
122453 return mValue.mHTMLVideoElement.Value();
122457 return mValue.mHTMLVideoElement.SetValue();
122464 return mValue.mHTMLVideoElement.Value();
122468 return mValue.mHTMLVideoElement.SetValue();
122481 return mValue.mHTMLVideoElement.Value();
122488 return mValue.mHTMLVideoElement.Value();
122495 return mValue.mHTMLCanvasElement.Value();
122499 return mValue.mHTMLCanvasElement.SetValue();
122506 return mValue.mHTMLCanvasElement.Value();
122510 return mValue.mHTMLCanvasElement.SetValue();
122523 return mValue.mHTMLCanvasElement.Value();
122530 return mValue.mHTMLCanvasElement.Value();
122537 return mValue.mBlob.Value();
122541 return mValue.mBlob.SetValue();
122548 return mValue.mBlob.Value();
122552 return mValue.mBlob.SetValue();
122565 return mValue.mBlob.Value();
122572 return mValue.mBlob.Value();
122579 return mValue.mImageData.Value();
122583 return mValue.mImageData.SetValue();
122590 return mValue.mImageData.Value();
122594 return mValue.mImageData.SetValue();
122607 return mValue.mImageData.Value();
122614 return mValue.mImageData.Value();
122621 return mValue.mCanvasRenderingContext2D.Value();
122625 return mValue.mCanvasRenderingContext2D.SetValue();
122632 return mValue.mCanvasRenderingContext2D.Value();
122636 return mValue.mCanvasRenderingContext2D.SetValue();
122649 return mValue.mCanvasRenderingContext2D.Value();
122656 return mValue.mCanvasRenderingContext2D.Value();
122663 return mValue.mImageBitmap.Value();
122667 return mValue.mImageBitmap.SetValue();
122674 return mValue.mImageBitmap.Value();
122678 return mValue.mImageBitmap.SetValue();
122691 return mValue.mImageBitmap.Value();
122698 return mValue.mImageBitmap.Value();
122705 return mValue.mArrayBufferView.Value();
122709 return mValue.mArrayBufferView.SetValue(cx);
122716 return mValue.mArrayBufferView.Value();
122720 return mValue.mArrayBufferView.SetValue(cx);
122733 return mValue.mArrayBufferView.Value();
122740 return mValue.mArrayBufferView.Value();
122747 return mValue.mArrayBuffer.Value();
122751 return mValue.mArrayBuffer.SetValue(cx);
122758 return mValue.mArrayBuffer.Value();
122762 return mValue.mArrayBuffer.SetValue(cx);
122775 return mValue.mArrayBuffer.Value();
122782 return mValue.mArrayBuffer.Value();
122839 mValue.mHTMLImageElement.Destroy();
122847 mValue.mHTMLVideoElement.Destroy();
122855 mValue.mHTMLCanvasElement.Destroy();
122863 mValue.mBlob.Destroy();
122871 mValue.mImageData.Destroy();
122879 mValue.mCanvasRenderingContext2D.Destroy();
122887 mValue.mImageBitmap.Destroy();
122895 mValue.mArrayBufferView.Destroy();
122903 mValue.mArrayBuffer.Destroy();
122941 Value mValue;
122975 return mValue.mHTMLImageElement.Value();
122982 return mValue.mHTMLImageElement.Value();
123004 return mValue.mHTMLVideoElement.Value();
123011 return mValue.mHTMLVideoElement.Value();
123033 return mValue.mHTMLCanvasElement.Value();
123040 return mValue.mHTMLCanvasElement.Value();
123062 return mValue.mBlob.Value();
123069 return mValue.mBlob.Value();
123091 return mValue.mImageData.Value();
123098 return mValue.mImageData.Value();
123120 return mValue.mCanvasRenderingContext2D.Value();
123127 return mValue.mCanvasRenderingContext2D.Value();
123149 return mValue.mImageBitmap.Value();
123156 return mValue.mImageBitmap.Value();
123178 return mValue.mArrayBufferView.Value();
123185 return mValue.mArrayBufferView.Value();
123207 return mValue.mArrayBuffer.Value();
123214 return mValue.mArrayBuffer.Value();
147980 Value mValue;
147999 return mValue.mElementCreationOptions.Value();
148003 return mValue.mElementCreationOptions.SetValue();
148010 return mValue.mElementCreationOptions.Value();
148014 return mValue.mElementCreationOptions.SetValue();
148027 return mValue.mElementCreationOptions.Value();
148034 return mValue.mElementCreationOptions.Value();
148041 return mValue.mString.Value();
148045 return mValue.mString.SetValue();
148052 return mValue.mString.Value();
148056 return mValue.mString.SetValue();
148069 return mValue.mString.Value();
148076 return mValue.mString.Value();
148105 mValue.mElementCreationOptions.Destroy();
148113 mValue.mString.Destroy();
148137 Value mValue;
148175 return mValue.mElementCreationOptions.Value();
148182 return mValue.mElementCreationOptions.Value();
148210 return mValue.mString.Value();
148217 return mValue.mString.Value();
151791 T mValue;
151819 return mValue;
151828 mValue = aValue;
155105 SequenceTracer<V>::TraceSequence(trc, &entry.mValue, &entry.mValue + 1);
156547 Value mValue;
156566 return mValue.mExternal.Value();
156570 return mValue.mExternal.SetValue();
156577 return mValue.mExternal.Value();
156581 return mValue.mExternal.SetValue();
156594 return mValue.mExternal.Value();
156601 return mValue.mExternal.Value();
156608 return mValue.mWindowProxy.Value();
156612 return mValue.mWindowProxy.SetValue();
156619 return mValue.mWindowProxy.Value();
156623 return mValue.mWindowProxy.SetValue();
156636 return mValue.mWindowProxy.Value();
156643 return mValue.mWindowProxy.Value();
156672 mValue.mExternal.Destroy();
156680 mValue.mWindowProxy.Destroy();
156704 Value mValue;
156742 return mValue.mExternal.Value();
156749 return mValue.mExternal.Value();
156771 return mValue.mWindowProxy.Value();
156778 return mValue.mWindowProxy.Value();
157604 T mValue;
157609 , mValue(aValue)
157615 mLocation = mValue;
157619 return mValue;
162845 Value mValue;
162864 return mValue.mDouble.Value();
162868 return mValue.mDouble.SetValue();
162875 return mValue.mDouble.Value();
162879 return mValue.mDouble.SetValue();
162892 return mValue.mDouble.Value();
162899 return mValue.mDouble.Value();
162906 return mValue.mDoubleSequence.Value();
162910 return mValue.mDoubleSequence.SetValue();
162917 return mValue.mDoubleSequence.Value();
162921 return mValue.mDoubleSequence.SetValue();
162934 return mValue.mDoubleSequence.Value();
162941 return mValue.mDoubleSequence.Value();
162970 mValue.mDouble.Destroy();
162978 mValue.mDoubleSequence.Destroy();
163002 Value mValue;
163040 return mValue.mDouble.Value();
163047 return mValue.mDouble.Value();
163069 return mValue.mDoubleSequence.Value();
163076 return mValue.mDoubleSequence.Value();
166083 mValue.reset(NS_strdup(v));
166085 mValue = nullptr;
166096 return mValue.get();
166100 UniquePtr<const char, NSFreePolicy> mValue;
166465 , mValue(aValue)
166473 , mValue(static_cast<int16_t>(aValue))
166476 "aValue must be an enum that fits within mValue");
166480 int16_t mValue;
166562 "aValue must be an enum that fits within KTableEntry::mValue");
166574 "aValue must be an enum that fits within KTableEntry::mValue");
167944 , mValue(aOther.mValue)
168028 return mValue.mInt;
168034 return static_cast<nsCSSKeyword>(mValue.mInt);
168040 return mValue.mFloat;
168047 return mValue.mFloat;
168054 return mValue.mFloat;
168067 uint32_t len = NS_strlen(GetBufferValue(mValue.mString));
168068 mValue.mString->ToString(len, aBuffer);
168075 return GetBufferValue(mValue.mString);
168083 return mValue.mComplexColor->ToComplexColor();
168089 return mValue.mArray;
168097 mValue.mURL->GetURI() : mValue.mImage->GetURI();
168103 return mValue.mGradient;
168109 return mValue.mTokenStream;
168115 return mValue.mSharedList;
168124 return mValue.mFontFamilyList;
168149 return mValue.mURL;
168155 return mValue.mImage;
168162 return mValue.mGridTemplateAreas;
168170 mValue.mURL->mString :
168171 mValue.mImage->mString);
168190 return mValue.mFloatColor;
168195 return mValue.mAtom;
168213 "aValue must be an enum that fits within mValue.mInt");
168347 } mValue;
168451 nsCSSValue mValue;
168456 : mValue(aCopy.mValue), mNext(nullptr)
168524 return mValue.mList;
168527 return mValue.mListDependent;
168535 return mValue.mList;
168538 return mValue.mListDependent;
168618 return *mValue.mRect;
168625 return *mValue.mRect;
168815 return *mValue.mPair;
168822 return *mValue.mPair;
168829 return *mValue.mTriplet;
168836 return *mValue.mTriplet;
168892 return mValue.mPairList;
168895 return mValue.mPairListDependent;
168903 return mValue.mPairList;
168906 return mValue.mPairListDependent;
171707 , mValue(aValue)
171713 nsString mValue;
176000 int32_t mValue;
176003 return mValue == aOther.mValue && mCounter == aOther.mCounter;
176057 mIncrements[aIndex].mValue = aIncrement;
176072 mResets[aIndex].mValue = aValue;