Searched refs:ident (Results 1 – 10 of 10) sorted by relevance
/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/src/ |
D | args.rs | 13 fn from(ident: &Ident) -> Result<Self> { in from() 14 match ident.to_string().as_str() { in from() 18 Err(Error::new_spanned(ident, msg)) in from() 41 for ident in Punctuated::<Ident, Token![,]>::parse_terminated(&content)? { in parse() 42 if !flags.insert(Flag::from(&ident)?) { in parse() 43 let msg = format!("Duplicated flag: {}", ident); in parse() 44 return Err(Error::new_spanned(ident, msg)); in parse()
|
D | item_type.rs | 13 ref ident, in process() 24 .flat_map(|t| generate_caster(ident, &t, flags.contains(&Flag::Sync))) in process()
|
D | item_impl.rs | 51 ident: assoc_ty.ident.to_owned(), in fully_bound_trait()
|
/DragonOS-0.1.9/kernel/crates/unified-init/src/ |
D | lib.rs | 38 ($name:ident) => { 52 ($name:ident) => { 66 ($initializer_slice:ident) => {
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | int_like.rs | 29 ($new_type_name:ident, $backing_type: ident) => { 55 …($new_type_name:ident, $new_atomic_type_name: ident, $backing_type:ident, $backing_atomic_type:ide…
|
D | volatile.rs | 149 ($nonnull:expr, $field:ident) => { 170 ($nonnull:expr, $field:ident, $value:expr) => {
|
D | elf.rs | 405 let ident = elf::file::parse_ident::<AnyEndian>(ident_buf)?; in parse_ehdr() localVariable 408 let tail_end = match ident.1 { in parse_ehdr() 414 let ehdr: FileHeader<_> = FileHeader::parse_tail(ident, tail_buf)?; in parse_ehdr()
|
/DragonOS-0.1.9/kernel/crates/unified-init/macros/src/ |
D | lib.rs | 62 generate_unified_initializer(&function, &target_slice, function.sig.ident.to_string())?; in do_unified_init() 98 if type_path.path.segments.last().unwrap().ident == "Result" { in check_function_signature() 131 if type_path.path.segments.last().unwrap().ident == "SystemError" { in check_function_signature() 174 let initializer_name_ident = syn::Ident::new(&initializer_name, function.sig.ident.span()); in generate_unified_initializer() 176 let function_ident = &function.sig.ident; in generate_unified_initializer() 203 let ident = input.parse::<syn::Ident>()?; in parse() localVariable 206 let initializer = syn::Path::from(ident); in parse()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/vmx/ |
D | seg.rs | 44 ($struct_name: ident) => {
|
/DragonOS-0.1.9/kernel/src/driver/acpi/ |
D | sysfs.rs | 271 ($name:ident) => { in read() 289 ($name: ident, $tables: expr) => { in read()
|