Lines Matching refs:SRE_CODE
16 SRE(at)(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at) in SRE()
104 SRE(charset)(SRE_STATE* state, SRE_CODE* set, SRE_CODE ch) in SRE()
148 SRE_CODE uch; in SRE()
173 set += 256/sizeof(SRE_CODE); in SRE()
191 SRE(charset_loc_ignore)(SRE_STATE* state, SRE_CODE* set, SRE_CODE ch) in SRE()
193 SRE_CODE lo, up; in SRE()
202 LOCAL(Py_ssize_t) SRE(match)(SRE_STATE* state, SRE_CODE* pattern, int toplevel);
205 SRE(count)(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount) in SRE()
207 SRE_CODE chr; in SRE()
246 if ((SRE_CODE) c != chr) in SRE()
258 while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) == chr) in SRE()
266 while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) == chr) in SRE()
284 if ((SRE_CODE) c != chr) in SRE()
296 while (ptr < end && (SRE_CODE) sre_lower_ascii(*ptr) != chr) in SRE()
304 while (ptr < end && (SRE_CODE) sre_lower_unicode(*ptr) != chr) in SRE()
338 SRE(info)(SRE_STATE* state, SRE_CODE* pattern)
356 if ((SRE_CODE) ptr[i] != pattern[7 + i])
535 SRE_CODE* pattern;
540 SRE_CODE chr;
549 SRE(match)(SRE_STATE* state, SRE_CODE* pattern, int toplevel) in SRE()
619 if (ctx->ptr >= end || (SRE_CODE) ctx->ptr[0] != ctx->pattern[0]) in SRE()
630 if (ctx->ptr >= end || (SRE_CODE) ctx->ptr[0] == ctx->pattern[0]) in SRE()
761 (SRE_CODE)sre_lower_ascii(*ctx->ptr))) in SRE()
771 (SRE_CODE)sre_lower_unicode(*ctx->ptr))) in SRE()
806 (SRE_CODE) *ctx->ptr != ctx->pattern[2])) in SRE()
811 (SRE_CODE) *ctx->ptr))) in SRE()
1371 SRE(search)(SRE_STATE* state, SRE_CODE* pattern) in SRE()
1378 SRE_CODE* prefix = NULL; in SRE()
1379 SRE_CODE* charset = NULL; in SRE()
1380 SRE_CODE* overlap = NULL; in SRE()
1428 if ((SRE_CODE) c != prefix[0]) in SRE()
1462 if ((SRE_CODE)(SRE_CHAR) prefix[i] != prefix[i]) in SRE()