Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/util/
Dslice_splitter.cc94 size_t nslices; in grpc_split_slices_to_buffer() local
96 grpc_split_slices(mode, src_slices, src_slice_count, &slices, &nslices); in grpc_split_slices_to_buffer()
97 for (i = 0; i < nslices; i++) { in grpc_split_slices_to_buffer()
109 grpc_slice grpc_slice_merge(grpc_slice* slices, size_t nslices) { in grpc_slice_merge() argument
115 for (i = 0; i < nslices; i++) { in grpc_slice_merge()
Dslice_splitter.h49 grpc_slice grpc_slice_merge(grpc_slice* slices, size_t nslices);
/external/grpc-grpc/test/core/iomgr/
Dendpoint_tests.cc52 size_t count_slices(grpc_slice* slices, size_t nslices, int* current_data) { in count_slices() argument
57 for (i = 0; i < nslices; ++i) { in count_slices()
79 size_t nslices = num_bytes / slice_size + (num_bytes % slice_size ? 1 : 0); in allocate_blocks() local
81 static_cast<grpc_slice*>(gpr_malloc(sizeof(grpc_slice) * nslices)); in allocate_blocks()
86 *num_blocks = nslices; in allocate_blocks()
88 for (i = 0; i < nslices; ++i) { in allocate_blocks()
140 size_t nslices; in read_and_write_test_write_handler() local
149 slices = allocate_blocks(state->current_write_size, 8192, &nslices, in read_and_write_test_write_handler()
152 grpc_slice_buffer_addn(&state->outgoing, slices, nslices); in read_and_write_test_write_handler()
Dtcp_posix_test.cc158 static size_t count_slices(grpc_slice* slices, size_t nslices, in count_slices() argument
163 for (i = 0; i < nslices; ++i) { in count_slices()
308 size_t nslices = num_bytes / slice_size + (num_bytes % slice_size ? 1u : 0u); in allocate_blocks() local
310 static_cast<grpc_slice*>(gpr_malloc(sizeof(grpc_slice) * nslices)); in allocate_blocks()
314 *num_blocks = nslices; in allocate_blocks()
316 for (i = 0; i < nslices; ++i) { in allocate_blocks()
/external/grpc-grpc/src/core/lib/surface/
Dbyte_buffer.cc29 size_t nslices) { in grpc_raw_byte_buffer_create() argument
30 return grpc_raw_compressed_byte_buffer_create(slices, nslices, in grpc_raw_byte_buffer_create()
35 grpc_slice* slices, size_t nslices, in grpc_raw_compressed_byte_buffer_create() argument
43 for (i = 0; i < nslices; i++) { in grpc_raw_compressed_byte_buffer_create()
/external/grpc-grpc/test/core/transport/chttp2/
Dhpack_parser_test.cc54 size_t nslices; in test_vector() local
63 grpc_split_slices(mode, &input, 1, &slices, &nslices); in test_vector()
66 for (i = 0; i < nslices; i++) { in test_vector()
72 for (i = 0; i < nslices; i++) { in test_vector()
/external/grpc-grpc/include/grpc/impl/codegen/
Dbyte_buffer.h35 size_t nslices);
44 grpc_slice* slices, size_t nslices, grpc_compression_algorithm compression);
/external/grpc-grpc/test/core/end2end/
Dcq_verifier.cc109 static grpc_slice merge_slices(grpc_slice* slices, size_t nslices) { in merge_slices() argument
115 for (i = 0; i < nslices; i++) { in merge_slices()
122 for (i = 0; i < nslices; i++) { in merge_slices()
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dbyte_buffer.h61 ByteBuffer(const Slice* slices, size_t nslices) { in ByteBuffer() argument
83 reinterpret_cast<grpc_slice*>(const_cast<Slice*>(slices)), nslices); in ByteBuffer()
Dcore_codegen_interface.h96 size_t nslices) = 0;
Dcore_codegen.h86 size_t nslices) override;
/external/grpc-grpc/src/cpp/common/
Dcore_codegen.cc132 size_t nslices) { in grpc_raw_byte_buffer_create() argument
133 return ::grpc_raw_byte_buffer_create(slice, nslices); in grpc_raw_byte_buffer_create()
/external/grpc-grpc/test/cpp/cocoapods/generic/
Dgeneric.mm44 static grpc_slice merge_slices(grpc_slice* slices, size_t nslices) {
50 for (i = 0; i < nslices; i++) {
57 for (i = 0; i < nslices; i++) {
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_grpc_imports.generated.h434 typedef grpc_byte_buffer*(*grpc_raw_byte_buffer_create_type)(grpc_slice* slices, size_t nslices);
437 …*grpc_raw_compressed_byte_buffer_create_type)(grpc_slice* slices, size_t nslices, grpc_compression…
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dgrpc.pxi94 size_t nslices) nogil