Lines Matching defs:ord
582 #define ISMAGIC(c) (ord(c) == ORD(MAGIC))
1545 #define ord(c) __builtin_choose_expr( \
1552 internal_errorf("%s:%d:ord(%zX)", \
1557 #define ord(c) ((unsigned int)(unsigned char)(c))
1558 #define ORD(c) ord(c) /* may evaluate arguments twice */
1571 #define ksh_eq(c,u,l) (ord(c) == ord(u) || ord(c) == ord(l))
1573 #define asciibetical(c) ord(c)
1576 #define ksh_eq(c,u,l) ((ord(c) | 0x20) == ord(l))
1580 #define ksh_isctrl(c) (ord(c) < 0x40 || ord(c) == 0xFF)
1582 #define ksh_isctrl(c) ((ord(c) & 0x7F) < 0x20 || ord(c) == 0x7F)
1585 #define ctype(c,t) tobool(ksh_ctypes[ord(c)] & (t))
1589 #define ksh_isdash(s) tobool(ord((s)[0]) == '-' && ord((s)[1]) == '\0')
1594 #define ksh_numdig(c) (ord(c) - ORD('0'))
1597 #define ksh_toctrl(c) asc2rtt(ord(c) == ORD('?') ? 0x7F : rtt2asc(c) & 0x9F)
1697 (shf)->rnleft--, (int)ord(*(shf)->rp++) : \
2889 #define mksh_abspath(s) (ord((s)[0]) == ORD('/'))
2890 #define mksh_cdirsep(c) (ord(c) == ORD('/'))