Lines Matching refs:builder_
70 BytesTrieBuilder *builder_; member in BytesTrieTest
77 BytesTrieTest::BytesTrieTest() : builder_(NULL) { in BytesTrieTest()
79 builder_=new BytesTrieBuilder(errorCode); in BytesTrieTest()
83 delete builder_; in ~BytesTrieTest()
114 builder_->clear(); in TestBuilder()
115 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder()
121 … builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder()
579 builder_->clear(); in TestIteratorFromBytes()
582 builder_->add(data[i].s, data[i].value, errorCode); in TestIteratorFromBytes()
584 StringPiece trieBytes=builder_->buildStringPiece(USTRINGTRIE_BUILD_FAST, errorCode); in TestIteratorFromBytes()
625 builder_->clear(); in buildTrie()
627 builder_->add(data[index].s, data[index].value, errorCode); in buildTrie()
630 StringPiece sp=builder_->buildStringPiece(buildOption, errorCode); in buildTrie()
631 LocalPointer<BytesTrie> trie(builder_->build(buildOption, errorCode)); in buildTrie()
633 builder_->add("zzz", 999, errorCode); in buildTrie()
639 StringPiece sp2=builder_->buildStringPiece(buildOption, errorCode); in buildTrie()