Home
last modified time | relevance | path

Searched refs:template (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/text/
DChoiceFormat.java110 public ChoiceFormat(String template) { in ChoiceFormat() argument
111 applyPattern(template); in ChoiceFormat()
123 public void applyPattern(String template) { in applyPattern() argument
126 int length = template.length(), limitCount = 0, index = 0; in applyPattern()
131 index = skipWhitespace(template, index); in applyPattern()
147 Number value = format.parse(template, position); in applyPattern()
148 index = skipWhitespace(template, position.getIndex()); in applyPattern()
155 char ch = template.charAt(index++); in applyPattern()
171 … throw new IllegalArgumentException("Bad character '" + ch + "' in template: " + template); in applyPattern()
174 throw new IllegalArgumentException("Bad template: " + template); in applyPattern()
[all …]
DSimpleDateFormat.java263 private void validatePattern(String template) { in validatePattern() argument
267 final int patternLength = template.length(); in validatePattern()
269 next = (template.charAt(i)); in validatePattern()
333 public SimpleDateFormat(String template, DateFormatSymbols value) { in SimpleDateFormat() argument
335 validatePattern(template); in SimpleDateFormat()
336 pattern = template; in SimpleDateFormat()
354 public SimpleDateFormat(String template, Locale locale) { in SimpleDateFormat() argument
356 validatePattern(template); in SimpleDateFormat()
357 pattern = template; in SimpleDateFormat()
378 public void applyLocalizedPattern(String template) { in applyLocalizedPattern() argument
[all …]
DMessageFormat.java358 public MessageFormat(String template, Locale locale) { in MessageFormat() argument
360 applyPattern(template); in MessageFormat()
373 public MessageFormat(String template) { in MessageFormat() argument
374 this(template, Locale.getDefault()); in MessageFormat()
385 public void applyPattern(String template) { in applyPattern() argument
386 int length = template.length(); in applyPattern()
395 if (Format.upTo(template, position, buffer, '{')) { in applyPattern()
403 while ((ch = template.charAt(offset++)) != '}' && ch != ',') { in applyPattern()
416 localFormats.add(parseVariable(template, position)); in applyPattern()
/libcore/include/
DLocalArray.h31 template <size_t STACK_BYTE_COUNT>
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...