Home
last modified time | relevance | path

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

1234

/external/icu/icu4c/source/i18n/
Dsortkey.cpp51 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CollationKey) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
53 CollationKey::CollationKey() in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
60 CollationKey::CollationKey(const uint8_t* newValues, int32_t count) in CollationKey() function in CollationKey
75 CollationKey::CollationKey(const CollationKey& other) in CollationKey() function in CollationKey
96 CollationKey::~CollationKey() in ~CollationKey()
101 uint8_t *CollationKey::reallocate(int32_t newCapacity, int32_t length) { in reallocate()
114 void CollationKey::setLength(int32_t newLength) { in setLength()
121 CollationKey&
122 CollationKey::reset() in reset()
131 CollationKey&
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dsortkey.h99 class U_I18N_API CollationKey : public UObject {
108 CollationKey();
117 CollationKey(const uint8_t* values,
125 CollationKey(const CollationKey& other);
131 virtual ~CollationKey();
138 const CollationKey& operator=(const CollationKey& other);
146 UBool operator==(const CollationKey& source) const;
154 UBool operator!=(const CollationKey& source) const;
197 Collator::EComparisonResult compareTo(const CollationKey& target) const;
210 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.java85 public final class CollationKey implements Comparable<CollationKey> class
90 final java.text.CollationKey key;
95 CollationKey(java.text.CollationKey delegate) { in CollationKey() method in CollationKey
248 public int compareTo(CollationKey target) in compareTo()
271 if (!(target instanceof CollationKey)) { in equals()
275 return equals((CollationKey)target); in equals()
293 public boolean equals(CollationKey target) in equals()
413 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.java12 import com.ibm.icu.text.CollationKey;
23 CollationKey k1 = c.getCollationKey("This"); in testHashCode()
24 CollationKey k2 = c.getCollationKey("this"); in testHashCode()
26 CollationKey kn = c.getCollationKey("this"); in testHashCode()
43 CollationKey k1 = c.getCollationKey("This"); in testCompareToCollationKey()
44 CollationKey k2 = c.getCollationKey("this"); in testCompareToCollationKey()
46 CollationKey k3 = c.getCollationKey("this"); in testCompareToCollationKey()
57 CollationKey k1 = c.getCollationKey("This"); in testCompareToObject()
58 CollationKey k2 = c.getCollationKey("this"); in testCompareToObject()
68 CollationKey k1 = c.getCollationKey("This"); in testEqualsObject()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationKey.java87 public final class CollationKey implements Comparable<CollationKey> class
150 public CollationKey(String source, byte key[]) in CollationKey() method in CollationKey
159 private CollationKey(String source, byte key[], int length) in CollationKey() method in CollationKey
178 public CollationKey(String source, RawCollationKey key) in CollationKey() method in CollationKey
259 public int compareTo(CollationKey target) in compareTo()
293 if (!(target instanceof CollationKey)) { in equals()
297 return equals((CollationKey)target); in equals()
313 public boolean equals(CollationKey target) in equals()
321 CollationKey other = target; in equals()
420 public CollationKey getBound(int boundType, int noOfLevels) in getBound()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollationKey.java87 public final class CollationKey implements Comparable<CollationKey> class
146 public CollationKey(String source, byte key[]) in CollationKey() method in CollationKey
155 private CollationKey(String source, byte key[], int length) in CollationKey() method in CollationKey
174 public CollationKey(String source, RawCollationKey key) in CollationKey() method in CollationKey
252 public int compareTo(CollationKey target) in compareTo()
285 if (!(target instanceof CollationKey)) { in equals()
289 return equals((CollationKey)target); in equals()
304 public boolean equals(CollationKey target) in equals()
312 CollationKey other = target; in equals()
409 public CollationKey getBound(int boundType, int noOfLevels) in getBound()
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCollationKeyICU.java11 import com.ibm.icu.text.CollationKey;
17 public class CollationKeyICU extends java.text.CollationKey {
19 private CollationKey fIcuCollKey;
21 private CollationKeyICU(CollationKey icuCollKey) { in CollationKeyICU()
26 public static java.text.CollationKey wrap(CollationKey icuCollKey) { in wrap()
30 public CollationKey unwrap() { in unwrap()
35 public int compareTo(java.text.CollationKey target) { in compareTo()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationCreationMethodTest.java18 import com.ibm.icu.text.CollationKey;
43 CollationKey key1; in TestRuleVsLocaleCreationMonkey()
44 CollationKey key2; in TestRuleVsLocaleCreationMonkey()
111 private void report(String localeName, String string1, CollationKey k1, CollationKey k2) in report()
DCollationFrenchTest.java23 import com.ibm.icu.text.CollationKey;
181 CollationKey key1 in TestContinuationReordering()
183 CollationKey key2 in TestContinuationReordering()
198 CollationKey sortKey1, sortKey2; in doTest()
205 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationMiscTest.java31 import com.ibm.icu.text.CollationKey;
32 import com.ibm.icu.text.CollationKey.BoundMode;
288 void reportCResult(String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult()
684 CollationKey key = coll.getCollationKey(test); in TestBocsuCoverage()
1696 CollationKey mergedPrefixKeys[] = new CollationKey[cases.length]; in TestMergeSortKeys()
1697 CollationKey mergedSuffixKeys[] = new CollationKey[cases.length]; in TestMergeSortKeys()
1705 CollationKey prefixKey = coll.getCollationKey(prefix); in TestMergeSortKeys()
1706 CollationKey suffixKey = coll.getCollationKey(suffix); in TestMergeSortKeys()
1708 CollationKey key = coll.getCollationKey(cases[i]); in TestMergeSortKeys()
1762 CollationKey key1 = coll.getCollationKey(tokens[i]); in TestVariableTop()
[all …]
DCollationCurrencyTest.java22 import com.ibm.icu.text.CollationKey;
86 CollationKey sourceKey = null; in TestCurrency()
95 CollationKey targetKey = null; in TestCurrency()
109 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationAPITest.java31 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()
428 CollationKey sortk1, sortk2, sortk3; in TestHashCode()
764 public CollationKey getCollationKey(String source)
[all …]
DLotusCollationKoreanTest.java23 import com.ibm.icu.text.CollationKey;
65 CollationKey sortKey1, sortKey2; in doTest()
72 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationSpanishTest.java23 import com.ibm.icu.text.CollationKey;
99 CollationKey sortKey1, sortKey2; in doTest()
106 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationTurkishTest.java23 import com.ibm.icu.text.CollationKey;
105 CollationKey sortKey1, sortKey2; in doTest()
113 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationCreationMethodTest.java19 import android.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.java24 import android.icu.text.CollationKey;
182 CollationKey key1 in TestContinuationReordering()
184 CollationKey key2 in TestContinuationReordering()
199 CollationKey sortKey1, sortKey2; in doTest()
206 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationMiscTest.java32 import android.icu.text.CollationKey;
33 import android.icu.text.CollationKey.BoundMode;
289 void reportCResult(String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult()
685 CollationKey key = coll.getCollationKey(test); in TestBocsuCoverage()
1697 CollationKey mergedPrefixKeys[] = new CollationKey[cases.length]; in TestMergeSortKeys()
1698 CollationKey mergedSuffixKeys[] = new CollationKey[cases.length]; in TestMergeSortKeys()
1706 CollationKey prefixKey = coll.getCollationKey(prefix); in TestMergeSortKeys()
1707 CollationKey suffixKey = coll.getCollationKey(suffix); in TestMergeSortKeys()
1709 CollationKey key = coll.getCollationKey(cases[i]); in TestMergeSortKeys()
1763 CollationKey key1 = coll.getCollationKey(tokens[i]); in TestVariableTop()
[all …]
DCollationCurrencyTest.java23 import android.icu.text.CollationKey;
87 CollationKey sourceKey = null; in TestCurrency()
96 CollationKey targetKey = null; in TestCurrency()
110 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationAPITest.java32 import android.icu.text.CollationKey;
61 CollationKey sortk1 = col.getCollationKey(""); in TestCollationKey()
70 CollationKey sortkIgnorable = col.getCollationKey("\u0001\u034f"); in TestCollationKey()
82 CollationKey sortk2 = col.getCollationKey(test2); in TestCollationKey()
85 CollationKey sortkNew; in TestCollationKey()
105 CollationKey key1 = col.getCollationKey(test1); in TestCollationKey()
106 CollationKey key2 = col.getCollationKey(test2); in TestCollationKey()
107 CollationKey key3 = col.getCollationKey(test2); in TestCollationKey()
429 CollationKey sortk1, sortk2, sortk3; in TestHashCode()
765 public CollationKey getCollationKey(String source)
[all …]
DCollationKanaTest.java24 import android.icu.text.CollationKey;
183 CollationKey key1, key2; in TestCommonCharacters()
207 CollationKey sortKey1, sortKey2; in doTest()
215 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DLotusCollationKoreanTest.java24 import android.icu.text.CollationKey;
66 CollationKey sortKey1, sortKey2; in doTest()
73 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult()
DCollationSpanishTest.java24 import android.icu.text.CollationKey;
100 CollationKey sortKey1, sortKey2; in doTest()
107 …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.java11 import java.text.CollationKey;
119 CollationKey jdkKey1 = jdkColl.getCollationKey(text1); in checkCollation()
120 CollationKey jdkKey2 = jdkColl.getCollationKey(text2); in checkCollation()
122 com.ibm.icu.text.CollationKey icuKey1 = icuColl.getCollationKey(text1); in checkCollation()
123 com.ibm.icu.text.CollationKey icuKey2 = icuColl.getCollationKey(text2); in checkCollation()
/external/icu/icu4c/source/test/intltest/
Dtscoll.h40 CollationKey &sourceKey, CollationKey &targetKey,
46 static UnicodeString &prettify(const CollationKey &source, UnicodeString &target);

1234