Searched refs:c_string_to_string (Results 1 – 6 of 6) sorted by relevance
5 use mesa_rust_util::string::c_string_to_string;29 c_string_to_string(unsafe { self.ldev.as_ref() }.driver_name) in driver_name()101 let driver_name = unsafe { c_string_to_string(dev.ldev.as_ref().driver_name) }; in load_screens()
309 unsafe { c_string_to_string(self.screen().get_name.unwrap()(self.screen.as_ptr())) } in name()336 c_string_to_string(self.screen().get_device_vendor.unwrap()( in device_vendor()
58 msgs.push(c_string_to_string(msg)); in callback_impl()235 .find(|i| c_string_to_string(i.name) == name) in kernel_info()242 .map(c_string_to_string) in kernels()292 name: c_string_to_string(a.name), in args()293 type_name: c_string_to_string(a.type_name), in args()
5 pub fn c_string_to_string(cstr: *const c_char) -> String { in c_string_to_string() function
300 res &= p.build(dev, c_string_to_string(options)); in build_program()382 res &= p.compile(dev, c_string_to_string(options), &headers); in compile_program()443 let res = Program::link(c, &devs, &progs, c_string_to_string(options)); in link_program()
245 let name = c_string_to_string(kernel_name); in create_kernel()