Lines Matching refs:arg_num
1000 static zend_always_inline bool zend_check_arg_send_type(const zend_function *zf, uint32_t arg_num, … in zend_check_arg_send_type() argument
1002 arg_num--; in zend_check_arg_send_type()
1003 if (UNEXPECTED(arg_num >= zf->common.num_args)) { in zend_check_arg_send_type()
1007 arg_num = zf->common.num_args; in zend_check_arg_send_type()
1009 return UNEXPECTED((ZEND_ARG_SEND_MODE(&zf->common.arg_info[arg_num]) & mask) != 0); in zend_check_arg_send_type()
1012 #define ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \ argument
1013 zend_check_arg_send_type(zf, arg_num, ZEND_SEND_BY_REF)
1015 #define ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \ argument
1016 zend_check_arg_send_type(zf, arg_num, ZEND_SEND_BY_REF|ZEND_SEND_PREFER_REF)
1018 #define ARG_MAY_BE_SENT_BY_REF(zf, arg_num) \ argument
1019 zend_check_arg_send_type(zf, arg_num, ZEND_SEND_PREFER_REF)
1025 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
1026 (zf)->quick_arg_flags |= ((mask) << ((arg_num) - 1) * 2); \
1028 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
1029 (((zf)->quick_arg_flags >> (((arg_num) - 1) * 2)) & (mask))
1031 # define ZEND_SET_ARG_FLAG(zf, arg_num, mask) do { \ argument
1032 (zf)->quick_arg_flags |= (((mask) << 6) << (arg_num) * 2); \
1034 # define ZEND_CHECK_ARG_FLAG(zf, arg_num, mask) \ argument
1035 (((zf)->quick_arg_flags >> (((arg_num) + 3) * 2)) & (mask))
1038 #define QUICK_ARG_MUST_BE_SENT_BY_REF(zf, arg_num) \ argument
1039 ZEND_CHECK_ARG_FLAG(zf, arg_num, ZEND_SEND_BY_REF)
1041 #define QUICK_ARG_SHOULD_BE_SENT_BY_REF(zf, arg_num) \ argument
1042 ZEND_CHECK_ARG_FLAG(zf, arg_num, ZEND_SEND_BY_REF|ZEND_SEND_PREFER_REF)
1044 #define QUICK_ARG_MAY_BE_SENT_BY_REF(zf, arg_num) \ argument
1045 ZEND_CHECK_ARG_FLAG(zf, arg_num, ZEND_SEND_PREFER_REF)