Home
last modified time | relevance | path

Searched refs:BlockHandle (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/leveldatabase/src/table/
Dformat.h22 class BlockHandle {
24 BlockHandle();
52 const BlockHandle& metaindex_handle() const { return metaindex_handle_; } in metaindex_handle()
53 void set_metaindex_handle(const BlockHandle& h) { metaindex_handle_ = h; } in set_metaindex_handle()
56 const BlockHandle& index_handle() const { in index_handle()
59 void set_index_handle(const BlockHandle& h) { in set_index_handle()
70 kEncodedLength = 2*BlockHandle::kMaxEncodedLength + 8
74 BlockHandle metaindex_handle_;
75 BlockHandle index_handle_;
96 const BlockHandle& handle,
[all …]
Dformat.cc15 void BlockHandle::EncodeTo(std::string* dst) const { in EncodeTo()
23 Status BlockHandle::DecodeFrom(Slice* input) { in DecodeFrom()
38 dst->resize(2 * BlockHandle::kMaxEncodedLength); // Padding in EncodeTo()
68 const BlockHandle& handle, in ReadBlock()
Dtable.cc34 BlockHandle metaindex_handle; // Handle to metaindex_block: saved from footer
115 BlockHandle filter_handle; in ReadFilter()
162 BlockHandle handle; in BlockReader()
225 BlockHandle handle; in InternalGet()
254 BlockHandle handle; in ApproximateOffsetOf()
Dtable_builder.cc43 BlockHandle pending_handle; // Handle to add to index block
139 void TableBuilder::WriteBlock(BlockBuilder* block, BlockHandle* handle) { in WriteBlock()
177 BlockHandle* handle) { in WriteRawBlock()
205 BlockHandle filter_block_handle, metaindex_block_handle, index_block_handle; in Finish()
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
Dtable_builder.h23 class BlockHandle; variable
79 void WriteBlock(BlockBuilder* block, BlockHandle* handle);
80 void WriteRawBlock(const Slice& data, CompressionType, BlockHandle* handle);
Dtable.h14 class BlockHandle; variable
/external/chromium_org/third_party/leveldatabase/src/doc/
Dtable_format.txt18 a BlockHandle and contains the following information:
37 BlockHandle pointing to that meta block.
42 BlockHandle for the data block.
45 the BlockHandle of the metaindex and index blocks as well as a magic number.
49 // (40==2*BlockHandle::kMaxEncodedLength)
57 an entry that maps from "filter.<N>" to the BlockHandle for the filter