Lines Matching refs:size
45 debug_printf(" Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size,
49 total_free += p->size;
51 total_used += p->size;
59 debug_printf(" FREE Offset:%08x, Size:%08x, %c%c\n", p->ofs, p->size,
70 u_mmInit(int ofs, int size)
74 if (size <= 0)
99 block->size = size;
108 int startofs, int size,
119 newblock->size = p->size - (startofs - p->ofs);
133 p->size -= newblock->size;
138 if (size < p->size) {
142 newblock->ofs = startofs + size;
143 newblock->size = p->size - size;
157 p->size = size;
177 u_mmAllocMem(struct mem_block *heap, int size, int align2, int startSearch)
184 assert(size >= 0);
191 if (!heap || align2 < 0 || size <= 0)
201 endofs = startofs+size;
202 if (endofs <= (p->ofs+p->size))
210 p = SliceBlock(p,startofs,size,0,mask+1);
240 assert(p->ofs + p->size == q->ofs);
241 p->size += q->size;