/freebsd-10-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-uart.h | 132 * @param ch Byte to write 134 static inline void cvmx_uart_write_byte(int uart_index, uint8_t ch) argument 146 cvmx_write_csr(CVMX_MIO_UARTX_THR(uart_index), ch); local
|
/freebsd-10-stable/sys/dev/bvm/ |
H A D | bvm_console.c | 86 bvm_rcons(u_char *ch) argument 92 *ch = (u_char)c; 99 bvm_wcons(u_char ch) argument 102 outl(bvm_cons_port, ch); 211 unsigned char ch; local 213 if (bvm_rcons(&ch) == 0) { 215 kdb_alt_break(ch, &alt_break_state); 217 return (ch);
|
/freebsd-10-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-10-stable/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | CocoaConventions.cpp | 106 char ch = *it; local 107 if (ch == 'C' || ch == 'c') { 109 if (ch == 'c' && it != start && isLetter(*(it - 1)))
|
/freebsd-10-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-10-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-10-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-10-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-10-stable/sys/arm/freescale/vybrid/ |
H A D | vf_sai.c | 253 struct sc_chinfo *ch; local 260 ch = &scp->chan[0]; 261 ch->dir = dir; 262 ch->run = 0; 263 ch->buffer = b; 264 ch->channel = c; 265 ch->parent = scp; 268 if (sndbuf_setup(ch->buffer, sc->buf_base, sc->dma_size) != 0) { 273 return ch; 279 struct sc_chinfo *ch local 297 struct sc_chinfo *ch = data; local 308 struct sc_chinfo *ch; local 370 struct sc_chinfo *ch = data; local 385 struct sc_chinfo *ch; local 516 struct sc_chinfo *ch = data; local 548 struct sc_chinfo *ch; local [all...] |
/freebsd-10-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-10-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 833 register int ch; /* character from fmt */ local [all...] |
/freebsd-10-stable/bin/pwd/ |
H A D | pwd.c | 61 int ch; local 65 while ((ch = getopt(argc, argv, "LP")) != -1) 66 switch (ch) {
|
/freebsd-10-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-10-stable/bin/sh/ |
H A D | output.c | 118 char ch; local 133 while ((ch = *p++) != '\0') { 134 switch (ch) { 146 outc(ch, file);
|
/freebsd-10-stable/bin/uuidgen/ |
H A D | uuidgen.c | 50 int ch, count, i, iterate; local 55 while ((ch = getopt(argc, argv, "1n:o:")) != -1) 56 switch (ch) {
|
/freebsd-10-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-10-stable/contrib/sendmail/src/ |
H A D | ratectrl.c | 306 CHash_T *ch = &CHashAry[(hv + i) & CPMHMASK]; local 310 ch->ch_Family == AF_INET && 311 (saddr->sin.sin_addr.s_addr == ch->ch_Addr4.s_addr || 312 ch->ch_Addr4.s_addr == 0)) 314 chBest = ch; 321 ch->ch_Family == AF_INET6 && 323 &ch->ch_Addr6) != 0 || 324 IN6_IS_ADDR_UNSPECIFIED(&ch->ch_Addr6))) 326 chBest = ch; 331 if (chBest == NULL || ch [all...] |
/freebsd-10-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-10-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-10-stable/lib/libvgl/ |
H A D | keyboard.c | 90 unsigned char ch = 0; local 92 read (0, &ch, 1); 93 return (int)ch;
|
/freebsd-10-stable/libexec/mknetid/ |
H A D | parse_group.c | 114 int ch; local 116 while ((ch = getc(_gr_fp)) != '\n' && ch != EOF)
|
/freebsd-10-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-10-stable/sbin/fsck_msdosfs/ |
H A D | main.c | 66 int ch; local 69 while ((ch = getopt(argc, argv, "CfFnpy")) != -1) { 70 switch (ch) {
|
/freebsd-10-stable/sbin/nvmecontrol/ |
H A D | devlist.c | 67 int ch, ctrlr, fd, found, ret; local 69 while ((ch = getopt(argc, argv, "")) != -1) { 70 switch ((char)ch) {
|
/freebsd-10-stable/sys/dev/sound/pci/ |
H A D | neomagic.c | 86 static int nm_setch(struct sc_chinfo *ch); 323 nm_setch(struct sc_chinfo *ch) argument 325 struct sc_info *sc = ch->parent; 330 if (ch->spd < (samplerates[x] + samplerates[x + 1]) / 2) 335 ch->spd = samplerates[x]; 336 nm_loadcoeff(sc, ch->dir, x); 340 if (ch->fmt & AFMT_16BIT) x |= NM_RATE_BITS_16; 341 if (AFMT_CHANNEL(ch->fmt) > 1) x |= NM_RATE_STEREO; 343 base = (ch->dir == PCMDIR_PLAY)? NM_PLAYBACK_REG_OFFSET : NM_RECORD_REG_OFFSET; 353 struct sc_chinfo *ch; local 381 struct sc_chinfo *ch = data; local 390 struct sc_chinfo *ch = data; local 399 struct sc_chinfo *ch = data; local 409 struct sc_chinfo *ch = data; local 457 struct sc_chinfo *ch = data; local [all...] |