/netbsd-6-1-5-RELEASE/games/boggle/boggle/ |
H A D | bog.c | 133 int ch, done, i, selfuse, sflag; local 145 while ((ch = getopt(argc, argv, "bds:t:w:")) != -1) 146 switch(ch) { 248 ch = inputch(); 250 if (ch == '\e') 252 else if (ch == CTRL('l') || ch == CTRL('r')) 255 if (ch == 'q') { 263 if (ch == '\e') 265 else if (ch 531 int ch; local 689 int ch, j; local [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/vi/ |
H A D | vs_line.c | 55 ARG_CHAR_T ch = L('\0'); local 179 ch = L('$'); 183 ch = L('~'); 188 ch = L('$'); 190 (const char *)KEY_NAME(sp, ch), 191 KEY_LEN(sp, ch)); 271 chlen = (ch = (UCHAR_T)*p++) == L('\t') && !list_tab ? 272 TAB_OFF(scno) : KEY_COL(sp, ch); 298 chlen = (ch = (UCHAR_T)*p++) == L('\t') && !list_tab ? 299 TAB_OFF(scno) : KEY_COL(sp, ch); [all...] |
H A D | v_ulcase.c | 150 ARG_CHAR_T ch; local 158 ch = (UCHAR_T)*p; 159 if (ISLOWER(ch)) { 160 *p = TOUPPER(ch); 162 } else if (ISUPPER(ch)) { 163 *p = TOLOWER(ch);
|
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/roff/troff/ |
H A D | number.cpp | 206 if (tok.ch() == '+') { 210 else if (tok.ch() == '-') { 253 int op = tok.ch(); 266 if (tok.ch() == '=') { 270 else if (tok.ch() == '?') { 277 if (tok.ch() == '=') { 281 else if (tok.ch() == '?') { 288 if (tok.ch() == '=') 409 else if (tok.ch() == '+') 411 else if (tok.ch() [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/ipc/ |
H A D | ipc_method.c | 90 IPCMSGHDR ch; local 99 mh.msg_controllen = sizeof(ch); 100 mh.msg_control = (void *)&ch; 105 ch.header.cmsg_level = SOL_SOCKET; 106 ch.header.cmsg_type = SCM_RIGHTS; 107 ch.header.cmsg_len = sizeof(ch); 109 *(int *)CMSG_DATA(&ch.header) = sockets[1]; 112 *(int *)CMSG_DATA(&ch.header) = sockets[1]; 117 *(int *)CMSG_DATA(&ch [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap/ |
H A D | utf-8-conv.c | 96 wchar_t ch; local 106 ch = (wchar_t)(utf8char[0] & mask[utflen]); 112 ch <<= 6; /* 6 bits of data in each subsequent byte */ 113 ch |= (wchar_t)(utf8char[i] & 0x3f); 116 if (wchar) *wchar = ch; 131 wchar_t ch; local 149 ch = (wchar_t)(utf8str[0] & mask[utflen]); 155 ch <<= 6; /* 6 bits of data in each subsequent byte */ 156 ch |= (wchar_t)(utf8str[i] & 0x3f); 159 if (wcstr) wcstr[wclen] = ch; [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/ |
H A D | make-relative-prefix.c | 90 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 92 # define IS_DIR_SEPARATOR(ch) \ 93 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) 120 int ch; local 133 while ((ch = *p++) != '\0') 135 if (IS_DIR_SEPARATOR (ch)) 164 while ((ch = *p++) != '\0') 166 if (IS_DIR_SEPARATOR (ch)) [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/ |
H A D | make-relative-prefix.c | 90 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 92 # define IS_DIR_SEPARATOR(ch) \ 93 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) 120 int ch; local 133 while ((ch = *p++) != '\0') 135 if (IS_DIR_SEPARATOR (ch)) 164 while ((ch = *p++) != '\0') 166 if (IS_DIR_SEPARATOR (ch)) [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/ |
H A D | m32r-stub.c | 574 hex (unsigned char ch) argument 576 if ((ch >= 'a') && (ch <= 'f')) 577 return (ch - 'a' + 10); 578 if ((ch >= '0') && (ch <= '9')) 579 return (ch - '0'); 580 if ((ch >= 'A') && (ch <= 'F')) 581 return (ch 594 char ch; local 668 char ch; local 762 unsigned char ch; local 787 unsigned char ch; local 813 unsigned char ch; local 1649 gdb_putchar(int ch) argument [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libiberty/ |
H A D | make-relative-prefix.c | 90 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 92 # define IS_DIR_SEPARATOR(ch) \ 93 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) 120 int ch; local 133 while ((ch = *p++) != '\0') 135 if (IS_DIR_SEPARATOR (ch)) 164 while ((ch = *p++) != '\0') 166 if (IS_DIR_SEPARATOR (ch)) [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/ |
H A D | make-relative-prefix.c | 91 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 93 # define IS_DIR_SEPARATOR(ch) \ 94 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) 121 int ch; local 134 while ((ch = *p++) != '\0') 136 if (IS_DIR_SEPARATOR (ch)) 165 while ((ch = *p++) != '\0') 167 if (IS_DIR_SEPARATOR (ch)) [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/preproc/eqn/ |
H A D | text.cpp | 93 static int get_special_char_spacing_type(const char *ch) argument 95 char_info *p = special_char_table.lookup(ch); 99 static int get_special_char_font_type(const char *ch) argument 101 char_info *p = special_char_table.lookup(ch); 105 static void set_special_char_type(const char *ch, int st, int ft) argument 107 char_info *p = special_char_table.lookup(ch); 110 special_char_table.define(ch, p); 274 void set_char_type(const char *type, char *ch) argument 276 assert(ch != 0); 281 a_delete ch; local 424 char *ch = s; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c++/detail/ |
H A D | parser.hpp | 210 tokenizer< IS >::add_quote(char ch, const token_type& type) argument 212 m_quotech = ch; 228 char ch; local 233 while (!done && m_is.get(ch).good()) { 234 if (ch == m_quotech) { 237 while (!done && m_is.get(ch).good()) { 239 if (ch == '\\') 241 else if (ch == '\n') { 246 } else if (ch == m_quotech) 249 text += ch; [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c++/detail/ |
H A D | parser.hpp | 210 tokenizer< IS >::add_quote(char ch, const token_type& type) argument 212 m_quotech = ch; 228 char ch; local 233 while (!done && m_is.get(ch).good()) { 234 if (ch == m_quotech) { 237 while (!done && m_is.get(ch).good()) { 239 if (ch == '\\') 241 else if (ch == '\n') { 246 } else if (ch == m_quotech) 249 text += ch; [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/examples/rlfe/ |
H A D | rlfe.c | 225 add_special_char(int ch) argument 227 if (ch != 0) 228 special_chars[special_chars_count++] = ch; 234 is_special_char(int ch) argument 238 if (ch == eof_char && rl_point == rl_end) 242 if (special_chars[i] == ch) 360 int ch = rl_getc (stdin); local 361 if (is_special_char (ch)) 363 pending_special_char = ch; 366 return ch; 623 char ch[10]; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/gdbserver/ |
H A D | remote-utils.c | 382 ishex (int ch, int *val) argument 384 if ((ch >= 'a') && (ch <= 'f')) 386 *val = ch - 'a' + 10; 389 if ((ch >= 'A') && (ch <= 'F')) 391 *val = ch - 'A' + 10; 394 if ((ch >= '0') && (ch <= '9')) 396 *val = ch 427 char ch; local 971 int ch; local 1155 int ch; local 1360 char ch; local 1383 char ch; local 1409 char ch; local 1440 char ch; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | autri.c | 709 sc->sc_play.ch = 0; 711 sc->sc_rec.ch = 31; 714 sc->sc_play.ch = 0x20; 716 sc->sc_rec.ch = 0x22; 775 int ch, endch; local 800 for (ch = 0; ch < endch; ch++) { 801 mask = 1 << (ch & 0x1f); 802 if (active[(ch 1174 int i, ch, channel; local 1416 autri_enable_interrupt(struct autri_softc *sc, int ch) argument 1427 autri_disable_interrupt(struct autri_softc *sc, int ch) argument 1438 autri_startch(struct autri_softc *sc, int ch, int ch_intr) argument 1452 autri_stopch(struct autri_softc *sc, int ch, int ch_intr) argument [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/ex/ |
H A D | ex_util.c | 63 int ch; local 72 if ((ch = getc(fp)) == EOF && !feof(fp)) { 80 if (ch == EOF || ch == '\n') { 81 if (ch == EOF && !off) 86 *p++ = ch;
|
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c/detail/ |
H A D | test_helpers.c | 158 char ch; local 161 while ((cnt = read(fd, &ch, sizeof(ch))) == sizeof(ch) && 162 ch != '\n') { 163 const atf_error_t err = atf_dynstr_append_fmt(dest, "%c", ch);
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/irs/ |
H A D | resconf.c | 138 int ch; local 140 ch = fgetc(fp); 141 while (ch != '\n' && ch != EOF) 142 ch = fgetc(fp); 144 return (ch); 154 int ch; local 156 ch = fgetc(fp); 157 while (ch != '\n' && ch ! 174 int ch; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/ |
H A D | lwconfig.c | 136 int ch; local 138 ch = fgetc(fp); 139 while (ch != '\n' && ch != EOF) 140 ch = fgetc(fp); 142 return (ch); 153 int ch; local 155 ch = fgetc(fp); 156 while (ch != '\n' && ch ! 174 int ch; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c/detail/ |
H A D | test_helpers.c | 160 char ch; local 163 while ((cnt = read(fd, &ch, sizeof(ch))) == sizeof(ch) && 164 ch != '\n') { 165 const atf_error_t err = atf_dynstr_append_fmt(dest, "%c", ch);
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | scan.c | 147 int ch; local 151 ch = getc (fp); 152 if (ch == EOF || ch == delim) 154 SSTRING_PUT (str, ch); 158 return ch;
|
/netbsd-6-1-5-RELEASE/sys/arch/landisk/dev/ |
H A D | wdc_obio.c | 74 struct ata_channel ch; local 91 memset(&ch, 0, sizeof(ch)); 92 ch.ch_atac = &wdc.sc_atac; 106 wdc_init_shadow_regs(&ch); 115 result = wdcprobe(&ch);
|
/netbsd-6-1-5-RELEASE/sys/arch/evbppc/mpc85xx/ |
H A D | wdc_obio.c | 104 struct ata_channel ch; local 120 memset(&ch, 0, sizeof(ch)); 125 ch.ch_atac = &wdc.sc_atac; 129 wdc_init_shadow_regs(&ch); 130 rv = wdcprobe(&ch);
|