Home
last modified time | relevance | path

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

12

/PHP-8.1/ext/standard/
H A Dstrnatcmp.c43 if ((*a == aend || !isdigit((int)(unsigned char)**a)) && in compare_right()
44 (*b == bend || !isdigit((int)(unsigned char)**b))) in compare_right()
46 else if (*a == aend || !isdigit((int)(unsigned char)**a)) in compare_right()
48 else if (*b == bend || !isdigit((int)(unsigned char)**b)) in compare_right()
70 if ((*a == aend || !isdigit((int)(unsigned char)**a)) && in compare_left()
71 (*b == bend || !isdigit((int)(unsigned char)**b))) in compare_left()
73 else if (*a == aend || !isdigit((int)(unsigned char)**a)) in compare_left()
75 else if (*b == bend || !isdigit((int)(unsigned char)**b)) in compare_left()
106 while (ca == '0' && (ap+1 < aend) && isdigit((int)(unsigned char)*(ap+1))) { in strnatcmp_ex()
110 while (cb == '0' && (bp+1 < bend) && isdigit((int)(unsigned char)*(bp+1))) { in strnatcmp_ex()
[all …]
H A Dversioning.c48 #define isdig(x) (isdigit(x)&&(x)!='.') in php_canonicalize_version()
49 #define isndig(x) (!isdigit(x)&&(x)!='.') in php_canonicalize_version()
155 if (isdigit(*p1) && isdigit(*p2)) { in php_version_compare()
160 } else if (!isdigit(*p1) && !isdigit(*p2)) { in php_version_compare()
165 if (isdigit(*p1)) { in php_version_compare()
183 if (isdigit(*p1)) { in php_version_compare()
189 if (isdigit(*p2)) { in php_version_compare()
H A Dscanf.c348 if ( isdigit( (int)*ch ) ) { in ValidateFormat()
400 if (isdigit(UCHAR(*ch))) { in ValidateFormat()
697 } else if ( isdigit(UCHAR(*ch))) { in php_sscanf_internal()
709 if ( isdigit(UCHAR(*ch))) { in php_sscanf_internal()
H A Dftp_fopen_wrapper.c81 !(isdigit((int) buffer[0]) && isdigit((int) buffer[1]) && in get_ftp_result()
82 isdigit((int) buffer[2]) && buffer[3] == ' ')); in get_ftp_result()
342 for (tpath += 4; *tpath && !isdigit((int) *tpath); tpath++); in php_fopen_do_pasv()
349 for (; isdigit((int) *tpath); tpath++); in php_fopen_do_pasv()
829 while ((size_t)(p - tmp_line) < sizeof(tmp_line) && !isdigit(*p)) { in php_stream_ftp_url_stat()
H A Dquot_print.c35 if (isdigit(c)) { in php_hex2int()
H A Dformatted_print.c381 while (isdigit((int) *temppos)) temppos++; in php_sprintf_get_argnum()
538 } else if (isdigit((int)*format)) { in php_formatted_print()
583 } else if (isdigit((int)*format)) { in php_formatted_print()
H A Durl.c120 if (!isalpha(*p) && !isdigit(*p) && *p != '+' && *p != '.' && *p != '-') { in php_url_parse_ex2()
149 while (p < ue && isdigit(*p)) { in php_url_parse_ex2()
189 while (pp < ue && pp - p < 6 && isdigit(*pp)) { in php_url_parse_ex2()
H A Dmath.c1034 } else if (!isdigit((int)ZSTR_VAL(tmpbuf)[0])) { in _php_math_number_format_ex()
/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_maketables.c119 if (isdigit(i)) p[cbit_digit + i/8] |= 1u << (i&7);
144 if (isdigit(i)) x += ctype_digit;
H A Dpcre2_convert.c284 if (isdigit(*posix)) PUTCHARS(STR_BACKSLASH); in convert_posix()
551 case 6: return isdigit(c); in convert_glob_char_in_class()
/PHP-8.1/ext/intl/uchar/tests/
H A Dbasic-functionality.phpt17 'istitle', 'isdigit', 'isalpha', 'isalnum',
65 isdigit(): bool(false)
93 isdigit(): bool(false)
121 isdigit(): bool(false)
/PHP-8.1/main/
H A Dspprintf.c150 while (isdigit((int)*str)) { \
154 while (isdigit((int)*str++)); \
263 if (isdigit((int)*fmt)) { in xbuf_format_converter()
283 if (isdigit((int)*fmt)) { in xbuf_format_converter()
H A Dsnprintf.c437 while ( isdigit((int)*str ) ) \
556 if (isdigit((int)*fmt)) { in format_converter()
576 if (isdigit((int)*fmt)) { in format_converter()
/PHP-8.1/ext/ctype/
H A Dctype.c133 ctype_impl(isdigit, 1, 0); in PHP_FUNCTION()
/PHP-8.1/ext/ftp/
H A Dftp.c502 …if (isdigit(ftp->inbuf[0]) && isdigit(ftp->inbuf[1]) && isdigit(ftp->inbuf[2]) && ftp->inbuf[3] ==… in ftp_raw()
844 for (ptr = ftp->inbuf; *ptr && !isdigit(*ptr); ptr++); in ftp_pasv()
1147 for (ptr = ftp->inbuf; *ptr && !isdigit(*ptr); ptr++); in ftp_mdtm()
1345 …if (isdigit(ftp->inbuf[0]) && isdigit(ftp->inbuf[1]) && isdigit(ftp->inbuf[2]) && ftp->inbuf[3] ==… in ftp_getresp()
1351 if (!isdigit(ftp->inbuf[0]) || !isdigit(ftp->inbuf[1]) || !isdigit(ftp->inbuf[2])) { in ftp_getresp()
/PHP-8.1/ext/fileinfo/libmagic/
H A Dder.c347 if (!isdigit(CAST(unsigned char, *s))) in der_cmp()
353 while (isdigit(CAST(unsigned char, *++s))); in der_cmp()
H A Dapprentice.c337 } else if (isdigit(CAST(unsigned char, l[1]))) { in get_standard_integer_type()
348 if (isdigit(CAST(unsigned char, l[2]))) { in get_standard_integer_type()
2009 if (isdigit(CAST(unsigned char, *l)) || *l == '-') { in parse()
2432 for (len = cnt = 0; isdigit(CAST(unsigned char, *ptr)); ptr++, cnt++) \ in check_format_type()
2550 while (isdigit(CAST(unsigned char, *ptr))) in check_format_type()
2554 while (isdigit(CAST(unsigned char , *ptr))) in check_format_type()
2931 if (isdigit(CAST(unsigned char, c))) in hextoint()
H A Dfuncs.c84 while (*p && isdigit((unsigned char)*p)) in file_checkfield()
/PHP-8.1/ext/gd/libgd/
H A Dgd_xbm.c194 if (!isupper(name[i]) && !islower(name[i]) && !isdigit(name[i])) { in gdImageXbmCtx()
/PHP-8.1/ext/intl/uchar/
H A Duchar.stub.php109 public static function isdigit(int|string $codepoint): ?bool {} function in IntlChar
H A Duchar_arginfo.h221 ZEND_METHOD(IntlChar, isdigit);
285 ZEND_ME(IntlChar, isdigit, arginfo_class_IntlChar_isdigit, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
H A Duchar.c539 IC_BOOL_METHOD_CHAR(isdigit) in IC_BOOL_METHOD_CHAR()
/PHP-8.1/ext/filter/
H A Dlogical_filters.c572 if (isalpha(*p) || isdigit(*p) || strchr(valid, *p)) { in is_userinfo_valid()
574 …} else if (*p == '%' && p - ZSTR_VAL(str) <= ZSTR_LEN(str) - 3 && isdigit(*(p+1)) && isxdigit(*(p+… in is_userinfo_valid()
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_utils.c88 return isdigit(*str); in phpdbg_is_numeric()
/PHP-8.1/ext/hash/
H A Dhash.c166 if (isdigit((unsigned char) *spec)) { in parse_serialize_spec()
168 while (isdigit((unsigned char) *spec)) { in parse_serialize_spec()

Completed in 112 milliseconds

12