Lines Matching refs:format
35 const HChar* format,
85 const HChar *format, va_list vargs )
90 ( add_to__printf_buf, b, format, vargs );
97 const HChar *format, va_list vargs )
102 ret = vprintf_to_buf(&myprintf_buf, format, vargs);
113 UInt VG_(vprintf) ( const HChar *format, va_list vargs )
115 return vprintf_WRK( &VG_(log_output_sink), format, vargs );
119 UInt VG_(printf) ( const HChar *format, ... )
123 va_start(vargs, format);
124 ret = VG_(vprintf)(format, vargs);
173 #define VG_MSG_ALTFORMAT 32 /* Convert the value to alternate format */
340 const HChar* format,
356 for (i = 0; format[i] != 0; i++) {
357 if (format[i] != '%') {
358 send(format[i], send_arg2);
364 if (format[i] == 0)
366 if (format[i] == '%') {
376 switch (format[i]) {
394 /* If '#' follows '%', alternative format will be used. */
404 while (format[i] >= '0' && format[i] <= '9') {
406 width += format[i++] - '0';
408 while (format[i] == 'l') {
420 switch (format[i]) {
451 if (format[i+1] == 'S') {
470 caps = toBool(format[i] == 'X');
491 flags, width, str, format[i]=='S');
526 UInt VG_(vsprintf) ( HChar* buf, const HChar *format, va_list vargs )
532 ( add_to__sprintf_buf, &sprintf_ptr, format, vargs );
540 UInt VG_(sprintf) ( HChar* buf, const HChar *format, ... )
544 va_start(vargs,format);
545 ret = VG_(vsprintf)(buf, format, vargs);
568 // Have to generate the format string in order to be flexible about
591 // Have to generate the format string in order to be flexible about