Home | History | Annotate | Download | only in util

Lines Matching defs:fmt

37          SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}");
41 fmt.getArgumentLimit());
45 fmt.format("unused"));
49 fmt.format((CharSequence[])null));
53 fmt.toString());
58 fmt.formatAndAppend(new StringBuilder(), offsets).toString());
66 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString());
70 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString());
96 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c");
97 assertEquals("{20} count", 21, fmt.getArgumentLimit());
100 assertEquals("{20}=b", "abc", fmt.format(values));
114 SimpleFormatter fmt = SimpleFormatter.compile(
117 fmt.format("freddy", "tommy", "frog", "leg");
123 fmt.formatAndAppend(
130 fmt.formatAndReplace(
140 SimpleFormatter fmt = SimpleFormatter.compile(
145 fmt.getArgumentLimit());
149 fmt.toString());
154 fmt.formatAndAppend(
165 SimpleFormatter fmt = SimpleFormatter.compile(
169 fmt.formatAndAppend(appendTo, null, appendTo, "frog");
178 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}");
184 fmt.formatAndReplace(
196 SimpleFormatter fmt = SimpleFormatter.compile("boo {2}, {0}, {1} and {3}");
202 fmt.formatAndReplace(
213 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}");
219 fmt.formatAndReplace(
230 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}");
235 fmt.formatAndReplace(
244 SimpleFormatter fmt = SimpleFormatter.compile(
250 fmt.formatAndReplace(result, null, result, "frog").toString());
255 SimpleFormatter fmt = SimpleFormatter.compile(
262 fmt.formatAndReplace(