Searched refs:gEmptyRec (Results 1 – 2 of 2) sorted by relevance
184 const SkString::Rec SkString::gEmptyRec(0, 0); member in SkString186 #define SizeOfRec() (gEmptyRec.data() - (const char*)&gEmptyRec)209 return sk_sp<SkString::Rec>(const_cast<Rec*>(&gEmptyRec)); in Make()232 if (this == &SkString::gEmptyRec) { in ref()239 if (this == &SkString::gEmptyRec) { in unref()260 SkASSERT(0 == gEmptyRec.fLength); in validate()261 SkASSERT(0 == gEmptyRec.getRefCnt()); in validate()262 SkASSERT(0 == gEmptyRec.data()[0]); in validate()264 if (fRec.get() != &gEmptyRec) { in validate()275 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()[all …]
271 static const Rec gEmptyRec; variable