Home
last modified time | relevance | path

Searched refs:enum_or_int (Results 1 – 10 of 10) sorted by path

/freebsd/tests/atf_python/sys/netlink/
H A Dattrs.py6 from atf_python.sys.netlink.utils import enum_or_int
85 nla_type_raw = enum_or_int(nla_type)
115 self.u32 = enum_or_int(val)
142 self.s32 = enum_or_int(val)
169 self.u16 = enum_or_int(val)
196 self.u8 = enum_or_int(val)
H A Dmessage.py18 from atf_python.sys.netlink.utils import enum_or_int
37 self.nlmsg_type = enum_or_int(nlmsg_type)
54 int_flags |= enum_or_int(flag)
61 nla_type_raw = enum_or_int(nla_type)
77 nlmsg_type_raw = enum_or_int(nlmsg_type)
H A Dnetlink.py32 from atf_python.sys.netlink.utils import enum_or_int
249 xmap[family_id][enum_or_int(msg_props.msg)] = cls
H A Dnetlink_generic.py23 from atf_python.sys.netlink.utils import enum_or_int
34 self.base_hdr = GenlMsgHdr(cmd=enum_or_int(cmd))
H A Dutils.py27 def enum_or_int(val) -> int: function
/freebsd/tests/atf_python/sys/netpfil/ipfw/
H A Dinsns.py29 from atf_python.sys.netpfil.ipfw.utils import enum_or_int
200 insn = IpFwInsn(opcode=self.obj_type, length=length, arg1=enum_or_int(self.arg1))
H A Dioctl.py411 obj_type_raw = enum_or_int(obj_type)
436 return enum_or_int(msg_type) == self.msg_type
H A Dipfw.py30 from atf_python.sys.netpfil.ipfw.utils import enum_or_int
64 debug_type = enum_or_int(debug_type)
69 xmap[debug_type][enum_or_int(msg)] = handler_class
H A Dutils.py29 def enum_or_int(val) -> int: function
/freebsd/tests/sys/netlink/
H A Dtest_rtnl_ifaddr.py28 from atf_python.sys.netlink.utils import enum_or_int
416 nl_flags |= enum_or_int(d.get("nl", 0))
417 f_flags |= enum_or_int(d.get("f", 0))