Home
last modified time | relevance | path

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

12

/php-src/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()
340 for (tpath += 4; *tpath && !isdigit((int) *tpath); tpath++); in php_fopen_do_pasv()
347 for (; isdigit((int) *tpath); tpath++); in php_fopen_do_pasv()
828 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 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 Dformatted_print.c378 while (isdigit((int) *temppos)) temppos++; in php_sprintf_get_argnum()
535 } else if (isdigit((int)*format)) { in php_formatted_print()
580 } else if (isdigit((int)*format)) { in php_formatted_print()
H A Dmath.c1091 } else if (!isdigit((int)ZSTR_VAL(tmpbuf)[0])) { in _php_math_number_format_ex()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_maketables.c121 if (isdigit(i)) p[cbit_digit + i/8] |= 1u << (i&7);
146 if (isdigit(i)) x += ctype_digit;
H A Dpcre2_convert.c283 if (isdigit(*posix)) PUTCHARS(STR_BACKSLASH); in convert_posix()
558 case 6: return isdigit(c); in convert_glob_char_in_class()
/php-src/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-src/main/
H A Dspprintf.c152 while (isdigit((int)*str)) { \
156 while (isdigit((int)*str++)); \
258 if (isdigit((int)*fmt)) { in xbuf_format_converter()
278 if (isdigit((int)*fmt)) { in xbuf_format_converter()
H A Dsnprintf.c439 while ( isdigit((int)*str ) ) \
558 if (isdigit((int)*fmt)) { in format_converter()
578 if (isdigit((int)*fmt)) { in format_converter()
/php-src/ext/ctype/
H A Dctype.c133 ctype_impl(isdigit, 1, 0); in PHP_FUNCTION()
/php-src/ext/ftp/
H A Dftp.c522 …if (isdigit(ftp->inbuf[0]) && isdigit(ftp->inbuf[1]) && isdigit(ftp->inbuf[2]) && ftp->inbuf[3] ==… in ftp_raw()
864 for (ptr = ftp->inbuf; *ptr && !isdigit(*ptr); ptr++); in ftp_pasv()
1191 for (ptr = ftp->inbuf; *ptr && !isdigit(*ptr); ptr++); in ftp_mdtm()
1389 …if (isdigit(ftp->inbuf[0]) && isdigit(ftp->inbuf[1]) && isdigit(ftp->inbuf[2]) && ftp->inbuf[3] ==… in ftp_getresp()
1395 if (!isdigit(ftp->inbuf[0]) || !isdigit(ftp->inbuf[1]) || !isdigit(ftp->inbuf[2])) { in ftp_getresp()
/php-src/ext/gd/libgd/
H A Dgd_xbm.c194 if (!isupper(name[i]) && !islower(name[i]) && !isdigit(name[i])) { in gdImageXbmCtx()
/php-src/ext/fileinfo/libmagic/
H A Dder.c352 if (!isdigit(CAST(unsigned char, *s))) { in der_cmp()
360 while (isdigit(CAST(unsigned char, *++s))); in der_cmp()
H A Dapprentice.c380 } else if (isdigit(CAST(unsigned char, l[1]))) { in get_standard_integer_type()
391 if (isdigit(CAST(unsigned char, l[2]))) { in get_standard_integer_type()
2157 if (isdigit(CAST(unsigned char, *l)) || *l == '-') { in parse()
2579 for (len = cnt = 0; isdigit(CAST(unsigned char, *ptr)); ptr++, cnt++) \ in check_format_type()
2697 while (isdigit(CAST(unsigned char, *ptr))) in check_format_type()
2701 while (isdigit(CAST(unsigned char , *ptr))) in check_format_type()
3105 if (isdigit(CAST(unsigned char, c))) in hextoint()
H A Dfuncs.c80 while (*p && isdigit((unsigned char)*p)) in file_checkfield()
/php-src/Zend/
H A Dzend_ini.c597 if (digits_consumed[0] == '0' && !isdigit(digits_consumed[1])) { in zend_ini_consume_quantity_prefix()
650 if (!isdigit(digits[0])) { in zend_ini_parse_quantity_internal()
664 if (digits[0] == '0' && !isdigit(digits[1])) { in zend_ini_parse_quantity_internal()
/php-src/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-src/ext/intl/uchar/
H A Duchar.c549 IC_BOOL_METHOD_CHAR(isdigit) in IC_BOOL_METHOD_CHAR()
/php-src/sapi/phpdbg/
H A Dphpdbg_utils.c88 return isdigit(*str); in phpdbg_is_numeric()
/php-src/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()
/php-src/ext/opcache/jit/ir/dynasm/
H A Dminilua.c2849 if(!isdigit(ls->current))
2857 }while(++i<3&&isdigit(ls->current));
2958 else if(isdigit(ls->current)){
7132 case'd':res=isdigit(c);break;
7277 if(isdigit(uchar(*(p+1)))){
7453 if(!isdigit(uchar(news[i])))
7564 if(isdigit(uchar(*p)))p++;
7565 if(isdigit(uchar(*p)))p++;
7568 if(isdigit(uchar(*p)))p++;
7569 if(isdigit(uchar(*p)))p++;
[all …]

Completed in 108 milliseconds

12