Home
last modified time | relevance | path

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

/kernel/configs/tools/
Dkconfig_xml_fixup.py26 def fixup(args): argument
27 source_f = open(args.input) or die ("Could not open %s" % args.input)
40 if args.output_version:
41 version_f = (open(args.output_version, "w+") or
46 if args.output_matrix:
47 dest_f = (open(args.output_matrix, "w+") or
75 args = parser.parse_args() variable
77 fixup(args)
Dfreeze.py29 def check_call(*args, **kwargs): argument
30 print(args[0])
31 subprocess.check_call(*args, **kwargs)
/kernel/tests/net/test/
Dqtaguid_test.py36 def RunIptablesCommand(self, args): argument
37 self.assertFalse(net_test.RunIptablesCommand(4, args))
38 self.assertFalse(net_test.RunIptablesCommand(6, args))
64 args = "%s qtaguid_test_OUTPUT -m owner ! %s %d -j DROP" % (add_del, uid_gid, my_id)
66 args = "%s qtaguid_test_OUTPUT -m owner %s %d -j DROP" % (add_del, uid_gid, my_id)
67 self.assertFalse(net_test.RunIptablesCommand(version, args))
Dnet_test.py344 def RunIptablesCommand(version, args): argument
349 return os.spawnvp(os.P_WAIT, iptables_path, [iptables_path] + args.split(" "))
396 def assertRaisesRegex(self, *args, **kwargs): argument
398 return self.assertRaisesRegexp(*args, **kwargs)
400 return super().assertRaisesRegex(*args, **kwargs)
402 def assertRaisesErrno(self, err_num, f=None, *args): argument
422 self.assertRaisesRegex(EnvironmentError, msg, f, *args)
Dsock_diag.py214 args = []
241 args.append(arg)
247 assert len(args) == len(instructions) == len(positions) - 2
255 instruction = InetDiagBcOp((op, yes, no)).Pack() + args[i]
Dneighbour_test.py136 for msg, args in self.iproute.DumpNeighbours(version, ifindex):
137 if args["NDA_DST"] == addr:
138 return msg, args
Dtun_twister.py95 def __exit__(self, *args): argument
Dmultinetwork_base.py326 args = "%s INPUT -t mangle -i %s -j MARK --set-mark %d" % (
328 if net_test.RunIptablesCommand(version, args):
329 raise ConfigurationError("Setup command failed: %s" % args)
Dxfrm_algorithm_test.py375 args=(sock_right, left_port),
Dping6_test.py427 def CheckEAFNoSupport(function, *args): argument
428 self.assertRaisesErrno(errno.EAFNOSUPPORT, function, *args)