Lines Matching refs:UCharsTrie
51 UCharsTrie *buildLargeTrie(int32_t numUniqueFirst);
54 UCharsTrie *buildMonthsTrie(UStringTrieBuildOption buildOption);
66 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
68 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
69 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
70 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
71 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
72 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
73 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
295 LocalPointer<UCharsTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestNextForCodePoint()
367 UCharsTrie *UCharsTrieTest::buildLargeTrie(int32_t numUniqueFirst) { in buildLargeTrie()
379 return new UCharsTrie(trieUChars.getBuffer()); in buildLargeTrie()
384 LocalPointer<UCharsTrie> trie(buildLargeTrie(1111)); in TestLargeTrie()
422 UCharsTrie *UCharsTrieTest::buildMonthsTrie(UStringTrieBuildOption buildOption) { in buildMonthsTrie()
463 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestHasUniqueValue()
499 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_SMALL)); in TestGetNextUChars()
549 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestIteratorFromBranch()
558 UCharsTrie::Iterator iter(*trie, 0, errorCode); in TestIteratorFromBranch()
598 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_SMALL)); in TestIteratorFromLinearMatch()
609 UCharsTrie::Iterator iter(*trie, 0, errorCode); in TestIteratorFromLinearMatch()
626 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromRoot()
631 UCharsTrie::Iterator iter(*trie, 4, errorCode); in TestTruncatingIteratorFromRoot()
677 LocalPointer<UCharsTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromLinearMatchShort()
686 UCharsTrie::Iterator iter(*trie, 2, errorCode); in TestTruncatingIteratorFromLinearMatchShort()
705 LocalPointer<UCharsTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromLinearMatchLong()
715 UCharsTrie::Iterator iter(*trie, 3, errorCode); in TestTruncatingIteratorFromLinearMatchLong()
743 UCharsTrie::Iterator iter(trieUChars.getBuffer(), 0, errorCode); in TestIteratorFromUChars()
755 LocalPointer<UCharsTrie> trie(buildTrie(data, dataLength, buildOption)); in checkData()
766 UCharsTrie *UCharsTrieTest::buildTrie(const StringAndValue data[], int32_t dataLength, in buildTrie()
791 LocalPointer<UCharsTrie> trie(builder_->build(buildOption, errorCode)); in buildTrie()
813 return new UCharsTrie(trieUChars2.getBuffer()); in buildTrie()
817 void UCharsTrieTest::checkFirst(UCharsTrie &trie, in checkFirst()
855 void UCharsTrieTest::checkNext(UCharsTrie &trie, in checkNext()
857 UCharsTrie::State state; in checkNext()
929 void UCharsTrieTest::checkNextWithState(UCharsTrie &trie, in checkNextWithState()
931 UCharsTrie::State noState, state; in checkNextWithState()
989 void UCharsTrieTest::checkNextString(UCharsTrie &trie, in checkNextString()
1007 void UCharsTrieTest::checkIterator(UCharsTrie &trie, in checkIterator()
1010 UCharsTrie::Iterator iter(trie, 0, errorCode); in checkIterator()
1017 void UCharsTrieTest::checkIterator(UCharsTrie::Iterator &iter, in checkIterator()