Home
last modified time | relevance | path

Searched refs:getPattern (Results 1 – 25 of 163) sorted by relevance

1234567

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/
DDateFormatUtilsTest.java72 testGmtMinus3("2002-02-23", DateFormatUtils.ISO_DATE_FORMAT.getPattern()); in testDateISO()
73 testGmtMinus3("2002-02-23-03:00", DateFormatUtils.ISO_DATE_TIME_ZONE_FORMAT.getPattern()); in testDateISO()
74 testUTC("2002-02-23Z", DateFormatUtils.ISO_DATE_TIME_ZONE_FORMAT.getPattern()); in testDateISO()
79 testGmtMinus3("2002-02-23T09:11:12", DateFormatUtils.ISO_DATETIME_FORMAT.getPattern()); in testDateTimeISO()
80 …GmtMinus3("2002-02-23T09:11:12-03:00", DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.getPattern()); in testDateTimeISO()
81 testUTC("2002-02-23T09:11:12Z", DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT.getPattern()); in testDateTimeISO()
134 …:00:00", DateFormatUtils.formatUTC(c.getTime(), DateFormatUtils.ISO_DATETIME_FORMAT.getPattern())); in testFormatUTC()
136 …ateFormatUtils.formatUTC(c.getTime().getTime(), DateFormatUtils.ISO_DATETIME_FORMAT.getPattern())); in testFormatUTC()
138 …teFormatUtils.formatUTC(c.getTime(), DateFormatUtils.ISO_DATETIME_FORMAT.getPattern(), Locale.US)); in testFormatUTC()
140 …ils.formatUTC(c.getTime().getTime(), DateFormatUtils.ISO_DATETIME_FORMAT.getPattern(), Locale.US)); in testFormatUTC()
[all …]
/external/perfetto/ui/src/frontend/
Dgridline_helper_unittest.ts17 import {getPattern, TickGenerator, TickType} from './gridline_helper';
20 expect(getPattern(1n)).toEqual([1n, '|']);
21 expect(getPattern(2n)).toEqual([2n, '|:']);
22 expect(getPattern(3n)).toEqual([5n, '|....']);
23 expect(getPattern(4n)).toEqual([5n, '|....']);
24 expect(getPattern(5n)).toEqual([5n, '|....']);
25 expect(getPattern(7n)).toEqual([10n, '|....:....']);
27 expect(getPattern(10n)).toEqual([10n, '|....:....']);
28 expect(getPattern(20n)).toEqual([20n, '|.:.']);
29 expect(getPattern(50n)).toEqual([50n, '|....']);
[all …]
Dgridline_helper.ts93 export function getPattern(minPatternSize: bigint): [TPDuration, string] { function
175 const [size, pattern] = getPattern(minStepSize);
/external/jarjar/src/main/com/tonicsystems/jarjar/
DJarJarTask.java30 if (rule.getPattern() == null || rule.getResult() == null) in addConfiguredRule()
36 if (zap.getPattern() == null) in addConfiguredZap()
42 if (keep.getPattern() == null) in addConfiguredKeep()
DPatternElement.java29 public String getPattern() { in getPattern() method in PatternElement
38 String expr = pattern.getPattern(); in createWildcards()
/external/jackson-annotations/src/test/java/com/fasterxml/jackson/annotation/
DFormatTest.java68 assertEquals("xyz", v.getPattern()); in testFromAnnotation()
92 assertEquals(TEST_PATTERN, v.getPattern()); in testSimpleMerge()
99 assertEquals(TEST_PATTERN, merged.getPattern()); in testSimpleMerge()
109 assertEquals(TEST_PATTERN, merged.getPattern()); in testSimpleMerge()
122 assertEquals(TEST_PATTERN, merged.getPattern()); in testSimpleMerge()
128 assertEquals(TEST_PATTERN, merged.getPattern()); in testSimpleMerge()
141 assertEquals(TEST_PATTERN, merged.getPattern()); in testMultiMerge()
/external/cronet/third_party/icu/source/i18n/
Dnumparse_affixes.cpp34 (affix != nullptr && affix->getPattern() == patternString); in matched()
41 return matcher == nullptr ? 0 : matcher->getPattern().length(); in length()
224 UnicodeString AffixPatternMatcher::getPattern() const { in getPattern() function in AffixPatternMatcher
393 result.prefix = fPrefix->getPattern(); in match()
411 result.suffix = fSuffix->getPattern(); in match()
457 (fPrefix ? fPrefix->getPattern() : u"null") + u"#" + in toString()
458 (fSuffix ? fSuffix->getPattern() : u"null") + u">"; in toString()
/external/icu/icu4c/source/i18n/
Dnumparse_affixes.cpp34 (affix != nullptr && affix->getPattern() == patternString); in matched()
41 return matcher == nullptr ? 0 : matcher->getPattern().length(); in length()
224 UnicodeString AffixPatternMatcher::getPattern() const { in getPattern() function in AffixPatternMatcher
393 result.prefix = fPrefix->getPattern(); in match()
411 result.suffix = fSuffix->getPattern(); in match()
457 (fPrefix ? fPrefix->getPattern() : u"null") + u"#" + in toString()
458 (fSuffix ? fSuffix->getPattern() : u"null") + u">"; in toString()
/external/cronet/third_party/icu/source/test/intltest/
Dsrchtest.cpp285 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
311 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
328 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
354 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
377 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
394 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
427 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
446 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
764 copy->getPattern() != result->getPattern() || in TestInitialization()
778 copy->getPattern() != result->getPattern() || in TestInitialization()
[all …]
/external/icu/icu4c/source/test/intltest/
Dsrchtest.cpp285 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
311 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
328 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
354 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
377 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
394 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
427 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
446 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch()
764 copy->getPattern() != result->getPattern() || in TestInitialization()
778 copy->getPattern() != result->getPattern() || in TestInitialization()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DAffixMatcher.java195 result.prefix = prefix.getPattern(); in match()
213 result.suffix = suffix.getPattern(); in match()
254 || (affix != null && affix.getPattern().equals(patternString)); in matched()
261 return matcher == null ? 0 : matcher.getPattern().length(); in length()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DAffixMatcher.java193 result.prefix = prefix.getPattern(); in match()
211 result.suffix = suffix.getPattern(); in match()
252 || (affix != null && affix.getPattern().equals(patternString)); in matched()
259 return matcher == null ? 0 : matcher.getPattern().length(); in length()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DAttributeValueValidity.java362 public String getPattern() { in getPattern() method in AttributeValueValidity.MatcherPattern
371 return getClass().getName() + "\t" + getPattern(); in toString()
527 reason.value = "∉ " + getPattern(); in matches()
551 reason.value = "∉ " + getPattern(); in matches()
576 reason.value = "∉ " + getPattern(); in matches()
579 reason.value = " illegal pattern " + getPattern() + ": " + value; in matches()
605 reason.value = "∉ " + getPattern(); in matches()
608 reason.value = " illegal pattern " + getPattern() + ": " + value; in matches()
613 reason.value = "∉ " + getPattern(); in matches()
684 reason.value = "«" + valueItem + "» ∉ " + other.getPattern(); in matches()
DRegexLogger.java68 public String getPattern() { in getPattern() method in RegexLogger.PatternStringWithBoolean
221 String getPattern(); in getPattern() method
347 this.pattern = key.getPattern(); in RegexKeyWithCount()
369 public String getPattern() { in getPattern() method in RegexLogger.RegexKeyWithCount
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java689 errln("Searching forward for pattern: " + strsrch.getPattern()); in assertEqualWithStringSearch()
708 errln("Searching forward for pattern: " + strsrch.getPattern()); in assertEqualWithStringSearch()
721 errln("Searching backward for pattern: " + strsrch.getPattern()); in assertEqualWithStringSearch()
740 errln("Searching backward for pattern: " + strsrch.getPattern()); in assertEqualWithStringSearch()
757 if (!search.getPattern().equals(pattern) in TestConstructor()
764 if (!search.getPattern().equals(pattern) in TestConstructor()
775 if (!search.getPattern().equals(pattern) in TestConstructor()
785 if (!search.getPattern().equals(pattern) in TestConstructor()
1133 errln("Pattern: " + strsrch.getPattern()); in TestGetMatch()
1245 errln("Pattern: " + strsrch.getPattern()); in TestGetSetOffset()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/
DSearchTest.java692 errln("Searching forward for pattern: " + strsrch.getPattern()); in assertEqualWithStringSearch()
711 errln("Searching forward for pattern: " + strsrch.getPattern()); in assertEqualWithStringSearch()
724 errln("Searching backward for pattern: " + strsrch.getPattern()); in assertEqualWithStringSearch()
743 errln("Searching backward for pattern: " + strsrch.getPattern()); in assertEqualWithStringSearch()
760 if (!search.getPattern().equals(pattern) in TestConstructor()
767 if (!search.getPattern().equals(pattern) in TestConstructor()
778 if (!search.getPattern().equals(pattern) in TestConstructor()
788 if (!search.getPattern().equals(pattern) in TestConstructor()
1136 errln("Pattern: " + strsrch.getPattern()); in TestGetMatch()
1248 errln("Pattern: " + strsrch.getPattern()); in TestGetSetOffset()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DRegexModify.java121 lineMatcher = Pattern.compile(getPattern()).matcher(""); in RegexFunction()
146 public abstract String getPattern(); in getPattern() method in RegexModify.RegexFunction
160 public String getPattern() { in getPattern() method in RegexModify.Subdivision
/external/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp426 const ComplexPattern &Pattern = CCPM->getPattern(); in EmitMatcher()
588 << *SNT->getPattern().getSrcPattern() << " - Complexity = " in EmitMatcher()
589 << SNT->getPattern().getPatternComplexity(CGP) << '\n'; in EmitMatcher()
591 << *SNT->getPattern().getDstPattern() << '\n'; in EmitMatcher()
607 << *CM->getPattern().getSrcPattern() << " - Complexity = " in EmitMatcher()
608 << CM->getPattern().getPatternComplexity(CGP) << '\n'; in EmitMatcher()
610 << *CM->getPattern().getDstPattern(); in EmitMatcher()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/time/
DFastDateFormat.java582 public String getPattern() { in getPattern() method in FastDateFormat
583 return printer.getPattern(); in getPattern()
655 …return "FastDateFormat[" + printer.getPattern() + "," + printer.getLocale() + "," + printer.getTim… in toString()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowVibratorTest.java66 assertThat(shadowOf(vibrator).getPattern()).isEqualTo(pattern); in vibratePattern()
76 assertThat(shadowOf(vibrator).getPattern()).isEqualTo(pattern); in vibrateWaveformEffect()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletModuleBinding.java33 String getPattern(); in getPattern() method
DInstanceServletBindingImpl.java44 .add("pattern", getPattern()) in toString()
DInstanceFilterBindingImpl.java44 .add("pattern", getPattern()) in toString()
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/
DConversionRule.java32 public Pattern getPattern(); in getPattern() method
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVibrator.java54 public long[] getPattern() { in getPattern() method in ShadowVibrator

1234567