Searched refs:c_str (Results 1 – 18 of 18) sorted by relevance
| /linux/samples/rust/ |
| H A D | rust_driver_platform.rs | |
| H A D | rust_debugfs.rs | |
| H A D | rust_debugfs_scoped.rs | |
| H A D | rust_driver_i2c.rs | |
| H A D | rust_i2c_client.rs | |
| H A D | rust_driver_faux.rs | |
| H A D | rust_driver_auxiliary.rs | |
| /linux/rust/kernel/ |
| H A D | seq_file.rs | |
| H A D | sync.rs | 157 $crate::c_str!(::core::concat!(::core::file!(), ":", ::core::line!())) 160 $crate::c_str!($name)
|
| H A D | str.rs | 192 pub const fn as_char_ptr_in_const_context(c_str: &CStr) -> *const c_char { in as_char_ptr_in_const_context() 193 c_str.as_ptr().cast() in as_char_ptr_in_const_context() 391 macro_rules! c_str { macro
|
| H A D | bug.rs | 83 $crate::c_str!(::core::file!()).as_char_ptr(),
|
| H A D | kunit.rs | 70 static CONDITION: &'static $crate::str::CStr = $crate::c_str!(stringify!($condition));
|
| H A D | configfs.rs | 1003 $crate::c_str!(::core::stringify!($name)),
|
| /linux/rust/kernel/io/ |
| H A D | mem.rs | |
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_cpp.cpp | 92 fprintf(stderr, "Unexpected program name: %s\n", prog_name.c_str()); in try_skeleton_template()
|
| /linux/rust/kernel/drm/ |
| H A D | ioctl.rs | 160 $crate::c_str!(::core::stringify!($cmd)),
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_auth.c | 41 char *c_str, in chap_gen_challenge() argument 63 *c_len += sprintf(c_str + *c_len, "CHAP_C=0x%s", challenge_asciihex); in chap_gen_challenge()
|
| /linux/rust/kernel/sync/lock/ |
| H A D | global.rs | 275 const NAME: &'static $crate::str::CStr = $crate::c_str!(::core::stringify!($name));
|