Home
last modified time | relevance | path

Searched refs:AlphabeticIndex (Results 1 – 7 of 7) 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/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()
308 AlphabeticIndex<String> alphabeticIndex = new AlphabeticIndex(locale); in TestEmpty()
332 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/icu4j/main/classes/collate/.settings/
Dorg.eclipse.core.resources.prefs3 encoding//src/com/ibm/icu/text/AlphabeticIndex.java=UTF-8