Searched refs:base_slices (Results 1 – 2 of 2) sorted by relevance
37 size_t slice_offset = static_cast<size_t>(sb->slices - sb->base_slices); in maybe_embiggen()41 if (sb->base_slices != sb->slices) { in maybe_embiggen()43 memmove(sb->base_slices, sb->slices, sb->count * sizeof(grpc_slice)); in maybe_embiggen()44 sb->slices = sb->base_slices; in maybe_embiggen()49 if (sb->base_slices == sb->inlined) { in maybe_embiggen()50 sb->base_slices = static_cast<grpc_slice*>( in maybe_embiggen()52 memcpy(sb->base_slices, sb->inlined, slice_count * sizeof(grpc_slice)); in maybe_embiggen()54 sb->base_slices = static_cast<grpc_slice*>( in maybe_embiggen()55 gpr_realloc(sb->base_slices, sb->capacity * sizeof(grpc_slice))); in maybe_embiggen()58 sb->slices = sb->base_slices + slice_offset; in maybe_embiggen()[all …]
101 grpc_slice* base_slices; member