Lines Matching refs:zargs
213 zval zargs[4]; in php_converter_to_u_callback() local
215 ZVAL_LONG(&zargs[0], reason); in php_converter_to_u_callback()
217 ZVAL_STRINGL(&zargs[1], args->source, args->sourceLimit - args->source); in php_converter_to_u_callback()
219 ZVAL_EMPTY_STRING(&zargs[1]); in php_converter_to_u_callback()
222 ZVAL_STRINGL(&zargs[2], codeUnits, length); in php_converter_to_u_callback()
224 ZVAL_EMPTY_STRING(&zargs[2]); in php_converter_to_u_callback()
226 ZVAL_LONG(&zargs[3], *pErrorCode); in php_converter_to_u_callback()
227 ZVAL_MAKE_REF(&zargs[3]); in php_converter_to_u_callback()
230 objval->to_cb.params = zargs; in php_converter_to_u_callback()
240 if (Z_TYPE(zargs[3]) == IS_LONG) { in php_converter_to_u_callback()
241 *pErrorCode = Z_LVAL(zargs[3]); in php_converter_to_u_callback()
242 } else if (Z_ISREF(zargs[3]) && Z_TYPE_P(Z_REFVAL(zargs[3])) == IS_LONG) { in php_converter_to_u_callback()
243 *pErrorCode = Z_LVAL_P(Z_REFVAL(zargs[3])); in php_converter_to_u_callback()
246 zval_ptr_dtor(&zargs[0]); in php_converter_to_u_callback()
247 zval_ptr_dtor(&zargs[1]); in php_converter_to_u_callback()
248 zval_ptr_dtor(&zargs[2]); in php_converter_to_u_callback()
249 zval_ptr_dtor(&zargs[3]); in php_converter_to_u_callback()
296 zval zargs[4]; in php_converter_from_u_callback() local
299 ZVAL_LONG(&zargs[0], reason); in php_converter_from_u_callback()
300 array_init(&zargs[1]); in php_converter_from_u_callback()
305 add_next_index_long(&zargs[1], c); in php_converter_from_u_callback()
307 ZVAL_LONG(&zargs[2], codePoint); in php_converter_from_u_callback()
308 ZVAL_LONG(&zargs[3], *pErrorCode); in php_converter_from_u_callback()
309 ZVAL_MAKE_REF(&zargs[3]); in php_converter_from_u_callback()
312 objval->from_cb.params = zargs; in php_converter_from_u_callback()
322 if (Z_TYPE(zargs[3]) == IS_LONG) { in php_converter_from_u_callback()
323 *pErrorCode = Z_LVAL(zargs[3]); in php_converter_from_u_callback()
324 } else if (Z_ISREF(zargs[3]) && Z_TYPE_P(Z_REFVAL(zargs[3])) == IS_LONG) { in php_converter_from_u_callback()
325 *pErrorCode = Z_LVAL_P(Z_REFVAL(zargs[3])); in php_converter_from_u_callback()
328 zval_ptr_dtor(&zargs[0]); in php_converter_from_u_callback()
329 zval_ptr_dtor(&zargs[1]); in php_converter_from_u_callback()
330 zval_ptr_dtor(&zargs[2]); in php_converter_from_u_callback()
331 zval_ptr_dtor(&zargs[3]); in php_converter_from_u_callback()