Lines Matching refs:ptemplate
2366 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, in pattern_subx() argument
2382 if (PyCallable_Check(ptemplate)) { in pattern_subx()
2384 filter = ptemplate; in pattern_subx()
2390 ptr = getstring(ptemplate, &n, &bint); in pattern_subx()
2405 filter = ptemplate; in pattern_subx()
2412 PyTuple_Pack(2, self, ptemplate) in pattern_subx()
2556 PyObject* ptemplate; in pattern_sub() local
2561 &ptemplate, &string, &count)) in pattern_sub()
2564 return pattern_subx(self, ptemplate, string, count, 0); in pattern_sub()
2570 PyObject* ptemplate; in pattern_subn() local
2575 &ptemplate, &string, &count)) in pattern_subn()
2578 return pattern_subx(self, ptemplate, string, count, 1); in pattern_subn()
3341 match_expand(MatchObject* self, PyObject* ptemplate) in match_expand() argument
3346 PyTuple_Pack(3, self->pattern, self, ptemplate) in match_expand()