Home
last modified time | relevance | path

Searched refs:args (Results 1 – 13 of 13) 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)
/kernel/build/abi/
Ddump_abi40 args = parser.parse_args()
42 dump_abi(args.abi_tool,
43 args.linux_tree,
44 args.out_file or os.path.join(args.linux_tree, "abi.out"))
Ddiff_abi40 args = parser.parse_args()
42 abi_changed = diff_abi(args.abi_tool,
43 args.baseline,
44 args.new,
45 args.report)
/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.py343 def RunIptablesCommand(version, args): argument
348 return os.spawnvp(os.P_WAIT, iptables_path, [iptables_path] + args.split(" "))
395 def assertRaisesErrno(self, err_num, f=None, *args): argument
415 self.assertRaisesRegexp(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.py92 for msg, args in self.iproute.DumpNeighbours(version, ifindex):
93 if args["NDA_DST"] == addr:
94 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.py274 args=(sock_right, left_port),
Dping6_test.py427 def CheckEAFNoSupport(function, *args): argument
428 self.assertRaisesErrno(errno.EAFNOSUPPORT, function, *args)
Dxfrm_tunnel_test.py141 def NameGenerator(*args): argument
142 return "IPv%d_in_IPv%d" % tuple(args)
Dmultinetwork_test.py377 def SYNToClosedPort(self, *args): argument
378 return packets.SYN(999, *args)