Searched refs:args (Results 1 – 10 of 10) sorted by relevance
/kernel/configs/tools/ |
D | kconfig_xml_fixup.py | 26 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)
|
D | freeze.py | 29 def check_call(*args, **kwargs): argument 30 print(args[0]) 31 subprocess.check_call(*args, **kwargs)
|
/kernel/tests/net/test/ |
D | qtaguid_test.py | 36 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))
|
D | net_test.py | 344 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)
|
D | sock_diag.py | 214 args = [] 241 args.append(arg) 247 assert len(args) == len(instructions) == len(positions) - 2 255 instruction = InetDiagBcOp((op, yes, no)).Pack() + args[i]
|
D | neighbour_test.py | 136 for msg, args in self.iproute.DumpNeighbours(version, ifindex): 137 if args["NDA_DST"] == addr: 138 return msg, args
|
D | tun_twister.py | 95 def __exit__(self, *args): argument
|
D | multinetwork_base.py | 326 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)
|
D | xfrm_algorithm_test.py | 375 args=(sock_right, left_port),
|
D | ping6_test.py | 427 def CheckEAFNoSupport(function, *args): argument 428 self.assertRaisesErrno(errno.EAFNOSUPPORT, function, *args)
|