Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dprint.rs10 ffi::{c_char, c_void},
20 buf: *mut c_char, in rust_fmt_argument() argument
21 end: *mut c_char, in rust_fmt_argument() argument
23 ) -> *mut c_char { in rust_fmt_argument() argument
H A Dstr.rs192 pub const fn as_char_ptr_in_const_context(c_str: &CStr) -> *const c_char { in as_char_ptr_in_const_context() argument
213 unsafe fn from_char_ptr<'a>(ptr: *const c_char) -> &'a Self; in from_char_ptr()
227 fn as_char_ptr(&self) -> *const c_char; in as_char_ptr() argument
322 unsafe fn from_char_ptr<'a>(ptr: *const c_char) -> &'a Self { in from_char_ptr()
337 fn as_char_ptr(&self) -> *const c_char { in as_char_ptr() argument
H A Duaccess.rs11 ffi::{c_char, c_void},
577 dst.as_mut_ptr().cast::<c_char>(), in raw_strncpy_from_user()
578 src.as_const_ptr().cast::<c_char>(), in raw_strncpy_from_user()
H A Dprelude.rs21 c_char, c_int, c_long, c_longlong, c_schar, c_short, c_uchar, c_uint, c_ulong, c_ulonglong,
H A Dconfigfs.rs346 name: *const kernel::ffi::c_char, in make_group() argument
552 page: *mut kernel::ffi::c_char, in show() argument
585 page: *const kernel::ffi::c_char, in store() argument
H A Dmodule_param.rs58 unsafe extern "C" fn set_param<T>(val: *const c_char, param: *const bindings::kernel_param) -> c_int in set_param() argument
H A Dfirmware.rs24 *const ffi::c_char,
H A Dopp.rs16 ffi::{c_char, c_ulong},
91 fn to_c_str_array(names: &[CString]) -> Result<KVec<*const c_char>> { in to_c_str_array() argument
H A Dcpufreq.rs18 ffi::{c_char, c_ulong},
1018 const fn copy_name(name: &'static CStr) -> [c_char; CPUFREQ_NAME_LEN] { in copy_name()
H A Ddevice.rs464 klevel.as_ptr().cast::<crate::ffi::c_char>(), in printk()
/linux/rust/kernel/debugfs/
H A Dfile_ops.rs140 fn read<T: Reader + Sync>(data: &T, buf: *const c_char, count: usize) -> isize { in read() argument
158 buf: *const c_char, in write() argument
218 buf: *const c_char, in write_only_write() argument
252 buf: *mut c_char, in blob_read() argument
307 buf: *const c_char, in blob_write() argument
/linux/rust/
H A Dffi.rs28 c_char = u8;
/linux/tools/perf/scripts/python/
H A Dlibxed.py19 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong
H A Dexported-sql-viewer.py136 c_void_p, c_bool, c_byte, c_char, c_int, c_uint, c_longlong, c_ulonglong
2667 self.buffer = Array(c_char, self.buffer_size, lock=False)
/linux/rust/kernel/sync/
H A Dlock.rs55 name: *const crate::ffi::c_char, in init() argument
/linux/drivers/android/binder/
H A Drust_binder_main.rs331 name: *const kernel::ffi::c_char, in rust_binder_new_context() argument
/linux/Documentation/rust/
H A Dcoding-guidelines.rst293 fn f(p: *const c_char) -> c_int {