Lines Matching refs:Calc
117895 struct Calc final : public CalcValue {
117896 public: MozExternalRefCountType AddRef(void) { static_assert(!mozilla::IsDestructible<Calc>::value, "Reference-counted class " "Calc" " should not have a public destructor. " "Make this class's destructor non-public"); do { } while (0); nsrefcnt count = ++mRefCnt; ; return (nsrefcnt) count; } MozExternalRefCountType Release(void) { do { } while (0); nsrefcnt count = --mRefCnt; ; if (count == 0) { delete (this); return 0; } return count; } typedef mozilla::TrueType HasThreadSafeRefCnt; protected: ::mozilla::ThreadSafeAutoRefCnt mRefCnt; public:
117897 Calc() {}
117900 Calc(const Calc&) = delete;
117901 ~Calc() {}
117902 Calc& operator=(const Calc&) = delete;
117990 static Calc* AsCalcValue(nsStyleUnion aValue) {
117991 return static_cast<Calc*>(aValue.mPointer);
118003 Calc* GetCalcValue() const;
118027 void SetCalcValue(Calc* aValue);
118277 inline nsStyleCoord::Calc* nsStyleCoord::GetCalcValue() const
118294 static_cast<Calc*>(aValue.mPointer)->Release();
118325 static_cast<Calc*>(aValue.mPointer)->AddRef();
177296 void Gecko_AddRefCalcArbitraryThread(nsStyleCoord::Calc* aPtr); void Gecko_ReleaseCalcArbitraryThread(nsStyleCoord::Calc* aPtr);;