Searched refs:ch (Results 76 - 100 of 1373) sorted by relevance

1234567891011>>

/freebsd-10.1-release/lib/libc/string/
H A Dstrchr.c40 strchr(const char *p, int ch) argument
44 c = ch;
H A Dstrchrnul.c37 __strchrnul(const char *p, int ch) argument
41 c = ch;
H A Dstrrchr.c40 strrchr(const char *p, int ch) argument
45 c = ch;
/freebsd-10.1-release/sys/i386/
H A DMakefile27 SI386= ${SYS}/i386/acpica/*.[ch] ${SYS}/i386/bios/*.[ch] \
28 ${SYS}/i386/i386/*.[ch] ${SYS}/i386/ibcs2/*.[ch] \
29 ${SYS}/i386/include/*.[ch] ${SYS}/i386/isa/*.[ch] \
30 ${SYS}/i386/linux/*.[ch] ${SYS}/i386/pci/*.[ch]
/freebsd-10.1-release/sys/libkern/
H A Dstrchr.c37 strchr(const char *p, int ch) argument
46 if (*u.p == ch)
/freebsd-10.1-release/contrib/binutils/gas/
H A Dapp.c304 process_escape (int ch) argument
306 switch (ch)
323 return ch;
346 register int ch, ch2 = 0; local
455 ch = *out_string++;
461 PUT (ch);
469 ch = GET ();
471 if (ch == EOF)
477 if (ch == '\n')
480 while (ch !
[all...]
/freebsd-10.1-release/contrib/ncurses/ncurses/base/
H A Dlib_insch.c53 _nc_insert_ch(WINDOW *win, chtype ch) argument
60 switch (ch) {
70 SetChar2(wch, ch);
78 is8bits(ChCharOf(ch)) &&
79 isprint(ChCharOf(ch))) {
86 SetChar2(wch, ch);
95 } else if (is8bits(ChCharOf(ch)) && iscntrl(ChCharOf(ch))) {
96 s = unctrl(ChCharOf(ch));
98 code = _nc_insert_ch(win, ChAttrOf(ch) | UCha
[all...]
H A Dlib_addch.c53 /* Return bit mask for clearing color pair number if given ch has color */
54 #define COLOR_MASK(ch) (~(attr_t)((ch) & A_COLOR ? A_COLOR : 0))
57 render_char(WINDOW *win, NCURSES_CH_T ch) argument
61 int pair = GetPair(ch);
63 if (ISBLANK(ch)
64 && AttrOf(ch) == A_NORMAL
67 ch = win->_nc_bkgd;
68 SetAttr(ch, a | AttrOf(win->_nc_bkgd));
71 SetPair(ch, pai
190 _nc_build_wch(WINDOW *win, ARG_CH_T ch) argument
243 waddch_literal(WINDOW *win, NCURSES_CH_T ch) argument
392 waddch_nosync(WINDOW *win, const NCURSES_CH_T ch) argument
511 waddch(WINDOW *win, const chtype ch) argument
530 wechochar(WINDOW *win, const chtype ch) argument
[all...]
H A Dlib_getch.c121 int ch = sp->_fifo[peek]; local
125 return ch;
131 int ch; local
132 ch = sp->_fifo[head];
133 TR(TRACE_IEVENT, ("pulling %s from %d", _nc_tracechar(sp, ch), head));
147 return ch;
154 int ch = 0; local
190 ch = KEY_MOUSE;
198 ch = KEY_MOUSE;
203 ch
319 int ch; local
590 int ch = 0; local
[all...]
/freebsd-10.1-release/contrib/amd/amq/
H A Dpawd.c96 char *to, *ch, *hes_name, *dot; local
105 ch = dir + 3;
106 while (*ch && *ch != '/') ch++; /* Skip server */
107 if (!NSTREQ(ch, "/disk/home/", 11))
110 ch += 11;
112 while (*ch && *ch != '/') *to++ = *ch
176 char *ch; local
[all...]
/freebsd-10.1-release/contrib/binutils/binutils/
H A Drclex.c270 int ch; local
337 ch = *t - '0';
341 ch = (ch << 3) | (*t - '0');
345 ch = (ch << 3) | (*t - '0');
349 *s++ = ch;
354 ch = 0;
362 ch = (ch <<
433 int ch; local
614 rclex_tok_add_char(int ch) argument
646 char ch; local
704 read_digit(int ch) argument
759 int ch; local
[all...]
/freebsd-10.1-release/sys/boot/arm/at91/bootspi/
H A Denv_vars.c54 int ch; local
57 ch = boot_commands[currentIndex][currentOffset++];
58 if (ch == '\0' || (currentOffset >= MAX_INPUT_SIZE)) {
61 ch = '\r';
63 return (ch);
/freebsd-10.1-release/sys/dev/ata/chipsets/
H A Data-serverworks.c105 struct ata_channel *ch = device_get_softc(dev); local
111 if (!(ATA_INL(ctlr->r_res2, 0x1f80) & (1 << ch->unit)))
119 ATA_IDX_INL(ch,ATA_STATUS);
177 struct ata_channel *ch = device_get_softc(dev); local
181 ch_offset = ch->unit * 0x100;
184 ch->r_io[i].res = ctlr->r_res2;
187 ch->r_io[ATA_DATA].offset = ch_offset + 0x00;
188 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x04;
189 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08;
190 ch
261 struct ata_channel *ch = device_get_softc(request->parent); local
289 struct ata_channel *ch = device_get_softc(request->parent); local
319 struct ata_channel *ch = device_get_softc(dev); local
376 struct ata_channel *ch = device_get_softc(dev); local
[all...]
H A Data-promise.c370 struct ata_channel *ch = device_get_softc(dev); local
376 ch->dma.start = ata_promise_dmastart;
377 ch->dma.stop = ata_promise_dmastop;
378 ch->dma.reset = ata_promise_dmareset;
381 ch->hw.status = ata_promise_status;
382 ch->flags |= ATA_NO_ATAPI_DMA;
383 ch->flags |= ATA_CHECKS_CABLE;
391 struct ata_channel *ch = device_get_softc(dev); local
393 if (ATA_INL(ctlr->r_res1, 0x1c) & (ch->unit ? 0x00004000 : 0x00000400)) {
403 struct ata_channel *ch local
426 struct ata_channel *ch = device_get_softc(request->parent); local
445 struct ata_channel *ch = device_get_softc(dev); local
458 struct ata_channel *ch = device_get_softc(dev); local
520 struct ata_channel *ch = device_get_softc(dev); local
533 struct ata_channel *ch = device_get_softc(dev); local
546 struct ata_channel *ch = device_get_softc(dev); local
600 struct ata_channel *ch; local
625 struct ata_channel *ch = device_get_softc(dev); local
670 struct ata_channel *ch = device_get_softc(request->parent); local
709 struct ata_channel *ch = device_get_softc(dev); local
840 struct ata_channel *ch = device_get_softc(dev); local
891 struct ata_channel *ch = device_get_softc(dev); local
943 struct ata_channel *ch = device_get_softc(dev); local
990 struct ata_channel *ch = device_get_softc(dev); local
1031 struct ata_channel *ch = device_get_softc(dev); local
1047 struct ata_channel *ch = device_get_softc(dev); local
1062 struct ata_channel *ch; local
1095 struct ata_channel *ch = device_get_softc(request->parent); local
[all...]
/freebsd-10.1-release/sys/contrib/octeon-sdk/
H A Dcvmx-debug-uart.c140 * @param ch
143 static inline int cvmx_debug_uart_hex(char ch) argument
145 if ((ch >= 'a') && (ch <= 'f'))
146 return(ch - 'a' + 10);
147 if ((ch >= '0') && (ch <= '9'))
148 return(ch - '0');
149 if ((ch >= 'A') && (ch <
163 char ch; local
[all...]
/freebsd-10.1-release/sys/dev/ata/
H A Data-isa.c101 struct ata_channel *ch = device_get_softc(dev); local
106 if (ch->attached)
108 ch->attached = 1;
132 ch->r_io[i].res = io;
133 ch->r_io[i].offset = i;
135 ch->r_io[ATA_CONTROL].res = ctlio;
136 ch->r_io[ATA_CONTROL].offset = 0;
137 ch->r_io[ATA_IDX_ADDR].res = io;
141 ch->unit = 0;
142 ch
150 struct ata_channel *ch = device_get_softc(dev); local
169 struct ata_channel *ch = device_get_softc(dev); local
180 struct ata_channel *ch = device_get_softc(dev); local
[all...]
/freebsd-10.1-release/usr.bin/from/
H A Dfrom.c62 int ch, count, newline; local
73 while ((ch = getopt(argc, argv, "cf:s:")) != -1)
74 switch (ch) {
148 char ch, pch, first; local
152 if (isspace(ch = *line))
155 if (isupper(ch))
156 ch = tolower(ch);
157 if (ch != first)
162 if (isupper(ch
[all...]
/freebsd-10.1-release/contrib/groff/src/utils/afmtodit/
H A Dafmtodit.pl6270 while (my $ch = each %width) {
6272 if (!$in_encoding{$ch}) {
6273 $encoding[$i] = $ch;
6276 if ($nmap{$ch}) {
6277 for (my $j = 0; $j < $nmap{$ch}; $j++) {
6278 if (defined $mapped{$map{$ch, $j}}) {
6279 warn "both $mapped{$map{$ch, $j}} and $ch " .
6280 "map to $map{$ch, $j}";
6283 $mapped{$map{$ch,
[all...]
/freebsd-10.1-release/usr.bin/tr/
H A Dtr.c76 wint_t ch, cnt, lastch; local
81 while ((ch = getopt(argc, argv, "Ccdsu")) != -1)
82 switch((char)ch) {
132 for (lastch = OOBCH; (ch = getwchar()) != WEOF;)
133 if (!cset_in(delete, ch) &&
134 (lastch != ch || !cset_in(squeeze, ch))) {
135 lastch = ch;
136 (void)putwchar(ch);
153 while ((ch
[all...]
/freebsd-10.1-release/sys/dev/scc/
H A Dscc_dev_z8530.c70 scc_getmreg(struct scc_bas *bas, int ch, int reg) argument
73 scc_setreg(bas, ch + REG_CTRL, reg);
75 return (scc_getreg(bas, ch + REG_CTRL));
86 z8530_bfe_iclear(struct scc_softc *sc, struct scc_chan *ch) argument
92 c = (ch->ch_nr == 1) ? CHAN_A : CHAN_B;
94 if (ch->ch_ipend & SER_INT_TXIDLE) {
98 if (ch->ch_ipend & SER_INT_RXREADY) {
102 if (ch->ch_ipend & (SER_INT_OVERRUN|SER_INT_BREAK))
119 struct scc_chan *ch[2]; local
124 ch[
[all...]
H A Dscc_core.c57 struct scc_chan *ch; local
71 ch = &sc->sc_chan[c];
72 if (!(ch->ch_ipend & isrc))
74 m = &ch->ch_mode[0];
78 ch->ch_ipend &= ~isrc;
82 ch = &sc->sc_chan[c];
83 if (!ch->ch_ipend)
85 m = &ch->ch_mode[0];
89 SCC_ICLEAR(sc, ch);
100 struct scc_chan *ch; local
306 struct scc_chan *ch; local
413 struct scc_chan *ch; local
437 struct scc_chan *ch; local
459 struct scc_chan *ch; local
502 struct scc_chan *ch; local
518 struct scc_chan *ch; local
[all...]
/freebsd-10.1-release/sys/arm/mv/
H A Dmv_sata.c358 struct ata_channel *ch; local
361 ch = device_get_softc(child);
368 sc->sc_interrupt[ch->unit].function = function;
369 sc->sc_interrupt[ch->unit].argument = argument;
380 struct ata_channel *ch; local
383 ch = device_get_softc(child);
385 sc->sc_interrupt[ch->unit].function = NULL;
386 sc->sc_interrupt[ch->unit].argument = NULL;
421 struct ata_channel *ch; local
426 ch
523 struct ata_channel *ch; local
553 struct ata_channel *ch; local
642 struct ata_channel *ch; local
706 struct ata_channel *ch; local
733 struct ata_channel *ch; local
810 struct ata_channel *ch; local
847 struct ata_channel *ch; local
[all...]
/freebsd-10.1-release/usr.sbin/pkg_install/version/
H A Dperform.c145 char *ch, tmp[PATH_MAX], tmp2[PATH_MAX], *latest = NULL; local
191 while ((ch = fgetln(IndexFile, &len)) != NULL) {
196 strncpy(tmp, ch, MIN(len, PATH_MAX));
199 if ((ch = strchr(tmp, '|')) != NULL)
200 ch[0] = '\0';
201 if (ch != NULL && (ch = strchr(&ch[1], '|')) != NULL)
202 ch[0] = '\0';
204 while (ch !
271 char *ch, tmp[PATH_MAX]; local
402 char *ch, ln[2048]; local
[all...]
/freebsd-10.1-release/contrib/apr/passwd/
H A Dapr_getpass.c121 int ch;
125 while ((ch = _getch()) != '\r') {
126 if (ch == EOF) /* EOF */ {
130 else if (ch == 0 || ch == 0xE0) {
132 ch = (ch << 4) | _getch();
134 if ((ch == 0xE53 || ch == 0xE4B || ch
[all...]
/freebsd-10.1-release/contrib/dialog/
H A Dtrace.c71 chtype ch, c2; local
83 ch = mvwinch(win, j, k) & (A_CHARTEXT | A_ALTCHARSET);
84 if (ch & A_ALTCHARSET) {
85 c2 = dlg_asciibox(ch);
87 ch = c2;
89 buffer[0] = (char) ch;
112 ch = mvwinch(win, j, k) & (A_CHARTEXT | A_ALTCHARSET);
113 c2 = dlg_asciibox(ch);
115 ch = c2;
116 } else if (unctrl(ch)
131 dlg_trace_chr(int ch, int fkey) argument
[all...]

Completed in 142 milliseconds

1234567891011>>