Searched refs:bucketIndex (Results 1 – 7 of 7) sorted by relevance
/third_party/icu/icu4c/source/test/intltest/ |
D | alphaindextst.cpp | 380 int32_t bucketIndex = 0; in ManyLocalesTest() local 383 assertEquals("bucket index", bucketIndex, index.getBucketIndex()); in ManyLocalesTest() 388 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex); in ManyLocalesTest() 391 " index=" + bucketIndex, in ManyLocalesTest() 396 ++bucketIndex; in ManyLocalesTest() 400 TEST_ASSERT(immIndex->getBucketCount() == bucketIndex); in ManyLocalesTest() 402 TEST_ASSERT(immIndex->getBucket(bucketIndex) == NULL); in ManyLocalesTest() 574 int32_t bucketIndex = index.getBucketIndex(UnicodeString((UChar)0x897f), status); in TestHaniFirst() local 575 assertEquals("getBucketIndex(U+897F)", 0, bucketIndex); // underflow bucket in TestHaniFirst() 576 bucketIndex = index.getBucketIndex("i", status); in TestHaniFirst() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | AlphabeticIndexTest.java | 429 int bucketIndex = 0; in checkBuckets() local 432 labels.get(bucketIndex), bucket.getLabel()); in checkBuckets() 434 labels.get(bucketIndex), immIndex.getBucket(bucketIndex).getLabel()); in checkBuckets() 436 bucket.getLabelType(), immIndex.getBucket(bucketIndex).getLabelType()); in checkBuckets() 440 bucketIndex, index.getBucketIndex(name)); in checkBuckets() 442 bucketIndex, immIndex.getBucketIndex(name)); in checkBuckets() 464 ++bucketIndex; in checkBuckets() 466 assertEquals("getBucketCount()", bucketIndex, index.getBucketCount()); in checkBuckets() 467 assertEquals("immutable getBucketCount()", bucketIndex, immIndex.getBucketCount()); in checkBuckets() 470 assertNull("immutable getBucket(count)", immIndex.getBucket(bucketIndex)); in checkBuckets() [all …]
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | AlphabeticIndexTest.java | 426 int bucketIndex = 0; in checkBuckets() local 429 labels.get(bucketIndex), bucket.getLabel()); in checkBuckets() 431 labels.get(bucketIndex), immIndex.getBucket(bucketIndex).getLabel()); in checkBuckets() 433 bucket.getLabelType(), immIndex.getBucket(bucketIndex).getLabelType()); in checkBuckets() 437 bucketIndex, index.getBucketIndex(name)); in checkBuckets() 439 bucketIndex, immIndex.getBucketIndex(name)); in checkBuckets() 461 ++bucketIndex; in checkBuckets() 463 assertEquals("getBucketCount()", bucketIndex, index.getBucketCount()); in checkBuckets() 464 assertEquals("immutable getBucketCount()", bucketIndex, immIndex.getBucketCount()); in checkBuckets() 467 assertNull("immutable getBucket(count)", immIndex.getBucket(bucketIndex)); in checkBuckets() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | alphaindex.cpp | 651 int32_t bucketIndex = 1; in initBuckets() local 654 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 655 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets() 669 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 670 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | alphaindex.cpp | 650 int32_t bucketIndex = 1; in initBuckets() local 653 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 654 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets() 668 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 669 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | alphaindex.cpp | 651 int32_t bucketIndex = 1; in initBuckets() local 654 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 655 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets() 669 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 670 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets()
|
/third_party/icu/icu4c/source/i18n/ |
D | alphaindex.cpp | 650 int32_t bucketIndex = 1; in initBuckets() local 653 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 654 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets() 668 if (bucketIndex < buckets_->bucketList_->size()) { in initBuckets() 669 nextBucket = getBucket(*buckets_->bucketList_, bucketIndex++); in initBuckets()
|