/freebsd-9.3-release/contrib/ntp/libparse/ |
H A D | clk_varitext.c | 191 char ch, 198 parseprintf(DD_PARSE, ("inp_varitext(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); 203 if (ch == 'T') 206 if ((t->previous_ch == 'T') && (ch == ':')) 220 if ((rtc = parse_addchar(parseio, ch)) != PARSE_INP_SKIP) 242 if ((t->previous_ch == '\r') && (ch == '\n')) 249 t->previous_ch = ch; 189 inp_varitext( parse_t *parseio, char ch, timestamp_t *tstamp ) argument
|
H A D | clk_hopf6021.c | 218 char ch, 224 parseprintf(DD_PARSE, ("inp_hopf6021(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); 226 switch (ch) 231 if ((rtc = parse_addchar(parseio, ch)) == PARSE_INP_SKIP) 237 return parse_addchar(parseio, ch); 246 unsigned char ch 251 if ((dv = ch - '0') >= 10u) 216 inp_hopf6021( parse_t *parseio, char ch, timestamp_t *tstamp ) argument
|
H A D | clk_schmid.c | 7 * based on information and testing from Adam W. Feigin et. al (Swisstime iis.ethz.ch) 59 * Description courtesy of Adam W. Feigin et. al (Swisstime iis.ethz.ch) 202 char ch, 208 parseprintf(DD_PARSE, ("inp_schmid(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); 210 switch ((uint8_t)ch) 214 if ((rtc = parse_addchar(parseio, ch)) == PARSE_INP_SKIP) 220 return parse_addchar(parseio, ch); 200 inp_schmid( parse_t *parseio, char ch, timestamp_t *tstamp ) argument
|
H A D | clk_rcc8000.c | 138 char ch, 144 parseprintf(DD_PARSE, ("inp_rcc8000(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); 146 switch (ch) 150 if ((rtc = parse_addchar(parseio, ch)) == PARSE_INP_SKIP) 161 return parse_addchar(parseio, ch); 136 inp_rcc8000( parse_t *parseio, char ch, timestamp_t *tstamp ) argument
|
H A D | clk_trimtaip.c | 152 char ch, 158 parseprintf(DD_PARSE, ("inp_trimtaip(0x%p, 0x%x, ...)\n", (void*)parseio, ch)); 160 switch (ch) 166 parseio->parse_data[0] = ch; 172 if ((rtc = parse_addchar(parseio, ch)) == PARSE_INP_SKIP) 179 return parse_addchar(parseio, ch); 150 inp_trimtaip( parse_t *parseio, char ch, timestamp_t *tstamp ) argument
|
/freebsd-9.3-release/contrib/ncurses/ncurses/base/ |
H A D | lib_box.c | 49 _my_render(WINDOW *win, chtype ch) argument 52 SetChar2(wch, ch); 56 #define RENDER_WITH_DEFAULT(ch,def) w ## ch = _my_render(win, (ch == 0) ? def : ch) 58 #define RENDER_WITH_DEFAULT(ch,def) w ## ch = _nc_render(win, (ch == 0) ? def : ch) [all...] |
/freebsd-9.3-release/lib/libc/inet/ |
H A D | inet_pton.c | 83 int saw_digit, octets, ch; local 89 while ((ch = *src++) != '\0') { 92 if ((pch = strchr(digits, ch)) != NULL) { 105 } else if (ch == '.' && saw_digit) { 139 int ch, seen_xdigits; local 152 while ((ch = *src++) != '\0') { 155 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) 156 pch = strchr((xdigits = xdigits_u), ch); 164 if (ch == ':') { 182 if (ch [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/bio/ |
H A D | b_dump.c | 83 unsigned char ch; local 115 ch = ((unsigned char)*(s + i * dump_width + j)) & 0xff; 116 BIO_snprintf(tmp, sizeof tmp, "%02x%c", ch, 125 ch = ((unsigned char)*(s + i * dump_width + j)) & 0xff; 128 ((ch >= ' ') && (ch <= '~')) ? ch : '.'); 131 ((ch >= os_toascii[' ']) && (ch <= os_toascii['~'])) 132 ? os_toebcdic[ch] [all...] |
H A D | b_print.c | 174 char ch; local 188 ch = *format++; 191 if (ch == '\0' || (buffer == NULL && currlen >= *maxlen)) 196 if (ch == '%')
199 if(!doapr_outch(sbuffer, buffer, &currlen, maxlen, ch))
201 ch = *format++;
204 switch (ch) { 207 ch = *format++; 211 ch = *format++; 215 ch [all...] |
/freebsd-9.3-release/sys/boot/arm/at91/bootiic/ |
H A D | env_vars.c | 54 int ch; local 57 ch = boot_commands[currentIndex][currentOffset++]; 58 if (ch == '\0' || (currentOffset >= MAX_INPUT_SIZE)) { 61 ch = '\r'; 63 return (ch);
|
/freebsd-9.3-release/sys/dev/sound/pcm/ |
H A D | sound.c | 156 struct pcm_channel *c, *ch, *nch; local 185 ch = NULL; 197 ch = c; 214 ch = c; 220 if (ch == NULL) 222 ch->flags |= CHN_F_BUSY; 225 err = vchan_create(ch, num); 234 ch->flags &= ~CHN_F_BUSY; 235 CHN_UNLOCK(ch); 251 CHN_FOREACH_SAFE(ch, 278 pcm_chnalloc(struct snddev_info *d, struct pcm_channel **ch, int direction, pid_t pid, char *comm, int devunit) argument 486 struct pcm_channel *ch; local 598 pcm_chn_destroy(struct pcm_channel *ch) argument 620 pcm_chn_add(struct snddev_info *d, struct pcm_channel *ch) argument 652 pcm_chn_remove(struct snddev_info *d, struct pcm_channel *ch) argument 697 struct pcm_channel *ch; local 726 struct pcm_channel *ch; local 1145 struct pcm_channel *ch; local [all...] |
/freebsd-9.3-release/libexec/comsat/ |
H A D | comsat.c | 225 unsigned char *cp, ch; local 264 for (cp = line; (ch = *cp) && ch != '\n'; ++cp, --charcnt) { 268 if (((ch & 0x80) && ch < 0xA0) || 269 (!(ch & 0x80) && !isprint(ch) && 270 !isspace(ch) && ch != '\a' && ch ! [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | ocd.c | 748 int ch; 750 ch = serial_readchar (ocd_desc, timeout); 752 switch (ch) 760 return ch; 809 int ch; 815 ch = readchar (timeout); 817 if (ch < 0) 818 error ("ocd_get_packet (readchar): %d", ch); 820 if (ch != 0x55) 821 error ("ocd_get_packet (readchar): %d", ch); 739 int ch; local 800 int ch; local [all...] |
/freebsd-9.3-release/usr.sbin/config/ |
H A D | main.c | 109 int ch, len; local 118 while ((ch = getopt(argc, argv, "CI:d:gmpVx:")) != -1) 119 switch (ch) { 292 int ch; local 297 while ((ch = getc(fp)) != EOF) 298 if (ch != ' ' && ch != '\t') 300 if (ch == EOF) 302 if (ch == '\\'){ 306 if (ch 337 int ch; local [all...] |
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-snprintf.c | 194 char ch; local 211 ch = *format++; 214 if (ch == '\0') 219 if (ch == '%') 222 DOPR_OUTCH(buffer, currlen, maxlen, ch); 223 ch = *format++; 226 switch (ch) { 229 ch = *format++; 233 ch = *format++; 237 ch [all...] |
/freebsd-9.3-release/lib/libedit/ |
H A D | key.c | 72 char ch; /* single character of key */ member in struct:key_node_t 164 * Looks up *ch in map and then reads characters until a 168 * The last character read is returned in *ch. 171 key_get(EditLine *el, char *ch, key_value_t *val) argument 174 return (node_trav(el, el->el_key.map, ch, val)); 272 node_trav(EditLine *el, key_node_t *ptr, char *ch, key_value_t *val) argument 275 if (ptr->ch == *ch) { 279 if (el_getc(el, ch) != 1) { /* if EOF or error */ 284 return (node_trav(el, ptr->next, ch, va 451 node__get(int ch) argument 620 key__decode_char(char *buf, size_t cnt, size_t off, int ch) argument [all...] |
/freebsd-9.3-release/usr.sbin/lpr/chkprintcap/ |
H A D | skimprintcap.c | 78 char *ch, *curline, *endfield, *lastchar; local 149 ch = curline; 150 while ((ch <= lastchar) && (*ch != ':') && (*ch != '|')) 151 ch++; 152 ch--; /* last char of queue name */ 154 if ((ch - curline) > QENTRY_MAXLEN) { 159 strncat(skim_entryname, curline, (ch - curline
|
/freebsd-9.3-release/contrib/nvi/build/ |
H A D | distrib | 82 ctags -w -d ../cl/*.[ch] ../common/*.[ch] ../ex/*.[ch] ../perl_api/*.[ch] \ 83 ../tcl_api/*.[ch] ../tk/*.[ch] ../vi/*.[ch]
|
/freebsd-9.3-release/tools/regression/sockets/kqueue/ |
H A D | kqueue.c | 109 char ch; local 134 ch = 'a'; 135 len = write(fd[1], &ch, sizeof(ch)); 139 if (len != sizeof(ch)) 160 len = read(fd[0], &ch, sizeof(ch)); 164 if (len != sizeof(ch)) 194 char ch; local 219 ch [all...] |
/freebsd-9.3-release/usr.sbin/pw/ |
H A D | pw.c | 100 int ch; local 189 while ((ch = getopt(argc, argv, opts[which][mode])) != -1) { 190 if (ch == '?') 193 addarg(&arglist, ch, optarg); 234 ch = funcs[which] (cnf, mode, &arglist); 240 if (ch == EXIT_SUCCESS && getarg(&arglist, 'Y') != NULL) { 256 errx(ch, "make exited with status %d", i); 261 return ch; 436 getarg(struct cargs * _args, int ch) argument 440 while (c != NULL && c->ch ! 446 addarg(struct cargs * _args, int ch, char *argstr) argument [all...] |
/freebsd-9.3-release/contrib/dialog/ |
H A D | tailbox.c | 49 int j, tmpint, ch; local 52 if (((ch = getc(fp)) == EOF) && !feof(fp)) 54 else if (!feof(fp) && (ch != '\n')) { 55 if ((ch == TAB) && (dialog_vars.tab_correct)) { 65 obj->line[col] = (char) ch; 71 } while (!feof(fp) && (ch != '\n')); 222 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument 227 if (!fkey && dlg_char_to_button(ch, obj->buttons) == 0) { 228 ch = DLGK_ENTER; 233 switch (ch) { 377 int ch; local [all...] |
/freebsd-9.3-release/sys/powerpc/mambo/ |
H A D | mambo_console.c | 164 int ch; local 166 ch = mambocall(MAMBO_CONSOLE_READ); 168 if (ch > 0 && ch < 0xff) { 170 kdb_alt_break(ch, &alt_break_state); 172 return (ch);
|
/freebsd-9.3-release/tools/regression/file/ftruncate/ |
H A D | ftruncate.c | 67 char ch; local 106 size = pread(fd, &ch, sizeof(ch), len - 1); 109 if (size != sizeof(ch)) 112 if (ch != 0) 114 "pread length %llu size %jd ch %d up", 115 len, (intmax_t)size, ch);
|
/freebsd-9.3-release/sys/dev/sound/isa/ |
H A D | ess.c | 125 static int ess_setupch(struct ess_info *sc, int ch, int dir, int spd, u_int32_t fmt, int len); 126 static int ess_start(struct ess_chinfo *ch); 127 static int ess_stop(struct ess_chinfo *ch); 461 ess_setupch(struct ess_info *sc, int ch, int dir, int spd, u_int32_t fmt, int len) argument 473 if (ch == 1) { 502 } else if (ch == 2) { 524 ess_start(struct ess_chinfo *ch) argument 526 struct ess_info *sc = ch->parent; 527 int play = (ch->dir == PCMDIR_PLAY)? 1 : 0; 530 ess_setupch(sc, ch 543 ess_stop(struct ess_chinfo *ch) argument 566 struct ess_chinfo *ch = (dir == PCMDIR_PLAY)? &sc->pch : &sc->rch; local 584 struct ess_chinfo *ch = data; local 593 struct ess_chinfo *ch = data; local 607 struct ess_chinfo *ch = data; local 616 struct ess_chinfo *ch = data; local 640 struct ess_chinfo *ch = data; local 648 struct ess_chinfo *ch = data; local [all...] |
/freebsd-9.3-release/usr.bin/wall/ |
H A D | wall.c | 100 int ch; local 110 while ((ch = getopt(argc, argv, "g:n")) != -1) 111 switch (ch) { 190 wchar_t ch; local 248 for (p = lbuf; (ch = *p) != L'\0'; ++p, ++cnt) { 249 if (ch == L'\r') { 253 } else if (ch == L'\n') { 265 if (iswprint(ch) || iswspace(ch) || ch [all...] |