Lines Matching refs:BytesTrie
48 BytesTrie *buildMonthsTrie(UStringTrieBuildOption buildOption);
60 BytesTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
62 void checkFirst(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
63 void checkNext(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
64 void checkNextWithState(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
65 void checkNextString(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
66 void checkIterator(const BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
67 void checkIterator(BytesTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
266 BytesTrie *BytesTrieTest::buildMonthsTrie(UStringTrieBuildOption buildOption) { in buildMonthsTrie()
307 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestHasUniqueValue()
343 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_SMALL)); in TestGetNextBytes()
392 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestIteratorFromBranch()
401 BytesTrie::Iterator iter(*trie, 0, errorCode); in TestIteratorFromBranch()
441 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_SMALL)); in TestIteratorFromLinearMatch()
452 BytesTrie::Iterator iter(*trie, 0, errorCode); in TestIteratorFromLinearMatch()
469 LocalPointer<BytesTrie> trie(buildMonthsTrie(USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromRoot()
474 BytesTrie::Iterator iter(*trie, 4, errorCode); in TestTruncatingIteratorFromRoot()
520 LocalPointer<BytesTrie> trie(buildTrie(data, LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromLinearMatchShort()
529 BytesTrie::Iterator iter(*trie, 2, errorCode); in TestTruncatingIteratorFromLinearMatchShort()
548 LocalPointer<BytesTrie> trie(buildTrie(data, LENGTHOF(data), USTRINGTRIE_BUILD_FAST)); in TestTruncatingIteratorFromLinearMatchLong()
558 BytesTrie::Iterator iter(*trie, 3, errorCode); in TestTruncatingIteratorFromLinearMatchLong()
585 BytesTrie::Iterator iter(trieBytes.data(), 0, errorCode); in TestIteratorFromBytes()
597 LocalPointer<BytesTrie> trie(buildTrie(data, dataLength, buildOption)); in checkData()
608 BytesTrie *BytesTrieTest::buildTrie(const StringAndValue data[], int32_t dataLength, in buildTrie()
631 LocalPointer<BytesTrie> trie(builder_->build(buildOption, errorCode)); in buildTrie()
652 return new BytesTrie(sp2.data()); in buildTrie()
656 void BytesTrieTest::checkFirst(BytesTrie &trie, in checkFirst()
678 void BytesTrieTest::checkNext(BytesTrie &trie, in checkNext()
680 BytesTrie::State state; in checkNext()
758 void BytesTrieTest::checkNextWithState(BytesTrie &trie, in checkNextWithState()
760 BytesTrie::State noState, state; in checkNextWithState()
818 void BytesTrieTest::checkNextString(BytesTrie &trie, in checkNextString()
835 void BytesTrieTest::checkIterator(const BytesTrie &trie, in checkIterator()
838 BytesTrie::Iterator iter(trie, 0, errorCode); in checkIterator()
845 void BytesTrieTest::checkIterator(BytesTrie::Iterator &iter, in checkIterator()