Home
last modified time | relevance | path

Searched refs:ident (Results 1 – 10 of 10) sorted by relevance

/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/src/
Dargs.rs13 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()
Ditem_type.rs13 ref ident, in process()
24 .flat_map(|t| generate_caster(ident, &t, flags.contains(&Flag::Sync))) in process()
Ditem_impl.rs51 ident: assoc_ty.ident.to_owned(), in fully_bound_trait()
/DragonOS-0.1.9/kernel/crates/unified-init/src/
Dlib.rs38 ($name:ident) => {
52 ($name:ident) => {
66 ($initializer_slice:ident) => {
/DragonOS-0.1.9/kernel/src/libs/
Dint_like.rs29 ($new_type_name:ident, $backing_type: ident) => {
55 …($new_type_name:ident, $new_atomic_type_name: ident, $backing_type:ident, $backing_atomic_type:ide…
Dvolatile.rs149 ($nonnull:expr, $field:ident) => {
170 ($nonnull:expr, $field:ident, $value:expr) => {
Delf.rs405 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/
Dlib.rs62 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/
Dseg.rs44 ($struct_name: ident) => {
/DragonOS-0.1.9/kernel/src/driver/acpi/
Dsysfs.rs271 ($name:ident) => { in read()
289 ($name: ident, $tables: expr) => { in read()