Lines Matching refs:real_size
252 size_t real_size; /* current size of allocated pages */ member
1027 if (UNEXPECTED(heap->real_size + ZEND_MM_CHUNK_SIZE > heap->limit)) {
1050 …f memory (allocated %zu) at %s:%d (tried to allocate %zu bytes)", heap->real_size, __zend_filename…
1052 …p, "Out of memory (allocated %zu) (tried to allocate %zu bytes)", heap->real_size, ZEND_MM_PAGE_SI…
1059 size_t size = heap->real_size + ZEND_MM_CHUNK_SIZE;
1061 heap->real_size = size;
1065 heap->real_size += ZEND_MM_CHUNK_SIZE;
1136 heap->real_size -= ZEND_MM_CHUNK_SIZE;
1377 size_t real_size = size; local
1383 if (UNEXPECTED(size < real_size)) {
1384 …nteger overflow in memory allocation (%zu + %zu)", ZEND_MM_ALIGNED_SIZE(real_size), ZEND_MM_ALIGNE…
1392 dbg->size = real_size;
1403 dbg->size = real_size;
1412 size = real_size;
1478 size_t real_size; local
1489 real_size = size;
1494 size = real_size;
1507 …zend_mm_change_huge_block_size(heap, ptr, new_size, real_size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LI…
1516 heap->real_size -= old_size - new_size;
1522 …zend_mm_change_huge_block_size(heap, ptr, new_size, real_size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LI…
1530 if (UNEXPECTED(heap->real_size + (new_size - old_size) > heap->limit)) {
1531 if (zend_mm_gc(heap) && heap->real_size + (new_size - old_size) <= heap->limit) {
1546 heap->real_size += new_size - old_size;
1549 heap->real_peak = MAX(heap->real_peak, heap->real_size);
1554 …zend_mm_change_huge_block_size(heap, ptr, new_size, real_size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LI…
1567 size_t real_size = size; local
1581 dbg->size = real_size;
1598 dbg->size = real_size;
1618 dbg->size = real_size;
1645 dbg->size = real_size;
1657 size = real_size;
1672 heap->real_peak = MAX(orig_real_peak, heap->real_size);
1776 if (UNEXPECTED(heap->real_size + new_size > heap->limit)) {
1777 if (zend_mm_gc(heap) && heap->real_size + new_size <= heap->limit) {
1799 …f memory (allocated %zu) at %s:%d (tried to allocate %zu bytes)", heap->real_size, __zend_filename…
1801 …_error(heap, "Out of memory (allocated %zu) (tried to allocate %zu bytes)", heap->real_size, size);
1813 size_t size = heap->real_size + new_size;
1815 heap->real_size = size;
1825 heap->real_size += new_size;
1838 heap->real_size -= size;
1882 heap->real_size = ZEND_MM_CHUNK_SIZE;
2299 heap->real_size = ZEND_MM_CHUNK_SIZE;
2628 return AG(mm_heap)->real_size;
2833 heap->real_size = ZEND_MM_CHUNK_SIZE;