Lines Matching defs:str
36 module: &'a str,
43 fn new(module: &'a str) -> Self {
52 fn emit_base(&mut self, field: &str, content: &str, builtin: bool, param: bool) {
94 fn emit_only_builtin(&mut self, field: &str, content: &str, param: bool) {
98 fn emit_only_loadable(&mut self, field: &str, content: &str, param: bool) {
102 fn emit(&mut self, field: &str, content: &str) {
106 fn emit_internal(&mut self, field: &str, content: &str, param: bool) {
111 fn emit_param(&mut self, field: &str, param: &str, content: &str) {
157 name: kernel::str::as_char_ptr_in_const_context(
188 fn param_ops_path(param_type: &str) -> Path {
239 const EXPECTED_KEYS: &[&str] = &[$(stringify!($key),)*];
240 const REQUIRED_KEYS: &[&str] = &[$(stringify!($req_key),)*];
279 let mut ordered_keys: Vec<&str> = Vec::new();
526 const NAME: &'static ::kernel::str::CStr = #name_cstr;