/freebsd-10.1-release/contrib/openpam/lib/libpam/ |
H A D | openpam_ctype.h | 38 #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 D | openpam_readword.c | 58 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 D | openpam_readline.c | 62 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.1-release/cddl/contrib/opensolaris/common/util/ |
H A D | strtolctype.h | 49 #define isalnum(ch) (isalpha(ch) || isdigit(ch)) 50 #define isalpha(ch) (isupper(ch) || islower(ch)) 51 #define isdigit(ch) ((ch) >= '0' && (ch) <= '9') 52 #define islower(ch) ((c [all...] |
/freebsd-10.1-release/sys/boot/arm/at91/libat91/ |
H A D | putchar.c | 42 * 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 D | xmodem.c | 52 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.1-release/contrib/ntp/ntpd/ |
H A D | rc_cmdlength.c | 20 unsigned char ch; local 24 ch = src_end[-1]; 25 if (ch > ' ' && ch < 128) 31 ch = scan[0]; 32 if ((ch < ' ' || ch >= 128) && ch != '\t')
|
/freebsd-10.1-release/contrib/ncurses/ncurses/base/ |
H A D | MKunctrl.awk | 49 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.1-release/contrib/less/ |
H A D | mkhelp.c | 25 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.1-release/sys/kern/ |
H A D | Make.tags.inc | 13 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.1-release/contrib/ncurses/ncurses/trace/ |
H A D | lib_tracechr.c | 47 _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.1-release/contrib/groff/src/preproc/html/ |
H A D | pushback.cpp | 115 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.1-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sysevent/ |
H A D | tst.post_chan.c | 32 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.1-release/contrib/gdb/gdb/tui/ |
H A D | tui-io.h | 50 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.1-release/contrib/ncurses/ncurses/widechar/ |
H A D | charable.c | 37 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.1-release/contrib/binutils/libiberty/ |
H A D | basename.c | 36 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 38 # define IS_DIR_SEPARATOR(ch) \ 39 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
|
/freebsd-10.1-release/contrib/gcclibs/libiberty/ |
H A D | basename.c | 36 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 38 # define IS_DIR_SEPARATOR(ch) \ 39 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
|
/freebsd-10.1-release/contrib/ncurses/form/ |
H A D | fld_pad.c | 39 | 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.1-release/games/caesar/ |
H A D | caesar.c | 61 #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.1-release/lib/libiconv_modules/ZW/ |
H A D | citrus_zw.c | 65 char ch[4]; member in struct:__anon5785 115 int ch, len; local 132 ch = (unsigned char)*s0++; \ 133 if (len++ > MB_LEN_MAX || ch > 0x7F)\ 135 psenc->ch[psenc->chlen++] = ch; \ 144 switch (psenc->ch[0]) { 154 ch = (unsigned char)psenc->ch[0]; 155 if (ch > 258 int ch; local [all...] |
/freebsd-10.1-release/sys/boot/common/ |
H A D | interp_parse.c | 63 isdelim(int ch) argument 65 if (ch == '{') 67 else if (ch == '(') 73 isquote(int ch) argument 75 return (ch == '\'' || ch == '"');
|
/freebsd-10.1-release/contrib/ldns/compat/ |
H A D | b64_pton.c | 123 int tarindex, state, ch; local 133 while ((ch = *src++) != '\0') { 134 if (isspace((unsigned char)ch)) /* Skip whitespace anywhere. */ 137 if (ch == Pad64) 140 pos = strchr(Base64, ch); 196 if (ch == Pad64) { /* We got a pad char. */ 197 ch = *src++; /* Skip it, get next. */ 205 for ((void)NULL; ch != '\0'; ch = *src++) 206 if (!isspace((unsigned char)ch)) [all...] |
/freebsd-10.1-release/contrib/tcp_wrappers/ |
H A D | percent_x.c | 46 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.1-release/usr.sbin/pkg_install/lib/ |
H A D | msg.c | 44 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.1-release/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_dma.h | 55 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);
|