Searched refs:ch (Results 1 - 25 of 1337) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/openpam/lib/libpam/
H A Dopenpam_ctype.h38 #define is_digit(ch) \
39 (ch >= '0' && ch <= '9')
44 #define is_upper(ch) \
45 (ch >= 'A' && ch <= 'A')
50 #define is_lower(ch) \
51 (ch >= 'a' && ch <= 'z')
56 #define is_letter(ch) \
[all...]
H A Dopenpam_readword.c58 int ch, comment, escape, quote; local
65 while ((ch = getc(f)) != EOF && ch != '\n') {
66 if (ch == '#')
68 if (!is_lws(ch) && !comment)
71 if (ch == EOF)
73 ungetc(ch, f);
74 if (ch == '\n')
80 while ((ch = fgetc(f)) != EOF && (!is_ws(ch) || quot
[all...]
H A Dopenpam_readline.c62 int ch; local
68 ch = fgetc(f);
70 if (ch == '#') {
72 ch = fgetc(f);
73 } while (ch != EOF && ch != '\n');
76 if (ch == EOF) {
81 if (ch == '\n') {
96 if (openpam_straddch(&line, &size, &len, ch) != 0)
/freebsd-10.0-release/sys/boot/arm/at91/libat91/
H A Dputchar.c42 * void putchar(int ch)
47 putchar(int ch) argument
53 pUSART->US_THR = (ch & 0xFF);
57 xputchar(int ch) argument
59 if (ch == '\n')
61 putchar(ch);
H A Dxmodem.c52 int ch; local
57 if ((ch = getc(TO)) == -1)
59 if (ch != blocknum)
61 if ((ch = getc(TO)) == -1)
63 if (ch != (~blocknum & 0xff))
67 if ((ch = getc(TO)) == -1)
69 chk = chk ^ ch << 8;
76 *dest++ = ch;
81 if (((ch = getc(TO)) == -1) || ((ch
103 int starting, ch; local
[all...]
/freebsd-10.0-release/contrib/ntp/libopts/
H A Dcook.c111 unsigned char ch = *pzIn++; local
113 if ((ch >= 'A') && (ch <= 'F'))
114 val = 10 + (ch - 'A');
115 else if ((ch >= 'a') && (ch <= 'f'))
116 val = 10 + (ch - 'a');
117 else val = ch - '0';
119 ch = *pzIn;
121 if (! isxdigit( ch )) {
145 unsigned char ch = *pzIn++; local
[all...]
/freebsd-10.0-release/contrib/ntp/sntp/libopts/
H A Dcook.c111 unsigned char ch = *pzIn++; local
113 if ((ch >= 'A') && (ch <= 'F'))
114 val = 10 + (ch - 'A');
115 else if ((ch >= 'a') && (ch <= 'f'))
116 val = 10 + (ch - 'a');
117 else val = ch - '0';
119 ch = *pzIn;
121 if (! isxdigit( ch )) {
145 unsigned char ch = *pzIn++; local
[all...]
/freebsd-10.0-release/contrib/ncurses/ncurses/base/
H A DMKunctrl.awk49 print "NCURSES_EXPORT(NCURSES_CONST char *) _nc_unctrl (SCREEN *sp, chtype ch)"
59 for ( ch = 0; ch < 256; ch++ ) {
62 if ((ch % 8) == 0) {
64 if (ch != 0)
70 if (ch < 32) {
71 part = sprintf ("^\\%03o", ch + 64);
73 } else if (ch == 127) {
76 } else if (ch >
[all...]
/freebsd-10.0-release/contrib/less/
H A Dmkhelp.c25 int ch; local
31 ch = 0;
32 while (prevch = ch, (ch = getchar()) != EOF)
34 switch (ch)
57 if (ch >= ' ' && ch < 0x7f)
58 printf("'%c',", ch);
60 printf("0x%02x,", ch);
/freebsd-10.0-release/sys/kern/
H A DMake.tags.inc13 COMM= ${SYS}/dev/advansys/*.[ch] \
14 ${SYS}/dev/aha/*.[ch] \
15 ${SYS}/dev/aic7xxx/*.[ch] \
16 ${SYS}/dev/buslogic/*.[ch] \
17 ${SYS}/dev/dpt/*.[ch] \
18 ${SYS}/dev/en/*.[ch] \
19 ${SYS}/dev/iicbus/*.[ch] \
20 ${SYS}/dev/isp/*.[ch] \
21 ${SYS}/dev/pdq/*.[ch] \
22 ${SYS}/dev/ppbus/*.[ch] \
[all...]
/freebsd-10.0-release/contrib/ncurses/ncurses/trace/
H A Dlib_tracechr.c47 _nc_tracechar(SCREEN *sp, int ch) argument
54 if (ch > KEY_MIN || ch < 0) {
55 name = _nc_keyname(sp, ch);
58 (void) sprintf(MyBuffer, "'%.30s' = %#03o", name, ch);
59 } else if (!is8bits(ch) || !isprint(UChar(ch))) {
65 (void) sprintf(MyBuffer, "%#03o", ch);
67 name = _nc_unctrl(sp, (chtype) ch);
70 (void) sprintf(MyBuffer, "'%.30s' = %#03o", name, ch);
76 _tracechar(int ch) argument
[all...]
/freebsd-10.0-release/contrib/groff/src/preproc/html/
H A Dpushback.cpp115 char ch; local
117 if (read(0, &ch, 1) == 1) {
119 printf("%c", ch);
121 if (ch == '\n') {
124 return( ch );
137 char pushBackBuffer::putPB (char ch) argument
140 charStack[stackPtr] = ch ;
145 return( ch );
152 static int isWhite (char ch) argument
154 return( (ch
174 char ch; local
219 isDigit(char ch) argument
244 char ch=getPB(); local
292 char ch; local
313 char ch=getPB(); local
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sysevent/
H A Dtst.post_chan.c32 evchan_t *ch; local
34 if (sysevent_evc_bind("channel_dtest", &ch,
41 if (sysevent_evc_publish(ch, "class_dtest", "subclass_dtest",
43 (void) sysevent_evc_unbind(ch);
/freebsd-10.0-release/contrib/gdb/gdb/tui/
H A Dtui-io.h50 extern int key_is_start_sequence (int ch);
51 extern int key_is_end_sequence (int ch);
52 extern int key_is_backspace (int ch);
53 extern int key_is_command_char (int ch);
/freebsd-10.0-release/contrib/ncurses/ncurses/widechar/
H A Dcharable.c37 NCURSES_EXPORT(bool) _nc_is_charable(wchar_t ch)
41 result = (wctob((wint_t) ch) == (int) ch);
43 result = (_nc_to_char(ch) >= 0);
48 NCURSES_EXPORT(int) _nc_to_char(wint_t ch) argument
52 result = wctob(ch);
55 result = wctomb(temp, ch);
64 NCURSES_EXPORT(wint_t) _nc_to_widechar(int ch)
68 result = btowc(ch);
72 temp[0] = ch;
[all...]
/freebsd-10.0-release/contrib/binutils/libiberty/
H A Dbasename.c36 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
38 # define IS_DIR_SEPARATOR(ch) \
39 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
/freebsd-10.0-release/contrib/gcclibs/libiberty/
H A Dbasename.c36 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
38 # define IS_DIR_SEPARATOR(ch) \
39 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
/freebsd-10.0-release/contrib/ncurses/form/
H A Dfld_pad.c39 | Function : int set_field_pad(FIELD *field, int ch)
49 set_field_pad(FIELD *field, int ch) argument
53 T((T_CALLED("set_field_pad(%p,%d)"), field, ch));
56 if (isprint(UChar(ch)))
58 if (field->pad != ch)
60 field->pad = ch;
/freebsd-10.0-release/games/caesar/
H A Dcaesar.c61 #define ROTATE(ch, perm) \
62 isascii(ch) ? ( \
63 isupper(ch) ? ('A' + (ch - 'A' + perm) % 26) : \
64 islower(ch) ? ('a' + (ch - 'a' + perm) % 26) : ch) : ch
81 int ch, dot, i, nread, winnerdot = 0; local
105 ch
150 int ch, rot; local
[all...]
/freebsd-10.0-release/lib/libiconv_modules/ZW/
H A Dcitrus_zw.c65 char ch[4]; member in struct:__anon5591
113 int ch, len; local
130 ch = (unsigned char)*s0++; \
131 if (len++ > MB_LEN_MAX || ch > 0x7F)\
133 psenc->ch[psenc->chlen++] = ch; \
142 switch (psenc->ch[0]) {
152 ch = (unsigned char)psenc->ch[0];
153 if (ch >
256 int ch; local
[all...]
/freebsd-10.0-release/sys/boot/common/
H A Dinterp_parse.c63 isdelim(int ch) argument
65 if (ch == '{')
67 else if (ch == '(')
73 isquote(int ch) argument
75 return (ch == '\'' || ch == '"');
/freebsd-10.0-release/contrib/tcp_wrappers/
H A Dpercent_x.c46 int ch; local
54 if (*str == '%' && (ch = str[1]) != 0) {
57 ch == 'a' ? eval_hostaddr(request->client) :
58 ch == 'A' ? eval_hostaddr(request->server) :
59 ch == 'c' ? eval_client(request) :
60 ch == 'd' ? eval_daemon(request) :
61 ch == 'h' ? eval_hostinfo(request->client) :
62 ch == 'H' ? eval_hostinfo(request->server) :
63 ch == 'n' ? eval_hostname(request->client) :
64 ch
[all...]
/freebsd-10.0-release/usr.sbin/pkg_install/lib/
H A Dmsg.c44 int ch = 0; local
57 while (ch != 'Y' && ch != 'N') {
65 ch = (AutoAnswer == YES) ? 'Y' : 'N';
66 fprintf(stderr, "%c\n", ch);
69 ch = toupper(fgetc(tty));
70 if (ch == '\n')
71 ch = (def) ? 'Y' : 'N';
75 return (ch == 'Y') ? TRUE : FALSE;
/freebsd-10.0-release/sys/arm/broadcom/bcm2835/
H A Dbcm2835_dma.h55 int bcm_dma_free(int ch);
56 int bcm_dma_setup_intr(int ch, void (*func)(int, void *), void *arg);
57 int bcm_dma_setup_src(int ch, int dreq, int inc_addr, int width);
58 int bcm_dma_setup_dst(int ch, int dreq, int inc_addr, int width);
59 int bcm_dma_start(int ch, vm_paddr_t src, vm_paddr_t dst, int len);
60 uint32_t bcm_dma_length(int ch);
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DConvertUTF.c124 UTF32 ch; local
128 ch = *source++;
129 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */
131 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) {
140 *target++ = (UTF16)ch; /* normal case */
142 } else if (ch > UNI_MAX_LEGAL_UTF32) {
154 ch -= halfBase;
155 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
156 *target++ = (UTF16)((ch
172 UTF32 ch, ch2; local
227 UTF32 ch; local
297 UTF32 ch; local
428 UTF32 ch = 0; local
501 UTF32 ch = 0; local
[all...]

Completed in 399 milliseconds

1234567891011>>