/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
D | StringSegmentTest.java | 72 assertEquals(11, segment.getCommonPrefixLength(SAMPLE_STRING)); in testCommonPrefixLength() 73 assertEquals(4, segment.getCommonPrefixLength(" r")); in testCommonPrefixLength() 74 assertEquals(3, segment.getCommonPrefixLength(" x")); in testCommonPrefixLength() 75 assertEquals(0, segment.getCommonPrefixLength("x")); in testCommonPrefixLength() 77 assertEquals(5, segment.getCommonPrefixLength("raDio")); in testCommonPrefixLength() 78 assertEquals(5, segment.getCommonPrefixLength("radio")); in testCommonPrefixLength() 79 assertEquals(2, segment.getCommonPrefixLength("rafio")); in testCommonPrefixLength() 80 assertEquals(0, segment.getCommonPrefixLength("fadio")); in testCommonPrefixLength() 84 assertEquals(3, segment.getCommonPrefixLength("radio")); in testCommonPrefixLength() 85 assertEquals(2, segment.getCommonPrefixLength("rafio")); in testCommonPrefixLength() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/ |
D | StringSegmentTest.java | 75 assertEquals(11, segment.getCommonPrefixLength(SAMPLE_STRING)); in testCommonPrefixLength() 76 assertEquals(4, segment.getCommonPrefixLength(" r")); in testCommonPrefixLength() 77 assertEquals(3, segment.getCommonPrefixLength(" x")); in testCommonPrefixLength() 78 assertEquals(0, segment.getCommonPrefixLength("x")); in testCommonPrefixLength() 80 assertEquals(5, segment.getCommonPrefixLength("raDio")); in testCommonPrefixLength() 81 assertEquals(5, segment.getCommonPrefixLength("radio")); in testCommonPrefixLength() 82 assertEquals(2, segment.getCommonPrefixLength("rafio")); in testCommonPrefixLength() 83 assertEquals(0, segment.getCommonPrefixLength("fadio")); in testCommonPrefixLength() 87 assertEquals(3, segment.getCommonPrefixLength("radio")); in testCommonPrefixLength() 88 assertEquals(2, segment.getCommonPrefixLength("rafio")); in testCommonPrefixLength() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | string_segment_test.cpp | 97 assertEquals("", 11, segment.getCommonPrefixLength(SAMPLE_STRING)); in testCommonPrefixLength() 98 assertEquals("", 4, segment.getCommonPrefixLength(u" r")); in testCommonPrefixLength() 99 assertEquals("", 3, segment.getCommonPrefixLength(u" x")); in testCommonPrefixLength() 100 assertEquals("", 0, segment.getCommonPrefixLength(u"x")); in testCommonPrefixLength() 102 assertEquals("", 0, segment.getCommonPrefixLength(u"RADiO")); in testCommonPrefixLength() 103 assertEquals("", 5, segment.getCommonPrefixLength(u"radio")); in testCommonPrefixLength() 104 assertEquals("", 2, segment.getCommonPrefixLength(u"rafio")); in testCommonPrefixLength() 105 assertEquals("", 0, segment.getCommonPrefixLength(u"fadio")); in testCommonPrefixLength() 107 assertEquals("", 3, segment.getCommonPrefixLength(u"radio")); in testCommonPrefixLength() 108 assertEquals("", 2, segment.getCommonPrefixLength(u"rafio")); in testCommonPrefixLength() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | numparse_currency.cpp | 67 int32_t overlap = segment.getCommonPrefixLength(beforeSuffixInsert); in match() 84 int32_t overlap = segment.getCommonPrefixLength(afterPrefixInsert); in match() 117 overlap2 = segment.getCommonPrefixLength(fCurrency2); in matchCurrency() 160 int32_t overlap = segment.getCommonPrefixLength(name); in matchCurrency()
|
D | numparse_scientific.cpp | 69 int32_t overlap = segment.getCommonPrefixLength(fExponentSeparatorString); in match() 96 overlap = segment.getCommonPrefixLength(fCustomMinusSign); in match() 105 overlap = segment.getCommonPrefixLength(fCustomPlusSign); in match()
|
D | numparse_decimal.cpp | 170 int32_t overlap = segment.getCommonPrefixLength(str); in match() 201 int32_t overlap = segment.getCommonPrefixLength(decimalSeparator); in match() 211 int32_t overlap = segment.getCommonPrefixLength(actualGroupingString); in match() 222 int32_t overlap = segment.getCommonPrefixLength(groupingSeparator); in match()
|
D | string_segment.h | 109 int32_t getCommonPrefixLength(const UnicodeString& other);
|
D | string_segment.cpp | 104 int32_t StringSegment::getCommonPrefixLength(const UnicodeString& other) { in getCommonPrefixLength() function in StringSegment
|
D | numparse_symbols.cpp | 44 overlap = segment.getCommonPrefixLength(fString); in match()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 101 int overlap = segment.getCommonPrefixLength(beforeSuffixInsert); in match() 118 int overlap = segment.getCommonPrefixLength(afterPrefixInsert); in match() 151 overlap2 = segment.getCommonPrefixLength(currency2); in matchCurrency() 187 int overlap = segment.getCommonPrefixLength(name); in matchCurrency()
|
D | ScientificMatcher.java | 67 int overlap = segment.getCommonPrefixLength(exponentSeparatorString); in match() 93 overlap = segment.getCommonPrefixLength(customMinusSign); in match() 102 overlap = segment.getCommonPrefixLength(customPlusSign); in match()
|
D | DecimalMatcher.java | 186 int overlap = segment.getCommonPrefixLength(str); in match() 216 int overlap = segment.getCommonPrefixLength(decimalSeparator); in match() 226 int overlap = segment.getCommonPrefixLength(actualGroupingString); in match() 239 int overlap = segment.getCommonPrefixLength(groupingSeparator); in match()
|
D | SymbolMatcher.java | 45 overlap = segment.getCommonPrefixLength(string); in match()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 103 int overlap = segment.getCommonPrefixLength(beforeSuffixInsert); in match() 120 int overlap = segment.getCommonPrefixLength(afterPrefixInsert); in match() 153 overlap2 = segment.getCommonPrefixLength(currency2); in matchCurrency() 189 int overlap = segment.getCommonPrefixLength(name); in matchCurrency()
|
D | ScientificMatcher.java | 69 int overlap = segment.getCommonPrefixLength(exponentSeparatorString); in match() 95 overlap = segment.getCommonPrefixLength(customMinusSign); in match() 104 overlap = segment.getCommonPrefixLength(customPlusSign); in match()
|
D | DecimalMatcher.java | 188 int overlap = segment.getCommonPrefixLength(str); in match() 218 int overlap = segment.getCommonPrefixLength(decimalSeparator); in match() 228 int overlap = segment.getCommonPrefixLength(actualGroupingString); in match() 241 int overlap = segment.getCommonPrefixLength(groupingSeparator); in match()
|
D | SymbolMatcher.java | 47 overlap = segment.getCommonPrefixLength(string); in match()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | StringSegment.java | 167 public int getCommonPrefixLength(CharSequence other) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | StringSegment.java | 165 public int getCommonPrefixLength(CharSequence other) {
|
/external/cldr/tools/java/org/unicode/cldr/api/ |
D | PrefixVisitorHost.java | 147 commonLength = CldrPath.getCommonPrefixLength(lastValuePath, path);
|
D | CldrPath.java | 91 static int getCommonPrefixLength(/* @Nullable */ CldrPath a, /* @Nullable */ CldrPath b) { in getCommonPrefixLength() method
|