Lines Matching refs:ISMAGIC
619 if (!ISMAGIC(c)) { in simplify_gmatch_pattern()
651 if (!ISMAGIC(c)) { in simplify_gmatch_pattern()
657 while (ISMAGIC(sp[0]) && sp[1] == c) in simplify_gmatch_pattern()
745 if (!ISMAGIC(c)) 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()
764 if (!ISMAGIC(c)) in has_globbing()
789 if (c == subc && ISMAGIC(*s) && in has_globbing()
833 if (!ISMAGIC(pc)) { in do_gmatch()
842 if (ISMAGIC(p[0]) && ord(p[1]) == 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()
1021 if (ISMAGIC(p[0]) && ord(p[1]) == ORD('!')) { in gmatch_cclass()
1026 if (ISMAGIC(p[0]) && ord(p[1]) == ORD(']')) in gmatch_cclass()
1032 if (ISMAGIC(c)) { in gmatch_cclass()
1056 if (c == subc && ISMAGIC(*p) && in gmatch_cclass()
1098 } else if (!ISMAGIC(c) && (c & 0x80)) { 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()
1129 if (ISMAGIC(c)) { in gmatch_cclass()
1148 if (c == subc && ISMAGIC(*p) && in gmatch_cclass()
1188 } else if (!ISMAGIC(c) && (c & 0x80)) { in gmatch_cclass()
1220 if (!ISMAGIC(*p)) in pat_scan()