HomeSort by relevance Sort by last modified time
    Searched refs:getBucketIndex (Results 1 - 7 of 7) sorted by null

  /external/icu/icu4c/source/test/intltest/
alphaindextst.cpp 290 // getBucketIndex()
295 int32_t n = index->getBucketIndex(adam, status);
298 n = index->getBucketIndex(baker, status);
300 n = index->getBucketIndex(Cyrillic, status);
302 n = index->getBucketIndex(zed, status);
306 n = index->getBucketIndex();
326 n = index->getBucketIndex(adam, status);
328 assertEquals("Russian index.getBucketIndex(adam)", expectedLatinIndex, n);
329 n = index->getBucketIndex(baker, status);
330 assertEquals("Russian index.getBucketIndex(baker)", expectedLatinIndex, n)
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
alphaindex.h 178 * int32_t bucketIndex = index.getBucketIndex(name, status);
193 * It is referenced by getBucketIndex(),
274 int32_t getBucketIndex(const UnicodeString &name, UErrorCode &errorCode) const;
536 virtual int32_t getBucketIndex(const UnicodeString &itemName, UErrorCode &status);
545 virtual int32_t getBucketIndex() const;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
AlphabeticIndexTest.java 347 assertEquals("0 -> underflow", "__", ii.getBucket(ii.getBucketIndex("0")).getLabel());
348 assertEquals("? -> inflow", "--", ii.getBucket(ii.getBucketIndex("?")).getLabel());
349 assertEquals("? -> overflow", "^^", ii.getBucket(ii.getBucketIndex("?")).getLabel());
439 assertEquals("getBucketIndex(" + name + ")",
440 bucketIndex, index.getBucketIndex(name));
441 assertEquals("immutable getBucketIndex(" + name + ")",
442 bucketIndex, immIndex.getBucketIndex(name));
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
AlphabeticIndexTest.java 344 assertEquals("0 -> underflow", "__", ii.getBucket(ii.getBucketIndex("0")).getLabel());
345 assertEquals("? -> inflow", "--", ii.getBucket(ii.getBucketIndex("?")).getLabel());
346 assertEquals("? -> overflow", "^^", ii.getBucket(ii.getBucketIndex("?")).getLabel());
436 assertEquals("getBucketIndex(" + name + ")",
437 bucketIndex, index.getBucketIndex(name));
438 assertEquals("immutable getBucketIndex(" + name + ")",
439 bucketIndex, immIndex.getBucketIndex(name));
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
AlphabeticIndex.java 115 * int bucketIndex = index.getBucketIndex(name);
196 public int getBucketIndex(CharSequence name) {
197 return buckets.getBucketIndex(name, collatorPrimaryOnly);
681 public int getBucketIndex(CharSequence name) {
683 return buckets.getBucketIndex(name, collatorPrimaryOnly);
852 * It is referenced by {@link AlphabeticIndex#getBucketIndex(CharSequence)}
853 * and {@link AlphabeticIndex.ImmutableIndex#getBucketIndex(CharSequence)},
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
AlphabeticIndex.java 114 * int bucketIndex = index.getBucketIndex(name);
199 public int getBucketIndex(CharSequence name) {
200 return buckets.getBucketIndex(name, collatorPrimaryOnly);
705 public int getBucketIndex(CharSequence name) {
707 return buckets.getBucketIndex(name, collatorPrimaryOnly);
885 * It is referenced by {@link AlphabeticIndex#getBucketIndex(CharSequence)}
886 * and {@link AlphabeticIndex.ImmutableIndex#getBucketIndex(CharSequence)},
    [all...]
  /external/icu/icu4c/source/i18n/
alphaindex.cpp 144 int32_t getBucketIndex(const UnicodeString &name, const Collator &collatorPrimaryOnly,
191 AlphabeticIndex::ImmutableIndex::getBucketIndex(
193 return buckets_->getBucketIndex(name, *collatorPrimaryOnly_, errorCode);
    [all...]

Completed in 315 milliseconds