Home | History | Annotate | Download | only in util

Lines Matching defs:fmt

34          SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}");
38 fmt.getArgumentLimit());
42 fmt.format("unused"));
46 fmt.format((CharSequence[])null));
50 fmt.toString());
55 fmt.formatAndAppend(new StringBuilder(), offsets).toString());
63 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString());
67 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString());
93 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c");
94 assertEquals("{20} count", 21, fmt.getArgumentLimit());
97 assertEquals("{20}=b", "abc", fmt.format(values));
111 SimpleFormatter fmt = SimpleFormatter.compile(
114 fmt.format("freddy", "tommy", "frog", "leg");
120 fmt.formatAndAppend(
127 fmt.formatAndReplace(
137 SimpleFormatter fmt = SimpleFormatter.compile(
142 fmt.getArgumentLimit());
146 fmt.toString());
151 fmt.formatAndAppend(
162 SimpleFormatter fmt = SimpleFormatter.compile(
166 fmt.formatAndAppend(appendTo, null, appendTo, "frog");
175 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}");
181 fmt.formatAndReplace(
193 SimpleFormatter fmt = SimpleFormatter.compile("boo {2}, {0}, {1} and {3}");
199 fmt.formatAndReplace(
210 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}");
216 fmt.formatAndReplace(
227 SimpleFormatter fmt = SimpleFormatter.compile("{2}, {0}, {1} and {3}");
232 fmt.formatAndReplace(
241 SimpleFormatter fmt = SimpleFormatter.compile(
247 fmt.formatAndReplace(result, null, result, "frog").toString());
252 SimpleFormatter fmt = SimpleFormatter.compile(
259 fmt.formatAndReplace(