Searched refs:slice_out (Results 1 – 9 of 9) sorted by relevance
/third_party/grpc/src/core/lib/compression/ |
D | stream_compression_gzip.cc | 52 grpc_slice slice_out = GRPC_SLICE_MALLOC(slice_size); in gzip_flate() local 54 ctx->zs.next_out = GRPC_SLICE_START_PTR(slice_out); in gzip_flate() 62 grpc_slice_unref_internal(slice_out); in gzip_flate() 93 grpc_slice_unref_internal(slice_out); in gzip_flate() 109 grpc_slice_unref_internal(slice_out); in gzip_flate() 117 grpc_slice_buffer_add(out, slice_out); in gzip_flate() 119 size_t len = GRPC_SLICE_LENGTH(slice_out); in gzip_flate() 120 GRPC_SLICE_SET_LENGTH(slice_out, len - ctx->zs.avail_out); in gzip_flate() 121 grpc_slice_buffer_add(out, slice_out); in gzip_flate() 123 grpc_slice_unref_internal(slice_out); in gzip_flate()
|
/third_party/grpc/test/core/surface/ |
D | byte_buffer_reader_test.cc | 201 grpc_slice slice_out; in test_readall() local 219 slice_out = grpc_byte_buffer_reader_readall(&reader); in test_readall() 221 GPR_ASSERT(GRPC_SLICE_LENGTH(slice_out) == 512 + 1024); in test_readall() 222 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(slice_out), lotsa_as, 512) == 0); in test_readall() 223 GPR_ASSERT(memcmp(&(GRPC_SLICE_START_PTR(slice_out)[512]), lotsa_bs, 1024) == in test_readall() 225 grpc_slice_unref(slice_out); in test_readall() 236 grpc_slice slice_out; in test_byte_buffer_copy() local 255 slice_out = grpc_byte_buffer_reader_readall(&reader); in test_byte_buffer_copy() 257 GPR_ASSERT(GRPC_SLICE_LENGTH(slice_out) == 512 + 1024); in test_byte_buffer_copy() 258 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(slice_out), lotsa_as, 512) == 0); in test_byte_buffer_copy() [all …]
|
/third_party/grpc/src/core/lib/slice/ |
D | percent_encoding.cc | 91 grpc_slice* slice_out) { in grpc_strict_percent_decode_slice() argument 111 *slice_out = grpc_slice_ref_internal(slice_in); in grpc_strict_percent_decode_slice() 115 *slice_out = GRPC_SLICE_MALLOC(out_length); in grpc_strict_percent_decode_slice() 116 uint8_t* q = GRPC_SLICE_START_PTR(*slice_out); in grpc_strict_percent_decode_slice() 125 GPR_ASSERT(q == GRPC_SLICE_END_PTR(*slice_out)); in grpc_strict_percent_decode_slice()
|
D | percent_encoding.h | 59 grpc_slice* slice_out);
|
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | frame_data.cc | 94 grpc_slice_buffer* slices, grpc_slice* slice_out, in grpc_deframe_unprocessed_incoming_frames() argument 211 GPR_ASSERT(slice_out != nullptr); in grpc_deframe_unprocessed_incoming_frames() 223 slice_out))) { in grpc_deframe_unprocessed_incoming_frames() 242 slice_out))) { in grpc_deframe_unprocessed_incoming_frames() 256 slice_out)) { in grpc_deframe_unprocessed_incoming_frames()
|
D | frame_data.h | 79 grpc_slice_buffer* slices, grpc_slice* slice_out,
|
D | internal.h | 246 grpc_error* Push(const grpc_slice& slice, grpc_slice* slice_out);
|
D | chttp2_transport.cc | 3070 grpc_slice* slice_out) { in Push() argument 3080 if (slice_out != nullptr) { in Push() 3081 *slice_out = slice; in Push()
|
/third_party/mindspore/mindspore/ops/_grad/ |
D | grad_array_ops.py | 354 slice_out = P.Slice()(dout, out_offset[i], input_shapes[i]) 355 dx = dx + [slice_out] 362 slice_out = P.Slice()(dout, out_offset[i], input_shapes[i]) 363 dx = dx + (slice_out,)
|