Home
last modified time | relevance | path

Searched refs:to_native (Results 1 – 16 of 16) sorted by relevance

/external/crosvm/devices/src/virtio/gpu/
Dmod.rs263 let resource_id = info.resource_id.to_native(); in process_gpu_command()
267 format: info.format.to_native(), in process_gpu_command()
269 width: info.width.to_native(), in process_gpu_command()
270 height: info.height.to_native(), in process_gpu_command()
282 self.virtio_gpu.unref_resource(info.resource_id.to_native()) in process_gpu_command()
285 info.scanout_id.to_native(), in process_gpu_command()
286 info.resource_id.to_native(), in process_gpu_command()
290 self.virtio_gpu.flush_resource(info.resource_id.to_native()) in process_gpu_command()
293 let resource_id = info.resource_id.to_native(); in process_gpu_command()
295 info.r.x.to_native(), in process_gpu_command()
[all …]
Dprotocol.rs397 let debug_name = from_utf8(&self.debug_name[..min(64, self.nlen.to_native() as usize)]) in fmt()
/external/crosvm/disk/src/
Dandroid_sparse.rs117 let chunk = match chunk_header.chunk_type.to_native() { in parse_chunk()
121 chunk_header.total_sz.to_native() as i64 - chunk_hdr_size as i64, in parse_chunk()
132 let fill_size = chunk_header.total_sz.to_native() as u64 - chunk_hdr_size as u64; in parse_chunk()
148 let expanded_size = chunk_header.chunk_sz.to_native() as u64 * blk_sz; in parse_chunk()
165 sparse_header.magic.to_native() in from_file()
171 sparse_header.major_version.to_native(), in from_file()
173 } else if (sparse_header.chunk_hdr_size.to_native() as usize) in from_file()
178 sparse_header.chunk_hdr_size.to_native(), in from_file()
182 let header_size = sparse_header.chunk_hdr_size.to_native() as u64; in from_file()
183 let block_size = sparse_header.blk_sz.to_native() as u64; in from_file()
[all …]
/external/mtools/
DcharsetConv.c333 static iconv_t to_native = NULL; variable
339 if(to_native != NULL) in initialize_to_native()
348 to_native = iconv_open(cp, wcharCp); in initialize_to_native()
349 if(to_native == (iconv_t) -1) in initialize_to_native()
350 to_native = iconv_open(li, wcharCp); in initialize_to_native()
351 if(to_native == (iconv_t) -1) in initialize_to_native()
354 if(to_native == (iconv_t) -1) in initialize_to_native()
375 r=safe_iconv(to_native, wchar, native, len, out_len, &mangled); in wchar_to_native()
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dshm_vios.rs646 hda_fn_nid: info.hdr.hda_fn_nid.to_native(), in new()
647 features: info.features.to_native(), in new()
648 formats: info.formats.to_native(), in new()
649 rates: info.rates.to_native(), in new()
722 if status.code.to_native() == VIRTIO_SND_S_OK { in recv_cmd_status()
725 Err(Error::CommandFailed(status.code.to_native())) in recv_cmd_status()
/external/crosvm/data_model/src/
Dendian.rs55 pub fn to_native(self) -> $old_type {
91 self.to_native().serialize(serializer)
/external/crosvm/devices/src/virtio/
Dballoon.rs95 let val = Some(self.val.to_native()); in update_stats()
96 match self.tag.to_native() { in update_stats()
136 let guest_address = (u64::from(pfn.to_native())) << VIRTIO_BALLOON_PFN_SHIFT; in handle_address_chain()
458 .store(config.actual.to_native() as usize, Ordering::Relaxed); in write_config()
Dpmem.rs93 match request.type_.to_native() { in execute_request()
121 error!("unknown request type: {}", request.type_.to_native()); in execute_request()
Dblock.rs605 let req_type = req_header.req_type.to_native(); in execute_request()
606 let sector = req_header.sector.to_native(); in execute_request()
678 let sector = seg.sector.to_native(); in execute_request()
679 let num_sectors = seg.num_sectors.to_native(); in execute_request()
680 let flags = seg.flags.to_native(); in execute_request()
Dwl.rs1163 match send_vfd_id.kind.to_native() { in send()
1165 match self.vfds.get(&send_vfd_id.id().to_native()) { in send()
1173 send_vfd_id.id().to_native() in send()
1182 id: send_vfd_id.id().to_native(), in send()
1194 seqno: send_vfd_id.seqno().to_native(), in send()
1317 ctrl.vfd_count.to_native() as usize, in execute()
1330 ctrl.vfd_count.to_native() as usize, in execute()
Dblock_async.rs674 let req_type = req_header.req_type.to_native(); in execute_request()
675 let sector = req_header.sector.to_native(); in execute_request()
760 let sector = seg.sector.to_native(); in execute_request()
761 let num_sectors = seg.num_sectors.to_native(); in execute_request()
762 let flags = seg.flags.to_native(); in execute_request()
Dnet.rs294 || pairs.to_native() != self.vq_pairs in process_ctrl()
297 pairs.to_native(), self.vq_pairs); in process_ctrl()
/external/rust/crates/grpcio/src/security/
Dcredentials.rs84 pub(crate) fn to_native(self) -> grpc_ssl_client_certificate_request_type { in to_native() method
190 self.cer_request_type.to_native(), in build()
/external/rust/crates/grpcio/src/
Dserver.rs435 cer_request_type.to_native(), in bind_with_fetcher()
/external/libcxx/include/experimental/
Dsimd79 template <class T, size_t N> native_simd<T> to_native(const fixed_size_simd<T, N>&) noexcept;
81 native_simd_mask<T> to_native(const fixed_size_simd_mask<T, N>> &) noexcept;
1140 native_simd<_Tp> to_native(const fixed_size_simd<_Tp, _Np>&) noexcept;
1143 native_simd_mask<_Tp> to_native(const fixed_size_simd_mask<_Tp, _Np>&) noexcept;
/external/llvm-project/libcxx/include/experimental/
Dsimd78 template <class T, size_t N> native_simd<T> to_native(const fixed_size_simd<T, N>&) noexcept;
80 native_simd_mask<T> to_native(const fixed_size_simd_mask<T, N>> &) noexcept;
1142 native_simd<_Tp> to_native(const fixed_size_simd<_Tp, _Np>&) noexcept;
1145 native_simd_mask<_Tp> to_native(const fixed_size_simd_mask<_Tp, _Np>&) noexcept;