Searched refs:type_id (Results 1 – 9 of 9) sorted by relevance
/DragonOS/kernel/crates/intertrait/src/cast/ |
H A D | cast_ref.rs | 68 let caster = caster::<T>(any.type_id())?; in cast() 75 CASTER_MAP.contains_key(&(self.type_id(), TypeId::of::<Caster<T>>())) in impls() 82 caster_map().contains_key(&(self.type_id(), TypeId::of::<Caster<T>>())) in impls()
|
H A D | cast_mut.rs | 38 let caster = caster::<T>((*any).type_id())?; in cast()
|
H A D | cast_arc.rs | 40 match caster::<T>((*self).type_id()) { in cast()
|
H A D | cast_box.rs | 39 match caster::<T>((*self).type_id()) { in cast()
|
H A D | cast_rc.rs | 39 match caster::<T>((*self).type_id()) { in cast()
|
/DragonOS/kernel/crates/intertrait/src/ |
H A D | lib.rs | 109 let (type_id, caster) = f(); 110 ((type_id, (*caster).type_id()), caster) 155 let (type_id, caster) = f(); in init_caster_map() 156 ((type_id, (*caster).type_id()), caster) in init_caster_map() 239 fn caster<T: ?Sized + 'static>(type_id: TypeId) -> Option<&'static Caster<T>> { in caster() 243 .get(&(type_id, TypeId::of::<Caster<T>>())) in caster() 250 .get(&(type_id, TypeId::of::<Caster<T>>())) in caster() 387 let type_id = TypeId::of::<TestStruct>(); in create_test_caster() localVariable 395 (type_id, caster) in create_test_caster()
|
/DragonOS/kernel/src/exception/ |
H A D | irqchip.rs | 465 if handler.type_id() == bad_irq_handler().type_id() in __irq_do_set_handler() 485 if handler.type_id() != bad_irq_handler().type_id() && is_chained { in __irq_do_set_handler()
|
H A D | manage.rs | 417 h.type_id() == (&DefaultPrimaryIrqHandler as &dyn IrqHandler).type_id() in inner_setup_irq()
|
/DragonOS/kernel/src/include/bindings/ |
H A D | linux_bpf.rs | 1280 pub type_id: __u32, field
|