/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-sis.c | 206 struct ata_channel *ch = device_get_softc(dev); local 207 int offset = ch->unit << ((ctlr->chip->chipid == ATA_SIS182) ? 5 : 6); 213 ch->r_io[ATA_SSTATUS].res = ctlr->r_res2; 214 ch->r_io[ATA_SSTATUS].offset = 0x00 + offset; 215 ch->r_io[ATA_SERROR].res = ctlr->r_res2; 216 ch->r_io[ATA_SERROR].offset = 0x04 + offset; 217 ch->r_io[ATA_SCONTROL].res = ctlr->r_res2; 218 ch->r_io[ATA_SCONTROL].offset = 0x08 + offset; 219 ch->flags |= ATA_NO_SLAVE; 220 ch 230 struct ata_channel *ch = device_get_softc(dev); local 243 struct ata_channel *ch = device_get_softc(dev); local [all...] |
/freebsd-11-stable/usr.bin/finger/ |
H A D | lprint.c | 297 int ch, cnt; local 336 while ((ch = getc(fp)) != EOF) 337 if (ch != '\r') 338 vputc(lastc = ch); 346 vputc(unsigned char ch) argument 350 if (!isprint(ch) && !isascii(ch)) { 353 ch = toascii(ch); 357 if (isprint(ch) || (!met [all...] |
/freebsd-11-stable/usr.bin/uudecode/ |
H A D | uudecode.c | 81 int rval, ch; local 86 while ((ch = getopt(argc, argv, "cimo:prs")) != -1) { 87 switch (ch) { 335 int i, ch; local 370 ch = DEC(p[0]) << 2 | DEC(p[1]) >> 4; 371 putc(ch, outfp); 372 ch = DEC(p[1]) << 4 | DEC(p[2]) >> 2; 373 putc(ch, outfp); 374 ch = DEC(p[2]) << 6 | DEC(p[3]); 375 putc(ch, outf [all...] |
/freebsd-11-stable/usr.sbin/dconschat/ |
H A D | dconschat.c | 480 struct dcons_ch *ch; local 485 ch = &dc->port[port].o; 489 if (gen == ch->gen && pos == ch->pos) 492 next_gen = DCONS_NEXT_GEN(ch->gen); 494 if (gen == ch->gen) { 495 if (pos > ch->pos) 497 lost = ch->size * DCONS_GEN_MASK - ch->pos; 498 ch 558 struct dcons_ch *ch; local 1002 int i, ch, error; local [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_hsearch.c | 88 char ch[2]; local 93 /* ch[1] should be constant from here on down. */ 94 ch[1] = '\0'; 98 ch[0] = 'a' + i; 99 e.key = strdup(ch); /* ptr to provided key is kept! */ 106 ATF_REQUIRE_STREQ(ep->key, ch); 111 e.key = ch; 115 ch[0] = 'a' + i; 120 ATF_REQUIRE_STREQ(ep->key, ch); 247 char ch[ local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CocoaConventions.cpp | 112 char ch = *it; local 113 if (ch == 'C' || ch == 'c') { 115 if (ch == 'c' && it != start && isLetter(*(it - 1)))
|
/freebsd-11-stable/sys/dev/sume/ |
H A D | if_sume.c | 324 int ch, loops; local 342 for (ch = 0; ch < SUME_RIFFA_CHANNELS; ch++) { 343 vect = vect0 >> (5 * ch); 344 send = adapter->send[ch]; 345 recv = adapter->recv[ch]; 351 device_printf(dev, "TX ch %d state %u vect = " 352 "0x%08x\n", ch, send->state, vect); 358 device_printf(dev, "ch 1208 int error, ch; local 1495 int ch; local [all...] |
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | sctermvar.h | 36 static __inline void sc_term_ins_line(scr_stat *scp, int y, int n, int ch, 38 static __inline void sc_term_del_line(scr_stat *scp, int y, int n, int ch, 40 static __inline void sc_term_ins_char(scr_stat *scp, int n, int ch, 42 static __inline void sc_term_del_char(scr_stat *scp, int n, int ch, 50 static __inline void sc_term_up_scroll(scr_stat *scp, int n, int ch, 52 static __inline void sc_term_down_scroll(scr_stat *scp, int n, int ch, 54 static __inline void sc_term_clr_eos(scr_stat *scp, int n, int ch, int attr); 55 static __inline void sc_term_clr_eol(scr_stat *scp, int n, int ch, int attr); 61 static __inline void sc_term_gen_scroll(scr_stat *scp, int ch, int attr); 64 sc_term_ins_line(scr_stat *scp, int y, int n, int ch, in argument 78 sc_term_del_line(scr_stat *scp, int y, int n, int ch, int attr, int tail) argument 92 sc_term_ins_char(scr_stat *scp, int n, int ch, int attr) argument 108 sc_term_del_char(scr_stat *scp, int n, int ch, int attr) argument 180 sc_term_up_scroll(scr_stat *scp, int n, int ch, int attr, int head, int tail) argument 196 sc_term_down_scroll(scr_stat *scp, int n, int ch, int attr, int head, int tail) argument 212 sc_term_clr_eos(scr_stat *scp, int n, int ch, int attr) argument 239 sc_term_clr_eol(scr_stat *scp, int n, int ch, int attr) argument 416 sc_term_gen_scroll(scr_stat *scp, int ch, int attr) argument [all...] |
/freebsd-11-stable/sys/arm/freescale/vybrid/ |
H A D | vf_sai.c | 251 struct sc_chinfo *ch; local 258 ch = &scp->chan[0]; 259 ch->dir = dir; 260 ch->run = 0; 261 ch->buffer = b; 262 ch->channel = c; 263 ch->parent = scp; 266 if (sndbuf_setup(ch->buffer, sc->buf_base, sc->dma_size) != 0) { 271 return ch; 277 struct sc_chinfo *ch local 295 struct sc_chinfo *ch = data; local 306 struct sc_chinfo *ch; local 368 struct sc_chinfo *ch = data; local 383 struct sc_chinfo *ch; local 514 struct sc_chinfo *ch = data; local 546 struct sc_chinfo *ch; local [all...] |
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | vfprintf.c | 180 register int ch; /* character from fmt */ local 362 rflag: ch = *fmt++; 363 reswitch: switch (ch) 400 if ((ch = *fmt++) == '*') 407 while (is_digit(ch)) 409 n = 10 * n + to_digit(ch); 410 ch = *fmt++; 412 if (ch == '$') 440 n = 10 * n + to_digit(ch); 441 ch 834 register int ch; /* character from fmt */ local [all...] |
/freebsd-11-stable/contrib/netbsd-tests/fs/ffs/ |
H A D | h_ffs_server.c | 58 int ch; local 60 while ((ch = getopt(argc, argv, "bl")) != -1) { 61 switch(ch) {
|
/freebsd-11-stable/bin/pwd/ |
H A D | pwd.c | 61 int ch; local 65 while ((ch = getopt(argc, argv, "LP")) != -1) 66 switch (ch) {
|
/freebsd-11-stable/bin/rmdir/ |
H A D | rmdir.c | 59 int ch, errors; local 61 while ((ch = getopt(argc, argv, "pv")) != -1) 62 switch(ch) {
|
/freebsd-11-stable/contrib/openbsm/bin/audit/ |
H A D | audit.c | 139 int ch; local 145 while ((ch = getopt(argc, argv, "einst")) != -1) { 146 switch(ch) {
|
/freebsd-11-stable/lib/libvgl/ |
H A D | keyboard.c | 90 unsigned char ch = 0; local 92 read (0, &ch, 1); 93 return (int)ch;
|
/freebsd-11-stable/libexec/mknetid/ |
H A D | parse_group.c | 114 int ch; local 116 while ((ch = getc(_gr_fp)) != '\n' && ch != EOF)
|
/freebsd-11-stable/release/picobsd/tinyware/passwd/ |
H A D | passwd.c | 78 int ch; local 93 while ((ch = getopt(argc, argv, OPTIONS)) != -1) { 94 switch (ch) {
|
/freebsd-11-stable/contrib/unvis/ |
H A D | unvis.c | 57 int ch, eflags = 0; local 60 while ((ch = getopt(argc, argv, "eHhm")) != -1) 61 switch((char)ch) {
|
/freebsd-11-stable/lib/libc/db/recno/ |
H A D | rec_get.c | 121 int ch; local 135 for (p = t->bt_rdata.data;; *p++ = ch) 136 if ((ch = getc(t->bt_rfp)) == EOF || !--len) { 137 if (ch != EOF) 138 *p = ch; 147 if (ch == EOF) 174 int bval, ch; local 180 sz = t->bt_rdata.size;; *p++ = ch, --sz) { 181 if ((ch = getc(t->bt_rfp)) == EOF || ch [all...] |
/freebsd-11-stable/sys/mips/malta/ |
H A D | yamon.h | 68 typedef int (*t_yamon_getchar)(uint32_t port, char *ch); 69 #define YAMON_GETCHAR(ch) \ 70 ((t_yamon_getchar)(YAMON_FUNC(YAMON_GETCHAR_OFS)))(0, ch)
|
/freebsd-11-stable/usr.bin/biff/ |
H A D | biff.c | 58 int ch; local 62 while ((ch = getopt(argc, argv, "")) != -1) 63 switch(ch) {
|
/freebsd-11-stable/usr.bin/cksum/ |
H A D | cksum.c | 65 int ch, fd, rval; local 83 while ((ch = getopt(argc, argv, "o:")) != -1) 84 switch (ch) {
|
/freebsd-11-stable/usr.bin/hexdump/ |
H A D | hexsyntax.c | 53 int ch; local 64 while ((ch = getopt(argc, argv, "bcCde:f:n:os:vx")) != -1) 65 switch (ch) {
|
/freebsd-11-stable/usr.bin/mesg/ |
H A D | mesg.c | 65 int ch; local 67 while ((ch = getopt(argc, argv, "")) != -1) 68 switch (ch) {
|
/freebsd-11-stable/usr.bin/mkfifo/ |
H A D | mkfifo.c | 67 int ch, exitval; local 69 while ((ch = getopt(argc, argv, "m:")) != -1) 70 switch(ch) {
|