Lines Matching defs:format
88 ** The format specifiers are as for printf but without the field width and other modifiers.
104 psf_log_printf (SF_PRIVATE *psf, const char *format, ...)
110 va_start (ap, format) ;
112 while ((c = *format++))
118 if (format [0] == '%') /* Handle %% */
120 format ++ ;
127 { switch (format [0])
130 sign_char = format [0] ;
131 format ++ ;
136 format ++ ;
145 if (format [0] == 0)
149 if (format [0] == '0')
153 while ((c = *format++) && isdigit (c))
158 { while ((c = *format++) && isdigit (c))
403 psf_asciiheader_printf (SF_PRIVATE *psf, const char *format, ...)
408 if (! format)
415 va_start (argptr, format) ;
416 vsnprintf (start, maxlen, format, argptr) ;
568 psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...)
580 if (! format)
583 va_start (argptr, format) ;
585 while ((c = *format++))
591 { case ' ' : /* Do nothing. Just used to space out format string. */
806 psf_log_printf (psf, "*** Invalid format specifier `%c'\n", c) ;
824 ** If format is NULL, psf_binheader_readf returns the current offset.
982 psf_binheader_readf (SF_PRIVATE *psf, char const *format, ...)
994 if (! format)
997 va_start (argptr, format) ;
999 while ((c = *format++))
1163 psf_log_printf (psf, "*** Invalid format specifier `%c'\n", c) ;
1246 psf_log_printf (psf, " Format : 0x%X\n", psf->sf.format) ;
1421 subformat_to_bytewidth (int format)
1423 switch (format)
1573 str_of_major_format (int format)
1574 { switch (SF_CONTAINER (format))
1607 str_of_minor_format (int format)
1608 { switch (SF_CODEC (format))