Home
last modified time | relevance | path

Searched refs:fSentinel (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/src/gpu/
H A DGrMemoryPool.cpp76 sk_asan_poison_memory_region(&header->fSentinel, sizeof(header->fSentinel)); in allocate()
78 header->fSentinel = SkBlockAllocator::kAssignedMarker; in allocate()
100 sk_asan_unpoison_memory_region(&header->fSentinel, sizeof(header->fSentinel)); in release()
102 SkASSERT(SkBlockAllocator::kAssignedMarker == header->fSentinel); in release()
103 header->fSentinel = SkBlockAllocator::kFreedMarker; in release()
H A DGrMemoryPool.h115 int fSentinel; // set to a known value to check for memory stomping; poisoned in ASAN mode member
/third_party/skia/src/core/
H A DSkBlockAllocator.cpp39 SkDEBUGCODE(fSentinel = kAssignedMarker;) in Block()
47 SkASSERT(fSentinel == kAssignedMarker); in ~Block()
48 SkDEBUGCODE(fSentinel = kFreedMarker;) // FWIW in ~Block()
89 SkASSERT(b->fSentinel == kAssignedMarker); in findOwningBlock()
268 SkASSERT(kAssignedMarker == block->fSentinel); in validate()
H A DSkBlockAllocator.h157 SkDEBUGCODE(int fSentinel;) // known value to check for bad back pointers to blocks
616 SkASSERT(block->fSentinel == kAssignedMarker); in owningBlock()
646 SkASSERT(fSentinel == kAssignedMarker); in resize()
677 SkASSERT(fSentinel == kAssignedMarker); in release()
/third_party/skia/src/gpu/geometry/
H A DGrQuadBuffer.h148 SkDEBUGCODE(unsigned fSentinel : 27;)
277 SkDEBUGCODE(h->fSentinel = static_cast<unsigned>(kSentinel);) in append()
323 SkASSERT(this->header(entry)->fSentinel == kSentinel); in validate()

Completed in 5 milliseconds