Lines Matching refs:ptemplate
2380 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, in pattern_subx() argument
2396 if (PyCallable_Check(ptemplate)) { in pattern_subx()
2398 filter = ptemplate; in pattern_subx()
2404 ptr = getstring(ptemplate, &n, &bint); in pattern_subx()
2419 filter = ptemplate; in pattern_subx()
2426 PyTuple_Pack(2, self, ptemplate) in pattern_subx()
2570 PyObject* ptemplate; in pattern_sub() local
2575 &ptemplate, &string, &count)) in pattern_sub()
2578 return pattern_subx(self, ptemplate, string, count, 0); in pattern_sub()
2584 PyObject* ptemplate; in pattern_subn() local
2589 &ptemplate, &string, &count)) in pattern_subn()
2592 return pattern_subx(self, ptemplate, string, count, 1); in pattern_subn()
3355 match_expand(MatchObject* self, PyObject* ptemplate) in match_expand() argument
3360 PyTuple_Pack(3, self->pattern, self, ptemplate) in match_expand()