Lines Matching +defs:c +defs:mode +defs:prefix
176 #define __IDSTRING(prefix,string) /* nothing */ argument
180 #define __IDSTRING(prefix,string) \ argument
186 #define __IDSTRING(prefix,string) \ argument
586 #define ISMAGIC(c) (ord(c) == ORD(MAGIC)) argument
644 #define cstrchr(s,c) ({ \ argument
658 #define vstrchr(s,c) (cstrchr((s), (c)) != NULL) argument
661 #define cstrchr(s,c) ((const char *)strchr((s), (c))) argument
662 #define cstrstr(s,c) ((const char *)strstr((s), (c))) argument
663 #define vstrchr(s,c) (strchr((s), (c)) != NULL) argument
1547 #define ORD(c) ((size_t)(c) > 0xFF ? eek_ord : \ argument
1549 #define ord(c) __builtin_choose_expr( \ argument
1561 #define ord(c) ((unsigned int)(unsigned char)(c)) argument
1562 #define ORD(c) ord(c) /* may evaluate arguments twice */ argument
1570 #define asciibetical(c) ((unsigned int)ebcdic_map[(unsigned char)(c)]) argument
1572 #define rtt2asc(c) ebcdic_rtt_toascii[(unsigned char)(c)] argument
1573 #define asc2rtt(c) ebcdic_rtt_fromascii[(unsigned char)(c)] argument
1575 #define ksh_eq(c,u,l) (ord(c) == ord(u) || ord(c) == ord(l)) argument
1577 #define asciibetical(c) ord(c) argument
1578 #define rtt2asc(c) ((unsigned char)(c)) argument
1579 #define asc2rtt(c) ((unsigned char)(c)) argument
1580 #define ksh_eq(c,u,l) ((ord(c) | 0x20) == ord(l)) argument
1584 #define ksh_isctrl(c) (ord(c) < 0x40 || ord(c) == 0xFF) argument
1586 #define ksh_isctrl(c) ((ord(c) & 0x7F) < 0x20 || ord(c) == 0x7F) argument
1589 #define ctype(c,t) tobool(ksh_ctypes[ord(c)] & (t)) argument
1590 #define cinttype(c,t) ((c) >= 0 && (c) <= 0xFF ? \ argument
1595 #define ksh_tolower(c) (ctype(c, C_UPPER) ? (c) - 'A' + 'a' : (c)) argument
1596 #define ksh_toupper(c) (ctype(c, C_LOWER) ? (c) - 'a' + 'A' : (c)) argument
1598 #define ksh_numdig(c) (ord(c) - ORD('0')) argument
1599 #define ksh_numuc(c) (rtt2asc(c) - rtt2asc('A')) argument
1600 #define ksh_numlc(c) (rtt2asc(c) - rtt2asc('a')) argument
1601 #define ksh_toctrl(c) asc2rtt(ord(c) == ORD('?') ? 0x7F : rtt2asc(c) & 0x9F) argument
1602 #define ksh_unctrl(c) asc2rtt(rtt2asc(c) ^ 0x40U) argument
1703 #define shf_putc_i(c,shf) ((shf)->wnleft == 0 ? \ argument
2106 #define Xput(xs,xp,c) (*xp++ = (c)) argument
2382 #define notok2mul(max,val,c) (((val) != 0) && ((c) != 0) && \ argument
2384 #define notok2add(max,val,c) ((val) > ((max) - (c))) argument
2857 #define binopen3(path,flags,mode) __extension__({ \ argument
2865 #define binopen3(path,flags,mode) open((path), (flags) | O_BINARY, (mode)) argument
2879 #define mksh_cdirsep(c) __extension__({ \ argument
2894 #define mksh_cdirsep(c) (ord(c) == ORD('/')) argument