Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkString.cpp179 const SkString::Rec SkString::gEmptyRec(0, 0); member in SkString
181 #define SizeOfRec() (gEmptyRec.data() - (const char*)&gEmptyRec)
204 return sk_sp<SkString::Rec>(const_cast<Rec*>(&gEmptyRec)); in Make()
227 if (this == &SkString::gEmptyRec) { in ref()
234 if (this == &SkString::gEmptyRec) { in unref()
251 SkASSERT(0 == gEmptyRec.fLength); in validate()
252 SkASSERT(0 == gEmptyRec.fRefCnt.load(std::memory_order_relaxed)); in validate()
253 SkASSERT(0 == gEmptyRec.data()[0]); in validate()
255 if (fRec.get() != &gEmptyRec) { in validate()
265 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()
[all …]
/external/skia/src/core/
DSkString.cpp183 const SkString::Rec SkString::gEmptyRec(0, 0); member in SkString
185 #define SizeOfRec() (gEmptyRec.data() - (const char*)&gEmptyRec)
208 return sk_sp<SkString::Rec>(const_cast<Rec*>(&gEmptyRec)); in Make()
231 if (this == &SkString::gEmptyRec) { in ref()
238 if (this == &SkString::gEmptyRec) { in unref()
255 SkASSERT(0 == gEmptyRec.fLength); in validate()
256 SkASSERT(0 == gEmptyRec.fRefCnt.load(std::memory_order_relaxed)); in validate()
257 SkASSERT(0 == gEmptyRec.data()[0]); in validate()
259 if (fRec.get() != &gEmptyRec) { in validate()
270 SkString::SkString() : fRec(const_cast<Rec*>(&gEmptyRec)) { in SkString()
[all …]
/external/skqp/include/core/
DSkString.h268 static const Rec gEmptyRec; variable
/external/skia/include/core/
DSkString.h263 static const Rec gEmptyRec; variable