Searched refs:KeyMayMatch (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/third_party/leveldatabase/src/table/ |
D | filter_block_test.cc | 30 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 …]
|
D | filter_block.cc | 95 bool FilterBlockReader::KeyMayMatch(uint64_t block_offset, const Slice& key) { in KeyMayMatch() function in leveldb::FilterBlockReader 102 return policy_->KeyMayMatch(key, filter); in KeyMayMatch()
|
D | filter_block.h | 56 bool KeyMayMatch(uint64_t block_offset, const Slice& key);
|
D | table.cc | 228 !filter->KeyMayMatch(handle.offset(), k)) { in InternalGet()
|
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
D | filter_policy.h | 49 virtual bool KeyMayMatch(const Slice& key, const Slice& filter) const = 0;
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
D | dbformat.cc | 117 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()
|
D | c.cc | 121 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()
|
D | dbformat.h | 138 virtual bool KeyMayMatch(const Slice& key, const Slice& filter) const;
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
D | bloom.cc | 63 virtual bool KeyMayMatch(const Slice& key, const Slice& bloom_filter) const { in KeyMayMatch() function in leveldb::__anona538ed1b0111::BloomFilterPolicy
|
D | bloom_test.cc | 73 return policy_->KeyMayMatch(s, filter_); in Matches()
|