Lines Matching defs:format
1 /* Qt format strings.
25 #include "format.h"
32 /* Qt format strings are processed by QString::arg and are documented in
54 /* Number of format directives. */
68 format_parse (const char *format, bool translated, char *fdi,
71 const char *const format_start = format;
79 for (; *format != '\0';)
80 if (*format++ == '%')
82 const char *dir_start = format - 1;
85 if (*format == 'L')
88 format++;
90 if (*format >= '0' && *format <= '9')
100 number = *format - '0';
101 if (format[1] >= '0' && format[1] <= '9')
103 number = 10 * number + (format[1] - '0');
105 format++;
112 FDI_SET (format, FMTDIR_END);
114 format++;
152 error_logger (_("'msgid' is a simple format string, but '%s' is not: it contains an 'L' flag or a double-digit argument number"),
169 ? _("a format specification for argument %u doesn't exist in '%s'")
170 : _("a format specification for argument %u, as in '%s', doesn't exist in 'msgid'"),
258 * compile-command: "/bin/sh ../libtool --tag=CC --mode=link gcc -o a.out -static -O -g -Wall -I.. -I../gnulib-lib -I../intl -DHAVE_CONFIG_H -DTEST format-qt.c ../gnulib-lib/libgettextlib.la"