Lines Matching refs:BytesTrie
47 BytesTrie *buildMonthsTrie(UStringTrieBuildOption buildOption);
59 BytesTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
61 void checkFirst(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
62 void checkNext(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
63 void checkNextWithState(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
64 void checkNextString(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
65 void checkIterator(const BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
66 void checkIterator(BytesTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
265 BytesTrie *BytesTrieTest::buildMonthsTrie(UStringTrieBuildOption buildOption) { in buildMonthsTrie()
306 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestHasUniqueValue()
342 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_SMALL)); in TestGetNextBytes()
391 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestIteratorFromBranch()
400 BytesTrie::Iterator iter(*trie, 0, errorCode); in TestIteratorFromBranch()
440 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_SMALL)); in TestIteratorFromLinearMatch()
451 BytesTrie::Iterator iter(*trie, 0, errorCode); in TestIteratorFromLinearMatch()
468 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromRoot()
473 BytesTrie::Iterator iter(*trie, 4, errorCode); in TestTruncatingIteratorFromRoot()
519 LocalPointer<BytesTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromLinearMatchShort()
528 BytesTrie::Iterator iter(*trie, 2, errorCode); in TestTruncatingIteratorFromLinearMatchShort()
547 LocalPointer<BytesTrie> trie(buildTrie(data, UPRV_LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromLinearMatchLong()
557 BytesTrie::Iterator iter(*trie, 3, errorCode); in TestTruncatingIteratorFromLinearMatchLong()
584 BytesTrie::Iterator iter(trieBytes.data(), 0, errorCode); in TestIteratorFromBytes()
596 LocalPointer<BytesTrie> trie(buildTrie(data, dataLength, buildOption)); in checkData()
607 BytesTrie *BytesTrieTest::buildTrie(const StringAndValue data[], int32_t dataLength, in buildTrie()
630 LocalPointer<BytesTrie> trie(builder_->build(buildOption, errorCode)); in buildTrie()
651 return new BytesTrie(sp2.data()); in buildTrie()
655 void BytesTrieTest::checkFirst(BytesTrie &trie, in checkFirst()
677 void BytesTrieTest::checkNext(BytesTrie &trie, in checkNext()
679 BytesTrie::State state; in checkNext()
757 void BytesTrieTest::checkNextWithState(BytesTrie &trie, in checkNextWithState()
759 BytesTrie::State noState, state; in checkNextWithState()
817 void BytesTrieTest::checkNextString(BytesTrie &trie, in checkNextString()
834 void BytesTrieTest::checkIterator(const BytesTrie &trie, in checkIterator()
837 BytesTrie::Iterator iter(trie, 0, errorCode); in checkIterator()
844 void BytesTrieTest::checkIterator(BytesTrie::Iterator &iter, in checkIterator()