Home
last modified time | relevance | path

Searched refs:ptemplate (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc129 std::string ptemplate = in PrintGeneratedAnnotation() local
131 ptemplate.push_back(delimiter); in PrintGeneratedAnnotation()
132 ptemplate.append("annotation_file"); in PrintGeneratedAnnotation()
133 ptemplate.push_back(delimiter); in PrintGeneratedAnnotation()
134 ptemplate.append("\")\n"); in PrintGeneratedAnnotation()
135 printer->Print(ptemplate.c_str(), "annotation_file", annotation_file); in PrintGeneratedAnnotation()
/external/python/cpython2/Modules/
D_sre.c2380 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
[all …]
/external/python/cpython3/Modules/
D_sre.c978 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, in pattern_subx() argument
995 if (PyCallable_Check(ptemplate)) { in pattern_subx()
997 filter = ptemplate; in pattern_subx()
1004 ptr = getstring(ptemplate, &n, &isbytes, &charsize, &view); in pattern_subx()
1010 literal = PyUnicode_FindChar(ptemplate, '\\', 0, n, 1) == -1; in pattern_subx()
1018 filter = ptemplate; in pattern_subx()
1025 PyTuple_Pack(2, self, ptemplate) in pattern_subx()