Lines Matching refs:fStorageUsed
244 , fStorageUsed(0) in SkTextBlobBuilder()
383 if (safe.add(fStorageUsed, size) <= fStorageSize && safe) { in reserve()
390 SkASSERT(0 == fStorageUsed); in reserve()
394 fStorageUsed = SkAlignPtr(sizeof(SkTextBlob)); in reserve()
397 fStorageSize = safe.add(fStorageUsed, size); in reserve()
456 fStorageUsed += sizeDelta; in mergeRun()
458 SkASSERT(fStorageUsed <= fStorageSize); in mergeRun()
459 run->validate(fStorage.get() + fStorageUsed); in mergeRun()
485 SkASSERT(fStorageUsed >= SkAlignPtr(sizeof(SkTextBlob))); in allocInternal()
486 SkASSERT(fStorageUsed + runSize <= fStorageSize); in allocInternal()
488 SkTextBlob::RunRecord* run = new (fStorage.get() + fStorageUsed) in allocInternal()
495 fLastRun = fStorageUsed; in allocInternal()
496 fStorageUsed += runSize; in allocInternal()
499 SkASSERT(fStorageUsed <= fStorageSize); in allocInternal()
500 run->validate(fStorage.get() + fStorageUsed); in allocInternal()
581 SkASSERT(fStorageUsed == 0); in make()
604 run->validate(reinterpret_cast<const uint8_t*>(blob) + fStorageUsed); in make()
607 SkASSERT(validateSize == fStorageUsed); in make()
612 fStorageUsed = 0; in make()