/external/icu/icu4c/source/test/intltest/ |
D | numbertest_stringsegment.cpp | 76 assertEquals("", 11, segment.getCommonPrefixLength(SAMPLE_STRING)); in testCommonPrefixLength() 77 assertEquals("", 4, segment.getCommonPrefixLength(u" r")); in testCommonPrefixLength() 78 assertEquals("", 3, segment.getCommonPrefixLength(u" x")); in testCommonPrefixLength() 79 assertEquals("", 0, segment.getCommonPrefixLength(u"x")); in testCommonPrefixLength() 81 assertEquals("", 0, segment.getCommonPrefixLength(u"RADiO")); in testCommonPrefixLength() 82 assertEquals("", 5, segment.getCommonPrefixLength(u"radio")); in testCommonPrefixLength() 83 assertEquals("", 2, segment.getCommonPrefixLength(u"rafio")); in testCommonPrefixLength() 84 assertEquals("", 0, segment.getCommonPrefixLength(u"fadio")); in testCommonPrefixLength() 86 assertEquals("", 3, segment.getCommonPrefixLength(u"radio")); in testCommonPrefixLength() 87 assertEquals("", 2, segment.getCommonPrefixLength(u"rafio")); in testCommonPrefixLength() [all …]
|
/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/i18n/ |
D | numparse_currency.cpp | 66 int32_t overlap = segment.getCommonPrefixLength(beforeSuffixInsert); in match() 83 int32_t overlap = segment.getCommonPrefixLength(afterPrefixInsert); in match() 116 overlap2 = segment.getCommonPrefixLength(fCurrency2); in matchCurrency() 159 int32_t overlap = segment.getCommonPrefixLength(name); in matchCurrency()
|
D | numparse_scientific.cpp | 66 int overlap1 = segment.getCommonPrefixLength(fExponentSeparatorString); in match() 85 int32_t overlap2 = segment.getCommonPrefixLength(fCustomMinusSign); in match() 95 int32_t overlap2 = segment.getCommonPrefixLength(fCustomPlusSign); in match()
|
D | numparse_decimal.cpp | 169 int32_t overlap = segment.getCommonPrefixLength(str); in match() 200 int32_t overlap = segment.getCommonPrefixLength(decimalSeparator); in match() 210 int32_t overlap = segment.getCommonPrefixLength(actualGroupingString); in match() 221 int32_t overlap = segment.getCommonPrefixLength(groupingSeparator); in match()
|
D | numparse_stringsegment.cpp | 106 int32_t StringSegment::getCommonPrefixLength(const UnicodeString& other) { in getCommonPrefixLength() function in StringSegment
|
D | numparse_types.h | 258 int32_t getCommonPrefixLength(const UnicodeString& other);
|
D | numparse_symbols.cpp | 43 overlap = segment.getCommonPrefixLength(fString); 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 | 66 int overlap1 = segment.getCommonPrefixLength(exponentSeparatorString); in match() 85 int overlap2 = segment.getCommonPrefixLength(customMinusSign); in match() 95 int overlap2 = 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/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 | 64 int overlap1 = segment.getCommonPrefixLength(exponentSeparatorString); in match() 83 int overlap2 = segment.getCommonPrefixLength(customMinusSign); in match() 93 int overlap2 = 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/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | StringSegment.java | 163 public int getCommonPrefixLength(CharSequence other) {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | StringSegment.java | 165 public int getCommonPrefixLength(CharSequence other) {
|