Searched refs:format_len (Results 1 - 7 of 7) sorted by relevance

/external/python/cpython3/Include/
H A Dbytesobject.h67 Py_ssize_t format_len,
/external/python/cpython2/Python/
H A Dpystrtod.c647 size_t format_len = strlen(format); local
654 format_char = format[format_len - 1];
680 if (format_len + 1 >= sizeof(tmp_format)) {
687 tmp_format[format_len - 1] = 'g';
/external/python/cpython3/Python/
H A Dpystrtod.c717 size_t format_len = strlen(format); local
724 format_char = format[format_len - 1];
750 if (format_len + 1 >= sizeof(tmp_format)) {
757 tmp_format[format_len - 1] = 'g';
/external/python/cpython2/Modules/
H A Ddatetimemodule.c1162 wrap_strftime(PyObject *object, const char *format, size_t format_len, argument
1214 if (format_len > INT_MAX - 1) {
1219 totalnew = format_len + 1; /* realistic if no %z/%Z/%f */
2529 Py_ssize_t format_len; local
2533 &format, &format_len))
2539 result = wrap_strftime((PyObject *)self, format, format_len, tuple,
3306 Py_ssize_t format_len; local
3310 &format, &format_len))
3326 result = wrap_strftime((PyObject *)self, format, format_len, tuple,
/external/python/cpython2/Objects/
H A Dabstract.c767 Py_ssize_t format_len; local
776 format_len = PyUnicode_GET_SIZE(format_spec);
781 format_len = PyString_GET_SIZE(format_spec);
787 if (format_len > 0) {
H A Dtypeobject.c3545 Py_ssize_t format_len; local
3551 format_len = PyUnicode_GET_SIZE(format_spec);
3557 format_len = PyString_GET_SIZE(format_spec);
3568 if (format_len > 0) {
/external/python/cpython3/Objects/
H A Dbytesobject.c576 _PyBytes_FormatEx(const char *format, Py_ssize_t format_len, argument
592 fmtcnt = format_len;
626 len = format_len - (fmt - format);

Completed in 400 milliseconds