Lines Matching defs:format
184 PyBytes_FromFormatV(const char *format, va_list vargs)
204 s = _PyBytesWriter_Alloc(&writer, strlen(format));
216 for (f = format; *f; f++) {
255 /* subtract bytes preallocated for the format string
265 "PyBytes_FromFormatV(): %c format "
355 /* fix min_size if we reached the end of the format string */
359 /* invalid format string: copy unformatted string and exit */
375 PyBytes_FromFormat(const char *format, ...)
381 va_start(vargs, format);
385 ret = PyBytes_FromFormatV(format, vargs);
404 "not enough arguments for format string");
481 "%%%c format: %s is required, not %.200s", type,
580 _PyBytes_FormatEx(const char *format, Py_ssize_t format_len,
595 fmt = format;
639 /* Got a format specifier */
668 "format requires a mapping");
685 "incomplete format key");
801 "incomplete format");
932 "unsupported format character '%c' (0x%x) "
935 (Py_ssize_t)(fmt - 1 - format));
977 For example, write "0x" for the "%#x" format. */