Lines Matching defs:format
42 #include "format.h"
1055 /* Return true if the message is marked as being a format string of the given
1056 type (e.g. "c-format"). */
1065 if (len >= 7 && memcmp (format_type + len - 7, "-format", 7) == 0)
1075 /* Change the format string mark for a given type of a message. */
1084 if (len >= 7 && memcmp (format_type + len - 7, "-format", 7) == 0)
1116 /* Return a NULL terminated array of the supported format types. */
1127 list[i] = xasprintf ("%s-format", format_language[i]);
1135 /* Return the pretty name associated with a format type.
1136 For example, for "csharp-format", return "C#".
1137 Return NULL if the argument is not a supported format type. */
1145 if (len >= 7 && memcmp (format_type + len - 7, "-format", 7) == 0)
1245 /* Test whether the message translation is a valid format string if the message
1246 is marked as being a format string. If it is invalid, pass the reasons to
1274 po_error_logger (const char *format, ...)
1277 po_error_logger (const char *format, ...)
1282 va_start (args, format);
1283 if (vasprintf (&error_message, format, args) < 0)
1290 /* Test whether the message translation is a valid format string if the message
1291 is marked as being a format string. If it is invalid, pass the reasons to