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

/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c883 zend_mm_heap *mm_heap; local
887 mm_heap = zend_mm_set_heap(NULL TSRMLS_CC);
888 zend_mm_set_heap(mm_heap TSRMLS_CC);
890 return mm_heap;
1250 zend_mm_heap *mm_heap = phpdbg_mm_get_heap(); local
1252 if (mm_heap->use_zend_alloc) {
1253 mm_heap->_malloc = phpdbg_malloc_wrapper;
1254 mm_heap->_realloc = phpdbg_realloc_wrapper;
1255 mm_heap->_free = phpdbg_free_wrapper;
1256 mm_heap
[all...]
/PHP_TRUNK/Zend/
H A Dzend_alloc.c1929 zend_mm_heap *mm_heap; member in struct:_zend_alloc_globals
1943 return !AG(mm_heap)->use_custom_heap;
1954 if (UNEXPECTED(AG(mm_heap)->use_custom_heap)) { \
1955 return AG(mm_heap)->_malloc(size); \
1959 if (UNEXPECTED(AG(mm_heap)->use_custom_heap)) { \
1960 AG(mm_heap)->_free(ptr); \
1973 return zend_mm_alloc_small(AG(mm_heap), _size, _num ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); \
1983 return zend_mm_alloc_large(AG(mm_heap), size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
1991 return zend_mm_alloc_huge(AG(mm_heap), size);
2002 ZEND_MM_CHECK(chunk->heap == AG(mm_heap), "zend_mm_hea
[all...]

Completed in 8 milliseconds