Lines Matching refs:reset
332 file_writer_.reset(test::GetWritableFileWriter(new test::StringSink(), in FinishImpl()
346 builder.reset(ioptions.table_factory->NewTableBuilder( in FinishImpl()
374 file_reader_.reset(test::GetRandomAccessFileReader(new test::StringSource( in FinishImpl()
412 file_reader_.reset(test::GetRandomAccessFileReader(new test::StringSource( in Reopen()
427 void ResetTableReader() { table_reader_.reset(); } in ResetTableReader()
441 table_reader_.reset(); in Reset()
442 file_writer_.reset(); in Reset()
443 file_reader_.reset(); in Reset()
736 internal_comparator_.reset( in Init()
744 table_options_.flush_block_policy_factory.reset( in Init()
750 options_.table_factory.reset( in Init()
754 internal_comparator_.reset( in Init()
762 options_.prefix_extractor.reset(new FixedOrLessPrefixTransform(2)); in Init()
763 options_.table_factory.reset(NewPlainTableFactory()); in Init()
766 internal_comparator_.reset( in Init()
772 options_.prefix_extractor.reset(NewNoopTransform()); in Init()
773 options_.table_factory.reset(NewPlainTableFactory()); in Init()
776 internal_comparator_.reset( in Init()
790 options_.table_factory.reset( in Init()
795 internal_comparator_.reset( in Init()
801 options_.table_factory.reset( in Init()
807 options_.table_factory.reset( in Init()
814 options_.table_factory.reset( in Init()
1061 plain_internal_comparator.reset( in GetPlainInternalComparator()
1187 file_writer_.reset(test::GetWritableFileWriter(sink_, "" /* don't care */)); in CreateWriteableFile()
1251 file_reader_.reset(test::GetRandomAccessFileReader( in CalculateFileChecksum()
1357 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1406 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in IndexUncompressedHelper()
1433 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1460 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1463 options.prefix_extractor.reset(NewNoopTransform()); in TEST_P()
1510 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1551 table_options.filter_policy.reset(NewBloomFilterPolicy(10)); in TEST_P()
1553 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1598 opt->table_factory.reset(NewBlockBasedTableFactory(*table_options)); in PrefetchRange()
1610 i_begin.reset(new InternalKey(key_begin, kMaxSequenceNumber, kTypeValue)); in PrefetchRange()
1611 begin.reset(new Slice(i_begin->Encode())); in PrefetchRange()
1613 begin.reset(new Slice(key_begin)); in PrefetchRange()
1618 i_end.reset(new InternalKey(key_end, kMaxSequenceNumber, kTypeValue)); in PrefetchRange()
1619 end.reset(new Slice(i_end->Encode())); in PrefetchRange()
1621 end.reset(new Slice(key_end)); in PrefetchRange()
1639 ikc.reset(new test::PlainInternalKeyComparator(opt.comparator)); in TEST_P()
1645 opt.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
1712 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
1717 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
1718 options.prefix_extractor.reset(NewFixedPrefixTransform(4)); in TEST_P()
1724 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
1725 options.prefix_extractor.reset(NewFixedPrefixTransform(4)); in TEST_P()
1730 table_options.filter_policy.reset(NewBloomFilterPolicy(10)); in TEST_P()
1731 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
1732 options.prefix_extractor.reset(NewFixedPrefixTransform(4)); in TEST_P()
1737 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
1743 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
1802 table_options.filter_policy.reset(NewBloomFilterPolicy(10)); in TEST_P()
1806 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
1807 options.prefix_extractor.reset(NewNoopTransform()); in TEST_P()
1842 table_options.filter_policy.reset(NewBloomFilterPolicy(2)); in TEST_P()
1847 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
1848 options.prefix_extractor.reset(NewFixedPrefixTransform(1)); in TEST_P()
1861 options.prefix_extractor.reset(NewFixedPrefixTransform(9)); in TEST_P()
1917 options.prefix_extractor.reset(NewFixedPrefixTransform(3)); in IndexTest()
1920 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in IndexTest()
2125 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
2207 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
2397 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
2470 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
2491 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
2517 table_options.filter_policy.reset(NewBloomFilterPolicy(10, true)); in TEST_P()
2518 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
2591 table_options.filter_policy.reset(NewBloomFilterPolicy(10, true)); in TEST_P()
2592 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
2635 table_options.filter_policy.reset(NewBloomFilterPolicy(10, true)); in TEST_P()
2636 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
2656 iter.reset(); in TEST_P()
2762 table_options.filter_policy.reset(NewBloomFilterPolicy(10)); in TEST_P()
2763 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
2815 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
2849 iter.reset(c.NewIterator(moptions.prefix_extractor.get())); in TEST_P()
2878 iter.reset(c.NewIterator(moptions.prefix_extractor.get())); in TEST_P()
2889 iter.reset(); in TEST_P()
2898 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
2914 iter.reset(c.NewIterator(moptions2.prefix_extractor.get())); in TEST_P()
2933 iter.reset(); in TEST_P()
2939 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
2953 table_options.filter_policy.reset(NewBloomFilterPolicy(1)); in TEST_P()
2954 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
3029 table_options.filter_policy.reset( in TEST_P()
3031 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
3110 ikc.reset(new test::PlainInternalKeyComparator(opt.comparator)); in TEST_P()
3116 opt.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
3141 iter.reset(); in TEST_P()
3155 opt.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
3194 ikc.reset(new test::PlainInternalKeyComparator(opt.comparator)); in TEST_P()
3203 opt.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
3263 builder.reset(ioptions.table_factory->NewTableBuilder( in TEST_P()
3283 options.file_checksum_gen_factory.reset(file_checksum_gen_factory); in TEST_P()
3311 builder.reset(ioptions.table_factory->NewTableBuilder( in TEST_P()
3433 options.file_checksum_gen_factory.reset(file_checksum_gen_factory); in TEST_F()
3703 iter_guard.reset(iter); in TEST_F()
3915 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
4017 bbto.filter_policy.reset(ROCKSDB_NAMESPACE::NewBloomFilterPolicy(10)); in TEST_F()
4022 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
4056 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
4240 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
4293 options2.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
4320 table_reader.reset(); in TEST_P()
4332 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
4438 table_options.filter_policy.reset(NewBloomFilterPolicy( in TEST_P()
4440 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in TEST_P()
4507 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
4514 options.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_P()
4573 options.table_factory.reset(new BlockBasedTableFactory(table_options)); in TEST_P()
4596 seek_iter.reset(reader->NewIterator( in TEST_P()
4668 options.table_factory.reset(NewBlockBasedTableFactory(table_opt)); in TEST_P()
4679 iter.reset(new KeyConvertingIterator(reader->NewIterator( in TEST_P()
4685 iter.reset(new KeyConvertingIterator(reader->NewIterator( in TEST_P()
4706 options.table_factory.reset(NewBlockBasedTableFactory(table_opt)); in TEST_P()
4717 iter.reset(new KeyConvertingIterator(reader->NewIterator( in TEST_P()
4729 iter.reset(new KeyConvertingIterator(reader->NewIterator( in TEST_P()