Lines Matching refs:freplacement
1448 char freplacement[64]; in make_freplacement() local
1450 sprintf(freplacement, "%06d", TIME_GET_MICROSECOND(object)); in make_freplacement()
1452 sprintf(freplacement, "%06d", DATE_GET_MICROSECOND(object)); in make_freplacement()
1454 sprintf(freplacement, "%06d", 0); in make_freplacement()
1456 return PyBytes_FromStringAndSize(freplacement, strlen(freplacement)); in make_freplacement()
1474 PyObject *freplacement = NULL; /* py string, replacement for %f */ in wrap_strftime() local
1570 if (freplacement == NULL) { in wrap_strftime()
1571 freplacement = make_freplacement(object); in wrap_strftime()
1572 if (freplacement == NULL) in wrap_strftime()
1575 assert(freplacement != NULL); in wrap_strftime()
1576 assert(PyBytes_Check(freplacement)); in wrap_strftime()
1577 ptoappend = PyBytes_AS_STRING(freplacement); in wrap_strftime()
1578 ntoappend = PyBytes_GET_SIZE(freplacement); in wrap_strftime()
1626 Py_XDECREF(freplacement); in wrap_strftime()