Searched refs:KeyMayMatch (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/leveldatabase/src/table/
H A Dfilter_block_test.cc30 virtual bool KeyMayMatch(const Slice& key, const Slice& filter) const { function in class:leveldb::TestHashFilter
51 ASSERT_TRUE(reader.KeyMayMatch(0, "foo"));
52 ASSERT_TRUE(reader.KeyMayMatch(100000, "foo"));
67 ASSERT_TRUE(reader.KeyMayMatch(100, "foo"));
68 ASSERT_TRUE(reader.KeyMayMatch(100, "bar"));
69 ASSERT_TRUE(reader.KeyMayMatch(100, "box"));
70 ASSERT_TRUE(reader.KeyMayMatch(100, "hello"));
71 ASSERT_TRUE(reader.KeyMayMatch(100, "foo"));
72 ASSERT_TRUE(! reader.KeyMayMatch(100, "missing"));
73 ASSERT_TRUE(! reader.KeyMayMatch(10
[all...]
H A Dfilter_block.h56 bool KeyMayMatch(uint64_t block_offset, const Slice& key);
H A Dfilter_block.cc95 bool FilterBlockReader::KeyMayMatch(uint64_t block_offset, const Slice& key) { function in class:leveldb::FilterBlockReader
102 return policy_->KeyMayMatch(key, filter);
H A Dtable.cc228 !filter->KeyMayMatch(handle.offset(), k)) {
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
H A Dfilter_policy.h49 virtual bool KeyMayMatch(const Slice& key, const Slice& filter) const = 0;
/external/chromium_org/third_party/leveldatabase/src/db/
H A Ddbformat.cc117 bool InternalFilterPolicy::KeyMayMatch(const Slice& key, const Slice& f) const { function in class:leveldb::InternalFilterPolicy
118 return user_policy_->KeyMayMatch(ExtractUserKey(key), f);
H A Ddbformat.h138 virtual bool KeyMayMatch(const Slice& key, const Slice& filter) const;
H A Dc.cc121 virtual bool KeyMayMatch(const Slice& key, const Slice& filter) const { function in struct:leveldb_filterpolicy_t
510 bool KeyMayMatch(const Slice& key, const Slice& filter) const { function in struct:Wrapper
511 return rep_->KeyMayMatch(key, filter);
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dbloom.cc63 virtual bool KeyMayMatch(const Slice& key, const Slice& bloom_filter) const { function in class:leveldb::__anon12465::BloomFilterPolicy
H A Dbloom_test.cc73 return policy_->KeyMayMatch(s, filter_);

Completed in 148 milliseconds