Lines Matching refs:arg
198 ZEND_API char *zend_zval_type_name(const zval *arg) /* {{{ */ in zend_zval_type_name() argument
200 ZVAL_DEREF(arg); in zend_zval_type_name()
201 return zend_get_type_by_const(Z_TYPE_P(arg)); in zend_zval_type_name()
205 ZEND_API zend_string *zend_zval_get_type(const zval *arg) /* {{{ */ in zend_zval_get_type() argument
207 switch (Z_TYPE_P(arg)) { in zend_zval_get_type()
224 if (zend_rsrc_list_get_rsrc_type(Z_RES_P(arg))) { in zend_zval_get_type()
253 …ameter_type_error(zend_bool throw_, int num, zend_expected_type expected_type, zval *arg) /* {{{ */ in zend_wrong_parameter_type_error() argument
263 …, space, get_active_function_name(), num, expected_error[expected_type], zend_zval_type_name(arg)); in zend_wrong_parameter_type_error()
267 …STCALL zend_wrong_parameter_class_error(zend_bool throw_, int num, char *name, zval *arg) /* {{{ */ in zend_wrong_parameter_class_error() argument
273 class_name, space, get_active_function_name(), num, name, zend_zval_type_name(arg)); in zend_wrong_parameter_class_error()
296 ZEND_API int ZEND_FASTCALL zend_parse_arg_class(zval *arg, zend_class_entry **pce, int num, int che… in zend_parse_arg_class() argument
300 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_class()
304 convert_to_string_ex(arg); in zend_parse_arg_class()
305 *pce = zend_lookup_class(Z_STR_P(arg)); in zend_parse_arg_class()
313 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_class()
324 Z_STRVAL_P(arg)); in zend_parse_arg_class()
331 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_weak(zval *arg, zend_bool *dest) /* {{{ */ in zend_parse_arg_bool_weak() argument
333 if (EXPECTED(Z_TYPE_P(arg) <= IS_STRING)) { in zend_parse_arg_bool_weak()
334 *dest = zend_is_true(arg); in zend_parse_arg_bool_weak()
342 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_slow(zval *arg, zend_bool *dest) /* {{{ */ in zend_parse_arg_bool_slow() argument
347 return zend_parse_arg_bool_weak(arg, dest); in zend_parse_arg_bool_slow()
351 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_weak(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_weak() argument
353 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_weak()
354 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak()
357 if (UNEXPECTED(!ZEND_DOUBLE_FITS_LONG(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak()
360 *dest = zend_dval_to_lval(Z_DVAL_P(arg)); in zend_parse_arg_long_weak()
362 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_long_weak()
366 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) { in zend_parse_arg_long_weak()
380 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_weak()
382 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_long_weak()
391 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_slow(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_slow() argument
396 return zend_parse_arg_long_weak(arg, dest); in zend_parse_arg_long_slow()
400 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_weak(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_cap_weak() argument
402 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_cap_weak()
403 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_cap_weak()
406 *dest = zend_dval_to_lval_cap(Z_DVAL_P(arg)); in zend_parse_arg_long_cap_weak()
407 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_long_cap_weak()
411 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) { in zend_parse_arg_long_cap_weak()
421 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_cap_weak()
423 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_long_cap_weak()
432 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_slow(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_cap_slow() argument
437 return zend_parse_arg_long_cap_weak(arg, dest); in zend_parse_arg_long_cap_slow()
441 ZEND_API int ZEND_FASTCALL zend_parse_arg_double_weak(zval *arg, double *dest) /* {{{ */ in zend_parse_arg_double_weak() argument
443 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_weak()
444 *dest = (double)Z_LVAL_P(arg); in zend_parse_arg_double_weak()
445 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_double_weak()
449 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), &l, dest)) != IS_DOUBLE)) { in zend_parse_arg_double_weak()
456 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_double_weak()
458 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_double_weak()
467 ZEND_API int ZEND_FASTCALL zend_parse_arg_double_slow(zval *arg, double *dest) /* {{{ */ in zend_parse_arg_double_slow() argument
469 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_slow()
471 *dest = (double)Z_LVAL_P(arg); in zend_parse_arg_double_slow()
475 return zend_parse_arg_double_weak(arg, dest); in zend_parse_arg_double_slow()
479 ZEND_API int ZEND_FASTCALL zend_parse_arg_str_weak(zval *arg, zend_string **dest) /* {{{ */ in zend_parse_arg_str_weak() argument
481 if (EXPECTED(Z_TYPE_P(arg) < IS_STRING)) { in zend_parse_arg_str_weak()
482 convert_to_string(arg); in zend_parse_arg_str_weak()
483 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
484 } else if (UNEXPECTED(Z_TYPE_P(arg) == IS_OBJECT)) { in zend_parse_arg_str_weak()
485 if (Z_OBJ_HANDLER_P(arg, cast_object)) { in zend_parse_arg_str_weak()
487 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
488 zval_ptr_dtor(arg); in zend_parse_arg_str_weak()
489 ZVAL_COPY_VALUE(arg, &obj); in zend_parse_arg_str_weak()
490 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
493 } else if (Z_OBJ_HANDLER_P(arg, get)) { in zend_parse_arg_str_weak()
495 zval *z = Z_OBJ_HANDLER_P(arg, get)(arg, &rv); in zend_parse_arg_str_weak()
499 zval_dtor(arg); in zend_parse_arg_str_weak()
500 ZVAL_NULL(arg); in zend_parse_arg_str_weak()
501 if (!zend_make_printable_zval(z, arg)) { in zend_parse_arg_str_weak()
502 ZVAL_COPY_VALUE(arg, z); in zend_parse_arg_str_weak()
504 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
517 ZEND_API int ZEND_FASTCALL zend_parse_arg_str_slow(zval *arg, zend_string **dest) /* {{{ */ in zend_parse_arg_str_slow() argument
522 return zend_parse_arg_str_weak(arg, dest); in zend_parse_arg_str_slow()
526 static const char *zend_parse_arg_impl(int arg_num, zval *arg, va_list *va, const char **spec, char… in zend_parse_arg_impl() argument
532 zval *real_arg = arg; in zend_parse_arg_impl()
535 ZVAL_DEREF(arg); in zend_parse_arg_impl()
538 SEPARATE_ZVAL_NOREF(arg); in zend_parse_arg_impl()
539 real_arg = arg; in zend_parse_arg_impl()
560 if (!zend_parse_arg_long(arg, p, is_null, check_null, c == 'L')) { in zend_parse_arg_impl()
575 if (!zend_parse_arg_double(arg, p, is_null, check_null)) { in zend_parse_arg_impl()
585 if (!zend_parse_arg_string(arg, p, pl, check_null)) { in zend_parse_arg_impl()
595 if (!zend_parse_arg_path(arg, p, pl, check_null)) { in zend_parse_arg_impl()
604 if (!zend_parse_arg_path_str(arg, str, check_null)) { in zend_parse_arg_impl()
613 if (!zend_parse_arg_str(arg, str, check_null)) { in zend_parse_arg_impl()
628 if (!zend_parse_arg_bool(arg, p, is_null, check_null)) { in zend_parse_arg_impl()
638 if (!zend_parse_arg_resource(arg, p, check_null)) { in zend_parse_arg_impl()
649 if (!zend_parse_arg_array(arg, p, check_null, c == 'A')) { in zend_parse_arg_impl()
660 if (!zend_parse_arg_array_ht(arg, p, check_null, c == 'H', separate)) { in zend_parse_arg_impl()
670 if (!zend_parse_arg_object(arg, p, NULL, check_null)) { in zend_parse_arg_impl()
681 if (!zend_parse_arg_object(arg, p, ce, check_null)) { in zend_parse_arg_impl()
696 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
700 convert_to_string_ex(arg); in zend_parse_arg_impl()
701 if ((lookup = zend_lookup_class(Z_STR_P(arg))) == NULL) { in zend_parse_arg_impl()
709 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_impl()
716 Z_STRVAL_P(arg)); in zend_parse_arg_impl()
730 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
736 if (zend_fcall_info_init(arg, 0, fci, fcc, NULL, &is_callable_error) == SUCCESS) { in zend_parse_arg_impl()
778 static int zend_parse_arg(int arg_num, zval *arg, va_list *va, const char **spec, int flags) /* {{{… in zend_parse_arg() argument
784 expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity); in zend_parse_arg()
800 zend_zval_type_name(arg)); in zend_parse_arg()
812 ZEND_API int zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...) in zend_parse_parameter() argument
818 ret = zend_parse_arg(arg_num, arg, &va, &spec, flags); in zend_parse_parameter()
840 zval *arg; in zend_parse_va_args() local
954 arg = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args()
956 if (zend_parse_arg(i+1, arg, va, &type_spec, flags) == FAILURE) { in zend_parse_va_args()
1088 ZEND_API int _array_init(zval *arg, uint32_t size ZEND_FILE_LINE_DC) /* {{{ */ in _array_init() argument
1090 ZVAL_NEW_ARR(arg); in _array_init()
1091 _zend_hash_init(Z_ARRVAL_P(arg), size, ZVAL_PTR_DTOR, 0 ZEND_FILE_LINE_RELAY_CC); in _array_init()
1301 ZEND_API int _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *proper… in _object_and_properties_init() argument
1311 ZVAL_NULL(arg); in _object_and_properties_init()
1312 Z_OBJ_P(arg) = NULL; in _object_and_properties_init()
1318 ZVAL_NULL(arg); in _object_and_properties_init()
1319 Z_OBJ_P(arg) = NULL; in _object_and_properties_init()
1325 ZVAL_OBJ(arg, zend_objects_new(class_type)); in _object_and_properties_init()
1327 object_properties_init_ex(Z_OBJ_P(arg), properties); in _object_and_properties_init()
1329 object_properties_init(Z_OBJ_P(arg), class_type); in _object_and_properties_init()
1332 ZVAL_OBJ(arg, class_type->create_object(class_type)); in _object_and_properties_init()
1338 ZEND_API int _object_init_ex(zval *arg, zend_class_entry *class_type ZEND_FILE_LINE_DC) /* {{{ */ in _object_init_ex() argument
1340 return _object_and_properties_init(arg, class_type, 0 ZEND_FILE_LINE_RELAY_CC); in _object_init_ex()
1344 ZEND_API int _object_init(zval *arg ZEND_FILE_LINE_DC) /* {{{ */ in _object_init()
1346 return _object_init_ex(arg, zend_standard_class_def ZEND_FILE_LINE_RELAY_CC); in _object_init()
1350 ZEND_API int add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n) /* {{{ */ in add_assoc_long_ex() argument
1355 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_long_ex()
1360 ZEND_API int add_assoc_null_ex(zval *arg, const char *key, size_t key_len) /* {{{ */ in add_assoc_null_ex() argument
1365 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_null_ex()
1370 ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b) /* {{{ */ in add_assoc_bool_ex() argument
1375 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_bool_ex()
1380 ZEND_API int add_assoc_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r) /*… in add_assoc_resource_ex() argument
1385 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_resource_ex()
1390 ZEND_API int add_assoc_double_ex(zval *arg, const char *key, size_t key_len, double d) /* {{{ */ in add_assoc_double_ex() argument
1395 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_double_ex()
1400 ZEND_API int add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str) /* {{{ … in add_assoc_str_ex() argument
1405 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_str_ex()
1410 ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, const char *str) /* {{… in add_assoc_string_ex() argument
1415 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_string_ex()
1420 ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size… in add_assoc_stringl_ex() argument
1425 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_stringl_ex()
1430 ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) /* {{{ */ in add_assoc_zval_ex() argument
1434 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, value); in add_assoc_zval_ex()
1439 ZEND_API int add_index_long(zval *arg, zend_ulong index, zend_long n) /* {{{ */ in add_index_long() argument
1444 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_long()
1448 ZEND_API int add_index_null(zval *arg, zend_ulong index) /* {{{ */ in add_index_null() argument
1453 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_null()
1457 ZEND_API int add_index_bool(zval *arg, zend_ulong index, int b) /* {{{ */ in add_index_bool() argument
1462 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_bool()
1466 ZEND_API int add_index_resource(zval *arg, zend_ulong index, zend_resource *r) /* {{{ */ in add_index_resource() argument
1471 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_resource()
1475 ZEND_API int add_index_double(zval *arg, zend_ulong index, double d) /* {{{ */ in add_index_double() argument
1480 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_double()
1484 ZEND_API int add_index_str(zval *arg, zend_ulong index, zend_string *str) /* {{{ */ in add_index_str() argument
1489 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_str()
1493 ZEND_API int add_index_string(zval *arg, zend_ulong index, const char *str) /* {{{ */ in add_index_string() argument
1498 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_string()
1502 ZEND_API int add_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) /* {{{ … in add_index_stringl() argument
1507 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_stringl()
1511 ZEND_API int add_index_zval(zval *arg, zend_ulong index, zval *value) /* {{{ */ in add_index_zval() argument
1513 return zend_hash_index_update(Z_ARRVAL_P(arg), index, value) ? SUCCESS : FAILURE; in add_index_zval()
1517 ZEND_API int add_next_index_long(zval *arg, zend_long n) /* {{{ */ in add_next_index_long() argument
1522 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_long()
1526 ZEND_API int add_next_index_null(zval *arg) /* {{{ */ in add_next_index_null() argument
1531 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_null()
1535 ZEND_API int add_next_index_bool(zval *arg, int b) /* {{{ */ in add_next_index_bool() argument
1540 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_bool()
1544 ZEND_API int add_next_index_resource(zval *arg, zend_resource *r) /* {{{ */ in add_next_index_resource() argument
1549 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_resource()
1553 ZEND_API int add_next_index_double(zval *arg, double d) /* {{{ */ in add_next_index_double() argument
1558 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_double()
1562 ZEND_API int add_next_index_str(zval *arg, zend_string *str) /* {{{ */ in add_next_index_str() argument
1567 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_str()
1571 ZEND_API int add_next_index_string(zval *arg, const char *str) /* {{{ */ in add_next_index_string() argument
1576 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_string()
1580 ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length) /* {{{ */ in add_next_index_stringl() argument
1585 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_stringl()
1589 ZEND_API int add_next_index_zval(zval *arg, zval *value) /* {{{ */ in add_next_index_zval() argument
1591 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), value) ? SUCCESS : FAILURE; in add_next_index_zval()
1595 ZEND_API zval *add_get_assoc_string_ex(zval *arg, const char *key, uint32_t key_len, const char *st… in add_get_assoc_string_ex() argument
1600 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_get_assoc_string_ex()
1605 ZEND_API zval *add_get_assoc_stringl_ex(zval *arg, const char *key, uint32_t key_len, const char *s… in add_get_assoc_stringl_ex() argument
1610 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_get_assoc_stringl_ex()
1615 ZEND_API zval *add_get_index_long(zval *arg, zend_ulong index, zend_long l) /* {{{ */ in add_get_index_long() argument
1620 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_long()
1624 ZEND_API zval *add_get_index_double(zval *arg, zend_ulong index, double d) /* {{{ */ in add_get_index_double() argument
1629 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_double()
1633 ZEND_API zval *add_get_index_str(zval *arg, zend_ulong index, zend_string *str) /* {{{ */ in add_get_index_str() argument
1638 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_str()
1642 ZEND_API zval *add_get_index_string(zval *arg, zend_ulong index, const char *str) /* {{{ */ in add_get_index_string() argument
1647 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_string()
1651 ZEND_API zval *add_get_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) /… in add_get_index_stringl() argument
1656 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_stringl()
1703 ZEND_API int add_property_long_ex(zval *arg, const char *key, size_t key_len, zend_long n) /* {{{ */ in add_property_long_ex() argument
1710 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_long_ex()
1717 ZEND_API int add_property_bool_ex(zval *arg, const char *key, size_t key_len, zend_long b) /* {{{ */ in add_property_bool_ex() argument
1724 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_bool_ex()
1731 ZEND_API int add_property_null_ex(zval *arg, const char *key, size_t key_len) /* {{{ */ in add_property_null_ex() argument
1738 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_null_ex()
1745 ZEND_API int add_property_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r)… in add_property_resource_ex() argument
1752 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_resource_ex()
1759 ZEND_API int add_property_double_ex(zval *arg, const char *key, size_t key_len, double d) /* {{{ */ in add_property_double_ex() argument
1766 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_double_ex()
1773 ZEND_API int add_property_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str) /* {… in add_property_str_ex() argument
1780 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_str_ex()
1787 ZEND_API int add_property_string_ex(zval *arg, const char *key, size_t key_len, const char *str) /*… in add_property_string_ex() argument
1794 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_string_ex()
1801 ZEND_API int add_property_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, s… in add_property_stringl_ex() argument
1808 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_stringl_ex()
1815 ZEND_API int add_property_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) /* {{{ */ in add_property_zval_ex() argument
1820 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, value, NULL); in add_property_zval_ex()
2533 static int clean_module_class(zval *el, void *arg) /* {{{ */ in clean_module_class() argument
2536 int module_number = *(int *)arg; in clean_module_class()
3571 zval *arg, *params; in zend_fcall_info_args_ex() local
3587 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(args), arg) { in zend_fcall_info_args_ex()
3588 if (func && !Z_ISREF_P(arg) && ARG_SHOULD_BE_SENT_BY_REF(func, n)) { in zend_fcall_info_args_ex()
3589 ZVAL_NEW_REF(params, arg); in zend_fcall_info_args_ex()
3590 if (Z_REFCOUNTED_P(arg)) { in zend_fcall_info_args_ex()
3591 Z_ADDREF_P(arg); in zend_fcall_info_args_ex()
3594 ZVAL_COPY(params, arg); in zend_fcall_info_args_ex()
3636 zval *arg; in zend_fcall_info_argv() local
3649 arg = va_arg(*argv, zval *); in zend_fcall_info_argv()
3650 ZVAL_COPY(&fci->params[i], arg); in zend_fcall_info_argv()