Home
last modified time | relevance | path

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

/PHP-7.2/Zend/
H A Dzend_compile.h922 arg_num--; in zend_check_arg_send_type()
923 if (UNEXPECTED(arg_num >= zf->common.num_args)) { in zend_check_arg_send_type()
927 arg_num = zf->common.num_args; in zend_check_arg_send_type()
932 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \ argument
935 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \ argument
938 #define ARG_MAY_BE_SENT_BY_REF(zf, arg_num) \ argument
945 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
948 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
954 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
959 ZEND_CHECK_ARG_FLAG(zf, arg_num, ZEND_SEND_BY_REF)
[all …]
H A Dzend_vm_def.h4361 int arg_num; variable
4415 arg_num++;
4535 uint32_t arg_num; variable
4557 arg_num = 1;
4572 arg_num,
4588 arg_num++;
4595 arg_num = 1;
4605 arg_num,
4621 arg_num++;
4678 uint32_t arg_num; variable
[all …]
H A Dzend_execute.c718 int arg_num, const zend_class_entry *ce, zval *value) in zend_verify_arg_error() argument
732 arg_num, fclass, fsep, fname, need_msg, need_kind, need_or_null, given_msg, given_kind, in zend_verify_arg_error()
878 if (EXPECTED(arg_num <= zf->common.num_args)) { in zend_verify_arg_type()
879 cur_arg_info = &zf->common.arg_info[arg_num-1]; in zend_verify_arg_type()
887 zend_verify_arg_error(zf, cur_arg_info, arg_num, ce, arg); in zend_verify_arg_type()
2284 uint32_t arg_num = opline->extended_value & ZEND_FETCH_ARG_MASK; in zend_is_by_ref_func_arg_fetch() local
2286 if (EXPECTED(arg_num <= MAX_ARG_FLAG_NUM)) { in zend_is_by_ref_func_arg_fetch()
2287 return QUICK_ARG_SHOULD_BE_SENT_BY_REF(call->func, arg_num); in zend_is_by_ref_func_arg_fetch()
2289 return ARG_SHOULD_BE_SENT_BY_REF(call->func, arg_num); in zend_is_by_ref_func_arg_fetch()
3058 zend_verify_arg_type(zf, arg_num, arg, NULL, &dummy_cache_slot); in zend_check_internal_arg_type()
[all …]
H A Dzend_execute.h57 ZEND_API void ZEND_FASTCALL zend_check_internal_arg_type(zend_function *zf, uint32_t arg_num, zval …
58 ZEND_API int ZEND_FASTCALL zend_check_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, zva…
H A Dzend_API.c526 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
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()
794 class_name, space, get_active_function_name(), arg_num, error); in zend_parse_arg()
799 class_name, space, get_active_function_name(), arg_num, expected_type, 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()
H A Dzend_compile.c3153 uint32_t arg_num = i + 1; in zend_compile_args() local
3184 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3186 } else if (ARG_MAY_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3196 if (ARG_SHOULD_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3205 BP_VAR_FUNC_ARG | (arg_num << BP_VAR_SHIFT)); in zend_compile_args()
3213 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3215 } else if (ARG_MAY_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3225 if (ARG_SHOULD_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3236 if (ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args()
3246 opline->op2.opline_num = arg_num; in zend_compile_args()
[all …]
H A Dzend_vm_execute.h1179 int arg_num; local
1233 arg_num++;
1353 uint32_t arg_num; local
1375 arg_num = 1;
1390 arg_num,
1406 arg_num++;
1413 arg_num = 1;
1423 arg_num,
1439 arg_num++;
2288 uint32_t arg_num; local
[all …]
H A Dzend_API.h287 ZEND_API int zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...);
H A Dzend_builtin_functions.c94 ZEND_ARG_INFO(0, arg_num)
/PHP-7.2/
H A DREADME.PARAMETER_PARSING_API33 int zend_parse_parameter(int flags, int arg_num, zval **arg, const char *spec, ...);
/PHP-7.2/ext/opcache/Optimizer/
H A Dzend_inference.c4368 uint32_t arg_num = opline->op1.num; in zend_may_throw() local
4371 if (EXPECTED(arg_num <= op_array->num_args)) { in zend_may_throw()
4372 cur_arg_info = &op_array->arg_info[arg_num-1]; in zend_may_throw()

Completed in 226 milliseconds