Searched refs:gEmptyRec (Results 1 – 2 of 2) sorted by relevance
188 const SkString::Rec SkString::gEmptyRec = { 0, 0, 0 }; member in SkString190 #define SizeOfRec() (gEmptyRec.data() - (const char*)&gEmptyRec)215 rec = const_cast<Rec*>(&gEmptyRec); in AllocRec()232 if (src != &gEmptyRec) { in RefRec()241 SkASSERT(0 == gEmptyRec.fLength); in validate()242 SkASSERT(0 == gEmptyRec.fRefCnt); in validate()243 SkASSERT(0 == gEmptyRec.data()[0]); in validate()245 if (fRec != &gEmptyRec) { in validate()255 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()282 src.fRec = const_cast<Rec*>(&gEmptyRec); in SkString()[all …]
258 static const Rec gEmptyRec; variable