Searched refs:freplacement (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 1143 char freplacement[64]; in make_freplacement() local 1145 sprintf(freplacement, "%06d", TIME_GET_MICROSECOND(object)); in make_freplacement() 1147 sprintf(freplacement, "%06d", DATE_GET_MICROSECOND(object)); in make_freplacement() 1149 sprintf(freplacement, "%06d", 0); in make_freplacement() 1151 return PyString_FromStringAndSize(freplacement, strlen(freplacement)); in make_freplacement() 1169 PyObject *freplacement = NULL; /* py string, replacement for %f */ in wrap_strftime() local 1303 if (freplacement == NULL) { in wrap_strftime() 1304 freplacement = make_freplacement(object); in wrap_strftime() 1305 if (freplacement == NULL) in wrap_strftime() 1308 assert(freplacement != NULL); in wrap_strftime() [all …]
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 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() [all …]
|