• Home
  • Raw
  • Download

Lines Matching refs:immIndex

368         LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status));  in ManyLocalesTest()  local
370 TEST_ASSERT(lc == immIndex->getBucketCount()); in ManyLocalesTest()
381 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex); in ManyLocalesTest()
393 TEST_ASSERT(immIndex->getBucketCount() == bucketIndex); in ManyLocalesTest()
394 TEST_ASSERT(immIndex->getBucket(-1) == NULL); in ManyLocalesTest()
395 TEST_ASSERT(immIndex->getBucket(bucketIndex) == NULL); in ManyLocalesTest()
538 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestIndexCharactersList() local
545 joinLabelsAndAppend(*immIndex, actualIndexCharacters)); in TestIndexCharactersList()
615 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestSchSt() local
618 assertEquals("immutable getBucketCount()", 31, immIndex->getBucketCount()); in TestSchSt()
646 assertEquals(msg, testCase.bucketIndex, immIndex->getBucketIndex(name, status)); in TestSchSt()
648 assertEquals(msg, label, immIndex->getBucket(testCase.bucketIndex)->getLabel()); in TestSchSt()
673 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestChineseZhuyin() local
675 assertEquals("getBucketCount()", 38, immIndex->getBucketCount()); in TestChineseZhuyin()
676 assertEquals("label 1", UnicodeString((UChar)0x3105), immIndex->getBucket(1)->getLabel()); in TestChineseZhuyin()
677 assertEquals("label 2", UnicodeString((UChar)0x3106), immIndex->getBucket(2)->getLabel()); in TestChineseZhuyin()
678 assertEquals("label 3", UnicodeString((UChar)0x3107), immIndex->getBucket(3)->getLabel()); in TestChineseZhuyin()
679 assertEquals("label 4", UnicodeString((UChar)0x3108), immIndex->getBucket(4)->getLabel()); in TestChineseZhuyin()
680 assertEquals("label 5", UnicodeString((UChar)0x3109), immIndex->getBucket(5)->getLabel()); in TestChineseZhuyin()
686 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestJapaneseKanji() local
691 int32_t overflowIndex = immIndex->getBucketCount() - 1; in TestJapaneseKanji()
695 assertEquals(msg, overflowIndex, immIndex->getBucketIndex(UnicodeString(kanji[i]), status)); in TestJapaneseKanji()
708 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestChineseUnihan() local
710 int32_t bucketCount = immIndex->getBucketCount(); in TestChineseUnihan()