Lines Matching refs:ASSERTG
35 #define ASSERTG(v) ZEND_MODULE_GLOBALS_ACCESSOR(assert, v) macro
51 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_INI_MH()
52 zval_ptr_dtor(&ASSERTG(callback)); in PHP_INI_MH()
53 ZVAL_UNDEF(&ASSERTG(callback)); in PHP_INI_MH()
55 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || ZSTR_LEN(new_value))) { in PHP_INI_MH()
59 ZVAL_STR_COPY(&ASSERTG(callback), new_value); in PHP_INI_MH()
62 if (ASSERTG(cb)) { in PHP_INI_MH()
63 pefree(ASSERTG(cb), 1); in PHP_INI_MH()
69 ASSERTG(cb) = pemalloc(ZSTR_LEN(new_value) + 1, 1); in PHP_INI_MH()
70 memcpy(ASSERTG(cb), ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
71 ASSERTG(cb)[ZSTR_LEN(new_value)] = '\0'; in PHP_INI_MH()
73 ASSERTG(cb) = NULL; in PHP_INI_MH()
149 if (ASSERTG(cb)) { in PHP_MSHUTDOWN_FUNCTION()
150 pefree(ASSERTG(cb), 1); in PHP_MSHUTDOWN_FUNCTION()
151 ASSERTG(cb) = NULL; in PHP_MSHUTDOWN_FUNCTION()
159 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_RSHUTDOWN_FUNCTION()
160 zval_ptr_dtor(&ASSERTG(callback)); in PHP_RSHUTDOWN_FUNCTION()
161 ZVAL_UNDEF(&ASSERTG(callback)); in PHP_RSHUTDOWN_FUNCTION()
181 if (!ASSERTG(active)) { in PHP_FUNCTION()
201 if (Z_TYPE(ASSERTG(callback)) == IS_UNDEF && ASSERTG(cb)) { in PHP_FUNCTION()
202 ZVAL_STRING(&ASSERTG(callback), ASSERTG(cb)); in PHP_FUNCTION()
205 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_FUNCTION()
222 call_user_function(NULL, NULL, &ASSERTG(callback), &retval, 4, args); in PHP_FUNCTION()
224 call_user_function(NULL, NULL, &ASSERTG(callback), &retval, 3, args); in PHP_FUNCTION()
230 if (ASSERTG(exception)) { in PHP_FUNCTION()
232 if (ASSERTG(bail)) { in PHP_FUNCTION()
236 } else if (ASSERTG(warning)) { in PHP_FUNCTION()
240 if (ASSERTG(bail)) { in PHP_FUNCTION()
271 oldint = ASSERTG(active); in PHP_FUNCTION()
287 oldint = ASSERTG(bail); in PHP_FUNCTION()
303 oldint = ASSERTG(warning); in PHP_FUNCTION()
319 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_FUNCTION()
320 ZVAL_COPY(return_value, &ASSERTG(callback)); in PHP_FUNCTION()
321 } else if (ASSERTG(cb)) { in PHP_FUNCTION()
322 RETVAL_STRING(ASSERTG(cb)); in PHP_FUNCTION()
328 zval_ptr_dtor(&ASSERTG(callback)); in PHP_FUNCTION()
330 ZVAL_UNDEF(&ASSERTG(callback)); in PHP_FUNCTION()
332 ZVAL_COPY(&ASSERTG(callback), value); in PHP_FUNCTION()
338 oldint = ASSERTG(exception); in PHP_FUNCTION()