Searched refs:mm_heap (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_alloc.c2086 zend_mm_heap *mm_heap; member in struct:_zend_alloc_globals
2100 return !AG(mm_heap)->use_custom_heap;
2111 if (UNEXPECTED(AG(mm_heap)->use_custom_heap)) { \
2112 return AG(mm_heap)->_malloc(size); \
2116 if (UNEXPECTED(AG(mm_heap)->use_custom_heap)) { \
2117 AG(mm_heap)->_free(ptr); \
2129 return zend_mm_alloc_small(AG(mm_heap), _size, _num ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); \
2138 return zend_mm_alloc_large(AG(mm_heap), size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
2145 return zend_mm_alloc_huge(AG(mm_heap), size);
2156 ZEND_MM_CHECK(chunk->heap == AG(mm_heap), "zend_mm_hea
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c1595 zend_mm_heap *mm_heap; local
1631 mm_heap = zend_mm_get_heap();
1632 zend_mm_get_custom_handlers(mm_heap, &_malloc, &_free, &_realloc);
1647 zend_mm_set_custom_handlers(mm_heap, _malloc, _free, _realloc);
1964 /* hack to restore mm_heap->use_custom_heap in order to receive memory leak info */
1966 /* ASSUMING that mm_heap->use_custom_heap is the first element of the struct ... */
1967 *(int *) mm_heap = 0;

Completed in 9 milliseconds