Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrTRecorder.h57 : fHeadBlock(MemBlock::Alloc(LengthOf(initialSizeInBytes), nullptr)), in GrTRecorder()
63 MemBlock::Free(fHeadBlock); in ~GrTRecorder()
114 struct MemBlock : SkNoncopyable { struct
117 static MemBlock* Alloc(int length, MemBlock* prev) { in Alloc() argument
118 MemBlock* block = reinterpret_cast<MemBlock*>( in Alloc()
119 sk_malloc_throw(sizeof(TAlign) * (length_of<MemBlock>::kValue + length))); in Alloc()
132 static void Free(MemBlock* block) { in Free() argument
138 MemBlock* next = block->fNext; in Free()
145 return reinterpret_cast<TAlign*>(this)[length_of<MemBlock>::kValue + i];
150 MemBlock* fNext; argument
[all …]
/external/webp/src/utils/
Dutils.c59 typedef struct MemBlock MemBlock; typedef
60 struct MemBlock { struct
63 MemBlock* next_; argument
66 static MemBlock* all_blocks = NULL;
83 MemBlock* b = all_blocks; in PrintMemInfo()
117 MemBlock* const b = (MemBlock*)malloc(sizeof(*b)); in AddMem()
139 MemBlock** b = &all_blocks; in SubMem()
147 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.c1834 struct MemBlock *p_MemBlock; in ih264d_allocate_dynamic_bufs()