Home
last modified time | relevance | path

Searched refs:firstHeapAllocation (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/
DGrSubRunAllocator.cpp16 GrBagOfBytes::GrBagOfBytes(char* bytes, size_t size, size_t firstHeapAllocation) in GrBagOfBytes() argument
17 : fFibProgression(size, firstHeapAllocation) { in GrBagOfBytes()
19 SkASSERT_RELEASE(firstHeapAllocation < kMaxByteSize); in GrBagOfBytes()
29 GrBagOfBytes::GrBagOfBytes(size_t firstHeapAllocation) in GrBagOfBytes() argument
30 : GrBagOfBytes(nullptr, 0, firstHeapAllocation) {} in GrBagOfBytes()
79 GrSubRunAllocator::GrSubRunAllocator(char* bytes, int size, int firstHeapAllocation) in GrSubRunAllocator() argument
80 : fAlloc{bytes, SkTo<size_t>(size), SkTo<size_t>(firstHeapAllocation)} {} in GrSubRunAllocator()
82 GrSubRunAllocator::GrSubRunAllocator(int firstHeapAllocation) in GrSubRunAllocator() argument
83 : GrSubRunAllocator(nullptr, 0, firstHeapAllocation) {} in GrSubRunAllocator()
DGrSubRunAllocator.h20 GrBagOfBytes(char* block, size_t blockSize, size_t firstHeapAllocation);
21 explicit GrBagOfBytes(size_t firstHeapAllocation = 0);
163 GrSubRunAllocator(char* block, int blockSize, int firstHeapAllocation);
164 explicit GrSubRunAllocator(int firstHeapAllocation = 0);
/external/skia/src/core/
DSkArenaAlloc.h108 SkArenaAlloc(char* block, size_t blockSize, size_t firstHeapAllocation);
110 explicit SkArenaAlloc(size_t firstHeapAllocation) in SkArenaAlloc() argument
111 : SkArenaAlloc(nullptr, 0, firstHeapAllocation) {} in SkArenaAlloc()
291 SkArenaAllocWithReset(char* block, size_t blockSize, size_t firstHeapAllocation);
293 explicit SkArenaAllocWithReset(size_t firstHeapAllocation) in SkArenaAllocWithReset() argument
294 : SkArenaAllocWithReset(nullptr, 0, firstHeapAllocation) {} in SkArenaAllocWithReset()
313 explicit SkSTArenaAlloc(size_t firstHeapAllocation = InlineStorageSize)
314 : SkArenaAlloc{this->data(), this->size(), firstHeapAllocation} {}
321 explicit SkSTArenaAllocWithReset(size_t firstHeapAllocation = InlineStorageSize)
322 : SkArenaAllocWithReset{this->data(), this->size(), firstHeapAllocation} {}
DSkArenaAlloc.cpp14 SkArenaAlloc::SkArenaAlloc(char* block, size_t size, size_t firstHeapAllocation) in SkArenaAlloc() argument
18 , fFibonacciProgression{ToU32(size), ToU32(firstHeapAllocation)}
145 size_t firstHeapAllocation) in SkArenaAllocWithReset() argument
146 : SkArenaAlloc(block, size, firstHeapAllocation) in SkArenaAllocWithReset()
149 , fFirstHeapAllocationSize{to_uint32_t(firstHeapAllocation)} {}
/external/skqp/src/core/
DSkArenaAlloc.cpp14 static uint32_t first_allocated_block(uint32_t blockSize, uint32_t firstHeapAllocation) { in first_allocated_block() argument
15 return firstHeapAllocation > 0 ? firstHeapAllocation : in first_allocated_block()
19 SkArenaAlloc::SkArenaAlloc(char* block, size_t size, size_t firstHeapAllocation) in SkArenaAlloc() argument
25 , fFirstHeapAllocationSize {first_allocated_block(ToU32(size), ToU32(firstHeapAllocation))}
/external/skqp/include/private/
DSkArenaAlloc.h66 SkArenaAlloc(char* block, size_t blockSize, size_t firstHeapAllocation);
68 explicit SkArenaAlloc(size_t firstHeapAllocation) in SkArenaAlloc() argument
69 : SkArenaAlloc(nullptr, 0, firstHeapAllocation) in SkArenaAlloc()
231 explicit SkSTArenaAlloc(size_t firstHeapAllocation = InlineStorageSize)
232 : INHERITED(fInlineStorage, InlineStorageSize, firstHeapAllocation) {} in INHERITED() argument
/external/skia/tests/
DGrTextBlobTest.cpp211 explicit GrSTSubRunAllocator(int firstHeapAllocation = in GrSTSubRunAllocator() argument
213 : GrSubRunAllocator{this->data(), SkTo<int>(this->size()), firstHeapAllocation} {} in GrSTSubRunAllocator()