Lines Matching +full:3 +full:base +full:- +full:x
4 * -
16 * 3. All advertising materials mentioning features or use of this software
35 * -
53 * -
54 * --Copyright--
64 # define __P(x) x argument
69 * Because the ctype(3) posix definition, if used "safely" in code everywhere,
72 #define ISALNUM(x) isalnum((u_char)(x)) argument
73 #define ISALPHA(x) isalpha((u_char)(x)) argument
74 #define ISASCII(x) isascii((u_char)(x)) argument
75 #define ISDIGIT(x) isdigit((u_char)(x)) argument
76 #define ISPRINT(x) isprint((u_char)(x)) argument
77 #define ISSPACE(x) isspace((u_char)(x)) argument
78 #define ISUPPER(x) isupper((u_char)(x)) argument
79 #define ISXDIGIT(x) isxdigit((u_char)(x)) argument
80 #define ISLOWER(x) islower((u_char)(x)) argument
93 register int base, n; in inet_aton() local
103 * 0x=hex, 0=octal, isdigit=decimal. in inet_aton()
107 val = 0; base = 10; in inet_aton()
110 if (c == 'x' || c == 'X') in inet_aton()
111 base = 16, c = *++cp; in inet_aton()
113 base = 8; in inet_aton()
117 val = (val * base) + (c - '0'); in inet_aton()
119 } else if (base == 16 && ISASCII(c) && ISXDIGIT(c)) { in inet_aton()
121 (c + 10 - (ISLOWER(c) ? 'a' : 'A')); in inet_aton()
133 if (pp >= parts + 3) in inet_aton()
149 n = pp - parts + 1; in inet_aton()
155 case 1: /* a -- 32 bits */ in inet_aton()
158 case 2: /* a.b -- 8.24 bits */ in inet_aton()
164 case 3: /* a.b.c -- 8.8.16 bits */ in inet_aton()
170 case 4: /* a.b.c.d -- 8.8.8.8 bits */ in inet_aton()
177 addr->s_addr = htonl(val); in inet_aton()