Lines Matching +defs:c +defs:mode +defs:prefix

173 #define __IDSTRING(prefix, string)	/* nothing */  argument
175 #define __IDSTRING(prefix, string) \ argument
563 #define ISMAGIC(c) (ord(c) == ORD(MAGIC)) argument
621 #define cstrchr(s,c) ({ \ argument
635 #define vstrchr(s,c) (cstrchr((s), (c)) != NULL) argument
638 #define cstrchr(s,c) ((const char *)strchr((s), (c))) argument
639 #define cstrstr(s,c) ((const char *)strstr((s), (c))) argument
640 #define vstrchr(s,c) (strchr((s), (c)) != NULL) argument
1479 #define ORD(c) ((size_t)(c) > 0xFF ? eek_ord : \ argument
1481 #define ord(c) __builtin_choose_expr( \ argument
1493 #define ord(c) ((unsigned int)(unsigned char)(c)) argument
1494 #define ORD(c) ord(c) /* may evaluate arguments twice */ argument
1502 #define asciibetical(c) ((unsigned int)ebcdic_map[(unsigned char)(c)]) argument
1504 #define rtt2asc(c) ebcdic_rtt_toascii[(unsigned char)(c)] argument
1505 #define asc2rtt(c) ebcdic_rtt_fromascii[(unsigned char)(c)] argument
1507 #define ksh_eq(c,u,l) (ord(c) == ord(u) || ord(c) == ord(l)) argument
1509 #define asciibetical(c) ord(c) argument
1510 #define rtt2asc(c) ((unsigned char)(c)) argument
1511 #define asc2rtt(c) ((unsigned char)(c)) argument
1512 #define ksh_eq(c,u,l) ((ord(c) | 0x20) == ord(l)) argument
1516 #define ksh_isctrl(c) (ord(c) < 0x40 || ord(c) == 0xFF) argument
1518 #define ksh_isctrl(c) ((ord(c) & 0x7F) < 0x20 || ord(c) == 0x7F) argument
1521 #define ctype(c,t) tobool(ksh_ctypes[ord(c)] & (t)) argument
1522 #define cinttype(c,t) ((c) >= 0 && (c) <= 0xFF ? \ argument
1527 #define ksh_tolower(c) (ctype(c, C_UPPER) ? (c) - 'A' + 'a' : (c)) argument
1528 #define ksh_toupper(c) (ctype(c, C_LOWER) ? (c) - 'a' + 'A' : (c)) argument
1530 #define ksh_numdig(c) (ord(c) - ORD('0')) argument
1531 #define ksh_numuc(c) (rtt2asc(c) - rtt2asc('A')) argument
1532 #define ksh_numlc(c) (rtt2asc(c) - rtt2asc('a')) argument
1533 #define ksh_toctrl(c) asc2rtt(ord(c) == ORD('?') ? 0x7F : rtt2asc(c) & 0x9F) argument
1534 #define ksh_unctrl(c) asc2rtt(rtt2asc(c) ^ 0x40U) argument
1629 #define shf_putc_i(c, shf) ((shf)->wnleft == 0 ? \ argument
2023 #define Xput(xs, xp, c) (*xp++ = (c)) argument
2299 #define notok2mul(max, val, c) (((val) != 0) && ((c) != 0) && \ argument
2301 #define notok2add(max, val, c) ((val) > ((max) - (c))) argument
2752 #define binopen3(path,flags,mode) __extension__({ \ argument
2760 #define binopen3(path,flags,mode) open((path), (flags) | O_BINARY, (mode)) argument
2774 #define mksh_cdirsep(c) __extension__({ \ argument
2789 #define mksh_cdirsep(c) (ord(c) == ORD('/')) argument