Home
last modified time | relevance | path

Searched refs:gEmptyRec (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/core/
DSkString.cpp184 const SkString::Rec SkString::gEmptyRec(0, 0); member in SkString
186 #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 …]
/third_party/skia/include/core/
DSkString.h271 static const Rec gEmptyRec; variable