Lines Matching refs:builder_
72 BytesTrieBuilder *builder_; member in BytesTrieTest
79 BytesTrieTest::BytesTrieTest() : builder_(NULL) { in BytesTrieTest()
81 builder_=new BytesTrieBuilder(errorCode); in BytesTrieTest()
85 delete builder_; in ~BytesTrieTest()
117 builder_->clear(); in TestBuilder()
118 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder()
124 … builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder()
582 builder_->clear(); in TestIteratorFromBytes()
585 builder_->add(data[i].s, data[i].value, errorCode); in TestIteratorFromBytes()
587 StringPiece trieBytes=builder_->buildStringPiece(USTRINGTRIE_BUILD_FAST, errorCode); in TestIteratorFromBytes()
637 builder_->clear(); in buildTrie()
639 builder_->add(data[index].s, data[index].value, errorCode); in buildTrie()
642 StringPiece sp=builder_->buildStringPiece(buildOption, errorCode); in buildTrie()
643 LocalPointer<BytesTrie> trie(builder_->build(buildOption, errorCode)); in buildTrie()
645 builder_->add("zzz", 999, errorCode); in buildTrie()
651 StringPiece sp2=builder_->buildStringPiece(buildOption, errorCode); in buildTrie()