Searched refs:MemBlock (Results 1 – 4 of 4) sorted by relevance
58 : fHeadBlock(MemBlock::Alloc(LengthOf(initialSizeInBytes), NULL)), in GrTRecorder()64 MemBlock::Free(fHeadBlock); in ~GrTRecorder()115 struct MemBlock : SkNoncopyable { struct118 static MemBlock* Alloc(int length, MemBlock* prev) { in Alloc() argument119 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() argument139 MemBlock* next = block->fNext; in Free()146 return reinterpret_cast<TAlign*>(this)[length_of<MemBlock>::kValue + i];151 MemBlock* fNext; argument[all …]
57 typedef struct MemBlock MemBlock; typedef58 struct MemBlock { struct61 MemBlock* next_; argument64 static MemBlock* all_blocks = NULL;81 MemBlock* b = all_blocks; in PrintMemInfo()115 MemBlock* const b = (MemBlock*)malloc(sizeof(*b)); in AddMem()137 MemBlock** b = &all_blocks; in SubMem()145 MemBlock* const block = *b; in SubMem()
45 struct MemBlock struct54 struct MemBlock s_memBlock[MAX_MEM_BLOCKS]; /** Pointer to the first memory block */ argument
2074 struct MemBlock *p_MemBlock; in ih264d_get_memory_dec_params()