Searched refs:totalnew (Results 1 – 1 of 1) sorted by relevance
1493 size_t totalnew; /* number bytes total in output format buffer, in wrap_strftime() local1516 totalnew = flen + 1; /* realistic if no %z/%Z */ in wrap_strftime()1517 newfmt = PyBytes_FromStringAndSize(NULL, totalnew); in wrap_strftime()1604 while (usednew + ntoappend > totalnew) { in wrap_strftime()1605 if (totalnew > (PY_SSIZE_T_MAX >> 1)) { /* overflow */ in wrap_strftime()1609 totalnew <<= 1; in wrap_strftime()1610 if (_PyBytes_Resize(&newfmt, totalnew) < 0) in wrap_strftime()1617 assert(usednew <= totalnew); in wrap_strftime()