Searched refs:format_len (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Python/ |
D | pystrtod.c | 647 size_t format_len = strlen(format); in _PyOS_ascii_formatd() local 654 format_char = format[format_len - 1]; in _PyOS_ascii_formatd() 680 if (format_len + 1 >= sizeof(tmp_format)) { in _PyOS_ascii_formatd() 687 tmp_format[format_len - 1] = 'g'; in _PyOS_ascii_formatd()
|
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 1162 wrap_strftime(PyObject *object, const char *format, size_t format_len, in wrap_strftime() argument 1214 if (format_len > INT_MAX - 1) { in wrap_strftime() 1219 totalnew = format_len + 1; /* realistic if no %z/%Z/%f */ in wrap_strftime() 2529 Py_ssize_t format_len; in date_strftime() local 2533 &format, &format_len)) in date_strftime() 2539 result = wrap_strftime((PyObject *)self, format, format_len, tuple, in date_strftime() 3306 Py_ssize_t format_len; in time_strftime() local 3310 &format, &format_len)) in time_strftime() 3326 result = wrap_strftime((PyObject *)self, format, format_len, tuple, in time_strftime()
|
/external/python/cpython2/Objects/ |
D | abstract.c | 767 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) {
|
D | typeobject.c | 3545 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) {
|