Lines Matching refs:ZT_G
346 if (zend_weakrefs_hash_add(&ZT_G(global_weakmap), obj, value)) { in ZEND_FUNCTION()
361 RETURN_BOOL(zend_weakrefs_hash_del(&ZT_G(global_weakmap), obj) == SUCCESS); in ZEND_FUNCTION()
367 RETURN_ARR(zend_array_dup(&ZT_G(global_weakmap))); in ZEND_FUNCTION()
533 RETURN_STR(ZT_G(str_test)); in ZEND_FUNCTION()
681 return _zend_mm_alloc(ZT_G(zend_orig_heap), len ZEND_FILE_LINE_EMPTY_CC ZEND_FILE_LINE_EMPTY_CC); in zend_test_custom_malloc()
689 _zend_mm_free(ZT_G(zend_orig_heap), ptr ZEND_FILE_LINE_EMPTY_CC ZEND_FILE_LINE_EMPTY_CC); in zend_test_custom_free()
697 …return _zend_mm_realloc(ZT_G(zend_orig_heap), ptr, len ZEND_FILE_LINE_EMPTY_CC ZEND_FILE_LINE_EMPT… in zend_test_custom_realloc()
711 ZT_G(zend_test_heap) = malloc(4096); in PHP_INI_MH()
712 memset(ZT_G(zend_test_heap), 0, 4096); in PHP_INI_MH()
714 ZT_G(zend_test_heap), in PHP_INI_MH()
719 ZT_G(zend_orig_heap) = zend_mm_get_heap(); in PHP_INI_MH()
720 zend_mm_set_heap(ZT_G(zend_test_heap)); in PHP_INI_MH()
721 } else if (ZT_G(zend_test_heap)) { in PHP_INI_MH()
722 free(ZT_G(zend_test_heap)); in PHP_INI_MH()
723 ZT_G(zend_test_heap) = NULL; in PHP_INI_MH()
724 zend_mm_set_heap(ZT_G(zend_orig_heap)); in PHP_INI_MH()
1305 if (ZT_G(replace_zend_execute_ex)) { in PHP_MINIT_FUNCTION()
1310 if (ZT_G(register_passes)) { in PHP_MINIT_FUNCTION()
1334 if (ZT_G(print_stderr_mshutdown)) { in PHP_MSHUTDOWN_FUNCTION()
1343 zend_hash_init(&ZT_G(global_weakmap), 8, NULL, ZVAL_PTR_DTOR, 0); in PHP_RINIT_FUNCTION()
1344 ZT_G(observer_nesting_depth) = 0; in PHP_RINIT_FUNCTION()
1351 zend_weakrefs_hash_destroy(&ZT_G(global_weakmap)); in PHP_RSHUTDOWN_FUNCTION()
1353 if (ZT_G(zend_test_heap)) { in PHP_RSHUTDOWN_FUNCTION()
1354 free(ZT_G(zend_test_heap)); in PHP_RSHUTDOWN_FUNCTION()
1355 ZT_G(zend_test_heap) = NULL; in PHP_RSHUTDOWN_FUNCTION()
1356 zend_mm_set_heap(ZT_G(zend_orig_heap)); in PHP_RSHUTDOWN_FUNCTION()
1495 if (ZT_G(limit_copy_file_range) >= Z_L(0)) { in copy_file_range()
1496 len = ZT_G(limit_copy_file_range); in copy_file_range()