Searched refs:MemBlock (Results 1 – 3 of 3) sorted by relevance
61 typedef struct MemBlock MemBlock; typedef62 struct MemBlock { struct65 MemBlock* next_; argument68 static MemBlock* all_blocks = NULL;85 MemBlock* b = all_blocks; in PrintMemInfo()122 MemBlock* const b = (MemBlock*)malloc(sizeof(*b)); in AddMem()144 MemBlock** b = &all_blocks; in SubMem()152 MemBlock* const block = *b; in SubMem()
41 struct MemBlock { struct44 MemBlock *next; argument99 MemBlock *alloc_mem_block(size_t size) { in alloc_mem_block()100 auto block = new uint8_t[sizeof(MemBlock) + size]; in alloc_mem_block()101 auto mb = reinterpret_cast<MemBlock *>(block); in alloc_mem_block()104 mb->begin = mb->last = block + sizeof(MemBlock); in alloc_mem_block()170 MemBlock *retain;172 MemBlock *head;
11065 - ofs << " int ret = SetBuffer" << ctx->GetCurModelIndex() << "(((MemBlock *)runtime_buffer)->a…11075 + ofs << " int ret = SetBuffer" << ctx->GetCurModelIndex() << "(((MemBlock *)runtime_buffer)-…11449 … << " int ret = SetBuffer" << ctx->GetCurModelIndex() << "(((MemBlock *)buffer)->addr);\n"