/freebsd-10.1-release/sys/kern/ |
H A D | subr_prf.c | 98 static void putchar(int ch, void *arg); 100 static void snprintf_func(int ch, void *arg); 556 snprintf_func(int ch, void *arg) argument 561 *info->str++ = ch; 622 int ch, n; local 645 while ((ch = (u_char)*fmt++) != '%' || stop) { 646 if (ch == '\0') 648 PCHAR(ch); 654 reswitch: switch (ch = (u_char)*fmt++) { 668 PCHAR(ch); [all...] |
/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | monitor.c | 179 int ch; local 187 ch = oldstr[i]; 188 switch (ch) 191 if (isprint (ch)) 192 *newstr++ = ch; 196 sprintf (newstr, "\\x%02x", ch & 0xff); 683 int ch; 686 ch = readchar (timeout); 687 while (isspace (ch)); 689 val = from_hex (ch); 2112 int ch; local [all...] |
H A D | remote-sds.c | 681 int ch; 683 ch = serial_readchar (sds_desc, timeout); 685 if (remote_debug > 1 && ch >= 0) 686 fprintf_unfiltered (gdb_stdlog, "%c(%x)", ch, ch); 688 switch (ch) 695 return ch; 697 return ch & 0x7f; 674 int ch; local
|
/freebsd-10.1-release/contrib/nvi/regex/ |
H A D | engine.c | 100 static states step __P((struct re_guts *g, sopno start, sopno stop, states bef, int flag, RCHAR_T ch, states aft)); 108 static void print __P((struct match *m, char *caption, states st, int ch, FILE *d)); 114 static char *pchar __P((int ch)); 880 == register states bef, int flag, RCHAR_T ch, register states aft); 889 step(g, start, stop, bef, flag, ch, aft) 895 RCHAR_T ch; /* character code */ 915 assert(!flag || ch != d); 916 if (ch == d) 941 if (!flag && CHIN(cs, ch)) 1013 == int ch, FIL [all...] |
/freebsd-10.1-release/contrib/apr/file_io/unix/ |
H A D | readwrite.c | 284 APR_DECLARE(apr_status_t) apr_file_putc(char ch, apr_file_t *thefile) 288 return apr_file_write(thefile, &ch, &nbytes); 291 APR_DECLARE(apr_status_t) apr_file_ungetc(char ch, apr_file_t *thefile) 293 thefile->ungetchar = (unsigned char)ch; 297 APR_DECLARE(apr_status_t) apr_file_getc(char *ch, apr_file_t *thefile) 301 return apr_file_read(thefile, ch, &nbytes);
|
/freebsd-10.1-release/crypto/openssh/ |
H A D | sftp.c | 369 int ch; local 375 while ((ch = getopt(argc, argv, "afPpRr")) != -1) { 376 switch (ch) { 404 int ch; local 410 while ((ch = getopt(argc, argv, "s")) != -1) { 411 switch (ch) { 428 int ch; local 434 while ((ch = getopt(argc, argv, "l")) != -1) { 435 switch (ch) { 452 int ch; local 505 int ch; local 532 int ch; local 1926 complete(EditLine *el, int ch) argument 2215 int in, out, ch, err; local [all...] |
/freebsd-10.1-release/sys/dev/sound/pci/ |
H A D | emu10kx.c | 2667 uint32_t ch, tmp; local 2742 for (ch = 0; ch < NUM_G; ch++) { 2743 emu_wrptr(sc, ch, EMU_CHAN_MAPA, tmp | EMU_CHAN_MAP_PTI_MASK); 2744 emu_wrptr(sc, ch, EMU_CHAN_MAPB, tmp | EMU_CHAN_MAP_PTI_MASK); 2751 for (ch = 0; ch < NUM_G; ch++) { 2752 emu_wrptr(sc, ch, EMU_CHAN_DCYSUS 2908 uint32_t ch; local [all...] |
/freebsd-10.1-release/sys/geom/part/ |
H A D | g_part_gpt.c | 1228 uint32_t ch; local 1233 ch = (bo == BIG_ENDIAN) ? be16toh(*str) : le16toh(*str); 1235 if ((ch & 0xf800) == 0xd800) { 1242 if ((ch & 0x400) == 0 && (c & 0xfc00) == 0xdc00) { 1243 ch = ((ch & 0x3ff) << 10) + (c & 0x3ff); 1244 ch += 0x10000; 1246 ch = 0xfffd; 1247 } else if (ch == 0xfffe) { /* BOM (U+FEFF) swapped. */ 1250 } else if (ch [all...] |
/freebsd-10.1-release/tools/regression/aio/aiotest/ |
H A D | aiotest.c | 142 char ch; local 147 ch = random() & 0xff; 148 buffer[i] = ch; 159 char ch; local 164 ch = random() & 0xff; 165 if (buffer[i] != ch)
|
/freebsd-10.1-release/usr.bin/tip/tip/ |
H A D | tip.c | 388 char ch; local 415 ch = gch; 416 parwrite(FD, &ch, 1); 425 ch = gch; 426 parwrite(FD, &ch, 1); 428 printf("%c", ch);
|
/freebsd-10.1-release/usr.sbin/ngctl/ |
H A D | main.c | 146 int ch, rtn = 0; local 152 while ((ch = getopt(ac, av, "df:n:")) != -1) { 153 switch (ch) { 621 char ch, sbuf[100]; local 639 ch = isprint(buf[count + k]) ? 642 sizeof(sbuf) - strlen(sbuf), "%c", ch);
|
/freebsd-10.1-release/usr.sbin/ppp/ |
H A D | prompt.c | 189 char ch; local 243 n = read(p->fd_in, &ch, 1); 249 if (ch == '~') 252 if (physical_Write(p->TermMode->physical, &ch, n) < 0) { 258 switch (ch) { 292 if (physical_Write(p->TermMode->physical, &ch, n) < 0) {
|
/freebsd-10.1-release/contrib/gcclibs/libcpp/ |
H A D | files.c | 174 static char *read_filename_string (int ch, FILE *f); 1287 read_filename_string (int ch, FILE *f) argument 1294 if (! is_space (ch)) 1296 *set++ = ch; 1297 while ((ch = getc (f)) != EOF && ! is_space (ch)) 1305 *set++ = ch; 1309 ungetc (ch, f); 1335 int ch; local 1337 while ((ch [all...] |
/freebsd-10.1-release/contrib/libgnuregex/ |
H A D | regcomp.c | 292 re_set_fastmap (char *fastmap, int icase, int ch) 294 fastmap[ch] = 1; 296 fastmap[tolower (ch)] = 1; 341 int i, ch; 342 for (i = 0, ch = 0; i < BITSET_WORDS; ++i) 346 for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) 348 re_set_fastmap (fastmap, icase, ch); 898 int i, j, ch; 905 for (i = 0, ch = 0; i < BITSET_WORDS; ++i) 906 for (j = 0; j < BITSET_WORD_BITS; ++j, ++ch) 290 re_set_fastmap(char *fastmap, int icase, int ch) argument 339 int i, ch; local 893 int i, j, ch; local 930 int ch = 0; local 2881 unsigned int ch; local 3353 unsigned char ch, delim = token->opr.c; local 3412 unsigned int ch; local [all...] |
/freebsd-10.1-release/usr.bin/pr/ |
H A D | pr.c | 557 * single ch between 999 int ch = EOF; local 1009 while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) { 1013 if (ch == chk) { 1023 if ((col > lim) && (ungetc(ch, inf) == EOF)) 1033 if (ch == '\n') 1035 *ptbuf++ = ch; 1041 while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) { 1042 if (ch == '\n') 1044 *ptbuf++ = ch; [all...] |
/freebsd-10.1-release/bin/pkill/ |
H A D | pkill.c | 135 int i, ch, bestidx, rv, criteria, pidfromfile, pidfilelock; local 185 while ((ch = getopt(argc, argv, "DF:G:ILM:N:P:SU:ac:d:fg:ij:lnoqs:t:u:vx")) != -1) 186 switch (ch) { 618 int ch, first; local 628 first = ch = getchar(); 629 while (ch != '\n' && ch != EOF) 630 ch = getchar();
|
/freebsd-10.1-release/contrib/apr/threadproc/unix/ |
H A D | proc.c | 518 char *ch, *onearg; local 520 ch = onearg = apr_palloc(pool, onearg_len); 525 memcpy(ch, args[i], len); 526 ch += len; 527 *ch = ' '; 528 ++ch; 531 --ch; /* back up to trailing blank */ 532 *ch = '\0';
|
/freebsd-10.1-release/contrib/groff/src/roff/troff/ |
H A D | token.h | 94 unsigned char ch(); 187 inline unsigned char token::ch() function in class:token
|
/freebsd-10.1-release/contrib/libstdc++/include/ext/pb_ds/ |
H A D | assoc_container.hpp | 201 cc_hash_table(const hash_fn& h, const eq_fn& e, const comb_hash_fn& ch) argument 202 : base_type(h, e, ch) { } 210 cc_hash_table(const hash_fn& h, const eq_fn& e, const comb_hash_fn& ch, argument 212 : base_type(h, e, ch, rp) { } 249 const comb_hash_fn& ch) 250 : base_type(h, e, ch) 263 const comb_hash_fn& ch, const resize_policy& rp) 264 : base_type(h, e, ch, rp) 248 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e, const comb_hash_fn& ch) argument 262 cc_hash_table(It first, It last, const hash_fn& h, const eq_fn& e, const comb_hash_fn& ch, const resize_policy& rp) argument
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/include/lldb/Core/ |
H A D | Stream.h | 97 PutChar (char ch); 227 /// Output a character \a ch to the stream \a s. 229 /// @param[in] ch 237 operator<< (char ch);
|
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunication.cpp | 181 char ch = '+'; local 182 const size_t bytes_written = Write (&ch, 1, status, NULL); 184 log->Printf ("<%4" PRIu64 "> send packet: %c", (uint64_t)bytes_written, ch); 185 m_history.AddPacket (ch, History::ePacketTypeSend, bytes_written); 194 char ch = '-'; local 195 const size_t bytes_written = Write (&ch, 1, status, NULL); 197 log->Printf("<%4" PRIu64 "> send packet: %c", (uint64_t)bytes_written, ch); 198 m_history.AddPacket (ch, History::ePacketTypeSend, bytes_written);
|
/freebsd-10.1-release/contrib/nvi/vi/ |
H A D | v_ch.c | 279 notfound(SCR *sp, ARG_CHAR_T ch) argument 281 msgq(sp, M_BERR, "179|%s not found", KEY_NAME(sp, ch));
|
/freebsd-10.1-release/contrib/subversion/subversion/include/ |
H A D | svn_string.h | 187 /** Return position of last occurrence of @a ch in @a str, or return 191 svn_string_find_char_backward(const svn_string_t *str, char ch); 394 /** Return position of last occurrence of @a ch in @a str, or return 398 svn_stringbuf_find_char_backward(const svn_stringbuf_t *str, char ch);
|
/freebsd-10.1-release/lib/libc/iconv/ |
H A D | citrus_memstream.h | 140 _citrus_memory_stream_ungetc(struct _citrus_memory_stream *ms, int ch) argument 143 if (ch != EOF && ms->ms_pos > 0)
|
/freebsd-10.1-release/lib/libutil/tests/ |
H A D | pidfile_test.c | 132 char ch; local 181 if (read(fd[0], &ch, 1) != 1) {
|