Home
last modified time | relevance | path

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

/third_party/grpc/src/core/lib/slice/
Dslice_buffer.cc44 memmove(sb->base_slices, sb->slices, sb->count * sizeof(grpc_slice)); in do_embiggen()
45 sb->slices = sb->base_slices; in do_embiggen()
50 if (sb->base_slices == sb->inlined) { in do_embiggen()
51 sb->base_slices = static_cast<grpc_slice*>( in do_embiggen()
53 memcpy(sb->base_slices, sb->inlined, slice_count * sizeof(grpc_slice)); in do_embiggen()
55 sb->base_slices = static_cast<grpc_slice*>( in do_embiggen()
56 gpr_realloc(sb->base_slices, new_capacity * sizeof(grpc_slice))); in do_embiggen()
59 sb->slices = sb->base_slices + slice_offset; in do_embiggen()
65 sb->slices = sb->base_slices; in maybe_embiggen()
70 size_t slice_offset = static_cast<size_t>(sb->slices - sb->base_slices); in maybe_embiggen()
[all …]
/third_party/grpc/include/grpc/impl/codegen/
Dslice.h81 grpc_slice* base_slices; member