Home
last modified time | relevance | path

Searched refs:slice_buffer (Results 1 – 25 of 28) sorted by relevance

12

/external/grpc-grpc/src/core/lib/surface/
Dbyte_buffer.cc42 grpc_slice_buffer_init(&bb->data.raw.slice_buffer); in grpc_raw_compressed_byte_buffer_create()
45 grpc_slice_buffer_add(&bb->data.raw.slice_buffer, slices[i]); in grpc_raw_compressed_byte_buffer_create()
57 grpc_slice_buffer_init(&bb->data.raw.slice_buffer); in grpc_raw_byte_buffer_from_reader()
60 grpc_slice_buffer_add(&bb->data.raw.slice_buffer, slice); in grpc_raw_byte_buffer_from_reader()
69 bb->data.raw.slice_buffer.slices, bb->data.raw.slice_buffer.count, in grpc_byte_buffer_copy()
80 grpc_slice_buffer_destroy_internal(&bb->data.raw.slice_buffer); in grpc_byte_buffer_destroy()
89 return bb->data.raw.slice_buffer.length; in grpc_byte_buffer_length()
Dbyte_buffer_reader.cc59 &reader->buffer_in->data.raw.slice_buffer, in grpc_byte_buffer_reader_init()
98 grpc_slice_buffer* slice_buffer; in grpc_byte_buffer_reader_next() local
99 slice_buffer = &reader->buffer_out->data.raw.slice_buffer; in grpc_byte_buffer_reader_next()
100 if (reader->current.index < slice_buffer->count) { in grpc_byte_buffer_reader_next()
102 slice_buffer->slices[reader->current.index]); in grpc_byte_buffer_reader_next()
Dcall.cc1206 (*call->receiving_buffer)->data.raw.slice_buffer.length; in continue_receiving_slices()
1216 grpc_slice_buffer_add(&(*call->receiving_buffer)->data.raw.slice_buffer, in continue_receiving_slices()
1241 grpc_slice_buffer_add(&(*call->receiving_buffer)->data.raw.slice_buffer, in receiving_slice_ready()
1616 &op->data.send_message.send_message->data.raw.slice_buffer, flags); in call_start_batch()
/external/grpc-grpc/src/core/lib/transport/
Dbyte_stream.cc37 SliceBufferByteStream::SliceBufferByteStream(grpc_slice_buffer* slice_buffer, in SliceBufferByteStream() argument
39 : ByteStream(static_cast<uint32_t>(slice_buffer->length), flags) { in SliceBufferByteStream()
40 GPR_ASSERT(slice_buffer->length <= UINT32_MAX); in SliceBufferByteStream()
42 grpc_slice_buffer_swap(slice_buffer, &backing_buffer_); in SliceBufferByteStream()
Dbyte_stream.h91 SliceBufferByteStream(grpc_slice_buffer* slice_buffer, uint32_t flags);
/external/grpc-grpc/test/core/iomgr/
Dendpoint_tests.cc278 grpc_slice_buffer slice_buffer; in multiple_shutdown_test() local
279 grpc_slice_buffer_init(&slice_buffer); in multiple_shutdown_test()
283 grpc_endpoint_read(f.client_ep, &slice_buffer, in multiple_shutdown_test()
290 grpc_endpoint_read(f.client_ep, &slice_buffer, in multiple_shutdown_test()
294 grpc_slice_buffer_add(&slice_buffer, grpc_slice_from_copied_string("a")); in multiple_shutdown_test()
295 grpc_endpoint_write(f.client_ep, &slice_buffer, in multiple_shutdown_test()
304 grpc_slice_buffer_destroy_internal(&slice_buffer); in multiple_shutdown_test()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dframe_goaway.cc153 grpc_slice_buffer* slice_buffer) { in grpc_chttp2_goaway_append() argument
184 grpc_slice_buffer_add(slice_buffer, header); in grpc_chttp2_goaway_append()
185 grpc_slice_buffer_add(slice_buffer, debug_data); in grpc_chttp2_goaway_append()
Dframe_goaway.h60 grpc_slice_buffer* slice_buffer);
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dproto_buffer_writer.h70 slice_buffer_ = &bp->data.raw.slice_buffer; in ProtoBufferWriter()
148 grpc_slice_buffer* slice_buffer() { return slice_buffer_; } in slice_buffer() function
/external/grpc-grpc/src/core/ext/filters/http/client/
Dhttp_client_filter.cc238 static char* slice_buffer_to_string(grpc_slice_buffer* slice_buffer) { in slice_buffer_to_string() argument
240 static_cast<char*>(gpr_malloc(slice_buffer->length + 1)); in slice_buffer_to_string()
242 for (size_t i = 0; i < slice_buffer->count; ++i) { in slice_buffer_to_string()
244 GRPC_SLICE_START_PTR(slice_buffer->slices[i]), in slice_buffer_to_string()
245 GRPC_SLICE_LENGTH(slice_buffer->slices[i])); in slice_buffer_to_string()
246 offset += GRPC_SLICE_LENGTH(slice_buffer->slices[i]); in slice_buffer_to_string()
/external/grpc-grpc/test/core/surface/
Dbyte_buffer_reader_test.cc189 GPR_ASSERT(buffer_from_reader->data.raw.slice_buffer.count == 1); in test_byte_buffer_from_reader()
191 buffer_from_reader->data.raw.slice_buffer.slices[0]), in test_byte_buffer_from_reader()
/external/grpc-grpc/test/core/end2end/
Dcq_verifier.cc137 a = merge_slices(rbb->data.raw.slice_buffer.slices, in raw_byte_buffer_eq_slice()
138 rbb->data.raw.slice_buffer.count); in raw_byte_buffer_eq_slice()
/external/flatbuffers/include/flatbuffers/
Dgrpc.h296 (buffer->data.raw.slice_buffer.count == 1)) { in Deserialize()
298 grpc_slice slice = buffer->data.raw.slice_buffer.slices[0]; in Deserialize()
/external/grpc-grpc/include/grpc/impl/codegen/
Dgrpc_types.h49 grpc_slice_buffer slice_buffer; member
/external/grpc-grpc/include/grpc/
Dmodule.modulemap50 header "slice_buffer.h"
/external/swiftshader/third_party/LLVM/test/CodeGen/Generic/
D2007-05-15-InfiniteRecursion.ll12 … (i32*, i32)*, void (i8*, i32, i8**, i32, i32, i32, i32, i32, %struct.slice_buffer*, i32, i8*)*, v…
27 %struct.slice_buffer = type opaque
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Generic/
D2007-05-15-InfiniteRecursion.ll12 … (i32*, i32)*, void (i8*, i32, i8**, i32, i32, i32, i32, i32, %struct.slice_buffer*, i32, i8*)*, v…
27 %struct.slice_buffer = type opaque
/external/llvm/test/CodeGen/Generic/
D2007-05-15-InfiniteRecursion.ll12 … (i32*, i32)*, void (i8*, i32, i8**, i32, i32, i32, i32, i32, %struct.slice_buffer*, i32, i8*)*, v…
27 %struct.slice_buffer = type opaque
/external/grpc-grpc/
Dgrpc.gyp395 'src/core/lib/slice/slice_buffer.cc',
758 'src/core/lib/slice/slice_buffer.cc',
994 'src/core/lib/slice/slice_buffer.cc',
1208 'src/core/lib/slice/slice_buffer.cc',
DBUILD102 "include/grpc/slice_buffer.h",
790 "src/core/lib/slice/slice_buffer.cc",
DCMakeLists.txt1059 src/core/lib/slice/slice_buffer.cc
1328 include/grpc/slice_buffer.h
1468 src/core/lib/slice/slice_buffer.cc
1863 src/core/lib/slice/slice_buffer.cc
2174 src/core/lib/slice/slice_buffer.cc
2464 src/core/lib/slice/slice_buffer.cc
2659 include/grpc/slice_buffer.h
2978 include/grpc/slice_buffer.h
3311 src/core/lib/slice/slice_buffer.cc
3551 include/grpc/slice_buffer.h
[all …]
DgRPC-Core.podspec175 'include/grpc/slice_buffer.h',
636 'src/core/lib/slice/slice_buffer.cc',
Dconfig.m4203 src/core/lib/slice/slice_buffer.cc \
Dconfig.w32178 "src\\core\\lib\\slice\\slice_buffer.cc " +
Dgrpc.gemspec182 s.files += %w( include/grpc/slice_buffer.h )
572 s.files += %w( src/core/lib/slice/slice_buffer.cc )

12