Home
last modified time | relevance | path

Searched refs:AlphabeticIndex (Results 1 – 19 of 19) sorted by relevance

/external/icu/icu4c/source/i18n/unicode/
Dalphaindex.h186 class U_I18N_API AlphabeticIndex: public UObject {
220 friend class AlphabeticIndex;
281 friend class AlphabeticIndex;
302 AlphabeticIndex(const Locale &locale, UErrorCode &status);
318 AlphabeticIndex(RuleBasedCollator *collator, UErrorCode &status);
330 virtual AlphabeticIndex &addLabels(const UnicodeSet &additions, UErrorCode &status);
345 virtual AlphabeticIndex &addLabels(const Locale &locale, UErrorCode &status);
351 virtual ~AlphabeticIndex();
397 virtual AlphabeticIndex &setInflowLabel(const UnicodeString &inflowLabel, UErrorCode &status);
419 … virtual AlphabeticIndex &setOverflowLabel(const UnicodeString &overflowLabel, UErrorCode &status);
[all …]
/external/icu/icu4c/source/i18n/
Dalphaindex.cpp58 delete static_cast<AlphabeticIndex::Record *>(obj); in alphaIndex_deleteRecord()
80 inline AlphabeticIndex::Bucket *getBucket(const UVector &list, int32_t i) { in getBucket()
81 return static_cast<AlphabeticIndex::Bucket *>(list[i]); in getBucket()
84 inline AlphabeticIndex::Record *getRecord(const UVector &list, int32_t i) { in getRecord()
85 return static_cast<AlphabeticIndex::Record *>(list[i]); in getRecord()
149 const AlphabeticIndex::Bucket *bucket = getBucket(*bucketList_, i); in getBucketIndex()
158 const AlphabeticIndex::Bucket *bucket = getBucket(*bucketList_, start); in getBucketIndex()
178 AlphabeticIndex::ImmutableIndex::~ImmutableIndex() { in ~ImmutableIndex()
184 AlphabeticIndex::ImmutableIndex::getBucketCount() const { in getBucketCount()
189 AlphabeticIndex::ImmutableIndex::getBucketIndex( in getBucketIndex()
[all …]
/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/text/
DAlphabeticIndexTest.java18 import android.icu.text.AlphabeticIndex;
34 AlphabeticIndex<?> ulocaleIndex = new AlphabeticIndex<>(ULocale.CANADA); in testAddLabels_Locale()
35 AlphabeticIndex<?> localeIndex = new AlphabeticIndex<>(Locale.CANADA); in testAddLabels_Locale()
45 assertEquals(0, new AlphabeticIndex<>(ULocale.CANADA).getRecordCount()); in testGetRecordCount_empty()
50 assertEquals(1, new AlphabeticIndex<>(ULocale.CANADA).addRecord("foo", null) in testGetRecordCount_withRecords()
60 AlphabeticIndex<?> index = new AlphabeticIndex<>(ULocale.ENGLISH) in testFlowLabels()
70 AlphabeticIndex.Bucket<?> underflowBucket = null; in testFlowLabels()
71 AlphabeticIndex.Bucket<?> overflowBucket = null; in testFlowLabels()
72 AlphabeticIndex.Bucket<?> inflowBucket = null; in testFlowLabels()
73 for (AlphabeticIndex.Bucket<?> bucket : index) { in testFlowLabels()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java26 import com.ibm.icu.text.AlphabeticIndex;
27 import com.ibm.icu.text.AlphabeticIndex.Bucket;
28 import com.ibm.icu.text.AlphabeticIndex.Bucket.LabelType;
29 import com.ibm.icu.text.AlphabeticIndex.ImmutableIndex;
30 import com.ibm.icu.text.AlphabeticIndex.Record;
219AlphabeticIndex<Integer> alphabeticIndex = new AlphabeticIndex<Integer>(new ULocale(test[0])); in TestA()
231 private Bucket<Integer> find(AlphabeticIndex<Integer> alphabeticIndex, final String probe) { in find()
244 AlphabeticIndex alphabeticIndex = new AlphabeticIndex(Locale.ENGLISH); in TestFirstCharacters()
312 AlphabeticIndex<String> alphabeticIndex = new AlphabeticIndex(locale); in TestEmpty()
336 AlphabeticIndex<Double> alphabeticIndex = new AlphabeticIndex((ULocale)test[1]); in TestInflow()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DAlphabeticIndexTest.java27 import android.icu.text.AlphabeticIndex;
28 import android.icu.text.AlphabeticIndex.Bucket;
29 import android.icu.text.AlphabeticIndex.Bucket.LabelType;
30 import android.icu.text.AlphabeticIndex.ImmutableIndex;
31 import android.icu.text.AlphabeticIndex.Record;
223AlphabeticIndex<Integer> alphabeticIndex = new AlphabeticIndex<Integer>(new ULocale(test[0])); in TestA()
235 private Bucket<Integer> find(AlphabeticIndex<Integer> alphabeticIndex, final String probe) { in find()
248 AlphabeticIndex alphabeticIndex = new AlphabeticIndex(Locale.ENGLISH); in TestFirstCharacters()
316 AlphabeticIndex<String> alphabeticIndex = new AlphabeticIndex(locale); in TestEmpty()
340 AlphabeticIndex<Double> alphabeticIndex = new AlphabeticIndex((ULocale)test[1]); in TestInflow()
[all …]
/external/icu/icu4c/source/test/intltest/
Dalphaindextst.cpp31 UnicodeString joinLabelsAndAppend(AlphabeticIndex::ImmutableIndex &index, UnicodeString &dest) { in joinLabelsAndAppend()
33 const AlphabeticIndex::Bucket *bucket; in joinLabelsAndAppend()
86 AlphabeticIndex *index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
101 index = new AlphabeticIndex(coll, status); in APITest()
113 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
130 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
132 AlphabeticIndex &aip = index->addLabels(Locale::getJapanese(), status); in APITest()
143 index = new AlphabeticIndex(Locale::getGerman(), status); in APITest()
184 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
212 index = new AlphabeticIndex(Locale::getEnglish(), status); in APITest()
[all …]
Duobjtest.cpp489 TESTCLASSID_NONE_CTOR(AlphabeticIndex, (Locale::getEnglish(), status)); in testIDs()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DAlphabeticIndex.java17 import com.ibm.icu.text.AlphabeticIndex.Bucket;
18 import com.ibm.icu.text.AlphabeticIndex.Bucket.LabelType;
124 public final class AlphabeticIndex<V> implements Iterable<Bucket<V>> { class
231 public AlphabeticIndex(ULocale locale) { in AlphabeticIndex() method in AlphabeticIndex
242 public AlphabeticIndex(Locale locale) { in AlphabeticIndex() method in AlphabeticIndex
259 public AlphabeticIndex(RuleBasedCollator collator) { in AlphabeticIndex() method in AlphabeticIndex
266 private AlphabeticIndex(ULocale locale, RuleBasedCollator collator) { in AlphabeticIndex() method in AlphabeticIndex
306 public AlphabeticIndex<V> addLabels(UnicodeSet additions) { in addLabels()
318 public AlphabeticIndex<V> addLabels(ULocale... additions) { in addLabels()
332 public AlphabeticIndex<V> addLabels(Locale... additions) { in addLabels()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DAlphabeticIndex.java18 import android.icu.text.AlphabeticIndex.Bucket;
19 import android.icu.text.AlphabeticIndex.Bucket.LabelType;
124 public final class AlphabeticIndex<V> implements Iterable<Bucket<V>> { class
225 public AlphabeticIndex(ULocale locale) { in AlphabeticIndex() method in AlphabeticIndex
235 public AlphabeticIndex(Locale locale) { in AlphabeticIndex() method in AlphabeticIndex
251 public AlphabeticIndex(RuleBasedCollator collator) { in AlphabeticIndex() method in AlphabeticIndex
258 private AlphabeticIndex(ULocale locale, RuleBasedCollator collator) { in AlphabeticIndex() method in AlphabeticIndex
297 public AlphabeticIndex<V> addLabels(UnicodeSet additions) { in addLabels()
308 public AlphabeticIndex<V> addLabels(ULocale... additions) { in addLabels()
321 public AlphabeticIndex<V> addLabels(Locale... additions) { in addLabels()
[all …]
/external/icu/icu4j/main/classes/collate/.settings/
Dorg.eclipse.core.resources.prefs3 encoding//src/com/ibm/icu/text/AlphabeticIndex.java=UTF-8
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz12;ICU4J 4.8;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j51.api3.gz
Dicu4j52.api3.gz
Dicu4j49.api3.gz12;ICU4J 49.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j50.api3.gz
Dicu4j54.api3.gz
Dicu4j53.api3.gz12;ICU4J 53.1.0;; 2ST@3.6;PB;NS;NF; ...
Dicu4j56.api3.gz
Dicu4j55.api3.gz