Searched refs:gEmptyRec (Results 1 – 4 of 4) sorted by relevance
186 const SkString::Rec SkString::gEmptyRec = { 0, 0, 0 }; member in SkString188 #define SizeOfRec() (gEmptyRec.data() - (const char*)&gEmptyRec)194 rec = const_cast<Rec*>(&gEmptyRec); in AllocRec()209 if (src != &gEmptyRec) { in RefRec()218 SkASSERT(0 == gEmptyRec.fLength); in validate()219 SkASSERT(0 == gEmptyRec.fRefCnt); in validate()220 SkASSERT(0 == gEmptyRec.data()[0]); in validate()222 if (fRec != &gEmptyRec) { in validate()233 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()327 fRec = const_cast<Rec*>(&gEmptyRec); in reset()
188 const SkString::Rec SkString::gEmptyRec = { 0, 0, 0 }; member in SkString190 #define SizeOfRec() (gEmptyRec.data() - (const char*)&gEmptyRec)196 rec = const_cast<Rec*>(&gEmptyRec); in AllocRec()211 if (src != &gEmptyRec) { in RefRec()220 SkASSERT(0 == gEmptyRec.fLength); in validate()221 SkASSERT(0 == gEmptyRec.fRefCnt); in validate()222 SkASSERT(0 == gEmptyRec.data()[0]); in validate()224 if (fRec != &gEmptyRec) { in validate()235 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()329 fRec = const_cast<Rec*>(&gEmptyRec); in reset()
170 static const Rec gEmptyRec; variable
221 static const Rec gEmptyRec; variable