Lines Matching refs:Zreplacement
1406 PyObject *Zreplacement = PyUnicode_FromStringAndSize(NULL, 0); in make_Zreplacement() local
1409 if (Zreplacement == NULL) in make_Zreplacement()
1412 return Zreplacement; in make_Zreplacement()
1420 return Zreplacement; in make_Zreplacement()
1428 Py_DECREF(Zreplacement); in make_Zreplacement()
1429 Zreplacement = _PyObject_CallMethodId(temp, &PyId_replace, "ss", "%", "%%"); in make_Zreplacement()
1431 if (Zreplacement == NULL) in make_Zreplacement()
1433 if (!PyUnicode_Check(Zreplacement)) { in make_Zreplacement()
1438 return Zreplacement; in make_Zreplacement()
1441 Py_DECREF(Zreplacement); in make_Zreplacement()
1473 PyObject *Zreplacement = NULL; /* py string, replacement for %Z */ in wrap_strftime() local
1555 if (Zreplacement == NULL) { in wrap_strftime()
1556 Zreplacement = make_Zreplacement(object, in wrap_strftime()
1558 if (Zreplacement == NULL) in wrap_strftime()
1561 assert(Zreplacement != NULL); in wrap_strftime()
1562 assert(PyUnicode_Check(Zreplacement)); in wrap_strftime()
1563 ptoappend = PyUnicode_AsUTF8AndSize(Zreplacement, in wrap_strftime()
1628 Py_XDECREF(Zreplacement); in wrap_strftime()