/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
D | StringSegmentTest.java | 79 assertEquals(11, segment.getCommonPrefixLength(SAMPLE_STRING)); in testCommonPrefixLength() 80 assertEquals(4, segment.getCommonPrefixLength(" r")); in testCommonPrefixLength() 81 assertEquals(3, segment.getCommonPrefixLength(" x")); in testCommonPrefixLength() 82 assertEquals(0, segment.getCommonPrefixLength("x")); in testCommonPrefixLength() 84 assertEquals(5, segment.getCommonPrefixLength("raDio")); in testCommonPrefixLength() 85 assertEquals(5, segment.getCommonPrefixLength("radio")); in testCommonPrefixLength() 86 assertEquals(2, segment.getCommonPrefixLength("rafio")); in testCommonPrefixLength() 87 assertEquals(0, segment.getCommonPrefixLength("fadio")); in testCommonPrefixLength() 91 assertEquals(3, segment.getCommonPrefixLength("radio")); in testCommonPrefixLength() 92 assertEquals(2, segment.getCommonPrefixLength("rafio")); in testCommonPrefixLength() [all …]
|
/third_party/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 …]
|
/third_party/skia/third_party/externals/icu/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);
|
/third_party/node/deps/icu-small/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);
|
/third_party/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);
|
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ |
D | RbPathTest.java | 94 assertThat(RbPath.getCommonPrefixLength(p, q)).isEqualTo(2); in testCommonPrefixLength() 95 assertThat(RbPath.getCommonPrefixLength(p, p)).isEqualTo(3); in testCommonPrefixLength() 96 assertThat(RbPath.getCommonPrefixLength(p, RbPath.of())).isEqualTo(0); in testCommonPrefixLength() 98 assertThat(RbPath.getCommonPrefixLength(p, RbPath.of("bar", "baz"))).isEqualTo(0); in testCommonPrefixLength()
|
/third_party/flutter/skia/third_party/externals/icu/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()
|
/third_party/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 | 65 int overlap = segment.getCommonPrefixLength(exponentSeparatorString); in match() 91 overlap = segment.getCommonPrefixLength(customMinusSign); in match() 100 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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
|