Lines Matching refs:SRE_CODE
16 SRE(at)(SRE_STATE* state, const SRE_CHAR* ptr, SRE_CODE at)
104 SRE(charset)(SRE_STATE* state, const SRE_CODE* set, SRE_CODE ch)
148 SRE_CODE uch;
173 set += 256/sizeof(SRE_CODE);
191 SRE(charset_loc_ignore)(SRE_STATE* state, const SRE_CODE* set, SRE_CODE ch)
193 SRE_CODE lo, up;
202 LOCAL(Py_ssize_t) SRE(match)(SRE_STATE* state, const SRE_CODE* pattern, int toplevel);
205 SRE(count)(SRE_STATE* state, const SRE_CODE* pattern, Py_ssize_t maxcount)
207 SRE_CODE chr;
246 if ((SRE_CODE) c != chr)
258 while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) == chr)
266 while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) == chr)
284 if ((SRE_CODE) c != chr)
296 while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) != chr)
304 while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) != chr)
515 SRE_CODE chr;
520 const SRE_CODE* pattern;
560 SRE(match)(SRE_STATE* state, const SRE_CODE* pattern, int toplevel)
637 if (ptr >= end || (SRE_CODE) ptr[0] != pattern[0])
648 if (ptr >= end || (SRE_CODE) ptr[0] == pattern[0])
779 (SRE_CODE)sre_lower_ascii(*ptr)))
789 (SRE_CODE)sre_lower_unicode(*ptr)))
823 (SRE_CODE) *ptr != pattern[2]))
828 (SRE_CODE) *ptr)))
1631 SRE(search)(SRE_STATE* state, SRE_CODE* pattern)
1638 SRE_CODE* prefix = NULL;
1639 SRE_CODE* charset = NULL;
1640 SRE_CODE* overlap = NULL;
1688 if ((SRE_CODE) c != prefix[0])
1722 if ((SRE_CODE)(SRE_CHAR) prefix[i] != prefix[i])