Searched refs:c_str (Results 1 – 13 of 13) sorted by relevance
| /linux/samples/rust/ |
| H A D | rust_driver_i2c.rs | |
| H A D | rust_i2c_client.rs | |
| /linux/tools/perf/util/ |
| H A D | llvm-c-helpers.cpp | 63 *file = strdup(line_info.FileName.c_str()); in extract_file_and_line() 112 dst.filename = strdup(src.FileName.c_str()); in llvm_addr2line() 113 dst.funcname = strdup(src.FunctionName.c_str()); in llvm_addr2line() 176 dso, res_or_err->FunctionName.c_str(), in llvm_name_for_code() 194 dso, res_or_err->Name.c_str(), in llvm_name_for_data()
|
| /linux/rust/kernel/ |
| H A D | sync.rs | 157 $crate::c_str!(::core::concat!(::core::file!(), ":", ::core::line!())) 160 $crate::c_str!($name)
|
| H A D | workqueue.rs | 215 $crate::c_str!(::core::concat!( 226 $crate::c_str!($name), 228 $crate::c_str!(::core::concat!($name, "_timer")),
|
| 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/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));
|