Home
last modified time | relevance | path

Searched refs:CollationKey (Results 1 – 25 of 79) sorted by relevance

1234

/external/icu/icu4c/source/i18n/
Dsortkey.cpp49 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CollationKey) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
51 CollationKey::CollationKey() in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
58 CollationKey::CollationKey(const uint8_t* newValues, int32_t count) in CollationKey() function in CollationKey
73 CollationKey::CollationKey(const CollationKey& other) in CollationKey() function in CollationKey
94 CollationKey::~CollationKey() in ~CollationKey()
99 uint8_t *CollationKey::reallocate(int32_t newCapacity, int32_t length) { in reallocate()
112 void CollationKey::setLength(int32_t newLength) { in setLength()
119 CollationKey&
120 CollationKey::reset() in reset()
129 CollationKey&
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dsortkey.h97 class U_I18N_API CollationKey : public UObject {
106 CollationKey();
115 CollationKey(const uint8_t* values,
123 CollationKey(const CollationKey& other);
129 virtual ~CollationKey();
136 const CollationKey& operator=(const CollationKey& other);
144 UBool operator==(const CollationKey& source) const;
152 UBool operator!=(const CollationKey& source) const;
195 Collator::EComparisonResult compareTo(const CollationKey& target) const;
208 UCollationResult compareTo(const CollationKey& target, UErrorCode &status) const;
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DCollationKey.java83 public final class CollationKey implements Comparable<CollationKey> class
88 final java.text.CollationKey key;
93 CollationKey(java.text.CollationKey delegate) { in CollationKey() method in CollationKey
246 public int compareTo(CollationKey target) in compareTo()
269 if (!(target instanceof CollationKey)) { in equals()
273 return equals((CollationKey)target); in equals()
291 public boolean equals(CollationKey target) in equals()
411 public CollationKey merge(CollationKey source) in merge()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCollationKeyTest.java10 import com.ibm.icu.text.CollationKey;
21 CollationKey k1 = c.getCollationKey("This"); in testHashCode()
22 CollationKey k2 = c.getCollationKey("this"); in testHashCode()
24 CollationKey kn = c.getCollationKey("this"); in testHashCode()
41 CollationKey k1 = c.getCollationKey("This"); in testCompareToCollationKey()
42 CollationKey k2 = c.getCollationKey("this"); in testCompareToCollationKey()
44 CollationKey k3 = c.getCollationKey("this"); in testCompareToCollationKey()
55 CollationKey k1 = c.getCollationKey("This"); in testCompareToObject()
56 CollationKey k2 = c.getCollationKey("this"); in testCompareToObject()
66 CollationKey k1 = c.getCollationKey("This"); in testEqualsObject()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationKey.java85 public final class CollationKey implements Comparable<CollationKey> class
147 public CollationKey(String source, byte key[]) in CollationKey() method in CollationKey
156 private CollationKey(String source, byte key[], int length) in CollationKey() method in CollationKey
175 public CollationKey(String source, RawCollationKey key) in CollationKey() method in CollationKey
255 public int compareTo(CollationKey target) in compareTo()
288 if (!(target instanceof CollationKey)) { in equals()
292 return equals((CollationKey)target); in equals()
308 public boolean equals(CollationKey target) in equals()
316 CollationKey other = target; in equals()
414 public CollationKey getBound(int boundType, int noOfLevels) in getBound()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollationKey.java85 public final class CollationKey implements Comparable<CollationKey> class
142 public CollationKey(String source, byte key[]) in CollationKey() method in CollationKey
151 private CollationKey(String source, byte key[], int length) in CollationKey() method in CollationKey
170 public CollationKey(String source, RawCollationKey key) in CollationKey() method in CollationKey
247 public int compareTo(CollationKey target) in compareTo()
279 if (!(target instanceof CollationKey)) { in equals()
283 return equals((CollationKey)target); in equals()
298 public boolean equals(CollationKey target) in equals()
306 CollationKey other = target; in equals()
402 public CollationKey getBound(int boundType, int noOfLevels) in getBound()
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCollationKeyICU.java9 import com.ibm.icu.text.CollationKey;
15 public class CollationKeyICU extends java.text.CollationKey {
17 private CollationKey fIcuCollKey;
19 private CollationKeyICU(CollationKey icuCollKey) { in CollationKeyICU()
24 public static java.text.CollationKey wrap(CollationKey icuCollKey) { in wrap()
28 public CollationKey unwrap() { in unwrap()
33 public int compareTo(java.text.CollationKey target) { in compareTo()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationMiscTest.java26 import android.icu.text.CollationKey;
27 import android.icu.text.CollationKey.BoundMode;
290 void reportCResult(String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult()
676 CollationKey key = coll.getCollationKey(test); in TestBocsuCoverage()
1662 CollationKey mergedPrefixKeys[] = new CollationKey[cases.length]; in TestMergeSortKeys()
1663 CollationKey mergedSuffixKeys[] = new CollationKey[cases.length]; in TestMergeSortKeys()
1671 CollationKey prefixKey = coll.getCollationKey(prefix); in TestMergeSortKeys()
1672 CollationKey suffixKey = coll.getCollationKey(suffix); in TestMergeSortKeys()
1674 CollationKey key = coll.getCollationKey(cases[i]); in TestMergeSortKeys()
1727 CollationKey key1 = coll.getCollationKey(tokens[i]); in TestVariableTop()
[all …]
DCollationCreationMethodTest.java15 import android.icu.text.CollationKey;
48 CollationKey key1; in TestRuleVsLocaleCreationMonkey()
49 CollationKey key2; in TestRuleVsLocaleCreationMonkey()
116 private void report(String localeName, String string1, CollationKey k1, CollationKey k2) in report()
DCollationFrenchTest.java19 import android.icu.text.CollationKey;
179 CollationKey key1 in TestContinuationReordering()
181 CollationKey key2 in TestContinuationReordering()
196 CollationKey sortKey1, sortKey2; in doTest()
203 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationCurrencyTest.java19 import android.icu.text.CollationKey;
89 CollationKey sourceKey = null; in TestCurrency()
98 CollationKey targetKey = null; in TestCurrency()
112 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationAPITest.java28 import android.icu.text.CollationKey;
64 CollationKey sortk1 = col.getCollationKey(""); in TestCollationKey()
73 CollationKey sortkIgnorable = col.getCollationKey("\u0001\u034f"); in TestCollationKey()
85 CollationKey sortk2 = col.getCollationKey(test2); in TestCollationKey()
88 CollationKey sortkNew; in TestCollationKey()
108 CollationKey key1 = col.getCollationKey(test1); in TestCollationKey()
109 CollationKey key2 = col.getCollationKey(test2); in TestCollationKey()
110 CollationKey key3 = col.getCollationKey(test2); in TestCollationKey()
419 CollationKey sortk1, sortk2, sortk3; in TestHashCode()
745 public CollationKey getCollationKey(String source)
[all …]
DCollationFinnishTest.java17 import android.icu.text.CollationKey;
86 CollationKey sortKey1, sortKey2; in doTest()
93 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DLotusCollationKoreanTest.java19 import android.icu.text.CollationKey;
64 CollationKey sortKey1, sortKey2; in doTest()
71 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationMiscTest.java25 import com.ibm.icu.text.CollationKey;
26 import com.ibm.icu.text.CollationKey.BoundMode;
286 void reportCResult(String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult()
672 CollationKey key = coll.getCollationKey(test); in TestBocsuCoverage()
1658 CollationKey mergedPrefixKeys[] = new CollationKey[cases.length]; in TestMergeSortKeys()
1659 CollationKey mergedSuffixKeys[] = new CollationKey[cases.length]; in TestMergeSortKeys()
1667 CollationKey prefixKey = coll.getCollationKey(prefix); in TestMergeSortKeys()
1668 CollationKey suffixKey = coll.getCollationKey(suffix); in TestMergeSortKeys()
1670 CollationKey key = coll.getCollationKey(cases[i]); in TestMergeSortKeys()
1723 CollationKey key1 = coll.getCollationKey(tokens[i]); in TestVariableTop()
[all …]
DCollationCreationMethodTest.java14 import com.ibm.icu.text.CollationKey;
44 CollationKey key1; in TestRuleVsLocaleCreationMonkey()
45 CollationKey key2; in TestRuleVsLocaleCreationMonkey()
112 private void report(String localeName, String string1, CollationKey k1, CollationKey k2) in report()
DCollationFrenchTest.java18 import com.ibm.icu.text.CollationKey;
175 CollationKey key1 in TestContinuationReordering()
177 CollationKey key2 in TestContinuationReordering()
192 CollationKey sortKey1, sortKey2; in doTest()
199 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationCurrencyTest.java18 import com.ibm.icu.text.CollationKey;
85 CollationKey sourceKey = null; in TestCurrency()
94 CollationKey targetKey = null; in TestCurrency()
108 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationAPITest.java27 import com.ibm.icu.text.CollationKey;
60 CollationKey sortk1 = col.getCollationKey(""); in TestCollationKey()
69 CollationKey sortkIgnorable = col.getCollationKey("\u0001\u034f"); in TestCollationKey()
81 CollationKey sortk2 = col.getCollationKey(test2); in TestCollationKey()
84 CollationKey sortkNew; in TestCollationKey()
104 CollationKey key1 = col.getCollationKey(test1); in TestCollationKey()
105 CollationKey key2 = col.getCollationKey(test2); in TestCollationKey()
106 CollationKey key3 = col.getCollationKey(test2); in TestCollationKey()
415 CollationKey sortk1, sortk2, sortk3; in TestHashCode()
741 public CollationKey getCollationKey(String source)
[all …]
DCollationKanaTest.java18 import com.ibm.icu.text.CollationKey;
171 CollationKey key1, key2; in TestCommonCharacters()
195 CollationKey sortKey1, sortKey2; in doTest()
203 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DLotusCollationKoreanTest.java18 import com.ibm.icu.text.CollationKey;
60 CollationKey sortKey1, sortKey2; in doTest()
67 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationSpanishTest.java18 import com.ibm.icu.text.CollationKey;
94 CollationKey sortKey1, sortKey2; in doTest()
101 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationTurkishTest.java18 import com.ibm.icu.text.CollationKey;
100 CollationKey sortKey1, sortKey2; in doTest()
108 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DCollatorTest.java9 import java.text.CollationKey;
117 CollationKey jdkKey1 = jdkColl.getCollationKey(text1); in checkCollation()
118 CollationKey jdkKey2 = jdkColl.getCollationKey(text2); in checkCollation()
120 com.ibm.icu.text.CollationKey icuKey1 = icuColl.getCollationKey(text1); in checkCollation()
121 com.ibm.icu.text.CollationKey icuKey2 = icuColl.getCollationKey(text2); in checkCollation()
/external/icu/icu4c/source/test/intltest/
Dtscoll.h38 CollationKey &sourceKey, CollationKey &targetKey,
44 static UnicodeString &prettify(const CollationKey &source, UnicodeString &target);

1234