Lines Matching refs:real_size
280 size_t real_size; /* current size of allocated pages */ member
1044 if (UNEXPECTED(ZEND_MM_CHUNK_SIZE > heap->limit - heap->real_size)) {
1067 …ry (allocated %zu bytes) at %s:%d (tried to allocate %zu bytes)", heap->real_size, __zend_filename…
1069 …t of memory (allocated %zu bytes) (tried to allocate %zu bytes)", heap->real_size, ZEND_MM_PAGE_SI…
1076 size_t size = heap->real_size + ZEND_MM_CHUNK_SIZE;
1078 heap->real_size = size;
1082 heap->real_size += ZEND_MM_CHUNK_SIZE;
1164 heap->real_size -= ZEND_MM_CHUNK_SIZE;
1476 size_t real_size = size; local
1482 if (UNEXPECTED(size < real_size)) {
1483 …nteger overflow in memory allocation (%zu + %zu)", ZEND_MM_ALIGNED_SIZE(real_size), ZEND_MM_ALIGNE…
1491 dbg->size = real_size;
1502 dbg->size = real_size;
1511 size = real_size;
1593 size_t real_size; local
1598 real_size = size;
1603 size = real_size;
1616 …zend_mm_change_huge_block_size(heap, ptr, new_size, real_size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LI…
1625 heap->real_size -= old_size - new_size;
1631 …zend_mm_change_huge_block_size(heap, ptr, new_size, real_size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LI…
1639 if (UNEXPECTED(new_size - old_size > heap->limit - heap->real_size)) {
1640 if (zend_mm_gc(heap) && new_size - old_size <= heap->limit - heap->real_size) {
1655 heap->real_size += new_size - old_size;
1658 heap->real_peak = MAX(heap->real_peak, heap->real_size);
1663 …zend_mm_change_huge_block_size(heap, ptr, new_size, real_size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LI…
1702 size_t real_size = size; local
1749 dbg->size = real_size;
1766 dbg->size = real_size;
1786 dbg->size = real_size;
1813 dbg->size = real_size;
1825 size = real_size;
1936 if (UNEXPECTED(new_size > heap->limit - heap->real_size)) {
1937 if (zend_mm_gc(heap) && new_size <= heap->limit - heap->real_size) {
1959 …ry (allocated %zu bytes) at %s:%d (tried to allocate %zu bytes)", heap->real_size, __zend_filename…
1961 …(heap, "Out of memory (allocated %zu bytes) (tried to allocate %zu bytes)", heap->real_size, size);
1973 size_t size = heap->real_size + new_size;
1975 heap->real_size = size;
1985 heap->real_size += new_size;
1998 heap->real_size -= size;
2049 heap->real_size = ZEND_MM_CHUNK_SIZE;
2500 heap->real_size = (heap->cached_chunks_count + 1) * ZEND_MM_CHUNK_SIZE;
2861 if (UNEXPECTED(memory_limit < heap->real_size)) {
2862 if (memory_limit >= heap->real_size - heap->cached_chunks_count * ZEND_MM_CHUNK_SIZE) {
2869 heap->real_size -= ZEND_MM_CHUNK_SIZE;
2870 } while (memory_limit < heap->real_size);
2893 return AG(mm_heap)->real_size;
2917 AG(mm_heap)->real_peak = AG(mm_heap)->real_size;
3239 heap->real_size = ZEND_MM_CHUNK_SIZE;