Searched refs:gEmptyRec (Results 1 – 4 of 4) sorted by relevance
179 const SkString::Rec SkString::gEmptyRec(0, 0); member in SkString181 #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()[all …]
268 static const Rec gEmptyRec; variable