Home
last modified time | relevance | path

Searched refs:immIndex (Results 1 – 2 of 2) sorted by relevance

/external/icu4c/test/intltest/
Dalphaindextst.cpp364 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in ManyLocalesTest() local
366 TEST_ASSERT(lc == immIndex->getBucketCount()); in ManyLocalesTest()
377 const AlphabeticIndex::Bucket *bucket = immIndex->getBucket(bucketIndex); in ManyLocalesTest()
389 TEST_ASSERT(immIndex->getBucketCount() == bucketIndex); in ManyLocalesTest()
390 TEST_ASSERT(immIndex->getBucket(-1) == NULL); in ManyLocalesTest()
391 TEST_ASSERT(immIndex->getBucket(bucketIndex) == NULL); in ManyLocalesTest()
536 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestIndexCharactersList() local
543 joinLabelsAndAppend(*immIndex, actualIndexCharacters)); in TestIndexCharactersList()
612 LocalPointer<AlphabeticIndex::ImmutableIndex> immIndex(index.buildImmutableIndex(status)); in TestSchSt() local
615 assertEquals("immutable getBucketCount()", 31, immIndex->getBucketCount()); in TestSchSt()
[all …]
/external/icu4c/i18n/
Dalphaindex.cpp268 ImmutableIndex *immIndex = new ImmutableIndex(immutableBucketList.getAlias(), coll.getAlias()); in buildImmutableIndex() local
269 if (immIndex == NULL) { in buildImmutableIndex()
276 return immIndex; in buildImmutableIndex()