Home
last modified time | relevance | path

Searched refs:enum_from_int (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/tests/atf_python/sys/netpfil/ipfw/
H A Dinsns.py30 from atf_python.sys.netpfil.ipfw.utils import enum_from_int
77 self._enum = enum_from_int(self.obj_enum_class, self.obj_type)
108 enum_from_int(cls.obj_enum_class, data[0])
173 type_enum = enum_from_int(BaseInsn.obj_enum_class, hdr.opcode)
414 code = enum_from_int(IcmpRejectCode, self.arg1)
H A Dutils.py35 def enum_from_int(enum_class: Enum, val) -> Enum: function
H A Dioctl.py33 from atf_python.sys.netpfil.ipfw.utils import enum_from_int
63 self._enum = enum_from_int(self.obj_enum_class, obj_type)
402 self._enum = enum_from_int(self.messages, self.obj_type)
H A Dipfw.py29 from atf_python.sys.netpfil.ipfw.utils import enum_from_int
/freebsd-14.2/sbin/ipfw/tests/
H A Dtest_add_rule.py48 from atf_python.sys.netpfil.ipfw.utils import enum_from_int