Lines Matching refs:check_null

467 …LL zend_parse_arg_class(zval *arg, zend_class_entry **pce, uint32_t num, bool check_null) /* {{{ */  in zend_parse_arg_class()  argument
471 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_class()
813 bool check_null = 0; in zend_parse_arg_impl() local
825 check_null = 1; in zend_parse_arg_impl()
838 if (check_null) { in zend_parse_arg_impl()
842 if (!zend_parse_arg_long(arg, p, is_null, check_null, arg_num)) { in zend_parse_arg_impl()
843 return check_null ? "?int" : "int"; in zend_parse_arg_impl()
853 if (check_null) { in zend_parse_arg_impl()
857 if (!zend_parse_arg_double(arg, p, is_null, check_null, arg_num)) { in zend_parse_arg_impl()
858 return check_null ? "?float" : "float"; in zend_parse_arg_impl()
867 if (!zend_parse_arg_number(arg, p, check_null, arg_num)) { in zend_parse_arg_impl()
868 return check_null ? "int|float|null" : "int|float"; in zend_parse_arg_impl()
877 if (!zend_parse_arg_string(arg, p, pl, check_null, arg_num)) { in zend_parse_arg_impl()
878 return check_null ? "?string" : "string"; in zend_parse_arg_impl()
887 if (!zend_parse_arg_path(arg, p, pl, check_null, arg_num)) { in zend_parse_arg_impl()
892 return check_null ? "?string" : "string"; in zend_parse_arg_impl()
901 if (!zend_parse_arg_path_str(arg, str, check_null, arg_num)) { in zend_parse_arg_impl()
906 return check_null ? "?string" : "string"; in zend_parse_arg_impl()
915 if (!zend_parse_arg_str(arg, str, check_null, arg_num)) { in zend_parse_arg_impl()
916 return check_null ? "?string" : "string"; in zend_parse_arg_impl()
926 if (check_null) { in zend_parse_arg_impl()
930 if (!zend_parse_arg_bool(arg, p, is_null, check_null, arg_num)) { in zend_parse_arg_impl()
931 return check_null ? "?bool" : "bool"; in zend_parse_arg_impl()
940 if (!zend_parse_arg_resource(arg, p, check_null)) { in zend_parse_arg_impl()
941 return check_null ? "resource or null" : "resource"; in zend_parse_arg_impl()
951 if (!zend_parse_arg_array(arg, p, check_null, c == 'A')) { in zend_parse_arg_impl()
952 return check_null ? "?array" : "array"; in zend_parse_arg_impl()
962 if (!zend_parse_arg_array_ht(arg, p, check_null, c == 'H', separate)) { in zend_parse_arg_impl()
963 return check_null ? "?array" : "array"; in zend_parse_arg_impl()
972 if (!zend_parse_arg_object(arg, p, NULL, check_null)) { in zend_parse_arg_impl()
973 return check_null ? "?object" : "object"; in zend_parse_arg_impl()
983 if (!zend_parse_arg_object(arg, p, ce, check_null)) { in zend_parse_arg_impl()
985 if (check_null) { in zend_parse_arg_impl()
992 return check_null ? "?object" : "object"; in zend_parse_arg_impl()
1003 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
1020 ZSTR_VAL(ce_base->name), check_null ? " or null" : "", Z_STRVAL_P(arg)); in zend_parse_arg_impl()
1027 check_null ? " or null" : "", Z_STRVAL_P(arg)); in zend_parse_arg_impl()
1042 if (check_null && Z_TYPE_P(arg) == IS_NULL) { in zend_parse_arg_impl()
1060 …zend_spprintf(error, 0, "must be a valid callback%s, %s", check_null ? " or null" : "", is_callabl… in zend_parse_arg_impl()
1064 return check_null ? "a valid callback or null" : "a valid callback"; in zend_parse_arg_impl()
1072 zend_parse_arg_zval_deref(real_arg, p, check_null); in zend_parse_arg_impl()