Searched refs:current_chunk_ (Results 1 – 4 of 4) sorted by relevance
411 absl::string_view current_chunk_; variable1252 current_chunk_ = btree_reader_.Init(tree->btree()); in InitTree()1270 current_chunk_ = in ChunkIterator()1276 current_chunk_ = btree_reader_.Next(); in AdvanceBtree()1281 assert(n >= current_chunk_.size()); in AdvanceBytesBtree()1284 if (n == current_chunk_.size()) { in AdvanceBytesBtree()1285 current_chunk_ = btree_reader_.Next(); in AdvanceBytesBtree()1288 current_chunk_ = btree_reader_.Seek(offset); in AdvanceBytesBtree()1291 current_chunk_ = {}; in AdvanceBytesBtree()1298 assert(bytes_remaining_ >= current_chunk_.size());[all …]
1484 assert(!current_chunk_.empty()); // Called on invalid iterator. in AdvanceStack()1512 current_chunk_ = absl::string_view(data + offset, length); in AdvanceStack()1526 while (n > current_chunk_.size()) { in AdvanceAndReadBytes()1527 memcpy(data, current_chunk_.data(), current_chunk_.size()); in AdvanceAndReadBytes()1528 data += current_chunk_.size(); in AdvanceAndReadBytes()1529 n -= current_chunk_.size(); in AdvanceAndReadBytes()1532 memcpy(data, current_chunk_.data(), n); in AdvanceAndReadBytes()1533 if (n < current_chunk_.size()) { in AdvanceAndReadBytes()1542 size_t chunk_size = current_chunk_.size(); in AdvanceAndReadBytes()1544 subcord = Cord(current_chunk_.substr(0, n), method); in AdvanceAndReadBytes()[all …]
178 if (current_chunk_) return true; in HasNext()182 current_chunk_ = space->first_page(); in HasNext()183 if (current_chunk_) return true; in HasNext()190 MemoryChunk* chunk = current_chunk_; in Next()191 current_chunk_ = chunk->list_node().next(); in Next()
583 MemoryChunk* current_chunk_ = nullptr; variable