Home
last modified time | relevance | path

Searched defs:checked_cstr (Results 1 – 1 of 1) sorted by relevance

/linux/rust/kernel/
H A Dstr.rs546 let checked_cstr = CStr::from_bytes_with_nul(good_bytes).unwrap(); test_cstr_to_str() localVariable
555 let checked_cstr = CStr::from_bytes_with_nul(bad_bytes).unwrap(); test_cstr_to_str_panic() localVariable
562 let checked_cstr = CStr::from_bytes_with_nul(good_bytes).unwrap(); test_cstr_as_str_unchecked() localVariable