HomeSort by relevance Sort by last modified time
    Searched defs:compiledPattern (Results 1 - 11 of 11) sorted by null

  /external/icu/icu4c/source/common/unicode/
simpleformatter.h 65 SimpleFormatter() : compiledPattern((char16_t)0) {}
104 : compiledPattern(other.compiledPattern) {}
155 return getArgumentLimit(compiledPattern.getBuffer(), compiledPattern.length());
268 return getTextWithNoArguments(compiledPattern.getBuffer(), compiledPattern.length());
281 UnicodeString compiledPattern;
283 static inline int32_t getArgumentLimit(const char16_t *compiledPattern,
285 return compiledPatternLength == 0 ? 0 : compiledPattern[0]
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
SimpleFormatter.java 48 private final String compiledPattern;
50 private SimpleFormatter(String compiledPattern) {
51 this.compiledPattern = compiledPattern;
78 String compiledPattern = SimpleFormatterImpl.compileToStringMinMaxArguments(pattern, sb, min, max);
79 return new SimpleFormatter(compiledPattern);
86 return SimpleFormatterImpl.getArgumentLimit(compiledPattern);
93 return SimpleFormatterImpl.formatCompiledPattern(compiledPattern, values);
112 return SimpleFormatterImpl.formatAndAppend(compiledPattern, appendTo, offsets, values);
132 return SimpleFormatterImpl.formatAndReplace(compiledPattern, result, offsets, values)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
SimpleFormatter.java 47 private final String compiledPattern;
49 private SimpleFormatter(String compiledPattern) {
50 this.compiledPattern = compiledPattern;
79 String compiledPattern = SimpleFormatterImpl.compileToStringMinMaxArguments(pattern, sb, min, max);
80 return new SimpleFormatter(compiledPattern);
88 return SimpleFormatterImpl.getArgumentLimit(compiledPattern);
96 return SimpleFormatterImpl.formatCompiledPattern(compiledPattern, values);
116 return SimpleFormatterImpl.formatAndAppend(compiledPattern, appendTo, offsets, values);
137 return SimpleFormatterImpl.formatAndReplace(compiledPattern, result, offsets, values)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/number/
SimpleModifier.java 15 private final String compiledPattern;
26 public SimpleModifier(String compiledPattern, Field field, boolean strong) {
27 assert compiledPattern != null;
28 this.compiledPattern = compiledPattern;
32 assert SimpleFormatterImpl.getArgumentLimit(compiledPattern) == 1;
33 if (compiledPattern.charAt(1) != '\u0000') {
34 prefixLength = compiledPattern.charAt(1) - ARG_NUM_LIMIT;
40 if (3 + prefixLength < compiledPattern.length()) {
41 suffixLength = compiledPattern.charAt(suffixOffset) - ARG_NUM_LIMIT
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
SimpleModifier.java 13 private final String compiledPattern;
24 public SimpleModifier(String compiledPattern, Field field, boolean strong) {
25 assert compiledPattern != null;
26 this.compiledPattern = compiledPattern;
30 assert SimpleFormatterImpl.getArgumentLimit(compiledPattern) == 1;
31 if (compiledPattern.charAt(1) != '\u0000') {
32 prefixLength = compiledPattern.charAt(1) - ARG_NUM_LIMIT;
38 if (3 + prefixLength < compiledPattern.length()) {
39 suffixLength = compiledPattern.charAt(suffixOffset) - ARG_NUM_LIMIT
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
SimpleFormatterImpl.java 177 * @param compiledPattern Compiled form of a pattern string.
180 public static int getArgumentLimit(String compiledPattern) {
181 return compiledPattern.charAt(0);
187 * @param compiledPattern Compiled form of a pattern string.
189 public static String formatCompiledPattern(String compiledPattern, CharSequence... values) {
190 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString();
207 String compiledPattern = compileToStringMinMaxArguments(pattern, sb, min, max);
209 return formatAndAppend(compiledPattern, sb, null, values).toString();
215 * @param compiledPattern Compiled form of a pattern string.
228 String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values)
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
ModifierTest.java 62 String compiledPattern = SimpleFormatterImpl
64 Modifier mod = new SimpleModifier(compiledPattern, NumberFormat.Field.PERCENT, false);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
SimpleFormatterImpl.java 175 * @param compiledPattern Compiled form of a pattern string.
178 public static int getArgumentLimit(String compiledPattern) {
179 return compiledPattern.charAt(0);
185 * @param compiledPattern Compiled form of a pattern string.
187 public static String formatCompiledPattern(String compiledPattern, CharSequence... values) {
188 return formatAndAppend(compiledPattern, new StringBuilder(), null, values).toString();
205 String compiledPattern = compileToStringMinMaxArguments(pattern, sb, min, max);
207 return formatAndAppend(compiledPattern, sb, null, values).toString();
213 * @param compiledPattern Compiled form of a pattern string.
226 String compiledPattern, StringBuilder appendTo, int[] offsets, CharSequence... values)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
ModifierTest.java 59 String compiledPattern = SimpleFormatterImpl
61 Modifier mod = new SimpleModifier(compiledPattern, NumberFormat.Field.PERCENT, false);
  /libcore/ojluni/src/main/java/java/text/
SimpleDateFormat.java 497 transient private char[] compiledPattern;
684 /* Initialize compiledPattern and numberFormat fields */
687 compiledPattern = compile(pattern);
718 * CompiledPattern:
    [all...]
  /external/guice/extensions/struts2/lib/
xwork-core-2.2.1.jar 

Completed in 2644 milliseconds