Home
last modified time | relevance | path

Searched refs:ntoappend (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Ddatetimemodule.c1181 size_t ntoappend; /* # of bytes to append to output buffer */ in wrap_strftime() local
1229 ntoappend = 1; in wrap_strftime()
1260 ntoappend = PyString_GET_SIZE(zreplacement); in wrap_strftime()
1299 ntoappend = PyString_GET_SIZE(Zreplacement); in wrap_strftime()
1311 ntoappend = PyString_GET_SIZE(freplacement); in wrap_strftime()
1316 ntoappend = 2; in wrap_strftime()
1323 assert(ntoappend >= 0); in wrap_strftime()
1324 if (ntoappend == 0) in wrap_strftime()
1326 while (usednew + ntoappend > totalnew) { in wrap_strftime()
1337 memcpy(pnew, ptoappend, ntoappend); in wrap_strftime()
[all …]
/external/python/cpython3/Modules/
D_datetimemodule.c1487 Py_ssize_t ntoappend; /* # of bytes to append to output buffer */ in wrap_strftime() local
1514 ntoappend = 1; in wrap_strftime()
1523 ntoappend = 1; in wrap_strftime()
1551 ntoappend = PyBytes_GET_SIZE(zreplacement); in wrap_strftime()
1564 &ntoappend); in wrap_strftime()
1578 ntoappend = PyBytes_GET_SIZE(freplacement); in wrap_strftime()
1583 ntoappend = 2; in wrap_strftime()
1589 if (ntoappend == 0) in wrap_strftime()
1592 assert(ntoappend > 0); in wrap_strftime()
1593 while (usednew + ntoappend > totalnew) { in wrap_strftime()
[all …]