Lines Matching refs:observed_heap
30 zend_mm_set_heap(ZT_G(observed_heap)); in observe_malloc()
44 zend_mm_set_heap(ZT_G(observed_heap)); in observe_free()
58 zend_mm_set_heap(ZT_G(observed_heap)); in observe_realloc()
72 zend_mm_set_heap(ZT_G(observed_heap)); in observe_gc()
85 zend_mm_set_heap(ZT_G(observed_heap)); in observe_shutdown()
94 if (ZT_G(observed_heap) != NULL) { in zend_test_mm_custom_handlers_init()
109 ZT_G(observed_heap) = zend_mm_startup(); in zend_test_mm_custom_handlers_init()
111 ZT_G(observed_heap), in zend_test_mm_custom_handlers_init()
118 zend_mm_set_heap(ZT_G(observed_heap)); in zend_test_mm_custom_handlers_init()
119 printf("Heap at %p installed in ZendMM (orig at %p)\n", ZT_G(observed_heap), ZT_G(original_heap)); in zend_test_mm_custom_handlers_init()
124 if (ZT_G(observed_heap) == NULL) { in zend_test_mm_custom_handlers_shutdown()
129 ZT_G(observed_heap), in zend_test_mm_custom_handlers_shutdown()
136 zend_mm_shutdown(ZT_G(observed_heap), true, true); in zend_test_mm_custom_handlers_shutdown()
137 ZT_G(observed_heap) = NULL; in zend_test_mm_custom_handlers_shutdown()