/freebsd-11-stable/contrib/ntp/libparse/ |
H A D | clk_dcf7000.c | 155 char ch, 161 parseprintf(DD_PARSE, ("inp_dcf7000(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); 163 switch (ch) 168 if ((rtc = parse_addchar(parseio, ch)) == PARSE_INP_SKIP) 174 return parse_addchar(parseio, ch); 153 inp_dcf7000( parse_t *parseio, char ch, timestamp_t *tstamp ) argument
|
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-national.c | 91 struct ata_channel *ch = device_get_softc(dev); local 93 ch->dma.alignment = 16; 94 ch->dma.max_iosize = 64 * DEV_BSIZE; 102 struct ata_channel *ch = device_get_softc(dev); local 103 int devno = (ch->unit << 1) + target;
|
H A D | ata-ite.c | 116 struct ata_channel *ch = device_get_softc(dev); local 120 ch->flags |= ATA_CHECKS_CABLE; 121 ch->flags |= ATA_NO_ATAPI_DMA; 130 struct ata_channel *ch = device_get_softc(dev); local 131 int devno = (ch->unit << 1) + target; 143 (ch->unit ? (1<<3) : (1<<2)))) { 154 0x56 + (ch->unit << 2) + target, 166 pci_write_config(parent, 0x54 + (ch->unit << 2), 167 max(timings[ch->unit << 1], timings[(ch [all...] |
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | main.c | 159 int ch; local 196 while((ch = getopt(argc, argv, 198 switch(ch) { 270 forward_option = ch; 274 prompt, ch);
|
/freebsd-11-stable/lib/libc/iconv/ |
H A D | citrus_memstream.c | 114 struct _citrus_region *r, char ch) 123 chr = memchr(head, ch, _memstream_remainder(ms)); 140 int ch; local 142 while ((ch = _memstream_peek(ms)) != EOF) { 143 if (!_bcs_isspace(ch)) 113 _citrus_memory_stream_chr(struct _citrus_memory_stream *ms, struct _citrus_region *r, char ch) argument
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | dbgport.c | 68 char ch; local 99 nread = read(conn_fd, &ch, 1); 103 *eax = ch; 110 ch = *eax; 111 nwritten = write(conn_fd, &ch, 1);
|
/freebsd-11-stable/contrib/nvi/common/ |
H A D | key.h | 27 #define CHAR_WIDTH(sp, ch) wcwidth(ch) 28 #define CAN_PRINT(sp, ch) (CHAR_WIDTH(sp, ch) > 0) 42 #define CHAR_WIDTH(sp, ch) 1 43 #define CAN_PRINT(sp, ch) isprint(ch) 147 int ch; /* Key. */ member in struct:_keylist 164 * Note side effect, ch is evaluated multiple times. 166 #define cmdskip(ch) ((c [all...] |
/freebsd-11-stable/lib/libc/stdio/ |
H A D | printf-pos.c | 247 int ch; /* character from fmt */ local 261 while ((ch = *fmt) != '\0' && ch != '%') 263 if (ch == '\0') 269 rflag: ch = *fmt++; 270 reswitch: switch (ch) { 283 if ((ch = *fmt++) == '*') { 288 while (is_digit(ch)) { 289 ch = *fmt++; 298 n = 10 * n + to_digit(ch); 435 wchar_t ch; /* character from fmt */ local [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive_fe/ |
H A D | passphrase.c | 172 char ch, *p, *end; local 249 while ((nr = read(input, &ch, 1)) == 1 && ch != '\n' && ch != '\r') { 252 ch &= 0x7f; 253 if (isalpha((unsigned char)ch)) { 255 ch = (char)tolower((unsigned char)ch); 257 ch = (char)toupper((unsigned char)ch); [all...] |
/freebsd-11-stable/contrib/atf/atf-c++/detail/ |
H A D | application.cpp | 88 impl::option::option(char ch, argument 91 m_character(ch), 145 impl::app::process_option(int ch ATF_DEFS_ATTRIBUTE_UNUSED, 172 int ch; local 175 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) { 176 switch (ch) { 185 process_option(ch, ::optarg);
|
/freebsd-11-stable/usr.bin/tail/ |
H A D | read.c | 67 int ch, len, tlen; local 75 for (wrap = 0, ep = p + off; (ch = getc(fp)) != EOF;) { 76 *p = ch; 142 int ch, rc; local 152 while ((ch = getc(fp)) != EOF) { 158 *p++ = ch; 159 if (ch == '\n') {
|
/freebsd-11-stable/sys/powerpc/powermac/ |
H A D | ata_macio.c | 185 struct ata_channel *ch; local 193 ch = &sc->sc_ch.sc_ch; 205 ch->r_io[i].res = sc->sc_mem; 206 ch->r_io[i].offset = i * ATA_MACIO_REGGAP; 208 ch->r_io[ATA_CONTROL].res = sc->sc_mem; 209 ch->r_io[ATA_CONTROL].offset = ATA_MACIO_ALTOFFSET; 212 ch->unit = 0; 213 ch->flags |= ATA_USE_16BIT | ATA_NO_ATAPI_DMA; 347 struct ata_dbdma_channel *ch = device_get_softc(dev); local 350 if (!ch 362 struct ata_dbdma_channel *ch = device_get_softc(dev); local [all...] |
/freebsd-11-stable/usr.bin/tr/ |
H A D | str.c | 63 wint_t ch; local 116 ch = nextwctype(s->lastch, s->cclass); 117 if (ch == -1) { 121 s->lastch = ch; 124 if ((ch = s->set[s->cnt++]) == OOBCH) { 128 s->lastch = ch; 345 int ch, cnt, val; local 350 ch = (u_char)*++s->str; 351 if (!isdigit(ch) || ch > ' [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
H A D | Editline.cpp | 93 for (wchar_t ch : content) { 94 if (ch != EditLineCharType(' ')) 161 for (EditLineCharType ch : line) { 162 if (ch != EditLineCharType(' ')) 558 char ch = 0; local 567 m_input_connection.Read(&ch, 1, llvm::None, status, nullptr); 572 m_input_connection.Read(&ch, 1, llvm::None, status, nullptr); 578 if (CompleteCharacter(ch, *c)) 608 unsigned char Editline::BreakLineCommand(int ch) { argument 655 unsigned char Editline::EndOrAddLineCommand(int ch) { argument 695 DeleteNextCharCommand(int ch) argument 734 DeletePreviousCharCommand(int ch) argument 768 PreviousLineCommand(int ch) argument 790 NextLineCommand(int ch) argument 827 PreviousHistoryCommand(int ch) argument 833 NextHistoryCommand(int ch) argument 839 FixIndentationCommand(int ch) argument 884 RevertLineCommand(int ch) argument 897 BufferStartCommand(int ch) argument 905 BufferEndCommand(int ch) argument 971 TabCommand(int ch) argument 1469 CompleteCharacter(char ch, EditLineGetCharType &out) argument [all...] |
/freebsd-11-stable/usr.sbin/cron/crontab/ |
H A D | crontab.c | 236 int x, ch; local 242 ch = get_char(in); 243 if (EOF == ch) 245 if ('#' != ch) { 246 putc(ch, out); 249 while (EOF != (ch = get_char(in))) 250 if (ch == '\n') 252 if (EOF == ch) 258 if (EOF != ch) 259 while (EOF != (ch 287 int ch, first; local 508 int ch, eof; local [all...] |
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | csapcm.c | 479 csa_setupchan(struct csa_chinfo *ch) argument 481 struct csa_info *csa = ch->parent; 485 if (ch->dir == PCMDIR_PLAY) { 487 csa_writemem(resp, BA1_PBA, sndbuf_getbufaddr(ch->buffer)); 491 if (!(ch->fmt & AFMT_SIGNED)) 493 if (ch->fmt & AFMT_BIGENDIAN) 495 if (AFMT_CHANNEL(ch->fmt) < 2) 497 if (ch->fmt & AFMT_8BIT) 502 if (ch->fmt & AFMT_16BIT) 504 if (AFMT_CHANNEL(ch 534 struct csa_chinfo *ch = (dir == PCMDIR_PLAY)? &csa->pch : &csa->rch; local 548 struct csa_chinfo *ch = data; local 557 struct csa_chinfo *ch = data; local 572 struct csa_chinfo *ch = data; local 598 struct csa_chinfo *ch = data; local 621 struct csa_chinfo *ch = data; local [all...] |
H A D | vibes.c | 194 struct sc_chinfo *ch; local 195 ch = (dir == PCMDIR_PLAY) ? &sc->pch : &sc->rch; 197 ch->parent = sc; 198 ch->channel = c; 199 ch->dir = dir; 205 ch->buffer = b; 206 ch->fmt = SND_FORMAT(AFMT_U8, 1, 0); 207 ch->spd = DSP_DEFAULT_SPEED; 208 ch->dma_active = ch 222 struct sc_chinfo *ch = data; local 235 struct sc_chinfo *ch = data; local 246 struct sc_chinfo *ch = data; local 315 struct sc_chinfo *ch = data; local 359 struct sc_chinfo *ch = data; local 387 struct sc_chinfo *ch = data; local 436 struct sc_chinfo *ch = data; local [all...] |
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | feeder_matrix.c | 295 uint32_t i, j, ch, in_mask, merge_mask; local 332 for (ch = SND_CHN_T_BEGIN; ch <= SND_CHN_T_END && 333 m_out->map[ch].type != SND_CHN_T_MAX; ch += SND_CHN_T_STEP) { 334 merge_mask = m_out->map[ch].members & in_mask; 336 info->matrix[ch].chn[0] = SND_CHN_T_NULL; 346 info->matrix[ch].chn[j++] = 349 info->matrix[ch].chn[j++] = 370 info->matrix[ch] 559 feeder_matrix_default_id(uint32_t ch) argument 574 feeder_matrix_default_channel_map(uint32_t ch) argument 593 uint32_t i, ch, ext; local 620 uint32_t i, ch, ext; local 641 uint32_t i, ch, ext; local 776 int ch, cheof; local [all...] |
/freebsd-11-stable/sys/dev/sound/isa/ |
H A D | ad1816.c | 320 struct ad1816_chinfo *ch = (dir == PCMDIR_PLAY)? &ad1816->pch : &ad1816->rch; local 322 ch->dir = dir; 323 ch->parent = ad1816; 324 ch->channel = c; 325 ch->buffer = b; 326 if (sndbuf_alloc(ch->buffer, ad1816->parent_dmat, 0, ad1816->bufsize) != 0) 329 sndbuf_dmasetup(ch->buffer, (dir == PCMDIR_PLAY) ? ad1816->drq1 : 331 if (SND_DMA(ch->buffer)) 332 sndbuf_dmasetdir(ch->buffer, dir); 334 return ch; 340 struct ad1816_chinfo *ch = data; local 388 struct ad1816_chinfo *ch = data; local 401 struct ad1816_chinfo *ch = data; local 410 struct ad1816_chinfo *ch = data; local 462 struct ad1816_chinfo *ch = data; local [all...] |
/freebsd-11-stable/usr.sbin/config/ |
H A D | main.c | 123 int ch, len; local 132 while ((ch = getopt(argc, argv, "CI:d:gmps:Vx:")) != -1) 133 switch (ch) { 315 int ch; local 320 while ((ch = getc(fp)) != EOF) 321 if (ch != ' ' && ch != '\t') 323 if (ch == EOF) 325 if (ch == '\\'){ 329 if (ch 371 int ch; local [all...] |
/freebsd-11-stable/contrib/groff/src/roff/troff/ |
H A D | number.cpp | 204 if (tok.ch() == '+') { 208 else if (tok.ch() == '-') { 251 int op = tok.ch(); 264 if (tok.ch() == '=') { 268 else if (tok.ch() == '?') { 275 if (tok.ch() == '=') { 279 else if (tok.ch() == '?') { 286 if (tok.ch() == '=') 407 else if (tok.ch() == '+') 409 else if (tok.ch() [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_tputs.c | 144 NCURSES_SP_NAME(_nc_outch) (NCURSES_SP_DCLx int ch) argument 155 SP_PARM->out_buffer[SP_PARM->out_inuse++] = (char) ch; 157 char tmp = (char) ch; 166 char tmp = (char) ch; 175 _nc_outch(int ch) argument 177 return NCURSES_SP_NAME(_nc_outch) (CURRENT_SCREEN, ch); 185 NCURSES_SP_NAME(_nc_putchar) (NCURSES_SP_DCLx int ch) argument 188 return putchar(ch); 193 _nc_putchar(int ch) argument 195 return putchar(ch); [all...] |
/freebsd-11-stable/contrib/gcclibs/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...] |
/freebsd-11-stable/contrib/binutils/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...] |
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | t-qic.c | 130 char ch; local 132 ch = 0200 + i; 133 if ('\0' == ch) 134 ch = '0'; 135 line_in[i] = ch; 146 char ch; local 148 ch = 0200 + i; 149 if ('\0' == ch) 150 ch = '0'; 151 line_in[i] = ch; [all...] |