Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 4306) sorted by relevance

12345678910>>...173

/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dformat-java.c131 static bool date_format_parse (const char *format);
132 static bool number_format_parse (const char *format);
133 static bool choice_format_parse (const char *format, struct spec *spec,
142 if (*format == '\'' && *++format != '\'') \
152 message_format_parse (const char *format, struct spec *spec, in message_format_parse() argument
160 if (!quoting && *format == '{') in message_format_parse()
173 element_start = ++format; in message_format_parse()
175 for (; *format != '\0'; format++) in message_format_parse()
177 if (*format == '{') in message_format_parse()
179 else if (*format == '}') in message_format_parse()
[all …]
H A Dformat-c.c180 format_parse (const char *format, bool translated, bool objc_extensions, in format_parse() argument
198 for (; *format != '\0';) in format_parse()
199 if (*format++ == '%') in format_parse()
208 if (isdigit (*format)) in format_parse()
210 const char *f = format; in format_parse()
228 format = ++f; in format_parse()
235 if (*format == ' ' || *format == '+' || *format == '-' in format_parse()
236 || *format == '#' || *format == '0' || *format == '\'') in format_parse()
237 format++; in format_parse()
238 else if (translated && *format == 'I') in format_parse()
[all …]
H A Dformat-perl.c132 format_parse (const char *format, bool translated, char **invalid_reason) in format_parse() argument
147 for (; *format != '\0';) in format_parse()
148 if (*format++ == '%') in format_parse()
158 if (isnonzerodigit (*format)) in format_parse()
160 const char *f = format; in format_parse()
173 format = ++f; in format_parse()
178 while (*format == ' ' || *format == '+' || *format == '-' in format_parse()
179 || *format == '#' || *format == '0') in format_parse()
180 format++; in format_parse()
183 if (*format == 'v') in format_parse()
[all …]
H A Dformat-gcc-internal.c155 format_parse (const char *format, bool translated, char **invalid_reason) in format_parse() argument
168 for (; *format != '\0';) in format_parse()
169 if (*format++ == '%') in format_parse()
174 if (*format == '%' || *format == '<' || *format == '>' in format_parse()
175 || *format == '\'') in format_parse()
177 else if (*format == 'm') in format_parse()
190 if (isdigit (*format)) in format_parse()
192 const char *f = format; in format_parse()
210 format = ++f; in format_parse()
215 for (;; format++) in format_parse()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_fourcc.c143 const char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf) in drm_get_format_name() argument
147 printable_char(format & 0xff), in drm_get_format_name()
148 printable_char((format >> 8) & 0xff), in drm_get_format_name()
149 printable_char((format >> 16) & 0xff), in drm_get_format_name()
150 printable_char((format >> 24) & 0x7f), in drm_get_format_name()
151 format & DRM_FORMAT_BIG_ENDIAN ? "big" : "little", in drm_get_format_name()
152 format); in drm_get_format_name()
162 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument
165 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
166 …{ .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/format/
H A Dpackage.d555 module std.format;
561 … assert(format("I got %s %s for %s euros.", 30, "eggs", 5.27) == "I got 30 eggs for 5.27 euros.");
564 …assert(format("I got %b %(%X%) for %f euros.", 30, "eggs", 5.27) == "I got 11110 65676773 for 5.27…
575 assert(format("My items are %(%s %).", [1,2,3]) == "My items are 1 2 3.");
576 assert(format("My items are %(%s, %).", [1,2,3]) == "My items are 1, 2, 3.");
583 assert(format("My items are %(-%s-%|, %).", [1,2,3]) == "My items are -1-, -2-, -3-.");
593 assert(format("%(%(%d %) - %)", mat), "1 2 3 - 4 5 6 - 7 8 9");
594 assert(format("[%(%(%d %) - %)]", mat), "[1 2 3 - 4 5 6 - 7 8 9]");
595 assert(format("[%([%(%d %)]%| - %)]", mat), "[1 2 3] - [4 5 6] - [7 8 9]");
601 assert(format("My friends are %s.", ["John", "Nancy"]) == `My friends are ["John", "Nancy"].`);
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Derrors.d54 private extern (C++) void noop(const ref Loc loc, const(char)* format, ...) {} in noop() argument
56 pragma(printf) private extern (C++) void noop(const ref Loc loc, const(char)* format, ...) {} in noop() argument
88 extern (C++) void error(const ref Loc loc, const(char)* format, ...) in error() argument
91 va_start(ap, format); in error()
92 verror(loc, format, ap); in error()
96 pragma(printf) extern (C++) void error(const ref Loc loc, const(char)* format, ...) in pragma()
99 va_start(ap, format); in pragma()
100 verror(loc, format, ap); in pragma()
114 …extern (C++) void error(const(char)* filename, uint linnum, uint charnum, const(char)* format, ...) in error() argument
118 va_start(ap, format); in error()
[all …]
/netbsd-src/external/gpl2/texinfo/dist/intl/
H A Dprintf.c82 libintl_vfprintf (FILE *stream, const char *format, va_list args) in libintl_vfprintf() argument
84 if (strchr (format, '$') == NULL) in libintl_vfprintf()
85 return vfprintf (stream, format, args); in libintl_vfprintf()
89 char *result = libintl_vasnprintf (NULL, &length, format, args); in libintl_vfprintf()
103 libintl_fprintf (FILE *stream, const char *format, ...) in libintl_fprintf() argument
108 va_start (args, format); in libintl_fprintf()
109 retval = libintl_vfprintf (stream, format, args); in libintl_fprintf()
116 libintl_vprintf (const char *format, va_list args) in libintl_vprintf() argument
118 return libintl_vfprintf (stdout, format, args); in libintl_vprintf()
123 libintl_printf (const char *format, ...) in libintl_printf() argument
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/
H A Dprintf.c95 libintl_vfprintf (FILE *stream, const char *format, va_list args) in libintl_vfprintf() argument
97 if (strchr (format, '$') == NULL) in libintl_vfprintf()
98 return vfprintf (stream, format, args); in libintl_vfprintf()
102 char *result = libintl_vasnprintf (NULL, &length, format, args); in libintl_vfprintf()
122 libintl_fprintf (FILE *stream, const char *format, ...) in libintl_fprintf() argument
127 va_start (args, format); in libintl_fprintf()
128 retval = libintl_vfprintf (stream, format, args); in libintl_fprintf()
135 libintl_vprintf (const char *format, va_list args) in libintl_vprintf() argument
137 return libintl_vfprintf (stdout, format, args); in libintl_vprintf()
142 libintl_printf (const char *format, ...) in libintl_printf() argument
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-diagnostic.cc44 expand_d_format (const char *format) in expand_d_format() argument
49 for (const char *p = format; *p;) in expand_d_format()
135 escape_d_format (const char *format) in escape_d_format() argument
141 for (const char *p = format; *p; p++) in escape_d_format()
173 d_diagnostic_report_diagnostic (const Loc& loc, int opt, const char *format, in d_diagnostic_report_diagnostic() argument
183 char *xformat = expand_d_format (format); in d_diagnostic_report_diagnostic()
199 text.format_spec = expand_d_format (format); in d_diagnostic_report_diagnostic()
214 error (const Loc& loc, const char *format, ...) in error() argument
217 va_start (ap, format); in error()
218 verror (loc, format, ap); in error()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/tests/
H A Dxg-c-1.ok.po1 #, c-format, no-wrap
8 #, c-format
12 #, c-format
25 #, c-format
31 #, c-format
37 #, c-format
41 #, c-format
45 #, c-format
49 #, c-format
53 #, c-format, no-wrap
[all …]
/netbsd-src/external/gpl3/binutils/dist/binutils/po/
H A Dbinutils.pot21 #, c-format
26 #, c-format
31 #, c-format
38 #, c-format
43 " -b --target=<bfdname> Set the binary file format\n"
63 #, c-format
73 #, c-format
84 #, c-format
89 #, c-format
94 #, c-format
[all …]
H A Dhr.po23 #, c-format
28 #, c-format
33 #, c-format
38 #, fuzzy, c-format
43 " -b --target=<bfdname> Set the binary file format\n"
74 #, c-format
84 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dloongarch-coder.c167 loongarch_parse_format (const char *format, char *esc1s, char *esc2s, in loongarch_parse_format() argument
172 if (*format == '\0') in loongarch_parse_format()
179 if (('a' <= *format && *format <= 'z') in loongarch_parse_format()
180 || ('A' <= *format && *format <= 'Z')) in loongarch_parse_format()
182 *esc1s++ = *format++; in loongarch_parse_format()
183 if (('a' <= *format && *format <= 'z') in loongarch_parse_format()
184 || ('A' <= *format && *format <= 'Z')) in loongarch_parse_format()
185 *esc2s++ = *format++; in loongarch_parse_format()
197 *bit_fields++ = format; in loongarch_parse_format()
199 if ('0' <= *format && *format <= '9') in loongarch_parse_format()
[all …]
H A Dm68hc11-dis.c227 long format, pos, i; in print_insn() local
238 format = 0; in print_insn()
250 format = opcode->format; in print_insn()
251 if (format & (M68XG_OP_NONE)) in print_insn()
255 else if (format & M68XG_OP_IMM3) in print_insn()
257 else if (format & M68XG_OP_R_R) in print_insn()
260 else if (format & M68XG_OP_R_R_R) in print_insn()
263 else if (format & M68XG_OP_RD_RB_RI) in print_insn()
266 else if (format & M68XG_OP_RD_RB_RIp) in print_insn()
269 else if (format & M68XG_OP_RD_RB_mRI) in print_insn()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gold/
H A Derrors.cc79 Errors::fatal(const char* format, va_list args) in fatal() argument
82 vfprintf(stderr, format, args); in fatal()
90 Errors::fallback(const char* format, va_list args) in fallback() argument
93 vfprintf(stderr, format, args); in fallback()
101 Errors::error(const char* format, va_list args) in error() argument
104 vfprintf(stderr, format, args); in error()
113 Errors::warning(const char* format, va_list args) in warning() argument
116 vfprintf(stderr, format, args); in warning()
125 Errors::info(const char* format, va_list args) in info() argument
127 vfprintf(stderr, format, args); in info()
[all …]
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dloongarch-coder.c168 loongarch_parse_format (const char *format, char *esc1s, char *esc2s, in loongarch_parse_format() argument
173 if (*format == '\0') in loongarch_parse_format()
180 if (('a' <= *format && *format <= 'z') in loongarch_parse_format()
181 || ('A' <= *format && *format <= 'Z')) in loongarch_parse_format()
183 *esc1s++ = *format++; in loongarch_parse_format()
184 if (('a' <= *format && *format <= 'z') in loongarch_parse_format()
185 || ('A' <= *format && *format <= 'Z')) in loongarch_parse_format()
186 *esc2s++ = *format++; in loongarch_parse_format()
198 *bit_fields++ = format; in loongarch_parse_format()
200 if ('0' <= *format && *format <= '9') in loongarch_parse_format()
[all …]
H A Dm68hc11-dis.c227 long format, pos, i; in print_insn() local
238 format = 0; in print_insn()
250 format = opcode->format; in print_insn()
251 if (format & (M68XG_OP_NONE)) in print_insn()
255 else if (format & M68XG_OP_IMM3) in print_insn()
257 else if (format & M68XG_OP_R_R) in print_insn()
260 else if (format & M68XG_OP_R_R_R) in print_insn()
263 else if (format & M68XG_OP_RD_RB_RI) in print_insn()
266 else if (format & M68XG_OP_RD_RB_RIp) in print_insn()
269 else if (format & M68XG_OP_RD_RB_mRI) in print_insn()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gold/
H A Derrors.cc79 Errors::fatal(const char* format, va_list args) in fatal() argument
82 vfprintf(stderr, format, args); in fatal()
90 Errors::fallback(const char* format, va_list args) in fallback() argument
93 vfprintf(stderr, format, args); in fallback()
101 Errors::error(const char* format, va_list args) in error() argument
104 vfprintf(stderr, format, args); in error()
113 Errors::warning(const char* format, va_list args) in warning() argument
116 vfprintf(stderr, format, args); in warning()
125 Errors::info(const char* format, va_list args) in info() argument
127 vfprintf(stderr, format, args); in info()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/binutils/po/
H A Dbinutils.pot22 #, c-format
27 #, c-format
32 #, c-format
39 #, c-format
44 " -b --target=<bfdname> Set the binary file format\n"
64 #, c-format
74 #, c-format
85 #, c-format
90 #, c-format
95 #, c-format
[all …]
H A Dbg.po24 #, c-format
29 #, c-format
34 #, c-format
39 #, c-format
44 " -b --target=<bfdname> Set the binary file format\n"
79 #, c-format
89 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
[all …]
H A Dhr.po23 #, c-format
28 #, c-format
33 #, c-format
38 #, fuzzy, c-format
43 " -b --target=<bfdname> Set the binary file format\n"
74 #, c-format
84 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
[all …]
/netbsd-src/external/gpl3/gdb/dist/libiberty/testsuite/
H A Drust-demangle-expected18 --format=rust
22 --format=gnu-v3
26 --format=auto
30 --format=auto
34 --format=auto
38 --format=auto
42 --format=auto
47 --format=rust
51 --format=rust
55 --format=rust
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/po/
H A Dbfd.pot21 #, c-format
26 #, c-format
31 #, c-format
36 #, c-format
37 msgid "%pB: can not represent section `%pA' in a.out object file format"
41 #, c-format
43 "%pB: can not represent section for symbol `%s' in a.out object file format"
51 #, c-format
56 #, c-format
61 #, c-format
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dfold-const-call.cc89 const real_format *format) in do_mpfr_ckconv() argument
101 real_from_mpfr (&tmp, m, format, MPFR_RNDN); in do_mpfr_ckconv()
110 real_convert (result, format, &tmp); in do_mpfr_ckconv()
124 const real_value *arg, const real_format *format) in do_mpfr_arg1() argument
128 if (format->b != 2 || !real_isfinite (arg)) in do_mpfr_arg1()
131 int prec = format->p; in do_mpfr_arg1()
132 mpfr_rnd_t rnd = format->round_towards_zero ? MPFR_RNDZ : MPFR_RNDN; in do_mpfr_arg1()
139 bool ok = do_mpfr_ckconv (result, m, inexact, format); in do_mpfr_arg1()
154 const real_value *arg, const real_format *format) in do_mpfr_sincos() argument
158 if (format->b != 2 || !real_isfinite (arg)) in do_mpfr_sincos()
[all …]

12345678910>>...173