Lines Matching refs:endpos
460 state->endpos = end; in state_init()
597 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_match_impl() argument
604 if (!state_init(&state, (PatternObject *)self, string, pos, endpos)) in _sre_SRE_Pattern_match_impl()
636 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_fullmatch_impl() argument
643 if (!state_init(&state, self, string, pos, endpos)) in _sre_SRE_Pattern_fullmatch_impl()
678 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_search_impl() argument
685 if (!state_init(&state, self, string, pos, endpos)) in _sre_SRE_Pattern_search_impl()
743 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_findall_impl() argument
751 if (!state_init(&state, self, string, pos, endpos)) in _sre_SRE_Pattern_findall_impl()
842 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_finditer_impl() argument
849 scanner = pattern_scanner(self, string, pos, endpos); in _sre_SRE_Pattern_finditer_impl()
875 Py_ssize_t pos, Py_ssize_t endpos) in _sre_SRE_Pattern_scanner_impl() argument
878 return pattern_scanner(self, string, pos, endpos); in _sre_SRE_Pattern_scanner_impl()
965 string, STATE_OFFSET(&state, last), state.endpos in _sre_SRE_Pattern_split_impl()
1117 if (i < state.endpos) { in pattern_subx()
1119 string, i, state.endpos); in pattern_subx()
2374 match->endpos = state->endpos; in pattern_new_match()
2480 pattern_scanner(PatternObject *self, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) in pattern_scanner() argument
2491 if (!state_init(&scanner->state, self, string, pos, endpos)) { in pattern_scanner()
2675 {"endpos", T_PYSSIZET, MATCH_OFF(endpos), READONLY,