Lines Matching refs:format
12 # xolint -- a lint for inspecting xo_emit format strings
234 my($format) = @_;
236 return unless $format =~ /^".*"$/;
238 my @data = split(//, $format);
309 #@ properly converted to a libxo-style format string.
390 #@ Encoding format uses different number of arguments
394 #@ Both format should consume the same number of arguments off the stack
397 warn("encoding format uses different number of arguments ($cf/$ce)")
411 #@ Potential missing slash after C, D, N, L, or T with format
415 #@ The "%6.6s" will be a literal, not a field format. While
417 info("potential missing slash after C, D, N, L, or T with format")
420 #@ An encoding format cannot be given (roles: DNLT)
423 #@ the 'encoding' style (JSON, XML), so an encoding format
425 error("encoding format cannot be given when content is present")
435 #@ format ("{L:/%s}").
440 error("format cannot be given when content is present")
490 #@ Field has humanize modifier but no format string
495 #@ likely to use the default format ("%s").
496 error("Field has humanize modifier but no format string");
606 #@ Anchor format should be "%d"
611 #@ if must be in an 'int' argument, represented by the "%d" format.
613 error("anchor format should be \"%d\"")
616 #@ Anchor cannot have both format and encoding format")
622 error("anchor cannot have both format and encoding format")
628 my($format) = @_;
630 return -1 unless $format;
634 for ($in = $format; $in; $in = $rest) {
644 error("invalid field format") if $in =~ /%/;