Lines Matching refs:arg

193 ZEND_API char *zend_zval_type_name(const zval *arg) /* {{{ */  in zend_zval_type_name()  argument
195 ZVAL_DEREF(arg); in zend_zval_type_name()
196 return zend_get_type_by_const(Z_TYPE_P(arg)); in zend_zval_type_name()
216 …TCALL zend_wrong_paramer_type_error(int num, zend_expected_type expected_type, zval *arg) /* {{{ */ in zend_wrong_paramer_type_error() argument
226 …, space, get_active_function_name(), num, expected_error[expected_type], zend_zval_type_name(arg)); in zend_wrong_paramer_type_error()
230 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_paramer_class_error(int num, char *name, zval *arg in zend_wrong_paramer_class_error() argument
236 class_name, space, get_active_function_name(), num, name, zend_zval_type_name(arg)); in zend_wrong_paramer_class_error()
259 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
263 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_class()
267 convert_to_string_ex(arg); in zend_parse_arg_class()
268 *pce = zend_lookup_class(Z_STR_P(arg)); in zend_parse_arg_class()
276 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_class()
287 Z_STRVAL_P(arg)); in zend_parse_arg_class()
294 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_weak(zval *arg, zend_bool *dest) /* {{{ */ in zend_parse_arg_bool_weak() argument
296 if (EXPECTED(Z_TYPE_P(arg) <= IS_STRING)) { in zend_parse_arg_bool_weak()
297 *dest = zend_is_true(arg); in zend_parse_arg_bool_weak()
305 ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_slow(zval *arg, zend_bool *dest) /* {{{ */ in zend_parse_arg_bool_slow() argument
310 return zend_parse_arg_bool_weak(arg, dest); in zend_parse_arg_bool_slow()
314 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_weak(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_weak() argument
316 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_weak()
317 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak()
320 if (UNEXPECTED(!ZEND_DOUBLE_FITS_LONG(Z_DVAL_P(arg)))) { in zend_parse_arg_long_weak()
323 *dest = zend_dval_to_lval(Z_DVAL_P(arg)); in zend_parse_arg_long_weak()
325 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_long_weak()
329 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) { in zend_parse_arg_long_weak()
343 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_weak()
345 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_long_weak()
354 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_slow(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_slow() argument
359 return zend_parse_arg_long_weak(arg, dest); in zend_parse_arg_long_slow()
363 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_weak(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_cap_weak() argument
365 if (EXPECTED(Z_TYPE_P(arg) == IS_DOUBLE)) { in zend_parse_arg_long_cap_weak()
366 if (UNEXPECTED(zend_isnan(Z_DVAL_P(arg)))) { in zend_parse_arg_long_cap_weak()
369 if (UNEXPECTED(!ZEND_DOUBLE_FITS_LONG(Z_DVAL_P(arg)))) { in zend_parse_arg_long_cap_weak()
370 *dest = (Z_DVAL_P(arg) > 0) ? ZEND_LONG_MAX : ZEND_LONG_MIN; in zend_parse_arg_long_cap_weak()
372 *dest = zend_dval_to_lval(Z_DVAL_P(arg)); in zend_parse_arg_long_cap_weak()
374 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_long_cap_weak()
378 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), dest, &d)) != IS_LONG)) { in zend_parse_arg_long_cap_weak()
392 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_long_cap_weak()
394 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_long_cap_weak()
403 ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_slow(zval *arg, zend_long *dest) /* {{{ */ in zend_parse_arg_long_cap_slow() argument
408 return zend_parse_arg_long_cap_weak(arg, dest); in zend_parse_arg_long_cap_slow()
412 ZEND_API int ZEND_FASTCALL zend_parse_arg_double_weak(zval *arg, double *dest) /* {{{ */ in zend_parse_arg_double_weak() argument
414 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_weak()
415 *dest = (double)Z_LVAL_P(arg); in zend_parse_arg_double_weak()
416 } else if (EXPECTED(Z_TYPE_P(arg) == IS_STRING)) { in zend_parse_arg_double_weak()
420 if (UNEXPECTED((type = is_numeric_str_function(Z_STR_P(arg), &l, dest)) != IS_DOUBLE)) { in zend_parse_arg_double_weak()
427 } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { in zend_parse_arg_double_weak()
429 } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { in zend_parse_arg_double_weak()
438 ZEND_API int ZEND_FASTCALL zend_parse_arg_double_slow(zval *arg, double *dest) /* {{{ */ in zend_parse_arg_double_slow() argument
440 if (EXPECTED(Z_TYPE_P(arg) == IS_LONG)) { in zend_parse_arg_double_slow()
442 *dest = (double)Z_LVAL_P(arg); in zend_parse_arg_double_slow()
446 return zend_parse_arg_double_weak(arg, dest); in zend_parse_arg_double_slow()
450 ZEND_API int ZEND_FASTCALL zend_parse_arg_str_weak(zval *arg, zend_string **dest) /* {{{ */ in zend_parse_arg_str_weak() argument
452 if (EXPECTED(Z_TYPE_P(arg) < IS_STRING)) { in zend_parse_arg_str_weak()
453 convert_to_string(arg); in zend_parse_arg_str_weak()
454 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
455 } else if (UNEXPECTED(Z_TYPE_P(arg) == IS_OBJECT)) { in zend_parse_arg_str_weak()
456 if (Z_OBJ_HANDLER_P(arg, cast_object)) { in zend_parse_arg_str_weak()
458 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, IS_STRING) == SUCCESS) { in zend_parse_arg_str_weak()
459 zval_ptr_dtor(arg); in zend_parse_arg_str_weak()
460 ZVAL_COPY_VALUE(arg, &obj); in zend_parse_arg_str_weak()
461 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
464 } else if (Z_OBJ_HANDLER_P(arg, get)) { in zend_parse_arg_str_weak()
466 zval *z = Z_OBJ_HANDLER_P(arg, get)(arg, &rv); in zend_parse_arg_str_weak()
470 zval_dtor(arg); in zend_parse_arg_str_weak()
471 ZVAL_NULL(arg); in zend_parse_arg_str_weak()
472 if (!zend_make_printable_zval(z, arg)) { in zend_parse_arg_str_weak()
473 ZVAL_COPY_VALUE(arg, z); in zend_parse_arg_str_weak()
475 *dest = Z_STR_P(arg); in zend_parse_arg_str_weak()
488 ZEND_API int ZEND_FASTCALL zend_parse_arg_str_slow(zval *arg, zend_string **dest) /* {{{ */ in zend_parse_arg_str_slow() argument
493 return zend_parse_arg_str_weak(arg, dest); in zend_parse_arg_str_slow()
497 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
502 zval *real_arg = arg; in zend_parse_arg_impl()
505 ZVAL_DEREF(arg); in zend_parse_arg_impl()
508 SEPARATE_ZVAL_NOREF(arg); in zend_parse_arg_impl()
509 real_arg = arg; in zend_parse_arg_impl()
529 if (!zend_parse_arg_long(arg, p, is_null, check_null, c == 'L')) { in zend_parse_arg_impl()
544 if (!zend_parse_arg_double(arg, p, is_null, check_null)) { in zend_parse_arg_impl()
554 if (!zend_parse_arg_string(arg, p, pl, check_null)) { in zend_parse_arg_impl()
564 if (!zend_parse_arg_path(arg, p, pl, check_null)) { in zend_parse_arg_impl()
573 if (!zend_parse_arg_path_str(arg, str, check_null)) { in zend_parse_arg_impl()
582 if (!zend_parse_arg_str(arg, str, check_null)) { in zend_parse_arg_impl()
597 if (!zend_parse_arg_bool(arg, p, is_null, check_null)) { in zend_parse_arg_impl()
607 if (!zend_parse_arg_resource(arg, p, check_null)) { in zend_parse_arg_impl()
618 if (!zend_parse_arg_array(arg, p, check_null, c == 'A')) { in zend_parse_arg_impl()
629 if (!zend_parse_arg_array_ht(arg, p, check_null, c == 'H')) { in zend_parse_arg_impl()
639 if (!zend_parse_arg_object(arg, p, NULL, check_null)) { in zend_parse_arg_impl()
650 if (!zend_parse_arg_object(arg, p, ce, check_null)) { in zend_parse_arg_impl()
665 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
669 convert_to_string_ex(arg); in zend_parse_arg_impl()
670 if ((lookup = zend_lookup_class(Z_STR_P(arg))) == NULL) { in zend_parse_arg_impl()
678 ZSTR_VAL(ce_base->name), Z_STRVAL_P(arg)); in zend_parse_arg_impl()
685 Z_STRVAL_P(arg)); in zend_parse_arg_impl()
699 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
705 if (zend_fcall_info_init(arg, 0, fci, fcc, NULL, &is_callable_error) == SUCCESS) { in zend_parse_arg_impl()
747 static int zend_parse_arg(int arg_num, zval *arg, va_list *va, const char **spec, int flags) /* {{{… in zend_parse_arg() argument
753 expected_type = zend_parse_arg_impl(arg_num, arg, va, spec, &error, &severity); in zend_parse_arg()
769 zend_zval_type_name(arg)); in zend_parse_arg()
781 ZEND_API int zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...) in zend_parse_parameter() argument
787 ret = zend_parse_arg(arg_num, arg, &va, &spec, flags); in zend_parse_parameter()
809 zval *arg; in zend_parse_va_args() local
923 arg = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args()
925 if (zend_parse_arg(i+1, arg, va, &type_spec, flags) == FAILURE) { in zend_parse_va_args()
1057 ZEND_API int _array_init(zval *arg, uint32_t size ZEND_FILE_LINE_DC) /* {{{ */ in _array_init() argument
1059 ZVAL_NEW_ARR(arg); in _array_init()
1060 _zend_hash_init(Z_ARRVAL_P(arg), size, ZVAL_PTR_DTOR, 0 ZEND_FILE_LINE_RELAY_CC); in _array_init()
1275 ZEND_API int _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *proper… in _object_and_properties_init() argument
1285 ZVAL_NULL(arg); in _object_and_properties_init()
1286 Z_OBJ_P(arg) = NULL; in _object_and_properties_init()
1292 ZVAL_NULL(arg); in _object_and_properties_init()
1293 Z_OBJ_P(arg) = NULL; in _object_and_properties_init()
1299 ZVAL_OBJ(arg, zend_objects_new(class_type)); in _object_and_properties_init()
1301 object_properties_init_ex(Z_OBJ_P(arg), properties); in _object_and_properties_init()
1303 object_properties_init(Z_OBJ_P(arg), class_type); in _object_and_properties_init()
1306 ZVAL_OBJ(arg, class_type->create_object(class_type)); in _object_and_properties_init()
1312 ZEND_API int _object_init_ex(zval *arg, zend_class_entry *class_type ZEND_FILE_LINE_DC) /* {{{ */ in _object_init_ex() argument
1314 return _object_and_properties_init(arg, class_type, 0 ZEND_FILE_LINE_RELAY_CC); in _object_init_ex()
1318 ZEND_API int _object_init(zval *arg ZEND_FILE_LINE_DC) /* {{{ */ in _object_init()
1320 return _object_init_ex(arg, zend_standard_class_def ZEND_FILE_LINE_RELAY_CC); in _object_init()
1324 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
1329 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_long_ex()
1334 ZEND_API int add_assoc_null_ex(zval *arg, const char *key, size_t key_len) /* {{{ */ in add_assoc_null_ex() argument
1339 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_null_ex()
1344 ZEND_API int add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b) /* {{{ */ in add_assoc_bool_ex() argument
1349 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_bool_ex()
1354 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
1359 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_resource_ex()
1364 ZEND_API int add_assoc_double_ex(zval *arg, const char *key, size_t key_len, double d) /* {{{ */ in add_assoc_double_ex() argument
1369 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_double_ex()
1374 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
1379 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_str_ex()
1384 ZEND_API int add_assoc_string_ex(zval *arg, const char *key, size_t key_len, char *str) /* {{{ */ in add_assoc_string_ex() argument
1389 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_string_ex()
1394 ZEND_API int add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, char *str, size_t len… in add_assoc_stringl_ex() argument
1399 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_assoc_stringl_ex()
1404 ZEND_API int add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) /* {{{ */ in add_assoc_zval_ex() argument
1408 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, value); in add_assoc_zval_ex()
1413 ZEND_API int add_index_long(zval *arg, zend_ulong index, zend_long n) /* {{{ */ in add_index_long() argument
1418 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_long()
1422 ZEND_API int add_index_null(zval *arg, zend_ulong index) /* {{{ */ in add_index_null() argument
1427 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_null()
1431 ZEND_API int add_index_bool(zval *arg, zend_ulong index, int b) /* {{{ */ in add_index_bool() argument
1436 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_bool()
1440 ZEND_API int add_index_resource(zval *arg, zend_ulong index, zend_resource *r) /* {{{ */ in add_index_resource() argument
1445 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_resource()
1449 ZEND_API int add_index_double(zval *arg, zend_ulong index, double d) /* {{{ */ in add_index_double() argument
1454 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_double()
1458 ZEND_API int add_index_str(zval *arg, zend_ulong index, zend_string *str) /* {{{ */ in add_index_str() argument
1463 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_str()
1467 ZEND_API int add_index_string(zval *arg, zend_ulong index, const char *str) /* {{{ */ in add_index_string() argument
1472 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_string()
1476 ZEND_API int add_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) /* {{{ … in add_index_stringl() argument
1481 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp) ? SUCCESS : FAILURE; in add_index_stringl()
1485 ZEND_API int add_index_zval(zval *arg, zend_ulong index, zval *value) /* {{{ */ in add_index_zval() argument
1487 return zend_hash_index_update(Z_ARRVAL_P(arg), index, value) ? SUCCESS : FAILURE; in add_index_zval()
1491 ZEND_API int add_next_index_long(zval *arg, zend_long n) /* {{{ */ in add_next_index_long() argument
1496 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_long()
1500 ZEND_API int add_next_index_null(zval *arg) /* {{{ */ in add_next_index_null() argument
1505 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_null()
1509 ZEND_API int add_next_index_bool(zval *arg, int b) /* {{{ */ in add_next_index_bool() argument
1514 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_bool()
1518 ZEND_API int add_next_index_resource(zval *arg, zend_resource *r) /* {{{ */ in add_next_index_resource() argument
1523 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_resource()
1527 ZEND_API int add_next_index_double(zval *arg, double d) /* {{{ */ in add_next_index_double() argument
1532 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_double()
1536 ZEND_API int add_next_index_str(zval *arg, zend_string *str) /* {{{ */ in add_next_index_str() argument
1541 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_str()
1545 ZEND_API int add_next_index_string(zval *arg, const char *str) /* {{{ */ in add_next_index_string() argument
1550 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_string()
1554 ZEND_API int add_next_index_stringl(zval *arg, const char *str, size_t length) /* {{{ */ in add_next_index_stringl() argument
1559 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), &tmp) ? SUCCESS : FAILURE; in add_next_index_stringl()
1563 ZEND_API int add_next_index_zval(zval *arg, zval *value) /* {{{ */ in add_next_index_zval() argument
1565 return zend_hash_next_index_insert(Z_ARRVAL_P(arg), value) ? SUCCESS : FAILURE; in add_next_index_zval()
1569 ZEND_API zval *add_get_assoc_string_ex(zval *arg, const char *key, uint key_len, const char *str) /… in add_get_assoc_string_ex() argument
1574 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_get_assoc_string_ex()
1579 ZEND_API zval *add_get_assoc_stringl_ex(zval *arg, const char *key, uint key_len, const char *str, … in add_get_assoc_stringl_ex() argument
1584 ret = zend_symtable_str_update(Z_ARRVAL_P(arg), key, key_len, &tmp); in add_get_assoc_stringl_ex()
1589 ZEND_API zval *add_get_index_long(zval *arg, zend_ulong index, zend_long l) /* {{{ */ in add_get_index_long() argument
1594 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_long()
1598 ZEND_API zval *add_get_index_double(zval *arg, zend_ulong index, double d) /* {{{ */ in add_get_index_double() argument
1603 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_double()
1607 ZEND_API zval *add_get_index_str(zval *arg, zend_ulong index, zend_string *str) /* {{{ */ in add_get_index_str() argument
1612 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_str()
1616 ZEND_API zval *add_get_index_string(zval *arg, zend_ulong index, const char *str) /* {{{ */ in add_get_index_string() argument
1621 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_string()
1625 ZEND_API zval *add_get_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) /… in add_get_index_stringl() argument
1630 return zend_hash_index_update(Z_ARRVAL_P(arg), index, &tmp); in add_get_index_stringl()
1677 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
1684 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_long_ex()
1691 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
1698 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_bool_ex()
1705 ZEND_API int add_property_null_ex(zval *arg, const char *key, size_t key_len) /* {{{ */ in add_property_null_ex() argument
1712 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_null_ex()
1719 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
1726 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_resource_ex()
1733 ZEND_API int add_property_double_ex(zval *arg, const char *key, size_t key_len, double d) /* {{{ */ in add_property_double_ex() argument
1740 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_double_ex()
1747 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
1754 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_str_ex()
1761 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
1768 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_string_ex()
1775 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
1782 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, &tmp, NULL); in add_property_stringl_ex()
1789 ZEND_API int add_property_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) /* {{{ */ in add_property_zval_ex() argument
1794 Z_OBJ_HANDLER_P(arg, write_property)(arg, &z_key, value, NULL); in add_property_zval_ex()
2474 static int clean_module_class(zval *el, void *arg) /* {{{ */ in clean_module_class() argument
2477 int module_number = *(int *)arg; in clean_module_class()
3475 zval *arg, *params; in zend_fcall_info_args_ex() local
3491 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(args), arg) { in zend_fcall_info_args_ex()
3492 if (func && !Z_ISREF_P(arg) && ARG_SHOULD_BE_SENT_BY_REF(func, n)) { in zend_fcall_info_args_ex()
3493 ZVAL_NEW_REF(params, arg); in zend_fcall_info_args_ex()
3494 if (Z_REFCOUNTED_P(arg)) { in zend_fcall_info_args_ex()
3495 Z_ADDREF_P(arg); in zend_fcall_info_args_ex()
3498 ZVAL_COPY(params, arg); in zend_fcall_info_args_ex()
3540 zval *arg; in zend_fcall_info_argv() local
3553 arg = va_arg(*argv, zval *); in zend_fcall_info_argv()
3554 ZVAL_COPY(&fci->params[i], arg); in zend_fcall_info_argv()