Home
last modified time | relevance | path

Searched refs:args (Results 1 – 11 of 11) sorted by relevance

/kernel/configs/tools/
Dkconfig_xml_fixup.py26 def fixup(args): argument
27 with open(args.input) as source_f:
39 if args.output_version:
40 with open(args.output_version, "w+") as version_f:
43 if args.output_matrix:
44 with open(args.output_matrix, "w+") as dest_f:
68 args = parser.parse_args() variable
70 fixup(args)
Dbump.py28 def check_call(*args, **kwargs): argument
29 print(args[0])
30 subprocess.check_call(*args, **kwargs)
/kernel/tests/net/test/
Dsock_diag.py217 args = []
244 args.append(arg)
250 assert len(args) == len(instructions) == len(positions) - 2
258 instruction = InetDiagBcOp((op, yes, no)).Pack() + args[i]
Dnet_test.py432 def RunIptablesCommand(version, args): argument
436 [iptables_path, "-w"] + args.split(" "))
489 def assertRaisesErrno(self, err_num, f=None, *args): argument
509 f(*args)
Dneighbour_test.py131 for msg, args in self.iproute.DumpNeighbours(version, ifindex):
132 if args["NDA_DST"] == addr:
133 return msg, args
Dtun_twister.py95 def __exit__(self, *args): argument
Dmultinetwork_base.py343 args = "%s INPUT -t mangle -i %s -j MARK --set-mark %d" % (
345 if net_test.RunIptablesCommand(version, args):
346 raise ConfigurationError("Setup command failed: %s" % args)
Dxfrm_tunnel_test.py176 def NameGenerator(*args): argument
177 return "IPv%d_in_IPv%d" % tuple(args)
185 def NameGenerator(*args): argument
186 return "IPv%d_in_IPv%d_to_outer_IPv%d" % tuple(args)
Dxfrm_algorithm_test.py386 args=(sock_right, left_port),
Dping6_test.py437 def CheckEAFNoSupport(function, *args): argument
438 self.assertRaisesErrno(errno.EAFNOSUPPORT, function, *args)
Dmultinetwork_test.py398 def SYNToClosedPort(self, *args): argument
399 return packets.SYN(999, *args)