Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 40) sorted by relevance

12

/leveldb-1.20/include/leveldb/
H A Diterator.h23 class Iterator {
25 Iterator();
26 virtual ~Iterator();
88 Iterator(const Iterator&);
89 void operator=(const Iterator&);
93 extern Iterator* NewEmptyIterator();
96 extern Iterator* NewErrorIterator(const Status& status);
H A Dtable.h48 Iterator* NewIterator(const ReadOptions&) const;
63 static Iterator* BlockReader(void*, const ReadOptions&, const Slice&);
/leveldb-1.20/table/
H A Diterator.cc9 Iterator::Iterator() { in Iterator() function in leveldb::Iterator
14 Iterator::~Iterator() { in ~Iterator()
26 void Iterator::RegisterCleanup(CleanupFunction func, void* arg1, void* arg2) { in RegisterCleanup()
42 class EmptyIterator : public Iterator {
59 Iterator* NewEmptyIterator() { in NewEmptyIterator()
63 Iterator* NewErrorIterator(const Status& status) { in NewErrorIterator()
H A Dtwo_level_iterator.cc16 typedef Iterator* (*BlockFunction)(void*, const ReadOptions&, const Slice&);
18 class TwoLevelIterator: public Iterator {
21 Iterator* index_iter,
62 void SetDataIterator(Iterator* data_iter);
77 Iterator* index_iter, in TwoLevelIterator()
151 void TwoLevelIterator::SetDataIterator(Iterator* data_iter) { in SetDataIterator()
165 Iterator* iter = (*block_function_)(arg_, options_, handle); in InitDataBlock()
174 Iterator* NewTwoLevelIterator( in NewTwoLevelIterator()
175 Iterator* index_iter, in NewTwoLevelIterator()
H A Dmerger.h11 class Iterator; variable
21 extern Iterator* NewMergingIterator(
22 const Comparator* comparator, Iterator** children, int n);
H A Dtwo_level_iterator.h23 extern Iterator* NewTwoLevelIterator(
24 Iterator* index_iter,
25 Iterator* (*block_function)(
H A Diterator_wrapper.h20 explicit IteratorWrapper(Iterator* iter): iter_(NULL) { in IteratorWrapper()
24 Iterator* iter() const { return iter_; } in iter()
28 void Set(Iterator* iter) { in Set()
59 Iterator* iter_;
H A Dmerger.cc14 class MergingIterator : public Iterator {
16 MergingIterator(const Comparator* comparator, Iterator** children, int n) in MergingIterator()
186 Iterator* NewMergingIterator(const Comparator* cmp, Iterator** list, int n) { in NewMergingIterator()
H A Dtable.cc109 Iterator* iter = meta->NewIterator(BytewiseComparator()); in ReadMeta()
164 Iterator* Table::BlockReader(void* arg, in BlockReader()
206 Iterator* iter; in BlockReader()
220 Iterator* Table::NewIterator(const ReadOptions& options) const { in NewIterator()
230 Iterator* iiter = rep_->index_block->NewIterator(rep_->options.comparator); in InternalGet()
241 Iterator* block_iter = BlockReader(this, options, iiter->value()); in InternalGet()
259 Iterator* index_iter = in ApproximateOffsetOf()
H A Dtable_test.cc171 virtual Iterator* NewIterator() const = 0;
209 virtual Iterator* NewIterator() const { in NewIterator()
253 virtual Iterator* NewIterator() const { in NewIterator()
276 class KeyConvertingIterator: public Iterator {
309 Iterator* iter_;
340 virtual Iterator* NewIterator() const { in NewIterator()
373 virtual Iterator* NewIterator() const { in NewIterator()
489 Iterator* iter = constructor_->NewIterator(); in TestForwardScan()
504 Iterator* iter = constructor_->NewIterator(); in TestBackwardScan()
604 std::string ToString(const Iterator* it) { in ToString()
[all …]
H A Dblock.h25 Iterator* NewIterator(const Comparator* comparator);
/leveldb-1.20/db/
H A Dskiplist.h59 class Iterator {
63 explicit Iterator(const SkipList* list);
191 inline SkipList<Key,Comparator>::Iterator::Iterator(const SkipList* list) {
197 inline bool SkipList<Key,Comparator>::Iterator::Valid() const {
202 inline const Key& SkipList<Key,Comparator>::Iterator::key() const {
208 inline void SkipList<Key,Comparator>::Iterator::Next() {
214 inline void SkipList<Key,Comparator>::Iterator::Prev() {
225 inline void SkipList<Key,Comparator>::Iterator::Seek(const Key& target) {
230 inline void SkipList<Key,Comparator>::Iterator::SeekToFirst() {
235 inline void SkipList<Key,Comparator>::Iterator::SeekToLast() {
H A Ddb_iter.h19 extern Iterator* NewDBIterator(
22 Iterator* internal_iter,
H A Dbuilder.h16 class Iterator; variable
29 Iterator* iter,
H A Ddb_iter.cc20 static void DumpInternalIter(Iterator* iter) {
39 class DBIter: public Iterator {
51 DBIter(DBImpl* db, const Comparator* cmp, Iterator* iter, SequenceNumber s, in DBIter()
113 Iterator* const iter_;
308 Iterator* NewDBIterator( in NewDBIterator()
311 Iterator* internal_iter, in NewDBIterator()
H A Dmemtable.cc51 class MemTableIterator: public Iterator {
70 MemTable::Table::Iterator iter_;
78 Iterator* MemTable::NewIterator() { in NewIterator()
110 Table::Iterator iter(&table_); in Get()
H A Ddb_impl.h38 virtual Iterator* NewIterator(const ReadOptions&);
56 Iterator* TEST_NewInternalIterator();
72 Iterator* NewInternalIterator(const ReadOptions&,
117 Status FinishCompactionOutputFile(CompactionState* compact, Iterator* input);
H A Dbuilder.cc21 Iterator* iter, in BuildTable()
67 Iterator* it = table_cache->NewIterator(ReadOptions(), in BuildTable()
H A Dversion_set.h31 class Iterator; variable
64 void AddIterators(const ReadOptions&, std::vector<Iterator*>* iters);
121 Iterator* NewConcatenatingIterator(const ReadOptions&, int level) const;
248 Iterator* MakeInputIterator(Compaction* c);
H A Dskiplist_test.cc37 SkipList<Key, Comparator>::Iterator iter(&list); in TEST()
72 SkipList<Key, Comparator>::Iterator iter(&list); in TEST()
90 SkipList<Key, Comparator>::Iterator iter(&list); in TEST()
110 SkipList<Key, Comparator>::Iterator iter(&list); in TEST()
233 SkipList<Key, Comparator>::Iterator iter(&list_); in ReadStep()
H A Dtable_cache.h33 Iterator* NewIterator(const ReadOptions& options,
H A Dtable_cache.cc82 Iterator* TableCache::NewIterator(const ReadOptions& options, in NewIterator()
97 Iterator* result = table->NewIterator(options); in NewIterator()
H A Dmemtable.h48 Iterator* NewIterator();
H A Drepair.cc226 Iterator* iter = mem->NewIterator(); in ConvertLogToTable()
250 Iterator* NewTableIterator(const FileMetaData& meta) { in NewTableIterator()
282 Iterator* iter = NewTableIterator(t.meta); in ScanTable()
335 Iterator* iter = NewTableIterator(t.meta); in RepairTable()
/leveldb-1.20/issues/
H A Dissue200_test.cc34 Iterator *iter = db->NewIterator(read_options); in TEST()

12