Home
last modified time | relevance | path

Searched refs:ISDIGIT (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/sbin/ipf/libipf/
H A Dprintpooldata.c27 ISDIGIT(*pool->ipo_name) ? "Number" : "Name", in printpooldata()
39 (!*pool->ipo_name || ISDIGIT(*pool->ipo_name)) ? \ in printpooldata()
43 (!*pool->ipo_name || ISDIGIT(*pool->ipo_name)) ? \ in printpooldata()
H A Dinet_addr.c75 #define ISDIGIT(x) isdigit((u_char)(x)) macro
105 if (!ISDIGIT(c)) in inet_aton()
116 if (ISASCII(c) && ISDIGIT(c)) { in inet_aton()
H A Dgetportproto.c19 if (ISDIGIT(*name)) { in getportproto()
24 if (!ISDIGIT(*s)) in getportproto()
H A Dprinthashdata.c41 ISDIGIT(*hp->iph_name) ? "Number" : "Name", in printhashdata()
55 ISDIGIT(*hp->iph_name) ? "number" : "name", in printhashdata()
H A Dipft_tx.c50 if (ISDIGIT(*host)) in tx_hostnum()
71 if (ISDIGIT(*name)) in tx_portnum()
223 } else if (ISDIGIT(**cpp) && !index(*cpp, '.')) { in parseline()
368 } else if (ISDIGIT(**cpp) && !index(*cpp, ':')) { in parseipv6()
H A Dgetproto.c22 if (!ISDIGIT(*s)) in getproto()
H A Dconnecttcp.c26 if (ISDIGIT(*server)) { in connecttcp()
H A Dgetport.c27 if (ISDIGIT(*name)) { in getport()
H A Dipft_hx.c165 c = ISDIGIT(c) ? (c - '0') : (TOUPPER(c) - 55); in readhex()
/freebsd/contrib/tcsh/
H A Dvms.termcap.c31 #define ISDIGIT(x) ((x) >= '0' && (x) <= '9') macro
165 for (ret = 0, cp++ ; *cp && ISDIGIT(*cp) ; cp++) in tgetnum()
254 for (i=0 ; *cp && ISDIGIT(*cp) ; in tgetstr()
344 for (delay = 0; *cp && ISDIGIT(*cp) ; cp++) in tputs()
/freebsd/usr.bin/patch/
H A Dbackupfile.c28 #define ISDIGIT(c) (isascii ((unsigned char)c) && isdigit ((unsigned char)c)) macro
144 if (!strncmp(base, backup, base_length) && ISDIGIT(backup[base_length])) { in version_number()
145 for (p = &backup[base_length]; ISDIGIT(*p); ++p) in version_number()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_irc_pxy.c180 if (!ISDIGIT(c)) in ipf_p_irc_complete()
186 for (l = 0; ISDIGIT(c) && (i > 0); i--) { in ipf_p_irc_complete()
202 if (!ISDIGIT(c)) in ipf_p_irc_complete()
207 for (l = 0; ISDIGIT(c) && (i > 0); i--) { in ipf_p_irc_complete()
H A Dip_ftp_pxy.c714 while (*s && !ISDIGIT(*s)) { in ipf_p_ftp_pasv()
960 if (!ISDIGIT(*rptr) || !ISDIGIT(*(rptr + 1)) || !ISDIGIT(*(rptr + 2))) in ipf_p_ftp_server()
1137 if (ISDIGIT(c)) { in ipf_p_ftp_server_valid()
1141 if (ISDIGIT(c)) { in ipf_p_ftp_server_valid()
1145 if (ISDIGIT(c)) { in ipf_p_ftp_server_valid()
1598 while (((c = *s++) != '\0') && ISDIGIT(c)) { in ipf_p_ftp_atoi()
1606 while (((c = *s++) != '\0') && ISDIGIT(c)) { in ipf_p_ftp_atoi()
1677 while (((c = *s++) != '\0') && ISDIGIT(c)) { in ipf_p_ftp_eprt4()
1688 while (((c = *s++) != '\0') && ISDIGIT(c)) { in ipf_p_ftp_eprt4()
1699 while (((c = *s++) != '\0') && ISDIGIT(c)) { in ipf_p_ftp_eprt4()
[all …]
H A Dip_rpcb_pxy.c664 if (!(ISDIGIT(uastr[0]) && ISDIGIT(uastr[l-1]))) in ipf_p_rpcb_getuaddr()
668 if (ISDIGIT(*c)) { in ipf_p_rpcb_getuaddr()
721 while (((c = *s++) != '\0') && ISDIGIT(c)) { in ipf_p_rpcb_atoi()
/freebsd/contrib/nvi/common/
H A Dmultibyte.h45 #define ISDIGIT iswdigit macro
79 #define ISDIGIT isdigit macro
/freebsd/contrib/diff/src/
H A Difdef.c143 if (ISDIGIT (*f)) in format_group()
318 while (ISDIGIT (c)) in do_printf_spec()
321 while (ISDIGIT (c = *f++)) in do_printf_spec()
/freebsd/sbin/ipf/common/
H A Dlexer.c29 #define ishex(c) (ISDIGIT(c) || ((c) >= 'a' && (c) <= 'f') || \
280 } while (ISALPHA(n) || ISDIGIT(n) || n == '_'); in yylex()
522 if (isbuilding == 0 && ISDIGIT(c)) { in yylex()
525 } while (ISDIGIT(n)); in yylex()
/freebsd/sys/netinet/libalias/
H A Dalias_smedia.c209 #define ISDIGIT(a) (((a) >= '0') && ((a) <= '9')) macro
284 if (ISDIGIT(port_data[i])) in alias_rtsp_out()
292 if (ISDIGIT(port_data[i])) in alias_rtsp_out()
/freebsd/sbin/ipf/ipsend/
H A Dsdlpi.c60 while (*s && !ISDIGIT(*s)) in initdevice()
/freebsd/contrib/nvi/vi/
H A Dvi.c508 if (ISDIGIT(key) && key != '0') { in v_cmd()
666 if (ISDIGIT(vp->character)) { in v_cmd()
1147 } while (ISDIGIT(ev.e_c)); in v_count()
1155 } while (ISDIGIT(ev.e_c)); in v_count()
/freebsd/share/examples/ipfilter/l4check/
H A Dl4check.c416 if (ISDIGIT(*host) && inet_aton(host, &ip)) in gethostport()
419 if (ISDIGIT(*host)) in gethostport()
432 if (ISDIGIT(*port)) in gethostport()
/freebsd/contrib/nvi/regex/
H A Dregcomp.c413 (void)REQUIRE(!MORE() || !ISDIGIT((UCHAR_T)PEEK()), REG_BADRPT); in p_ere_exp()
425 (c == '{' && MORE2() && ISDIGIT((UCHAR_T)PEEK2())) )) in p_ere_exp()
454 if (ISDIGIT((UCHAR_T)PEEK())) { in p_ere_exp()
475 (c == '{' && MORE2() && ISDIGIT((UCHAR_T)PEEK2())) ) ) in p_ere_exp()
641 if (MORE() && ISDIGIT((UCHAR_T)PEEK())) { in p_simp_re()
670 while (MORE() && ISDIGIT((UCHAR_T)PEEK()) && count <= DUPMAX) { in p_count()
/freebsd/contrib/nvi/ex/
H A Dex.c1048 if (!ISDIGIT(ecp->cp[0])) { in ex_cmd()
1058 if (!ISDIGIT(*ecp->cp) && (*np != '+' || in ex_cmd()
1955 if (ecp->clen > 1 && ISDIGIT(ecp->cp[1])) in ex_line()
1973 if (ecp->clen != 0 && (ISDIGIT(ecp->cp[0]) || in ex_line()
2011 if (ecp->clen == 0 || (!ISDIGIT(ecp->cp[0]) && in ex_line()
2015 if (!ISDIGIT(ecp->cp[0]) && in ex_line()
2016 !ISDIGIT(ecp->cp[1])) { in ex_line()
/freebsd/contrib/ntp/libntp/
H A Dsnprintf.c518 #ifndef ISDIGIT
519 #define ISDIGIT(ch) ('0' <= (unsigned char)ch && (unsigned char)ch <= '9') macro
520 #endif /* !defined(ISDIGIT) */
629 if (ISDIGIT(ch)) { in rpl_vsnprintf()
662 if (ISDIGIT(ch)) { in rpl_vsnprintf()
/freebsd/sbin/ipf/ipscan/
H A Dipscan_y.y217 if (j && (!ISDIGIT(c) || (c > '7') || in cram()
242 } else if (ISDIGIT(c)) { in cram()

12