Home
last modified time | relevance | path

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

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