Home
last modified time | relevance | path

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

/external/flatbuffers/include/flatbuffers/
Dgrpc.h157 SliceAllocator slice_allocator_; member
167 : FlatBufferBuilder(initial_size, &slice_allocator_, false) {}
173 : FlatBufferBuilder(1024, &slice_allocator_, false) { in MessageBuilder()
180 : FlatBufferBuilder(1024, &slice_allocator_, false) {
186 slice_allocator_.slice_ = grpc_slice_new_with_len(buf, capacity, dealloc);
189 slice_allocator_.slice_ = grpc_empty_slice();
210 slice_allocator_.swap(other.slice_allocator_); in Swap()
224 slice = slice_allocator_.slice_; in ReleaseRaw()
225 slice_allocator_.slice_ = grpc_empty_slice(); in ReleaseRaw()
248 grpc_slice slice = slice_allocator_.get_slice(buf_data, buf_size); in GetMessage()