Searched refs:ch (Results 201 - 225 of 1760) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/inet/
H A Dinet_cidr_pton.c89 int n, ch, tmp, bits; local
93 while (ch = *src++, (isascii(ch) && isdigit(ch))) {
96 n = strchr(digits, ch) - digits;
102 } while ((ch = *src++) != '\0' && isascii(ch) && isdigit(ch));
106 if (ch == '\0' || ch
159 int ch, saw_xdigit; local
259 char *cp, ch; local
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/inet/
H A Dinet_cidr_pton.c99 int n, ch, tmp, bits; local
103 while (ch = *src++, (isascii(ch) && isdigit(ch))) {
106 n = strchr(digits, ch) - digits;
112 } while ((ch = *src++) != '\0' && isascii(ch) && isdigit(ch));
116 if (ch == '\0' || ch
169 int ch, saw_xdigit; local
269 char *cp, ch; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/tr/
H A Dtr.c99 int ch, cnt, lastch, *p; local
103 while ((ch = getopt(argc, argv, "cds")) != -1)
104 switch((char)ch) {
146 for (lastch = OOBCH; (ch = getchar()) != EOF;)
147 if (!string1[ch] && (!string2[ch] || lastch != ch)) {
148 lastch = ch;
149 (void)putchar(ch);
164 while ((ch
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/
H A Dinet_pton.c86 int saw_digit, octets, ch; local
92 while ((ch = *src++) != '\0') {
95 if ((pch = strchr(digits, ch)) != NULL) {
108 } else if (ch == '.' && saw_digit) {
141 int ch, seen_xdigits; local
154 while ((ch = *src++) != '\0') {
157 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
158 pch = strchr((xdigits = xdigits_u), ch);
166 if (ch == ':') {
182 if (ch
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/
H A Dlwinetpton.c85 int saw_digit, octets, ch; local
91 while ((ch = *src++) != '\0') {
94 if ((pch = strchr(digits, ch)) != NULL) {
105 } else if (ch == '.' && saw_digit) {
143 int ch, seen_xdigits; local
156 while ((ch = *src++) != '\0') {
159 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
160 pch = strchr((xdigits = xdigits_u), ch);
168 if (ch == ':') {
184 if (ch
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/
H A Dinet_pton.c87 int saw_digit, octets, ch; local
93 while ((ch = *src++) != '\0') {
96 if ((pch = strchr(digits, ch)) != NULL) {
109 } else if (ch == '.' && saw_digit) {
142 int ch, seen_xdigits; local
155 while ((ch = *src++) != '\0') {
158 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
159 pch = strchr((xdigits = xdigits_u), ch);
167 if (ch == ':') {
183 if (ch
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/
H A Dmclex.c130 parse_digit (unichar ch) argument
134 if (ch == '0')
145 v = (rc_uint_type) (ch - '0');
147 while ((ch = input_stream_pos[0]) != 0)
149 if (ch >= 'A' && ch <= 'F')
150 c = (rc_uint_type) (ch - 'A') + 10;
151 else if (ch >= 'a' && ch <= 'f')
152 c = (rc_uint_type) (ch
331 unichar ch; local
[all...]
/netbsd-6-1-5-RELEASE/dist/nvi/dist/
H A Ddistrib79 ../cl/*.[ch] ../common/*.[ch] ../ex/*.[ch] ../gtk/*.[ch] ../ip/*.[ch] \
80 ../ipc/*.[ch] ../motif/*.[ch] ../motif_l/*.[ch] ../perl_api/*.[ch] \
81 ../tcl_api/*.[ch]
[all...]
/netbsd-6-1-5-RELEASE/dist/smbfs/lib/smb/
H A Dsubr.c223 int ch, pos; local
237 ch = *src++;
238 if (isascii(ch))
239 ch = (isupper(ch) ? ('A' + (ch - 'A' + 13) % 26) :
240 islower(ch) ? ('a' + (ch - 'a' + 13) % 26) : ch);
241 ch
254 int len, ch, pos; local
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dattr_scan0.c172 int ch; local
174 if ((ch = vstring_get_null(plain_buf, fp)) == VSTREAM_EOF) {
180 if (ch != 0) {
187 return (ch);
196 int ch; local
200 if ((ch = attr_scan0_string(fp, base64_buf, context)) < 0)
207 return (ch);
216 int ch; local
218 if ((ch = attr_scan0_string(fp, str_buf, context)) < 0)
225 return (ch);
235 int ch; local
260 int ch; local
[all...]
/netbsd-6-1-5-RELEASE/common/lib/libutil/
H A Dsnprintb.c68 int bit, ch, t_len, s_len = 0, l_len, f_len, v_len, sep; local
80 ch = *bitfmt++;
81 switch (ch != '\177' ? ch : *bitfmt++) {
114 if ((val == 0) && (ch != '\177'))
161 #define PUTS(s) while ((ch = *(s)++) != 0) { \
162 PUTCHR(ch); \
171 if (ch != '\177') {
180 for (; (ch = *bitfmt) > ' '; ++bitfmt) {
181 PUTCHR(ch);
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/fold/
H A Dfold.c68 int ch; local
76 while ((ch = getopt(argc, argv, "0123456789bsw:")) != -1)
77 switch (ch) {
92 if (p[0] == '-' && p[1] == ch && !p[2])
135 wint_t ch; local
139 while ((ch = getwchar()) != WEOF) {
140 if (ch == L'\n') {
150 col = new_column_position (col, ch);
184 col = new_column_position (col, ch);
196 buf[indx++] = ch;
209 new_column_position(int col, wint_t ch) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hpcsh/dev/hd64461/
H A Dhd64461pcmcia.c345 struct hd64461pcmcia_channel *ch = local
348 if (ch->ch_channel == CHANNEL_0) {
369 struct hd64461pcmcia_channel *ch = &sc->sc_ch[channel]; local
374 ch->ch_parent = sc;
375 ch->ch_channel = channel;
384 ch->ch_memt = bus_space_create(0, "PCMCIA attribute memory",
386 bus_space_alloc(ch->ch_memt, 0, 0x00ffffff, 0x01000000,
387 0x01000000, 0x01000000, 0, &ch->ch_membase_addr,
388 &ch->ch_memh);
389 fixup_sh3_pcmcia_area(ch
434 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)arg; local
458 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)arg; local
480 queue_event(struct hd64461pcmcia_channel *ch, enum hd64461pcmcia_event_type type) argument
530 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
561 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
588 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
614 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
678 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
712 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
734 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
757 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
815 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
842 struct hd64461pcmcia_channel *ch = (struct hd64461pcmcia_channel *)pch; local
[all...]
H A Dhd64461_machdep.c51 hd64461pcmcia_power(int ch, enum pcmcia_voltage vol, int on) argument
80 isr = HD64461_PCCISR(ch);
81 gcr = HD64461_PCCGCR(ch);
82 scr = HD64461_PCCSCR(ch);
86 if (ch == 1) {
/netbsd-6-1-5-RELEASE/external/bsd/cron/dist/
H A Ddo_command.c111 int ch; local
120 while ((ch = *input_data++) != '\0') {
122 if (ch != '%')
125 if (ch == '%') {
130 if (!(escaped = (ch == '\\'))) {
131 *p++ = ch;
134 if (ch == '\0') {
334 int ch; local
349 while ((ch = *input_data++) != '\0') {
351 if (ch !
397 int ch = getc(in); local
554 int ch, first; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/spell/spellprog/
H A Dlook.c170 int ch; local
175 ch = '\0';
177 ch = _tolower(*s2);
179 ch = *s2;
180 if (*s1 != ch)
181 return (*s1 - ch);
182 if (ch == '\0')
/netbsd-6-1-5-RELEASE/tests/lib/libc/string/
H A Dt_strchr.c21 slow_strchr(char *buf, int ch) argument
25 ch &= 0xff;
29 if (c == ch)
36 verify_strchr(char *buf, int ch, unsigned int t, unsigned int a) argument
40 off = strchr_fn(buf, ch);
41 ok_off = slow_strchr(buf, ch);
47 buf, ch, off ? off - buf : -1, ok_off ? ok_off - buf : -1, t, a);
/netbsd-6-1-5-RELEASE/games/rogue/
H A Dmessage.c157 short ch; local
171 while (((ch = rgetchar()) != '\r') && (ch != '\n') && (ch != CANCEL)) {
172 if ((ch >= ' ') && (ch <= '~') && (i < buflen-2)) {
173 if ((ch != ' ') || (i > 0)) {
174 buf[i++] = ch;
176 addch(ch);
180 if ((ch
212 int ch; local
354 is_digit(int ch) argument
360 r_index(const char *str, int ch, boolean last) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/arch/arm/
H A Dlocal2.c494 char *ch = NULL; local
496 if (p->n_op == PLUS && p->n_type == FLOAT) ch = "addsf3";
497 else if (p->n_op == PLUS && p->n_type == DOUBLE) ch = "adddf3";
498 else if (p->n_op == PLUS && p->n_type == LDOUBLE) ch = "adddf3";
500 else if (p->n_op == MINUS && p->n_type == FLOAT) ch = "subsf3";
501 else if (p->n_op == MINUS && p->n_type == DOUBLE) ch = "subdf3";
502 else if (p->n_op == MINUS && p->n_type == LDOUBLE) ch = "subdf3";
504 else if (p->n_op == MUL && p->n_type == FLOAT) ch = "mulsf3";
505 else if (p->n_op == MUL && p->n_type == DOUBLE) ch = "muldf3";
506 else if (p->n_op == MUL && p->n_type == LDOUBLE) ch
609 char *ch = NULL; local
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/kern/
H A Dddi.c62 #define isalnum(ch) (isalpha(ch) || isdigit(ch))
63 #define isalpha(ch) (isupper(ch) || islower(ch))
64 #define isdigit(ch) ((ch) >= '0' && (ch) <= '9')
65 #define islower(ch) ((c
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/
H A Dsinh_cosh.c35 mpfr_sinh_cosh (mpfr_ptr sh, mpfr_ptr ch, mpfr_srcptr xt, mpfr_rnd_t rnd_mode) argument
40 MPFR_ASSERTN (sh != ch);
43 ("sh[%#R]=%R ch[%#R]=%R", sh, sh, ch, ch));
49 MPFR_SET_NAN (ch);
57 MPFR_SET_INF (ch);
58 MPFR_SET_POS (ch);
67 inexact_ch = mpfr_set_ui (ch, 1, rnd_mode); /* cosh(0) = 1 */
89 N = MPFR_PREC (ch);
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdnd/
H A Dholiday.c171 struct holiday *ch = NULL; local
176 ch = firsth;
180 if (ch->day == d && ch->month == m)
182 if (ch->year == 0)
187 else if (ch->year == y)
194 if (ch->next == NULL)
197 ch = ch->next;
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/arch/powerpc/
H A Dlocal2.c397 char *ch = NULL; local
399 if (p->n_op == PLUS && p->n_type == FLOAT) ch = "addsf3";
400 else if (p->n_op == PLUS && p->n_type == DOUBLE) ch = "adddf3";
401 else if (p->n_op == PLUS && p->n_type == LDOUBLE) ch = "addtf3";
403 else if (p->n_op == MINUS && p->n_type == FLOAT) ch = "subsf3";
404 else if (p->n_op == MINUS && p->n_type == DOUBLE) ch = "subdf3";
405 else if (p->n_op == MINUS && p->n_type == LDOUBLE) ch = "subtf3";
407 else if (p->n_op == MUL && p->n_type == FLOAT) ch = "mulsf3";
408 else if (p->n_op == MUL && p->n_type == DOUBLE) ch = "muldf3";
409 else if (p->n_op == MUL && p->n_type == LDOUBLE) ch
522 char *ch = NULL; local
[all...]
/netbsd-6-1-5-RELEASE/games/adventure/
H A Dwizard.c139 int ch; local
140 ch = getchar();
141 if (ch == '\n' || ch == EOF)
143 *c = ch;
/netbsd-6-1-5-RELEASE/games/boggle/mkindex/
H A Dmkindex.c100 int ch, pcount; local
116 while ((ch = getc(fp)) != EOF && ch >= 'a')
117 *p++ = ch;
118 lastch = ch;

Completed in 323 milliseconds

1234567891011>>