Searched refs:gEmptyRec (Results 1 – 2 of 2) sorted by relevance
194 const SkString::Rec SkString::gEmptyRec = { 0, 0, 0 }; member in SkString196 #define SizeOfRec() (gEmptyRec.data() - (const char*)&gEmptyRec)202 rec = const_cast<Rec*>(&gEmptyRec); in AllocRec()217 if (src != &gEmptyRec) { in RefRec()230 SkASSERT(gEmptyRec.fLength == 0); in validate()231 SkASSERT(gEmptyRec.fRefCnt == 0); in validate()232 SkASSERT(gEmptyRec.data()[0] == 0); in validate()234 if (fRec != &gEmptyRec) { in validate()245 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()339 fRec = const_cast<Rec*>(&gEmptyRec); in reset()
177 static const Rec gEmptyRec; variable