Lines Matching refs:fLength
221 rec->fLength = SkToU32(len); in AllocRec()
241 SkASSERT(0 == gEmptyRec.fLength); in validate()
246 SkASSERT(fRec->fLength > 0); in validate()
248 SkASSERT(0 == fRec->data()[fRec->fLength]); in validate()
281 if (fRec->fLength) { in ~SkString()
300 return fRec->fLength == len && !memcmp(fRec->data(), text, len); in equals()
325 if (fRec->fLength) { in reset()
338 if (fRec->fLength) { in writable_str()
340 Rec* rec = AllocRec(fRec->data(), fRec->fLength); in writable_str()
362 } else if (1 == fRec->fRefCnt && len <= fRec->fLength) { in set()
370 fRec->fLength = SkToU32(len); in set()
371 } else if (1 == fRec->fRefCnt && (fRec->fLength >> 2) == (len >> 2)) { in set()
378 fRec->fLength = SkToU32(len); in set()
399 } else if (count <= fRec->fLength) { in setUTF16()
401 if (count < fRec->fLength) { in setUTF16()
426 size_t length = fRec->fLength; in insert()
456 fRec->fLength = SkToU32(length + len); in insert()
461 SkString tmp(fRec->fLength + len); in insert()
468 if (offset < fRec->fLength) { in insert()
470 fRec->fLength - offset); in insert()