Lines Matching refs:realsize

611     size_t realsize = CalcAllocSize(size);  in Malloc()  local
612 if((int)realsize < minAllocSize || size == 0) in Malloc()
623 int index = CalcEntry(realsize); in Malloc()
627 if (lsize >= realsize) { in Malloc()
628 rem = lsize - realsize; in Malloc()
642 lsize = realsize; in Malloc()
649 if (lsize >= realsize) { in Malloc()
650 rem = lsize - realsize; in Malloc()
664 lsize = realsize; in Malloc()
672 if (lsize >= realsize) { in Malloc()
673 size_t rem = lsize - realsize; in Malloc()
687 lsize = realsize; in Malloc()
708 if(lsize >= realsize) { in Malloc()
710 rem = lsize - realsize; in Malloc()
727 lsize = realsize; in Malloc()
740 if(!(loops-- && Getmem(realsize))) { in Malloc()
769 size_t realsize = CalcAllocSize(size); in Realloc() local
770 if((int)realsize < minAllocSize) in Realloc()
780 if((psize&1) == 0 && (psize + cursize) >= realsize) { in Realloc()
793 size_t rem = cursize - realsize; in Realloc()
799 prev = ptr + realsize; in Realloc()
810 cursize = realsize; in Realloc()
1110 size_t realsize = CalcAllocSize(size); in Expand() local
1111 if((int)realsize < minAllocSize || size == 0) in Expand()
1118 if(cursize == realsize) { in Expand()
1123 if(realsize <= cursize) { in Expand()
1124 size_t nextsize = cursize - realsize; /* size of new remainder block */ in Expand()
1130 SetTags(ptr, realsize | 1); in Expand()
1131 ptr += realsize; in Expand()
1148 if((nextsize&1) == 0 && (nextsize + cursize) >= realsize) { in Expand()
1160 size_t rem = cursize - realsize; /* size of remainder */ in Expand()
1166 next = ptr + realsize; in Expand()
1177 cursize = realsize; in Expand()