/third_party/grpc/src/core/lib/surface/ |
D | byte_buffer_reader.cc | 93 const size_t slice_length = GRPC_SLICE_LENGTH(in_slice); in grpc_byte_buffer_reader_readall() local 94 memcpy(&(outbuf[bytes_read]), GRPC_SLICE_START_PTR(in_slice), slice_length); in grpc_byte_buffer_reader_readall() 95 bytes_read += slice_length; in grpc_byte_buffer_reader_readall()
|
/third_party/grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_zero_copy_grpc_protector.cc | 77 size_t slice_length = GRPC_SLICE_LENGTH(sb->slices[i]); in read_frame_size() local 78 if (remaining <= slice_length) { in read_frame_size() 83 memcpy(buf, GRPC_SLICE_START_PTR(sb->slices[i]), slice_length); in read_frame_size() 84 buf += slice_length; in read_frame_size() 85 remaining -= slice_length; in read_frame_size()
|
D | alts_grpc_record_protocol_common.cc | 64 size_t slice_length = GRPC_SLICE_LENGTH(src->slices[i]); in alts_grpc_record_protocol_copy_slice_buffer() local 65 memcpy(dst, GRPC_SLICE_START_PTR(src->slices[i]), slice_length); in alts_grpc_record_protocol_copy_slice_buffer() 66 dst += slice_length; in alts_grpc_record_protocol_copy_slice_buffer()
|
/third_party/grpc/src/core/tsi/ |
D | fake_transport_security.cc | 130 size_t slice_length = GRPC_SLICE_LENGTH(sb->slices[i]); in read_frame_size() local 131 if (remaining <= slice_length) { in read_frame_size() 136 memcpy(buf, GRPC_SLICE_START_PTR(sb->slices[i]), slice_length); in read_frame_size() 137 buf += slice_length; in read_frame_size() 138 remaining -= slice_length; in read_frame_size()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | tcp_posix.cc | 1312 size_t slice_length; in UpdateOffsetForBytesSent() local 1314 slice_length = GRPC_SLICE_LENGTH(buf_.slices[out_offset_.slice_idx]); in UpdateOffsetForBytesSent() 1315 if (slice_length > trailing) { in UpdateOffsetForBytesSent() 1316 out_offset_.byte_idx = slice_length - trailing; in UpdateOffsetForBytesSent() 1319 trailing -= slice_length; in UpdateOffsetForBytesSent() 1499 size_t slice_length; in tcp_flush() local 1502 slice_length = in tcp_flush() 1504 if (slice_length > trailing) { in tcp_flush() 1505 tcp->outgoing_byte_idx = slice_length - trailing; in tcp_flush() 1508 trailing -= slice_length; in tcp_flush()
|
/third_party/grpc/test/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_grpc_record_protocol_test.cc | 60 size_t slice_length = gsec_test_bias_random_uint32(kMaxSliceLength) + 1; in create_random_slice_buffer() local 61 grpc_slice slice = GRPC_SLICE_MALLOC(slice_length); in create_random_slice_buffer() 62 gsec_test_random_bytes(GRPC_SLICE_START_PTR(slice), slice_length); in create_random_slice_buffer()
|
D | alts_iovec_record_protocol_test.cc | 68 size_t slice_length = in randomly_slice() local 70 iovec_t slice = {input, slice_length}; in randomly_slice() 72 input += slice_length; in randomly_slice() 73 input_length -= slice_length; in randomly_slice()
|
/third_party/ffmpeg/libavcodec/ |
D | svq3.c | 1029 int slice_bits, slice_bytes, slice_length; in svq3_decode_slice_header() local 1032 slice_length = show_bits(&s->gb, 8 * length); in svq3_decode_slice_header() 1033 slice_bits = slice_length * 8; in svq3_decode_slice_header() 1034 slice_bytes = slice_length + length - 1; in svq3_decode_slice_header() 1055 memmove(s->slice_buf, &s->slice_buf[slice_length], length - 1); in svq3_decode_slice_header()
|
/third_party/grpc/test/core/tsi/alts/crypt/ |
D | aes_gcm_test.cc | 58 size_t slice_length = in gsec_randomly_slice() local 60 struct iovec slice = {input, slice_length}; in gsec_randomly_slice() 62 input += slice_length; in gsec_randomly_slice() 63 input_length -= slice_length; in gsec_randomly_slice()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 1006 Py_ssize_t length, from, to, step, slice_length; in DeleteRepeatedField() local 1013 from = to = step = slice_length = 0; in DeleteRepeatedField() 1017 length, &from, &to, &step, &slice_length); in DeleteRepeatedField() 1021 length, &from, &to, &step, &slice_length); in DeleteRepeatedField()
|