Home
last modified time | relevance | path

Searched refs:arg_num (Results 1 – 25 of 30) sorted by relevance

12

/PHP-8.3/ext/openssl/
H A Dphp_openssl.h98 const char *file_path, size_t file_path_len, char *real_path, uint32_t arg_num,
103 const char *file_path, size_t file_path_len, char *real_path, uint32_t arg_num) in php_openssl_check_path() argument
106 file_path, file_path_len, real_path, arg_num, false, false, NULL); in php_openssl_check_path()
111 zend_string *file_path, char *real_path, uint32_t arg_num, in php_openssl_check_path_str_ex() argument
115 ZSTR_VAL(file_path), ZSTR_LEN(file_path), real_path, arg_num, contains_file_protocol, in php_openssl_check_path_str_ex()
121 zend_string *file_path, char *real_path, uint32_t arg_num) in php_openssl_check_path_str() argument
123 return php_openssl_check_path_str_ex(file_path, real_path, arg_num, true, false, NULL); in php_openssl_check_path_str()
H A Dopenssl.c529 arg_name = get_active_function_arg_name(arg_num); in php_openssl_check_path_error()
570 if (arg_num == 0) { in php_openssl_check_path_ex()
582 arg_num, error_type, "option %s %s", option_name, error_msg); in php_openssl_check_path_ex()
635 zend_object *cert_obj, zend_string *cert_str, uint32_t arg_num);
639 zend_object *csr_obj, zend_string *csr_str, uint32_t arg_num);
645 char *cert_file, size_t cert_file_len, uint32_t arg_num);
1488 return php_openssl_x509_from_str(cert_str, arg_num, false, NULL); in php_openssl_x509_from_param()
2252 char *cert_file, size_t cert_file_len, uint32_t arg_num) in STACK_OF()
3050 if (!php_openssl_check_path_str(csr_str, file_path, arg_num)) { in php_openssl_csr_from_str()
3074 zend_object *csr_obj, zend_string *csr_str, uint32_t arg_num) in php_openssl_csr_from_param() argument
[all …]
/PHP-8.3/Zend/
H A Dzend_compile.h1057 arg_num--; in zend_check_arg_send_type()
1058 if (UNEXPECTED(arg_num >= zf->common.num_args)) { in zend_check_arg_send_type()
1062 arg_num = zf->common.num_args; in zend_check_arg_send_type()
1067 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \ argument
1070 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \ argument
1073 #define ARG_MAY_BE_SENT_BY_REF(zf, arg_num) \ argument
1080 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
1083 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
1089 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
1094 ZEND_CHECK_ARG_FLAG(zf, arg_num, ZEND_SEND_BY_REF)
[all …]
H A Dzend_API.h2180 return zend_parse_arg_bool_slow(arg, dest, arg_num); in zend_parse_arg_bool()
2196 return zend_parse_arg_long_slow(arg, dest, arg_num); in zend_parse_arg_long()
2212 return zend_parse_arg_double_slow(arg, dest, arg_num); in zend_parse_arg_double()
2224 return zend_parse_arg_number_slow(arg, dest, arg_num); in zend_parse_arg_number()
2248 return zend_parse_arg_str_slow(arg, dest, arg_num); in zend_parse_arg_str()
2257 if (!zend_parse_arg_str(arg, &str, check_null, arg_num)) { in zend_parse_arg_string()
2272 if (!zend_parse_arg_str(arg, dest, check_null, arg_num) || in zend_parse_arg_path_str()
2364 return zend_parse_arg_long_slow(arg, dest_long, arg_num); in zend_parse_arg_array_ht_or_long()
2413 return zend_parse_arg_long_slow(arg, dest_long, arg_num); in zend_parse_arg_obj_or_long()
2474 return zend_parse_arg_str_slow(arg, dest_str, arg_num); in zend_parse_arg_array_ht_or_str()
[all …]
H A Dzend_API.c399 arg_name = get_active_function_arg_name(arg_num); in zend_argument_error_variadic()
403 ZSTR_VAL(func_name), arg_num, in zend_argument_error_variadic()
472 ZEND_ASSERT(arg_num > 0); in zend_null_arg_deprecated()
473 uint32_t arg_offset = arg_num - 1; in zend_null_arg_deprecated()
489 ZSTR_VAL(func_name), arg_num, in zend_null_arg_deprecated()
518 return zend_parse_arg_bool_weak(arg, dest, arg_num); in zend_parse_arg_bool_slow()
535 if (arg_num != (uint32_t)-1) { in zend_parse_arg_long_weak()
563 if (arg_num != (uint32_t)-1) { in zend_parse_arg_long_weak()
738 return zend_parse_arg_str_weak(arg, dest, arg_num); in zend_parse_arg_str_slow()
1052 zend_argument_type_error(arg_num, "%s", error); in zend_parse_arg()
[all …]
H A Dzend_vm_def.h4734 uint32_t arg_num; variable
4849 uint32_t arg_num; variable
4947 uint32_t arg_num; variable
5012 uint32_t arg_num; variable
5096 uint32_t arg_num; variable
5172 arg_num++; in ZEND_HASH_FOREACH_STR_KEY_VAL()
5360 arg_num = 1;
5392 arg_num++; in ZEND_HASH_FOREACH_VAL()
5401 arg_num = 1;
5446 arg_num++; in ZEND_HASH_FOREACH_STR_KEY_VAL()
[all …]
H A Dzend_execute_API.c589 return get_function_arg_name(func, arg_num); in get_active_function_arg_name()
595 if (!func || arg_num == 0 || func->common.num_args < arg_num) { in get_function_arg_name()
600 return ZSTR_VAL(func->common.arg_info[arg_num - 1].name); in get_function_arg_name()
869 uint32_t arg_num = ZEND_CALL_NUM_ARGS(call) + 1; in zend_call_function() local
877 target = zend_handle_named_arg(&call, name, &arg_num, cache_slot); in zend_call_function()
888 zend_vm_stack_extend_call_frame(&call, arg_num - 1, 1); in zend_call_function()
889 target = ZEND_CALL_ARG(call, arg_num); in zend_call_function()
892 if (ARG_SHOULD_BE_SENT_BY_REF(func, arg_num)) { in zend_call_function()
894 if (!ARG_MAY_BE_SENT_BY_REF(func, arg_num)) { in zend_call_function()
897 zend_param_must_be_ref(func, arg_num); in zend_call_function()
[all …]
H A Dzend_execute.h66 ZEND_COLD void ZEND_FASTCALL zend_param_must_be_ref(const zend_function *func, uint32_t arg_num);
95 const zend_function *zf, const zend_arg_info *arg_info, uint32_t arg_num, zval *value);
373 ZEND_API const char *get_active_function_arg_name(uint32_t arg_num);
374 ZEND_API const char *get_function_arg_name(const zend_function *func, uint32_t arg_num);
382 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_cannot_pass_by_reference(uint32_t arg_num);
H A Dzend_vm_execute.h2225 uint32_t arg_num; in ZEND_SEND_UNPACK_SPEC_HANDLER() local
2301 arg_num++; in ZEND_SEND_UNPACK_SPEC_HANDLER()
2454 uint32_t arg_num; in ZEND_SEND_ARRAY_SPEC_HANDLER() local
2489 arg_num = 1; in ZEND_SEND_ARRAY_SPEC_HANDLER()
2521 arg_num++; in ZEND_SEND_ARRAY_SPEC_HANDLER()
2530 arg_num = 1; in ZEND_SEND_ARRAY_SPEC_HANDLER()
2575 arg_num++; in ZEND_SEND_ARRAY_SPEC_HANDLER()
3861 uint32_t arg_num; in ZEND_RECV_INIT_SPEC_CONST_HANDLER() local
7157 uint32_t arg_num; in ZEND_SEND_VAL_EX_SPEC_CONST_CONST_HANDLER() local
10437 uint32_t arg_num; in ZEND_SEND_VAL_EX_SPEC_CONST_UNUSED_HANDLER() local
[all …]
H A Dzend_execute.c595 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_cannot_pass_by_reference(uint32_t arg_num) in zend_cannot_pass_by_reference() argument
599 const char *param_name = get_function_arg_name(EX(call)->func, arg_num); in zend_cannot_pass_by_reference()
695 const zend_function *zf, const zend_arg_info *arg_info, uint32_t arg_num, zval *value) in zend_verify_arg_error() argument
708 zend_argument_type_error(arg_num, "must be of type %s, %s given, called in %s on line %d", in zend_verify_arg_error()
713 zend_argument_type_error(arg_num, in zend_verify_arg_error()
1218 ZEND_ASSERT(arg_num <= zf->common.num_args); in zend_verify_recv_arg_type()
1219 cur_arg_info = &zf->common.arg_info[arg_num-1]; in zend_verify_recv_arg_type()
1223 zend_verify_arg_error(zf, cur_arg_info, arg_num, arg); in zend_verify_recv_arg_type()
1235 zend_verify_arg_error(zf, arg_info, arg_num, arg); in zend_verify_variadic_arg_type()
2276 const char *arg_name = get_function_arg_name(func, arg_num); in zend_param_must_be_ref()
[all …]
H A Dzend_compile.c3652 uint32_t arg_num = i + 1; in zend_compile_args() local
3686 arg_num = zend_get_arg_num(fbc, arg_name); in zend_compile_args()
3699 arg_num = (uint32_t) -1; in zend_compile_args()
3729 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3730 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3745 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3774 opline->op2.num = arg_num; in zend_compile_args()
3784 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3796 if (fbc && arg_num != (uint32_t) -1) { in zend_compile_args()
3807 if (fbc && arg_num != (uint32_t) -1 && !ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
[all …]
/PHP-8.3/ext/intl/calendar/
H A Dcalendar_methods.cpp378 int arg_num = ZEND_NUM_ARGS() - (object ? 0 : 1); in PHP_FUNCTION() local
387 for (int i = 0; i < arg_num; i++) { in PHP_FUNCTION()
394 if (arg_num == 2) { in PHP_FUNCTION()
397 } else if (arg_num == 3) { in PHP_FUNCTION()
399 } else if (arg_num == 4) { in PHP_FUNCTION()
402 } else if (arg_num == 5) { in PHP_FUNCTION()
/PHP-8.3/Zend/Optimizer/
H A Doptimize_func_calls.c137 static bool has_known_send_mode(const optimizer_call_info *info, uint32_t arg_num) in has_known_send_mode() argument
146 || arg_num <= info->func->common.num_args in has_known_send_mode()
H A Dcompact_literals.c46 static size_t type_num_classes(const zend_op_array *op_array, uint32_t arg_num) in type_num_classes() argument
49 if (arg_num > 0) { in type_num_classes()
53 if (EXPECTED(arg_num <= op_array->num_args)) { in type_num_classes()
54 arg_info = &op_array->arg_info[arg_num-1]; in type_num_classes()
/PHP-8.3/ext/mysqli/
H A Dmysqli.c52 #define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num)) argument
H A Dmysqli_nonapi.c31 #define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num)) argument
H A Dmysqli_api.c34 #define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num)) argument
/PHP-8.3/ext/oci8/
H A Doci8_interface.c43 #define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num)) argument
/PHP-8.3/docs/
H A Dparameter-parsing-api.md48 int zend_parse_parameter(int flags, int arg_num, zval **arg, const char *spec, ...);
/PHP-8.3/ext/sockets/
H A Dsockets.c496 static int php_sock_array_to_fd_set(uint32_t arg_num, zval *sock_array, fd_set *fds, PHP_SOCKET *ma… argument
508 …zend_argument_type_error(arg_num, "must only have elements of type Socket, %s given", zend_zval_va…
514 zend_argument_type_error(arg_num, "contains a closed socket");
/PHP-8.3/ext/mbstring/
H A Dmbstring.c236 static const mbfl_encoding *php_mb_get_encoding(zend_string *encoding_name, uint32_t arg_num) { in php_mb_get_encoding() argument
247 …zend_argument_value_error(arg_num, "must be a valid encoding, \"%s\" given", ZSTR_VAL(encoding_nam… in php_mb_get_encoding()
294 const mbfl_encoding ***return_list, size_t *return_size, bool persistent, uint32_t arg_num) in php_mb_parse_encoding_list() argument
350 if (arg_num == 0) { in php_mb_parse_encoding_list()
353 zend_argument_value_error(arg_num, "contains invalid encoding \"%s\"", p1); in php_mb_parse_encoding_list()
382 size_t *return_size, uint32_t arg_num) in php_mb_parse_encoding_array() argument
416 zend_argument_value_error(arg_num, "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str)); in php_mb_parse_encoding_array()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_x86.dasc10476 uint32_t arg_num = opline->op2.num;
10488 ZEND_ASSERT(arg_num <= MAX_ARG_FLAG_NUM);
10642 uint32_t arg_num = opline->op2.num;
10647 arg_num <= MAX_ARG_FLAG_NUM);
10863 uint32_t arg_num = opline->op2.num;
12728 uint32_t arg_num = opline->op1.num;
12733 arg_info = &op_array->arg_info[arg_num-1];
12757 | cmp dword EX->This.u2.num_args, arg_num
12791 uint32_t arg_num = opline->op1.num;
12807 | cmp dword EX->This.u2.num_args, arg_num
[all …]
H A Dzend_jit_arm64.dasc9748 uint32_t arg_num = opline->op2.num;
9760 ZEND_ASSERT(arg_num <= MAX_ARG_FLAG_NUM);
9918 uint32_t arg_num = opline->op2.num;
9923 arg_num <= MAX_ARG_FLAG_NUM);
10145 uint32_t arg_num = opline->op2.num;
11969 uint32_t arg_num = opline->op1.num;
11974 arg_info = &op_array->arg_info[arg_num-1];
12000 | CMP_32_WITH_CONST TMP1w, arg_num, TMP2w
12034 uint32_t arg_num = opline->op1.num;
12051 | CMP_32_WITH_CONST TMP1w, arg_num, TMP2w
[all …]
/PHP-8.3/ext/standard/
H A Darray.c2782 static uint8_t php_range_process_input(const zval *input, uint32_t arg_num, zend_long /* restrict *… argument
2793 zend_argument_value_error(arg_num, "must be a finite number, INF provided");
2797 zend_argument_value_error(arg_num, "must be a finite number, NAN provided");
2811 const char *arg_name = get_active_function_arg_name(arg_num);
2812 …php_error_docref(NULL, E_WARNING, "Argument #%d ($%s) must not be empty, casted to 0", arg_num, ar…
2833 const char *arg_name = get_active_function_arg_name(arg_num);
2834 …NING, "Argument #%d ($%s) must be a single byte, subsequent bytes are ignored", arg_num, arg_name);
/PHP-8.3/ext/gmp/
H A Dgmp.c933 static bool gmp_verify_base(zend_long base, uint32_t arg_num) in gmp_verify_base() argument
936 zend_argument_value_error(arg_num, "must be between 2 and %d", GMP_MAX_BASE); in gmp_verify_base()

Completed in 403 milliseconds

12