/external/rust/crates/grpcio-sys/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()
|
/external/grpc-grpc/src/core/lib/surface/ |
D | byte_buffer_reader.cc | 121 const size_t slice_length = GRPC_SLICE_LENGTH(in_slice); in grpc_byte_buffer_reader_readall() local 122 memcpy(&(outbuf[bytes_read]), GRPC_SLICE_START_PTR(in_slice), slice_length); in grpc_byte_buffer_reader_readall() 123 bytes_read += slice_length; in grpc_byte_buffer_reader_readall()
|
/external/rust/crates/grpcio-sys/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()
|
/external/grpc-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()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | load_and_remap_matrix_op.cc | 177 const int64 slice_length = in Compute() local 183 slice.set_length(0, slice_length); in Compute() 185 row_start += slice_length; in Compute()
|
/external/rust/crates/grpcio-sys/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()
|
/external/grpc-grpc/src/core/tsi/ |
D | fake_transport_security.cc | 134 size_t slice_length = GRPC_SLICE_LENGTH(sb->slices[i]); in read_frame_size() local 135 if (remaining <= slice_length) { in read_frame_size() 140 memcpy(buf, GRPC_SLICE_START_PTR(sb->slices[i]), slice_length); in read_frame_size() 141 buf += slice_length; in read_frame_size() 142 remaining -= slice_length; in read_frame_size()
|
/external/rust/crates/grpcio-sys/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()
|
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_grpc_record_protocol_test.cc | 59 size_t slice_length = gsec_test_bias_random_uint32(kMaxSliceLength) + 1; in create_random_slice_buffer() local 60 grpc_slice slice = GRPC_SLICE_MALLOC(slice_length); in create_random_slice_buffer() 61 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()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | tcp_posix.cc | 862 size_t slice_length; in tcp_flush() local 865 slice_length = in tcp_flush() 867 if (slice_length > trailing) { in tcp_flush() 868 tcp->outgoing_byte_idx = slice_length - trailing; in tcp_flush() 871 trailing -= slice_length; in tcp_flush()
|
/external/grpc-grpc/test/core/tsi/alts/crypt/ |
D | aes_gcm_test.cc | 57 size_t slice_length = in gsec_randomly_slice() local 59 struct iovec slice = {input, slice_length}; in gsec_randomly_slice() 61 input += slice_length; in gsec_randomly_slice() 62 input_length -= slice_length; in gsec_randomly_slice()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 980 Py_ssize_t length, from, to, step, slice_length; in DeleteRepeatedField() local 987 from = to = step = slice_length = 0; in DeleteRepeatedField() 991 length, &from, &to, &step, &slice_length); in DeleteRepeatedField() 995 length, &from, &to, &step, &slice_length); in DeleteRepeatedField()
|