Home
last modified time | relevance | path

Searched refs:out_slice (Results 1 – 10 of 10) sorted by relevance

/external/crosvm/sys_util/src/
Dstruct_util.rs26 let out_slice = std::slice::from_raw_parts_mut(out as *mut T as *mut u8, size_of::<T>()); in read_struct() localVariable
27 f.read_exact(out_slice).map_err(|_| Error::ReadStruct)?; in read_struct()
46 let out_slice = in read_struct_slice() localVariable
48 f.read_exact(out_slice).map_err(|_| Error::ReadStruct)?; in read_struct_slice()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dbyte_buffer_reader.cc88 grpc_slice out_slice = GRPC_SLICE_MALLOC(input_size); in grpc_byte_buffer_reader_readall() local
89 uint8_t* const outbuf = GRPC_SLICE_START_PTR(out_slice); /* just an alias */ in grpc_byte_buffer_reader_readall()
100 return out_slice; in grpc_byte_buffer_reader_readall()
/external/grpc-grpc/src/core/lib/surface/
Dbyte_buffer_reader.cc116 grpc_slice out_slice = GRPC_SLICE_MALLOC(input_size); in grpc_byte_buffer_reader_readall() local
117 uint8_t* const outbuf = GRPC_SLICE_START_PTR(out_slice); /* just an alias */ in grpc_byte_buffer_reader_readall()
128 return out_slice; in grpc_byte_buffer_reader_readall()
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Dpooling.cc212 TensorSlicer out_slice(data.mli_out, height_dimension, out_slice_height); in EvalMli() local
218 mli_tensor* out_ptr = out_is_local ? out_slice.Sub() : &out_local; in EvalMli()
220 while (!out_slice.Done()) { in EvalMli()
229 mli_mov_tensor_sync(out_ptr, &copy_config, out_slice.Sub()); in EvalMli()
232 out_slice.Next(); in EvalMli()
Dfully_connected.cc230 ops::micro::TensorSlicer out_slice(out_ch_slice.Sub(), out_tensor_dimension, in EvalMliQuantizedInt8() local
236 mli_tensor* out_ptr = out_is_local ? out_slice.Sub() : &out_local; in EvalMliQuantizedInt8()
238 while (!out_slice.Done()) { in EvalMliQuantizedInt8()
245 mli_mov_tensor_sync(out_ptr, &copy_config, out_slice.Sub()); in EvalMliQuantizedInt8()
248 out_slice.Next(); in EvalMliQuantizedInt8()
Ddepthwise_conv.cc411 ops::micro::TensorSlicer out_slice(out_ch_slice.Sub(), heightDimension, in EvalMliQuantizedPerChannel() local
417 mli_tensor* out_ptr = out_is_local ? out_slice.Sub() : &out_local; in EvalMliQuantizedPerChannel()
419 while (!out_slice.Done()) { in EvalMliQuantizedPerChannel()
433 mli_mov_tensor_sync(out_ptr, &copy_config, out_slice.Sub()); in EvalMliQuantizedPerChannel()
436 out_slice.Next(); in EvalMliQuantizedPerChannel()
Dconv.cc402 ops::micro::TensorSlicer out_slice(out_ch_slice.Sub(), height_dimension, in EvalMliQuantizedPerChannel() local
408 mli_tensor* out_ptr = out_is_local ? out_slice.Sub() : &out_local; in EvalMliQuantizedPerChannel()
410 while (!out_slice.Done()) { in EvalMliQuantizedPerChannel()
424 mli_mov_tensor_sync(out_ptr, &copy_config, out_slice.Sub()); in EvalMliQuantizedPerChannel()
427 out_slice.Next(); in EvalMliQuantizedPerChannel()
/external/tensorflow/tensorflow/core/kernels/
Dunary_ops_composition.cc122 OutputBuffer out_slice(out_flat.data() + begin, len); in Compute() local
124 fns_[0](in_slice, &out_slice); in Compute()
126 fns_[i](scratch_slice, &out_slice); in Compute()
Dsegment_reduction_ops_impl.h178 OutT out_slice(out_slice_ptr, out_slice_shape); in Compute()
188 out_slice = in_slice; in Compute()
197 out_slice = in_slice.reduce(dims_to_reduce, Reducer()); in Compute()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc1085 TF_ASSIGN_OR_RETURN(const BufferAllocation::Slice out_slice, in HandleAllReduceSingleReplica()
1091 operand_ptrs.push_back(EmitBufferPointer(out_slice, operand_shape)); in HandleAllReduceSingleReplica()
1147 TF_ASSIGN_OR_RETURN(const BufferAllocation::Slice out_slice, in HandleAllReduceMultipleReplica()
1152 output_buffer_ptrs.push_back(EmitBufferPointer(out_slice, operand_shape)); in HandleAllReduceMultipleReplica()
1226 TF_ASSIGN_OR_RETURN(const BufferAllocation::Slice out_slice, in HandleAllToAll()
1231 output_buffer_ptrs.push_back(EmitBufferPointer(out_slice, operand_shape)); in HandleAllToAll()
1233 CHECK(buffer_size == -1 || buffer_size == out_slice.size()); in HandleAllToAll()
1234 buffer_size = out_slice.size(); in HandleAllToAll()