Searched refs:cstr_cow_from_bytes (Results 1 – 3 of 3) sorted by relevance
12 use util::{ensure_compatible_types, cstr_cow_from_bytes};171 Some(ref f) => Some(cstr_cow_from_bytes(f.as_ref().as_bytes())?), in open()194 let symbol = cstr_cow_from_bytes(symbol)?; in get_impl()
10 pub(crate) fn cstr_cow_from_bytes(slice: &[u8]) -> Result<Cow<'_, CStr>, Error> { in cstr_cow_from_bytes() function
54 use util::{ensure_compatible_types, cstr_cow_from_bytes};223 let symbol = cstr_cow_from_bytes(symbol)?; in get()