/src/tests/usr.bin/xlint/lint1/ |
lex_char_uchar.c | 20 char ch = '\xff'; variable in typeref:typename:char
|
msg_294.c | 10 char ch = '1234'; variable in typeref:typename:char
|
msg_263.c | 9 char ch = '\?'; variable in typeref:typename:char
|
msg_264.c | 9 char ch = '\v'; variable in typeref:typename:char
|
msg_165.c | 11 unsigned char ch; local in function:example 14 /* expect+1: warning: 'ch' set but not used in function 'example' [191] */ 15 ch = 0x1234;
|
msg_299.c | 15 void old_style(char ch);
|
msg_300.c | 16 void old_style(char ch);
|
/src/sys/arch/emips/stand/common/ |
putchar.c | 40 putchar(int ch) 42 PutChar((uint8_t)ch);
|
/src/games/hangman/ |
getguess.c | 52 int ch; local in function:getguess 59 ch = readch(); 60 if (isalpha(ch)) { 61 if (isupper(ch)) 62 ch = tolower(ch); 63 if (Guessed[ch - 'a']) 65 ch); 69 if (ch == CTRL('D')) 73 "Not a valid guess: '%s'", unctrl(ch)); 97 char ch; local in function:readch [all...] |
/src/sys/arch/evbmips/stand/sbmips/common/ |
cfe.c | 45 char ch; local in function:getchar 48 while ((res = cfe_read(conhandle,&ch,1)) == 0) ; /* null loop */ 49 return (res < 0) ? -1 : ch; 54 char ch; local in function:putchar 56 ch = (char) c; 57 if (ch == '\n') 59 while (cfe_write(conhandle,&ch,1) == 0) ; /* null loop */
|
/src/sys/arch/sbmips/stand/common/ |
cfe.c | 45 char ch; local in function:getchar 48 while ((res = cfe_read(conhandle,&ch,1)) == 0) ; /* null loop */ 49 return (res < 0) ? -1 : ch; 54 char ch; local in function:putchar 56 ch = (char) c; 57 if (ch == '\n') 59 while (cfe_write(conhandle,&ch,1) == 0) ; /* null loop */
|
/src/sys/kern/ |
subr_callback.c | 38 callback_head_init(struct callback_head *ch, int ipl) 41 memset(ch, 0, sizeof(struct callback_head)); 42 mutex_init(&ch->ch_lock, MUTEX_DEFAULT, ipl); 43 cv_init(&ch->ch_cv, "callback"); 44 TAILQ_INIT(&ch->ch_q); 46 ch->ch_next = NULL; 47 ch->ch_nentries = 0; 48 ch->ch_running = 0; 49 ch->ch_flags = 0; 54 callback_head_destroy(struct callback_head *ch) [all...] |
/src/sys/arch/arc/stand/boot/ |
putchar.c | 38 char ch; local in function:putchar 42 ch = '\r'; 43 arcbios_Write(1, &ch, 1, &count); 46 ch = c; 47 arcbios_Write(1, &ch, 1, &count);
|
getchar.c | 38 char ch; local in function:getchar 41 if (arcbios_Read(0, &ch, 1, &count) != ARCBIOS_ESUCCESS) 44 return ch;
|
/src/sys/arch/sgimips/stand/common/ |
putchar.c | 38 char ch; local in function:putchar 42 ch = '\r'; 43 arcbios_Write(1, &ch, 1, &count); 46 ch = c; 47 arcbios_Write(1, &ch, 1, &count);
|
getchar.c | 38 char ch; local in function:getchar 41 if (arcbios_Read(0, &ch, 1, &count) != ARCBIOS_ESUCCESS) 44 return ch;
|
/src/usr.bin/tr/ |
tr.c | 63 int ch, ch2, lastch; local in function:main 68 while ((ch = getopt(argc, argv, "cds")) != -1) 69 switch (ch) { 111 for (lastch = OOBCH; (ch = getchar()) != EOF; ) 112 if (!string1[ch] && (!string2[ch] || lastch != ch)) { 113 lastch = ch; 114 (void)putchar(ch); 129 while ((ch = getchar()) != EOF 263 int ch; local in function:setup [all...] |
/src/usr.bin/cut/ |
x_cut.c | 64 CUT_CH_T ch; local in function:CUT_FN 68 ch = 0; 72 if ((ch = CUT_GETC(fp)) == EOF) 74 if (ch == '\n') 77 (void)CUT_PUTCHAR(ch); 79 if (ch != '\n') { 81 while ((ch = CUT_GETC(fp)) != CUT_EOF && ch != '\n') 82 (void)CUT_PUTCHAR(ch); 84 while ((ch = CUT_GETC(fp)) != CUT_EOF && ch != '\n') [all...] |
/src/sys/arch/mips/sibyte/dev/ |
sbjcn.c | 138 static void sbjcncn_grabdword(struct sbjcn_channel *ch); 139 static char sbjcncn_nextbyte(struct sbjcn_channel *ch); 143 static void sbjcn_enable_debugport(struct sbjcn_channel *ch); 145 void sbjcn_config(struct sbjcn_channel *ch); 146 void sbjcn_shutdown(struct sbjcn_channel *ch); 197 integrate void sbjcn_recv(struct sbjcn_channel *ch); 276 struct sbjcn_channel *ch = &sc->sc_channels[chan]; local in function:sbjcn_attach_channel 280 ch->ch_sc = sc; 281 ch->ch_num = chan; 284 ch->ch_base = (void *)MIPS_PHYS_TO_KSEG1(chan_addr) 500 struct sbjcn_channel *ch; local in function:sbjcnopen 627 struct sbjcn_channel *ch = &sc->sc_channels[SBJCN_CHAN(dev)]; local in function:sbjcnclose 653 struct sbjcn_channel *ch = &sc->sc_channels[SBJCN_CHAN(dev)]; local in function:sbjcnread 663 struct sbjcn_channel *ch = &sc->sc_channels[SBJCN_CHAN(dev)]; local in function:sbjcnwrite 673 struct sbjcn_channel *ch = &sc->sc_channels[SBJCN_CHAN(dev)]; local in function:sbjcntty 683 struct sbjcn_channel *ch = &sc->sc_channels[SBJCN_CHAN(dev)]; local in function:sbjcnioctl 899 struct sbjcn_channel *ch = &sc->sc_channels[SBJCN_CHAN(tp->t_dev)]; local in function:sbjcn_param 1070 struct sbjcn_channel *ch = &sc->sc_channels[SBJCN_CHAN(tp->t_dev)]; local in function:sbjcn_hwiflow 1119 struct sbjcn_channel *ch = &sc->sc_channels[SBJCN_CHAN(tp->t_dev)]; local in function:sbjcn_start 1179 struct sbjcn_channel *ch = &sc->sc_channels[SBJCN_CHAN(tp->t_dev)]; local in function:sbjcnstop 1196 struct sbjcn_channel *ch = arg; local in function:sbjcn_diag 1434 struct sbjcn_channel *ch = arg; local in function:sbjcn_callout [all...] |
sbscn.c | 153 static void sbscn_enable_debugport(struct sbscn_channel *ch); 155 void sbscn_config(struct sbscn_channel *ch); 156 void sbscn_shutdown(struct sbscn_channel *ch); 254 #define GET_INPUT_SIGNALS(ch) \ 255 ((~READ_REG(MIPS_PHYS_TO_KSEG1((ch)->ch_sc->sc_addr + 0x280))) & (ch)->ch_i_mask) 256 #define SET_OUTPUT_SIGNALS(ch, val) \ 260 sigs_to_set = (ch)->ch_o_mask & val; \ 261 sigs_to_clr = (ch)->ch_o_mask & ~val; \ 264 WRITE_REG(MIPS_PHYS_TO_KSEG1((ch)->ch_sc->sc_addr + 0x2c0), 304 struct sbscn_channel *ch = &sc->sc_channels[chan]; local in function:sbscn_attach_channel 552 struct sbscn_channel *ch; local in function:sbscnopen 683 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(dev)]; local in function:sbscnclose 709 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(dev)]; local in function:sbscnread 719 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(dev)]; local in function:sbscnwrite 729 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(dev)]; local in function:sbscnpoll 739 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(dev)]; local in function:sbscntty 749 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(dev)]; local in function:sbscnioctl 982 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(tp->t_dev)]; local in function:sbscn_param 1178 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(tp->t_dev)]; local in function:sbscn_hwiflow 1228 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(tp->t_dev)]; local in function:sbscn_start 1284 struct sbscn_channel *ch = &sc->sc_channels[SBSCN_CHAN(tp->t_dev)]; local in function:sbscnstop 1301 struct sbscn_channel *ch = arg; local in function:sbscn_diag 1461 struct sbscn_channel *ch = arg; local in function:sbscn_soft 1483 struct sbscn_channel *ch = arg; local in function:sbscn_intr [all...] |
/src/lib/libwrap/ |
percent_x.c | 51 int ch; local in function:percent_x 59 if (*str == '%' && (ch = str[1]) != 0) { 62 ch == 'a' ? eval_hostaddr(request->client) : 63 ch == 'A' ? eval_hostaddr(request->server) : 64 ch == 'c' ? eval_client(request) : 65 ch == 'd' ? eval_daemon(request) : 66 ch == 'h' ? eval_hostinfo(request->client) : 67 ch == 'H' ? eval_hostinfo(request->server) : 68 ch == 'n' ? eval_hostname(request->client) : 69 ch == 'N' ? eval_hostname(request->server) [all...] |
/src/usr.sbin/tcpdchk/ |
percent_x.c | 46 int ch; local in function:percent_x 54 if (*str == '%' && (ch = str[1]) != 0) { 57 ch == 'a' ? eval_hostaddr(request->client) : 58 ch == 'A' ? eval_hostaddr(request->server) : 59 ch == 'c' ? eval_client(request) : 60 ch == 'd' ? eval_daemon(request) : 61 ch == 'h' ? eval_hostinfo(request->client) : 62 ch == 'H' ? eval_hostinfo(request->server) : 63 ch == 'n' ? eval_hostname(request->client) : 64 ch == 'N' ? eval_hostname(request->server) [all...] |
/src/lib/libcurses/ |
addch.c | 52 addch(chtype ch) 55 return waddch(stdscr, ch); 63 mvaddch(int y, int x, chtype ch) 66 return mvwaddch(stdscr, y, x, ch); 74 mvwaddch(WINDOW *win, int y, int x, chtype ch) 80 return waddch(win, ch); 91 waddch(WINDOW *win, chtype ch) 95 __cursesi_chtype_to_cchar(ch, &cc); 110 waddch(WINDOW *win, chtype ch) 114 buf.ch = (wchar_t)ch & __CHARTEXT [all...] |
echochar.c | 46 echochar(const chtype ch) 49 return wechochar(stdscr, ch); 58 wechochar(WINDOW *win, const chtype ch) 62 retval = waddch(win, ch); 74 pechochar(WINDOW *pad, const chtype ch) 78 retval = waddch(pad, ch);
|
/src/usr.bin/uuencode/ |
uuencode.c | 71 int base64, ch, mode; local in function:main 78 while ((ch = getopt(argc, argv, "m")) != -1) { 79 switch(ch) { 159 int ch, n; local in function:encode 164 ch = ENC(n); 165 if (putchar(ch) == EOF) 174 ch = *p >> 2; 175 ch = ENC(ch); 176 if (putchar(ch) == EOF [all...] |