Lines Matching refs:format
1 /* Formatted output to strings, using POSIX/XSI format strings with positions.
80 libintl_vfprintf (FILE *stream, const char *format, va_list args)
82 if (strchr (format, '$') == NULL)
83 return vfprintf (stream, format, args);
87 char *result = libintl_vasnprintf (NULL, &length, format, args);
101 libintl_fprintf (FILE *stream, const char *format, ...)
106 va_start (args, format);
107 retval = libintl_vfprintf (stream, format, args);
114 libintl_vprintf (const char *format, va_list args)
116 return libintl_vfprintf (stdout, format, args);
121 libintl_printf (const char *format, ...)
126 va_start (args, format);
127 retval = libintl_vprintf (format, args);
134 libintl_vsprintf (char *resultbuf, const char *format, va_list args)
136 if (strchr (format, '$') == NULL)
137 return vsprintf (resultbuf, format, args);
141 char *result = libintl_vasnprintf (resultbuf, &length, format, args);
154 libintl_sprintf (char *resultbuf, const char *format, ...)
159 va_start (args, format);
160 retval = libintl_vsprintf (resultbuf, format, args);
177 libintl_vsnprintf (char *resultbuf, size_t length, const char *format, va_list args)
179 if (strchr (format, '$') == NULL)
180 return system_vsnprintf (resultbuf, length, format, args);
184 char *result = libintl_vasnprintf (resultbuf, &length, format, args);
204 libintl_snprintf (char *resultbuf, size_t length, const char *format, ...)
209 va_start (args, format);
210 retval = libintl_vsnprintf (resultbuf, length, format, args);
221 libintl_vasprintf (char **resultp, const char *format, va_list args)
224 char *result = libintl_vasnprintf (NULL, &length, format, args);
233 libintl_asprintf (char **resultp, const char *format, ...)
238 va_start (args, format);
239 retval = libintl_vasprintf (resultp, format, args);
273 libintl_vfwprintf (FILE *stream, const wchar_t *format, va_list args)
275 if (wcschr (format, '$') == NULL)
276 return vfwprintf (stream, format, args);
280 wchar_t *result = libintl_vasnwprintf (NULL, &length, format, args);
298 libintl_fwprintf (FILE *stream, const wchar_t *format, ...)
303 va_start (args, format);
304 retval = libintl_vfwprintf (stream, format, args);
311 libintl_vwprintf (const wchar_t *format, va_list args)
313 return libintl_vfwprintf (stdout, format, args);
318 libintl_wprintf (const wchar_t *format, ...)
323 va_start (args, format);
324 retval = libintl_vwprintf (format, args);
331 libintl_vswprintf (wchar_t *resultbuf, size_t length, const wchar_t *format, va_list args)
333 if (wcschr (format, '$') == NULL)
334 return system_vswprintf (resultbuf, length, format, args);
338 wchar_t *result = libintl_vasnwprintf (resultbuf, &length, format, args);
358 libintl_swprintf (wchar_t *resultbuf, size_t length, const wchar_t *format, ...)
363 va_start (args, format);
364 retval = libintl_vswprintf (resultbuf, length, format, args);