Home | History | Annotate | Download | only in src

Lines Matching refs:ORD

559 #define ISMAGIC(c)	(ord(c) == ORD(MAGIC))
1475 #define ORD(c) ((size_t)(c) > 0xFF ? eek_ord : \
1477 #define ord(c) __builtin_choose_expr( \
1484 internal_errorf("%s:%d:ord(%zX)", \
1489 #define ord(c) ((unsigned int)(unsigned char)(c))
1490 #define ORD(c) ord(c) /* may evaluate arguments twice */
1503 #define ksh_eq(c,u,l) (ord(c) == ord(u) || ord(c) == ord(l))
1505 #define asciibetical(c) ord(c)
1508 #define ksh_eq(c,u,l) ((ord(c) | 0x20) == ord(l))
1512 #define ksh_isctrl(c) (ord(c) < 0x40 || ord(c) == 0xFF)
1514 #define ksh_isctrl(c) ((ord(c) & 0x7F) < 0x20 || ord(c) == 0x7F)
1517 #define ctype(c,t) tobool(ksh_ctypes[ord(c)] & (t))
1521 #define ksh_isdash(s) tobool(ord((s)[0]) == '-' && ord((s)[1]) == '\0')
1526 #define ksh_numdig(c) (ord(c) - ORD('0'))
1529 #define ksh_toctrl(c) asc2rtt(ord(c) == ORD('?') ? 0x7F : rtt2asc(c) & 0x9F)
1623 (shf)->rnleft--, (int)ord(*(shf)->rp++) : \
2783 #define mksh_abspath(s) (ord((s)[0]) == ORD('/'))
2784 #define mksh_cdirsep(c) (ord(c) == ORD('/'))