Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrTRecorder.h58 : fHeadBlock(MemBlock::Alloc(LengthOf(initialSizeInBytes), nullptr)), in GrTRecorder()
64 MemBlock::Free(fHeadBlock); in ~GrTRecorder()
115 struct MemBlock : SkNoncopyable { struct
118 static MemBlock* Alloc(int length, MemBlock* prev) { in Alloc() argument
119 MemBlock* block = reinterpret_cast<MemBlock*>( in Alloc()
120 sk_malloc_throw(sizeof(TAlign) * (length_of<MemBlock>::kValue + length))); in Alloc()
133 static void Free(MemBlock* block) { in Free() argument
139 MemBlock* next = block->fNext; in Free()
146 return reinterpret_cast<TAlign*>(this)[length_of<MemBlock>::kValue + i];
151 MemBlock* fNext; argument
[all …]
/external/skqp/src/gpu/
DGrTRecorder.h58 : fHeadBlock(MemBlock::Alloc(LengthOf(initialSizeInBytes), nullptr)), in GrTRecorder()
64 MemBlock::Free(fHeadBlock); in ~GrTRecorder()
115 struct MemBlock : SkNoncopyable { struct
118 static MemBlock* Alloc(int length, MemBlock* prev) { in Alloc() argument
119 MemBlock* block = reinterpret_cast<MemBlock*>( in Alloc()
120 sk_malloc_throw(sizeof(TAlign) * (length_of<MemBlock>::kValue + length))); in Alloc()
133 static void Free(MemBlock* block) { in Free() argument
139 MemBlock* next = block->fNext; in Free()
146 return reinterpret_cast<TAlign*>(this)[length_of<MemBlock>::kValue + i];
151 MemBlock* fNext; argument
[all …]
/external/webp/src/utils/
Dutils.c61 typedef struct MemBlock MemBlock; typedef
62 struct MemBlock { struct
65 MemBlock* next_; argument
68 static MemBlock* all_blocks = NULL;
85 MemBlock* b = all_blocks; in PrintMemInfo()
119 MemBlock* const b = (MemBlock*)malloc(sizeof(*b)); in AddMem()
141 MemBlock** b = &all_blocks; in SubMem()
149 MemBlock* const block = *b; in SubMem()
/external/libavc/decoder/
Dih264d_mem_request.h45 struct MemBlock struct
54 struct MemBlock s_memBlock[MAX_MEM_BLOCKS]; /** Pointer to the first memory block */ argument
Dih264d_utils.c1840 struct MemBlock *p_MemBlock; in ih264d_allocate_dynamic_bufs()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJITMemoryManager.cpp543 sys::MemoryBlock MemBlock = allocateNewSlab(DefaultCodeSlabSize); in DefaultJITMemoryManager() local
544 CodeSlabs.push_back(MemBlock); in DefaultJITMemoryManager()
545 uint8_t *MemBase = (uint8_t*)MemBlock.base(); in DefaultJITMemoryManager()
559 MemoryRangeHeader *Mem3 = (MemoryRangeHeader*)(MemBase+MemBlock.size())-1; in DefaultJITMemoryManager()
/external/protobuf/src/google/protobuf/stubs/
Dbytestream.h60 class MemBlock; variable