• Home
  • Raw
  • Download

Lines Matching refs:UCharsTrie

53     UCharsTrie *buildLargeTrie(int32_t numUniqueFirst);
56 UCharsTrie *buildMonthsTrie(UStringTrieBuildOption buildOption);
68 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
70 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
71 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
72 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
73 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
74 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
75 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
297 LocalPointer<UCharsTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestNextForCodePoint()
369 UCharsTrie *UCharsTrieTest::buildLargeTrie(int32_t numUniqueFirst) { in buildLargeTrie()
381 return new UCharsTrie(trieUChars.getBuffer()); in buildLargeTrie()
386 LocalPointer<UCharsTrie> trie(buildLargeTrie(1111)); in TestLargeTrie()
424 UCharsTrie *UCharsTrieTest::buildMonthsTrie(UStringTrieBuildOption buildOption) { in buildMonthsTrie()
465 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestHasUniqueValue()
501 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_SMALL)); in TestGetNextUChars()
551 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestIteratorFromBranch()
560 UCharsTrie::Iterator iter(*trie, 0, errorCode); in TestIteratorFromBranch()
600 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_SMALL)); in TestIteratorFromLinearMatch()
611 UCharsTrie::Iterator iter(*trie, 0, errorCode); in TestIteratorFromLinearMatch()
628 LocalPointer<UCharsTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromRoot()
633 UCharsTrie::Iterator iter(*trie, 4, errorCode); in TestTruncatingIteratorFromRoot()
679 LocalPointer<UCharsTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromLinearMatchShort()
688 UCharsTrie::Iterator iter(*trie, 2, errorCode); in TestTruncatingIteratorFromLinearMatchShort()
707 LocalPointer<UCharsTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromLinearMatchLong()
717 UCharsTrie::Iterator iter(*trie, 3, errorCode); in TestTruncatingIteratorFromLinearMatchLong()
745 UCharsTrie::Iterator iter(trieUChars.getBuffer(), 0, errorCode); in TestIteratorFromUChars()
757 LocalPointer<UCharsTrie> trie(buildTrie(data, dataLength, buildOption)); in checkData()
768 UCharsTrie *UCharsTrieTest::buildTrie(const StringAndValue data[], int32_t dataLength, in buildTrie()
793 LocalPointer<UCharsTrie> trie(builder_->build(buildOption, errorCode)); in buildTrie()
815 return new UCharsTrie(trieUChars2.getBuffer()); in buildTrie()
819 void UCharsTrieTest::checkFirst(UCharsTrie &trie, in checkFirst()
857 void UCharsTrieTest::checkNext(UCharsTrie &trie, in checkNext()
859 UCharsTrie::State state; in checkNext()
931 void UCharsTrieTest::checkNextWithState(UCharsTrie &trie, in checkNextWithState()
933 UCharsTrie::State noState, state; in checkNextWithState()
991 void UCharsTrieTest::checkNextString(UCharsTrie &trie, in checkNextString()
1009 void UCharsTrieTest::checkIterator(UCharsTrie &trie, in checkIterator()
1012 UCharsTrie::Iterator iter(trie, 0, errorCode); in checkIterator()
1019 void UCharsTrieTest::checkIterator(UCharsTrie::Iterator &iter, in checkIterator()