Lines Matching refs:builder_
74 BytesTrieBuilder *builder_; member in BytesTrieTest
81 BytesTrieTest::BytesTrieTest() : builder_(NULL) { in BytesTrieTest()
83 builder_=new BytesTrieBuilder(errorCode); in BytesTrieTest()
87 delete builder_; in ~BytesTrieTest()
120 builder_->clear(); in TestBuilder()
121 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder()
127 … builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder()
585 builder_->clear(); in TestIteratorFromBytes()
588 builder_->add(data[i].s, data[i].value, errorCode); in TestIteratorFromBytes()
590 StringPiece trieBytes=builder_->buildStringPiece(USTRINGTRIE_BUILD_FAST, errorCode); in TestIteratorFromBytes()
680 builder_->clear(); in buildTrie()
682 builder_->add(data[index].s, data[index].value, errorCode); in buildTrie()
685 StringPiece sp=builder_->buildStringPiece(buildOption, errorCode); in buildTrie()
686 LocalPointer<BytesTrie> trie(builder_->build(buildOption, errorCode)); in buildTrie()
688 builder_->add("zzz", 999, errorCode); in buildTrie()
694 StringPiece sp2=builder_->buildStringPiece(buildOption, errorCode); in buildTrie()