Searched refs:c_string_to_string (Results 1 – 5 of 5) sorted by relevance
5 use mesa_rust_util::string::c_string_to_string;116 let driver_name = unsafe { c_string_to_string(dev.ldev.as_ref().driver_name) }; in load_screens()
5 pub fn c_string_to_string(cstr: *const c_char) -> String { in c_string_to_string() function
325 res &= p.build(dev, c_string_to_string(options)); in build_program()407 res &= p.compile(dev, c_string_to_string(options), &headers); in compile_program()468 let res = Program::link(c, &devs, &progs, c_string_to_string(options)); in link_program()
267 let name = c_string_to_string(kernel_name); in create_kernel()
60 msgs.push(c_string_to_string(msg)); in callback_impl()239 .find(|i| c_string_to_string(i.name) == name) in kernel_info()246 .map(c_string_to_string) in kernels()