Lines Matching refs:builder_
77 UCharsTrieBuilder *builder_; member in UCharsTrieTest
84 UCharsTrieTest::UCharsTrieTest() : builder_(NULL) { in UCharsTrieTest()
86 builder_=new UCharsTrieBuilder(errorCode); in UCharsTrieTest()
90 delete builder_; in ~UCharsTrieTest()
124 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder()
130 … builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder()
371 builder_->clear(); in buildLargeTrie()
373 builder_->add(gen.getString(), gen.getValue(), errorCode); in buildLargeTrie()
378 builder_->buildUnicodeString(USTRINGTRIE_BUILD_FAST, trieUChars, errorCode); in buildLargeTrie()
737 builder_->clear(); in TestIteratorFromUChars()
740 builder_->add(data[i].s, data[i].value, errorCode); in TestIteratorFromUChars()
743 builder_->buildUnicodeString(USTRINGTRIE_BUILD_FAST, trieUChars, errorCode); in TestIteratorFromUChars()
784 builder_->clear(); in buildTrie()
786 builder_->add(UnicodeString(data[index].s, -1, US_INV).unescape(), in buildTrie()
791 builder_->buildUnicodeString(buildOption, trieUChars, errorCode); in buildTrie()
792 LocalPointer<UCharsTrie> trie(builder_->build(buildOption, errorCode)); in buildTrie()
794 builder_->add("zzz", 999, errorCode); in buildTrie()
801 builder_->buildUnicodeString(buildOption, trieUChars2, errorCode); in buildTrie()