Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/doh/
Dffi.rs24 use libc::{c_char, int32_t, size_t, ssize_t, uint32_t, uint64_t};
41 ip_addr: *const c_char, constant
42 host: *const c_char, constant
196 url: *const c_char, in doh_net_new() argument
197 domain: *const c_char, in doh_net_new() argument
198 ip_addr: *const c_char, in doh_net_new() argument
200 cert_path: *const c_char, in doh_net_new() argument
363 ip_addr: *const c_char, in success_cb() argument
364 host: *const c_char, in success_cb() argument
376 ip_addr: *const c_char, in fail_cb() argument
[all …]
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dffi.rs21 use libc::c_char;
36 addr: *const c_char, in frontend_new() argument
37 port: *const c_char, in frontend_new() argument
38 backend_addr: *const c_char, in frontend_new() argument
39 backend_port: *const c_char, in frontend_new() argument
104 certificate: *const c_char, in frontend_set_certificate() argument
122 private_key: *const c_char, in frontend_set_private_key() argument
/packages/modules/Virtualization/vmbase/src/
Dbionic.rs21 use core::ffi::c_char;
116 unsafe extern "C" fn async_safe_fatal_va_list(prefix: *const c_char, format: *const c_char) { in async_safe_fatal_va_list() argument
151 extern "C" fn fputs(c_str: *const c_char, stream: usize) -> c_int { in fputs() argument
180 extern "C" fn strerror(n: c_int) -> *mut c_char { in strerror() argument
185 extern "C" fn perror(s: *const c_char) { in perror() argument
/packages/modules/Virtualization/compos/composd/native/
Dlib.rs21 use libc::c_char;
30 fn PaletteCreateOdrefreshStagingDirectory(out_staging_dir: *mut *const c_char) -> i32; in PaletteCreateOdrefreshStagingDirectory()
37 let mut staging_dir: *const c_char = null(); in palette_create_odrefresh_staging_directory() constant
/packages/modules/Virtualization/virtualizationservice/vmnic/src/
Daidl.rs20 use libc::{c_char, c_int, c_short, ifreq, IFF_NO_PI, IFF_TAP, IFF_UP, IFF_VNET_HDR, IFNAMSIZ};
40 fn validate_ifname(ifname: &[c_char]) -> Result<()> { in validate_ifname()
47 fn create_tap_interface(fd: RawFd, sockfd: c_int, ifname: &[c_char]) -> Result<()> { in create_tap_interface()
103 unsafe { from_raw_parts(ifname_bytes.as_ptr().cast::<c_char>(), ifname_bytes.len()) }; in createTapInterface()
/packages/modules/Virtualization/virtualizationmanager/src/
Dselinux.rs23 use std::os::raw::c_char;
35 Raw(*mut ::std::os::raw::c_char),
106 let mut con: *mut c_char = ptr::null_mut(); in getfilecon()
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Duinput.rs33 const UINPUT_IOCTL_BASE: libc::c_char = 'U' as libc::c_char;
47 nix::request_code_write!(UINPUT_IOCTL_BASE, 108, mem::size_of::<libc::c_char>());
84 name: [libc::c_char; UINPUT_MAX_NAME_SIZE],
166 self.device.name[i] = ch as libc::c_char; in init()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dsyslog.rs10 use std::os::raw::c_char;
28 fn SetLogLevelForTag(tag: *const c_char, level: u8); in SetLogLevelForTag() argument
Dutils.rs5 use std::os::raw::c_char;
87 impl<'a> From<&'a CString> for LTCheckedPtr<'a, c_char> {
Dbtif.rs16 use std::os::raw::c_char;
711 &(sr.name.as_bytes().iter().map(|x| *x as c_char).collect::<Vec<c_char>>()) in get_data_ptr()
924 fn GetFlagsPtr(self: &InitFlags) -> *mut *const c_char; in GetFlagsPtr() argument
1186 extern "C" fn wake_lock_noop(_0: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int { in wake_lock_noop()
1469 ccall!(self, get_profile_interface, cprofile_ptr.cast_into::<std::os::raw::c_char>()) in get_profile_interface()
/packages/modules/Virtualization/vm_payload/src/
Dlib.rs33 use std::os::raw::{c_char, c_void};
376 pub extern "C" fn AVmAttestationStatus_toString(status: AVmAttestationStatus) -> *const c_char { in AVmAttestationStatus_toString() argument
558 pub extern "C" fn AVmPayload_getApkContentsPath() -> *const c_char { in AVmPayload_getApkContentsPath()
564 pub extern "C" fn AVmPayload_getEncryptedStoragePath() -> *const c_char { in AVmPayload_getEncryptedStoragePath()
/packages/modules/Virtualization/libs/bssl/src/
Derr.rs23 use core::ffi::{c_char, CStr};
94 unsafe fn cstr_to_string(p: *const c_char, default: &str) -> String { in cstr_to_string() argument
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhid_host.rs423 report_ptr.cast_into::<std::os::raw::c_char>() in set_report()
443 data_ptr.cast_into::<std::os::raw::c_char>() in send_data()
Dsdp.rs4 use std::os::raw::c_char;
335 service_name: srv_name_ptr.cast_into::<c_char>(), in convert_header()
Dvc.rs71 descr: *const c_char, in set_ext_audio_out_description() argument
/packages/modules/Bluetooth/tools/rootcanal/py/
Dcontroller.py61 rpa_type = c_char * 6