Home
last modified time | relevance | path

Searched refs:type_id (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/crates/intertrait/src/cast/
H A Dcast_ref.rs68 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 Dcast_mut.rs38 let caster = caster::<T>((*any).type_id())?; in cast()
H A Dcast_arc.rs40 match caster::<T>((*self).type_id()) { in cast()
H A Dcast_box.rs39 match caster::<T>((*self).type_id()) { in cast()
H A Dcast_rc.rs39 match caster::<T>((*self).type_id()) { in cast()
/DragonOS/kernel/crates/intertrait/src/
H A Dlib.rs109 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 Dirqchip.rs465 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 Dmanage.rs417 h.type_id() == (&DefaultPrimaryIrqHandler as &dyn IrqHandler).type_id() in inner_setup_irq()
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs1280 pub type_id: __u32, field