Lines Matching full:scratch
507 const SkFlatData& scratch = this->resetScratch(element, this->count()+1);
509 SkFlatData* candidate = fHash.find(scratch);
532 SkFlatData* scratch = (SkFlatData*)fScratch.getWriter32()->contiguousArray();
533 SkASSERT(scratch != nullptr);
534 scratch->stampHeader(index, SkToS32(dataSize));
535 return *scratch;
540 // Allocate a new SkFlatData exactly big enough to hold our current scratch.
545 // Copy scratch into the new SkFlatData.
546 SkFlatData* scratch = (SkFlatData*)fScratch.getWriter32()->contiguousArray();
547 SkASSERT(scratch != nullptr);
548 memcpy(detached, scratch, fScratch.bytesWritten());