Home
last modified time | relevance | path

Searched refs:cli_args (Results 1 – 5 of 5) sorted by relevance

/external/python/rsa/tests/
Dtest_cli.py51 def cli_args(*new_argv): function
126 with cli_args():
131 with cli_args(128):
144 with cli_args('--out=test_cli_privkey_out.pem', '--form=PEM', 128):
160 with cli_args('--out=test_cli_privkey_out.der', '--form=DER', 128):
176 with cli_args('--out=test_cli_privkey_out.pem',
195 with cli_args():
199 with cli_args():
207 with cli_args('-i', 'cleartext.txt', '--out=encrypted.txt', self.pub_fname):
211 with cli_args('-i', 'encrypted.txt', self.priv_fname):
[all …]
/external/python/rsa/rsa/
Dcli.py54 (cli, cli_args) = parser.parse_args(sys.argv[1:])
56 if len(cli_args) != 1:
61 keysize = int(cli_args[0])
64 print('Not a valid number: %s' % cli_args[0], file=sys.stderr)
115 def perform_operation(self, indata, key, cli_args): argument
126 (cli, cli_args) = self.parse_cli()
128 key = self.read_key(cli_args[0], cli.keyform)
133 outdata = self.perform_operation(indata, key, cli_args)
155 (cli, cli_args) = parser.parse_args(sys.argv[1:])
157 if len(cli_args) != self.expected_cli_args:
[all …]
Dutil.py49 (cli, cli_args) = parser.parse_args(sys.argv)
/external/harfbuzz_ng/test/subset/
Drun-tests.py53 def fail_test(test, cli_args, message): argument
66 cli_args = [hb_subset,
70 cli_args.extend (test.get_profile_flags ())
71 print (' '.join (cli_args))
72 _, return_code = cmd (cli_args)
75 return fail_test (test, cli_args, "%s returned %d" % (' '.join (cli_args), return_code))
80 return fail_test (test, cli_args, "ttx (expected) returned %d" % (return_code))
84 return fail_test (test, cli_args, "ttx (actual) returned %d" % (return_code))
94 return fail_test(test, cli_args, 'ttx for expected and actual does not match.')
99 return fail_test (test, cli_args, 'ots for subsetted file fails.')
/external/tensorflow/tensorflow/tools/dockerfiles/
Dassembler.py371 def assemble_tags(spec, cli_args, enabled_releases, all_partials): argument
397 tag_args = gather_tag_args(slices, cli_args, required_cli_args)