Home
last modified time | relevance | path

Searched refs:patternStr (Results 1 – 7 of 7) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DPatternCache.java63 public static Pattern get(final String patternStr) { in get() argument
65 if (patternStr == null) { in get()
68 if (patternStr.isEmpty()) { in get()
73 return Pattern.compile(patternStr); in get()
77 result = cache.get(patternStr, new Callable<Pattern>() { in get()
81 return Pattern.compile(patternStr); in get()
86 … throw new IllegalArgumentException("The supplied pattern is not valid: " + patternStr, e); in get()
DRegexLogger.java57 public PatternStringWithBoolean(String patternStr, boolean calledFromRegexFinder) { in PatternStringWithBoolean() argument
58 this.pattern = patternStr.trim(); in PatternStringWithBoolean()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DFuncFormatNumb.java63 String patternStr = getArg1().execute(xctxt).str(); in execute() local
66 if (patternStr.indexOf(0x00A4) > 0) in execute()
96 formatter.applyLocalizedPattern(patternStr); in execute()
112 formatter.applyLocalizedPattern(patternStr); in execute()
125 if (null != patternStr) in execute()
126 formatter.applyLocalizedPattern(patternStr); in execute()
135 new Object[]{ patternStr }); in execute()
/external/guava/guava/src/com/google/common/io/
DPatternFilenameFilter.java47 public PatternFilenameFilter(String patternStr) { in PatternFilenameFilter() argument
48 this(Pattern.compile(patternStr)); in PatternFilenameFilter()
/external/cldr/tools/java/org/unicode/cldr/json/
DLdmlConvertRules.java354 PathTransformSpec(String patternStr, String replacement) { in PathTransformSpec() argument
355 pattern = PatternCache.get(patternStr); in PathTransformSpec()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp1801 UnicodeString patternStr("*\\U00010000##.##", ""); in TestSurrogateSupport() local
1802 patternStr = patternStr.unescape(); in TestSurrogateSupport()
1805 expect2(new DecimalFormat(patternStr, custom, status), in TestSurrogateSupport()
1844 patternStr = UNICODE_STRING_SIMPLE("0.00 \\u00A4' in your bank account'"); in TestSurrogateSupport()
1845 patternStr = patternStr.unescape(); in TestSurrogateSupport()
1848 expect2(new DecimalFormat(patternStr, custom, status), in TestSurrogateSupport()
1852 patternStr = "'You''ve lost ' -0.00 %' of your money today'"; in TestSurrogateSupport()
1853 patternStr = patternStr.unescape(); in TestSurrogateSupport()
1856 expect2(new DecimalFormat(patternStr, custom, status), in TestSurrogateSupport()
Dnumberformat2test.cpp1636 UnicodeString patternStr("%\\u2030"); in TestAffixPatternAppend() local
1638 patternStr.unescape(), pattern, status); in TestAffixPatternAppend()
1657 UnicodeString patternStr("%baaa"); in TestAffixPatternAppendAjoiningLiterals() local
1659 patternStr, pattern, status); in TestAffixPatternAppendAjoiningLiterals()