Lines Matching refs:gEmptyRec
179 const SkString::Rec SkString::gEmptyRec(0, 0); member in SkString
181 #define SizeOfRec() (gEmptyRec.data() - (const char*)&gEmptyRec)
204 return sk_sp<SkString::Rec>(const_cast<Rec*>(&gEmptyRec)); in Make()
227 if (this == &SkString::gEmptyRec) { in ref()
234 if (this == &SkString::gEmptyRec) { in unref()
251 SkASSERT(0 == gEmptyRec.fLength); in validate()
252 SkASSERT(0 == gEmptyRec.fRefCnt.load(std::memory_order_relaxed)); in validate()
253 SkASSERT(0 == gEmptyRec.data()[0]); in validate()
255 if (fRec.get() != &gEmptyRec) { in validate()
265 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()
292 src.fRec.reset(const_cast<Rec*>(&gEmptyRec)); in SkString()
343 fRec.reset(const_cast<Rec*>(&gEmptyRec)); in reset()