HomeSort by relevance Sort by last modified time
    Searched refs:base_slices (Results 1 - 2 of 2) sorted by null

  /external/grpc-grpc/src/core/lib/slice/
slice_buffer.cc 36 /* How far away from sb->base_slices is sb->slices pointer */
37 size_t slice_offset = static_cast<size_t>(sb->slices - sb->base_slices);
41 if (sb->base_slices != sb->slices) {
43 memmove(sb->base_slices, sb->slices, sb->count * sizeof(grpc_slice));
44 sb->slices = sb->base_slices;
49 if (sb->base_slices == sb->inlined) {
50 sb->base_slices = static_cast<grpc_slice*>(
52 memcpy(sb->base_slices, sb->inlined, slice_count * sizeof(grpc_slice));
54 sb->base_slices = static_cast<grpc_slice*>(
55 gpr_realloc(sb->base_slices, sb->capacity * sizeof(grpc_slice)))
    [all...]
  /external/grpc-grpc/include/grpc/impl/codegen/
slice.h 101 grpc_slice* base_slices; member in struct:grpc_slice_buffer

Completed in 789 milliseconds