Lines Matching defs:format

85                                        const char* format, va_list ap,
90 if (!strchr(format, '%')) {
91 // constant format string
92 result = format;
95 } else if (format[0] == '%' && format[1] == 's' && format[2] == '\0') {
96 // trivial copy-through format string
100 } else if (vsnprintf(buffer, buflen, format, ap) >= 0) {
120 void outputStream::print(const char* format, ...) {
123 va_start(ap, format);
125 const char* str = do_vsnprintf(buffer, O_BUFLEN, format, ap, false, len);
130 void outputStream::print_cr(const char* format, ...) {
133 va_start(ap, format);
135 const char* str = do_vsnprintf(buffer, O_BUFLEN, format, ap, true, len);
140 void outputStream::vprint(const char *format, va_list argptr) {
143 const char* str = do_vsnprintf(buffer, O_BUFLEN, format, argptr, false, len);
147 void outputStream::vprint_cr(const char* format, va_list argptr) {
150 const char* str = do_vsnprintf(buffer, O_BUFLEN, format, argptr, true, len);
585 nametail += star_pos + skip; // skip prefix and pid format
620 // (For now, don't bother to issue a DTD for this private format.)
955 void staticBufferStream::print(const char* format, ...) {
957 va_start(ap, format);
959 const char* str = do_vsnprintf(_buffer, _buflen, format, ap, false, len);
964 void staticBufferStream::print_cr(const char* format, ...) {
966 va_start(ap, format);
968 const char* str = do_vsnprintf(_buffer, _buflen, format, ap, true, len);
973 void staticBufferStream::vprint(const char *format, va_list argptr) {
975 const char* str = do_vsnprintf(_buffer, _buflen, format, argptr, false, len);
979 void staticBufferStream::vprint_cr(const char* format, va_list argptr) {
981 const char* str = do_vsnprintf(_buffer, _buflen, format, argptr, true, len);