Lines Matching full:ord
751 if (ord(c) == ORD('*') || ord(c) == ORD('?')) { in has_globbing()
754 } else if (ord(c) == ORD('[')) { in has_globbing()
756 if (ISMAGIC(p[0]) && ord(p[1]) == ORD('!')) in has_globbing()
758 if (ISMAGIC(p[0]) && ord(p[1]) == ORD(']')) in has_globbing()
770 if (ord(c) == ORD(']')) { in has_globbing()
777 if (ord(c) == ORD('[') && ( in has_globbing()
779 ord(*s) == ORD('.') || in has_globbing()
781 ord(*s) == ORD('=') || in has_globbing()
783 ord(*s) == ORD(':'))) { in has_globbing()
790 ord(s[1]) == ORD(']')) { in has_globbing()
806 } else if (ord(c) == ORD(/*(*/ ')')) { in has_globbing()
839 switch (ord(*p++)) { in do_gmatch()
840 case ORD('['): in do_gmatch()
842 if (ISMAGIC(p[0]) && ord(p[1]) == ORD('[') && in do_gmatch()
843 ord(p[2]) == ORD(':') && in do_gmatch()
845 ord(p[4]) == ORD(':') && in do_gmatch()
846 ISMAGIC(p[5]) && ord(p[6]) == ORD(']') && in do_gmatch()
847 ISMAGIC(p[7]) && ord(p[8]) == ORD(']')) { in do_gmatch()
852 if (ord(pc) == ORD('<') && in do_gmatch()
857 if (ord(pc) == ORD('>') && in do_gmatch()
868 case ORD('?'): in do_gmatch()
877 case ORD('*'): in do_gmatch()
893 case ORD('+') | 0x80: in do_gmatch()
895 case ORD('*') | 0x80: in do_gmatch()
900 if (ord(p[-1]) == (0x80 | ORD('*')) && in do_gmatch()
918 case ORD('?') | 0x80: in do_gmatch()
920 case ORD('@') | 0x80: in do_gmatch()
922 case ORD(' ') | 0x80: in do_gmatch()
927 if (ord(p[-1]) == (0x80 | ORD('?')) && in do_gmatch()
944 case ORD('!') | 0x80: in do_gmatch()
1021 if (ISMAGIC(p[0]) && ord(p[1]) == ORD('!')) { in gmatch_cclass()
1026 if (ISMAGIC(p[0]) && ord(p[1]) == ORD(']')) in gmatch_cclass()
1037 if (ord(c) == ORD(']')) { in gmatch_cclass()
1042 if (ord(c) == ORD('[') && ( in gmatch_cclass()
1044 ord(*p) == ORD('.') || in gmatch_cclass()
1046 ord(*p) == ORD('=') || in gmatch_cclass()
1048 ord(*p) == ORD(':'))) { in gmatch_cclass()
1057 ord(p[1]) == ORD(']')) { in gmatch_cclass()
1070 if (ord(subc) == ORD(':')) { in gmatch_cclass()
1110 if (!(ISMAGIC(p[0]) && ord(p[1]) == ORD('-') && in gmatch_cclass()
1112 (!ISMAGIC(p[2]) || ord(p[3]) != ORD(']')))) { in gmatch_cclass()
1134 if (ord(c) == ORD('[') && ( in gmatch_cclass()
1136 ord(*p) == ORD('.') || in gmatch_cclass()
1138 ord(*p) == ORD('=') || in gmatch_cclass()
1140 ord(*p) == ORD(':'))) { in gmatch_cclass()
1149 ord(p[1]) == ORD(']')) { in gmatch_cclass()
1161 if (ord(subc) == ORD(':')) { in gmatch_cclass()
1168 if (ord(sc) == ORD('-')) in gmatch_cclass()
1206 if (ord(sc) == ORD('[')) in gmatch_cclass()
1331 return (ORD('?')); in ksh_getopt()
1350 return (ORD(':')); in ksh_getopt()
1358 return (ORD('?')); in ksh_getopt()
1386 return (ord(c)); in ksh_getopt()
1726 if (getdrvwd(&ldest, ord(*upath))) in do_realpath()
1844 if (getdrvwd(&ldest, ord(*ipath))) in do_realpath()
2258 !getdrvwd(&tryp, ord(*dir))) { in c_cd()