• Home
  • Raw
  • Download

Lines Matching refs:bucketIndex

369         int32_t bucketIndex = 0;  in ManyLocalesTest()  local
372 assertEquals("bucket index", bucketIndex, index.getBucketIndex()); in ManyLocalesTest()
377 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex); in ManyLocalesTest()
380 " index=" + bucketIndex, in ManyLocalesTest()
385 ++bucketIndex; in ManyLocalesTest()
389 TEST_ASSERT(immIndex->getBucketCount() == bucketIndex); in ManyLocalesTest()
391 TEST_ASSERT(immIndex->getBucket(bucketIndex) == NULL); in ManyLocalesTest()
565 int32_t bucketIndex = index.getBucketIndex(UnicodeString((UChar)0x897f), status); in TestHaniFirst() local
566 assertEquals("getBucketIndex(U+897F)", 0, bucketIndex); // underflow bucket in TestHaniFirst()
567 bucketIndex = index.getBucketIndex("i", status); in TestHaniFirst()
568 assertEquals("getBucketIndex(i)", 9, bucketIndex); in TestHaniFirst()
569 bucketIndex = index.getBucketIndex(UnicodeString((UChar)0x03B1), status); in TestHaniFirst()
570 assertEquals("getBucketIndex(Greek alpha)", 27, bucketIndex); in TestHaniFirst()
574 bucketIndex = index.getBucketIndex(UnicodeString((UChar)0xFFFF), status); in TestHaniFirst()
575 assertEquals("getBucketIndex(U+FFFF)", 27, bucketIndex); in TestHaniFirst()
593 int bucketIndex = index.getBucketIndex(UnicodeString((UChar)0x897f), status); in TestPinyinFirst() local
594 assertEquals("getBucketIndex(U+897F)", 'X' - 'A' + 1, bucketIndex); in TestPinyinFirst()
595 bucketIndex = index.getBucketIndex("i", status); in TestPinyinFirst()
596 assertEquals("getBucketIndex(i)", 9, bucketIndex); in TestPinyinFirst()
597 bucketIndex = index.getBucketIndex(UnicodeString((UChar)0x03B1), status); in TestPinyinFirst()
598 assertEquals("getBucketIndex(Greek alpha)", 27, bucketIndex); in TestPinyinFirst()
602 bucketIndex = index.getBucketIndex(UnicodeString((UChar)0xFFFF), status); in TestPinyinFirst()
603 assertEquals("getBucketIndex(U+FFFF)", 27, bucketIndex); in TestPinyinFirst()
618 int32_t bucketIndex; in TestSchSt() member
641 assertEquals(msg, testCase.bucketIndex, index.getBucketIndex(name, status)); in TestSchSt()
643 assertEquals(msg, testCase.bucketIndex, immIndex->getBucketIndex(name, status)); in TestSchSt()
645 assertEquals(msg, label, immIndex->getBucket(testCase.bucketIndex)->getLabel()); in TestSchSt()