Home
last modified time | relevance | path

Searched refs:cli (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/external/tensorflow/tensorflow/python/debug/cli/
Dstepper_cli_test.py28 from tensorflow.python.debug.cli import stepper_cli
183 cli = stepper_cli.NodeStepperCLI(node_stepper)
185 output = cli.list_sorted_nodes([])
197 cli = stepper_cli.NodeStepperCLI(node_stepper)
199 output = cli.list_sorted_nodes([])
219 cli = stepper_cli.NodeStepperCLI(node_stepper)
221 output = cli.cont(["foobar"])
229 cli = stepper_cli.NodeStepperCLI(node_stepper)
231 output = cli.cont(["f"])
242 cli = stepper_cli.NodeStepperCLI(node_stepper)
[all …]
/external/python/rsa/rsa/
Dutil.py49 (cli, cli_args) = parser.parse_args(sys.argv)
52 if cli.infilename:
54 (cli.infilename, cli.inform), file=sys.stderr)
55 with open(cli.infilename, 'rb') as infile:
58 print('Reading private key from stdin in %s format' % cli.inform,
65 priv_key = rsa.key.PrivateKey.load_pkcs1(in_data, cli.inform)
69 out_data = pub_key.save_pkcs1(cli.outform)
71 if cli.outfilename:
73 (cli.outfilename, cli.outform), file=sys.stderr)
74 with open(cli.outfilename, 'wb') as outfile:
[all …]
Dcli.py54 (cli, cli_args) = parser.parse_args(sys.argv[1:])
71 if cli.pubout:
72 print('Writing public key to %s' % cli.pubout, file=sys.stderr)
73 data = pub_key.save_pkcs1(format=cli.form)
74 with open(cli.pubout, 'wb') as outfile:
78 data = priv_key.save_pkcs1(format=cli.form)
80 if cli.out:
81 print('Writing private key to %s' % cli.out, file=sys.stderr)
82 with open(cli.out, 'wb') as outfile:
126 (cli, cli_args) = self.parse_cli()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dmain.cc46 google::protobuf::compiler::CommandLineInterface cli; in main() local
47 cli.AllowPlugins("protoc-"); in main()
51 cli.RegisterGenerator("--cpp_out", "--cpp_opt", &cpp_generator, in main()
56 cli.RegisterGenerator("--java_out", &java_generator, in main()
62 cli.RegisterGenerator("--python_out", &py_generator, in main()
67 cli.RegisterGenerator("--javanano_out", &javanano_generator, in main()
72 cli.RegisterGenerator("--javamicro_out", &javamicro_generator, in main()
77 cli.RegisterGenerator("--ruby_out", &rb_generator, in main()
82 cli.RegisterGenerator("--csharp_out", "--csharp_opt", &csharp_generator, in main()
87 cli.RegisterGenerator("--objc_out", "--objc_opt", &objc_generator, in main()
[all …]
/external/perfetto/src/base/
Dunix_socket_unittest.cc88 auto cli = UnixSocket::Connect(kSocketName, &event_listener_, &task_runner_); in TEST_F() local
89 ASSERT_FALSE(cli->is_connected()); in TEST_F()
91 EXPECT_CALL(event_listener_, OnConnect(cli.get(), false)) in TEST_F()
114 auto cli = UnixSocket::Connect(kSocketName, &event_listener_, &task_runner_); in TEST_F() local
115 EXPECT_CALL(event_listener_, OnConnect(cli.get(), true)) in TEST_F()
122 EXPECT_CALL(event_listener_, OnDisconnect(cli.get())) in TEST_F()
124 EXPECT_FALSE(cli->Send("whatever", kBlocking)); in TEST_F()
132 auto cli = UnixSocket::Connect(kSocketName, &event_listener_, &task_runner_); in TEST_F() local
133 EXPECT_CALL(event_listener_, OnConnect(cli.get(), true)); in TEST_F()
147 ASSERT_TRUE(cli->is_connected()); in TEST_F()
[all …]
/external/python/rsa/tests/
Dtest_cli.py16 import rsa.cli
127 self.assertExits(1, rsa.cli.keygen)
132 rsa.cli.keygen()
145 rsa.cli.keygen()
161 rsa.cli.keygen()
179 rsa.cli.keygen()
196 self.assertExits(1, rsa.cli.decrypt)
200 self.assertExits(1, rsa.cli.encrypt)
209 rsa.cli.encrypt()
213 rsa.cli.decrypt()
[all …]
/external/catch2/projects/SelfTest/IntrospectiveTests/
DCmdLine.tests.cpp275 auto cli = Catch::makeCommandLineParser(config); variable
278 auto result = cli.parse({""});
284 auto result = cli.parse({"test"});
298 auto result = cli.parse({"test", "test1"});
307 auto result = cli.parse({"test", "exclude:test1"});
317 auto result = cli.parse({"test", "~test1"});
330 CHECK(cli.parse({"test", "-r", "console"}));
335 CHECK(cli.parse({"test", "-r", "xml"}));
340 CHECK(cli.parse({"test", "--reporter", "junit"}));
345 REQUIRE_FALSE(cli.parse({ "test", "-r", "xml", "-r", "junit" }));
[all …]
/external/autotest/contrib/
Dmove_cq_hosts.sh15 …./cli/atest host list --web=$FROM_HOST --parse $1 | awk -F '|' '{ print $5 }' | sed 's/Labels=//' …
19 ./cli/atest host list --web=$FROM_HOST $1 | sed 1d | awk '{ print $4; }'
23 ./cli/atest host mod --web=$FROM_HOST -l $1
27 ./cli/atest label create --web=$TO_HOST $1
31 ./cli/atest label create -t --web=$TO_HOST $1
35 ./cli/atest host create --web=$TO_HOST -b $2 $1
39 ./cli/atest host delete --web=$FROM_HOST $1
42 HOSTS_TO_MOVE=$(./cli/atest host list --web=$FROM_HOST -b $POOL | sed 1d | awk '{ print $1 }')
Dtask_runner.sh70 $AT_DIR/cli/atest host delete $hostnames --web $AFE
71 $AT_DIR/cli/atest label delete $labels --web $AFE
73 $AT_DIR/cli/atest host create $hostnames --web $AFE
74 $AT_DIR/cli/atest label add -m $hostnames $labels --web $AFE
126 $AT_DIR/cli/atest shard delete $SHARD_NAME --web $AFE
128 $AT_DIR/cli/atest shard create $SHARD_NAME -l $SHARD_BOARD --web $AFE
/external/grpc-grpc/tools/distrib/python/grpcio_tools/grpc_tools/
Dmain.cc23 google::protobuf::compiler::CommandLineInterface cli; in protoc_main() local
24 cli.AllowPlugins("protoc-"); in protoc_main()
28 cli.RegisterGenerator("--python_out", &py_generator, in protoc_main()
34 cli.RegisterGenerator("--grpc_python_out", &grpc_py_generator, in protoc_main()
37 return cli.Run(argc, argv); in protoc_main()
/external/wpa_supplicant_8/src/wps/
Dhttp_server.c25 struct sockaddr_in cli; member
49 inet_ntoa(req->cli.sin_addr), in http_request_cb()
50 ntohs(req->cli.sin_port)); in http_request_cb()
55 "completely", inet_ntoa(req->cli.sin_addr), in http_request_cb()
56 ntohs(req->cli.sin_port)); in http_request_cb()
62 struct sockaddr_in *cli) in http_request_init() argument
77 req->cli = *cli; in http_request_init()
138 inet_ntoa(req->cli.sin_addr), in http_request_send()
139 ntohs(req->cli.sin_port)); in http_request_send()
195 return &req->cli; in http_request_get_cli_addr()
/external/wpa_supplicant_8/src/p2p/
Dp2p_parse.c650 struct p2p_client_info *cli; in p2p_group_info_parse() local
655 cli = &info->client[info->num_clients]; in p2p_group_info_parse()
661 cli->p2p_device_addr = g; in p2p_group_info_parse()
663 cli->p2p_interface_addr = g; in p2p_group_info_parse()
665 cli->dev_capab = *g++; in p2p_group_info_parse()
667 cli->config_methods = WPA_GET_BE16(g); in p2p_group_info_parse()
669 cli->pri_dev_type = g; in p2p_group_info_parse()
676 cli->num_sec_dev_types = len; in p2p_group_info_parse()
677 cli->sec_dev_types = g; in p2p_group_info_parse()
692 cli->dev_name = (const char *) g; in p2p_group_info_parse()
[all …]
/external/libnl/include/
DMakefile.am100 netlink/cli/addr.h \
101 netlink/cli/class.h \
102 netlink/cli/cls.h \
103 netlink/cli/ct.h \
104 netlink/cli/exp.h \
105 netlink/cli/link.h \
106 netlink/cli/neigh.h \
107 netlink/cli/qdisc.h \
108 netlink/cli/route.h \
109 netlink/cli/rule.h \
[all …]
/external/syzkaller/pkg/rpctype/
Drpc.go79 cli := &RPCClient{
83 return cli, nil
86 func (cli *RPCClient) Call(method string, args, reply interface{}) error {
88 cli.conn.SetDeadline(time.Now().Add(5 * 60 * time.Second))
89 defer cli.conn.SetDeadline(time.Time{})
90 return cli.c.Call(method, args, reply)
93 func (cli *RPCClient) Close() {
94 cli.c.Close()
/external/python/cpython2/Lib/test/
Dtest_socket.py176 self.cli = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
179 self.cli.close()
180 self.cli = None
190 self.cli = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
193 self.cli.close()
194 self.cli = None
217 self.cli.connect((HOST, self.port))
218 self.serv_conn = self.cli
232 self.serv, self.cli = socket.socketpair()
242 self.cli.close()
[all …]
/external/grpc-grpc/test/core/fling/
Dfling_test.cc37 gpr_subprocess *svr, *cli; in main() local
63 cli = gpr_subprocess_create(6, (const char**)args); in main()
69 if ((status = gpr_subprocess_join(cli))) { in main()
70 gpr_subprocess_destroy(cli); in main()
74 gpr_subprocess_destroy(cli); in main()
Dfling_stream_test.cc37 gpr_subprocess *svr, *cli; in main() local
63 cli = gpr_subprocess_create(6, (const char**)args); in main()
69 if ((status = gpr_subprocess_join(cli))) { in main()
70 gpr_subprocess_destroy(cli); in main()
74 gpr_subprocess_destroy(cli); in main()
/external/grpc-grpc/test/core/memory_usage/
Dmemory_usage_test.cc37 gpr_subprocess *svr, *cli; in main() local
62 cli = gpr_subprocess_create(5, (const char**)args); in main()
68 if ((status = gpr_subprocess_join(cli))) { in main()
69 gpr_subprocess_destroy(cli); in main()
73 gpr_subprocess_destroy(cli); in main()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_plugin_unittest.cc95 google::protobuf::compiler::CommandLineInterface cli; in TEST() local
96 cli.SetInputsAreProtoPathRelative(true); in TEST()
100 cli.RegisterGenerator("--python_out", &python_generator, ""); in TEST()
101 cli.RegisterGenerator("--test_out", &test_generator, ""); in TEST()
115 EXPECT_EQ(0, cli.Run(5, argv)); in TEST()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_plugin_unittest.cc101 google::protobuf::compiler::CommandLineInterface cli; in TEST() local
102 cli.SetInputsAreProtoPathRelative(true); in TEST()
106 cli.RegisterGenerator("--java_out", &java_generator, ""); in TEST()
107 cli.RegisterGenerator("--test_out", &test_generator, ""); in TEST()
121 EXPECT_EQ(0, cli.Run(5, argv)); in TEST()
/external/llvm/test/CodeGen/SystemZ/
Dint-cmp-20.ll10 ; CHECK: cli 0(%r2), 1
24 ; CHECK: cli 0(%r2), 1
38 ; CHECK: cli 0(%r2), 254
52 ; CHECK: cli 0(%r2), 254
66 ; CHECK-NOT: cli {{.*}}
82 ; CHECK-NOT: cli {{.*}}
94 ; CHECK-NOT: cli {{.*}}
107 ; CHECK: cli 0(%r2), 1
121 ; CHECK-NOT: cli {{.*}}
134 ; CHECK: cli 0(%r2), 254
[all …]
Dint-cmp-21.ll10 ; CHECK: cli 0(%r2), 1
24 ; CHECK: cli 0(%r2), 1
38 ; CHECK: cli 0(%r2), 254
52 ; CHECK: cli 0(%r2), 254
66 ; CHECK-NOT: cli
82 ; CHECK-NOT: cli
94 ; CHECK-NOT: cli
107 ; CHECK: cli 0(%r2), 1
121 ; CHECK-NOT: cli
134 ; CHECK: cli 0(%r2), 254
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dint-cmp-21.ll10 ; CHECK: cli 0(%r2), 1
24 ; CHECK: cli 0(%r2), 1
38 ; CHECK: cli 0(%r2), 254
52 ; CHECK: cli 0(%r2), 254
66 ; CHECK-NOT: cli
82 ; CHECK-NOT: cli
94 ; CHECK-NOT: cli
107 ; CHECK: cli 0(%r2), 1
121 ; CHECK-NOT: cli
134 ; CHECK: cli 0(%r2), 254
[all …]
Dint-cmp-20.ll10 ; CHECK: cli 0(%r2), 1
24 ; CHECK: cli 0(%r2), 1
38 ; CHECK: cli 0(%r2), 254
52 ; CHECK: cli 0(%r2), 254
66 ; CHECK-NOT: cli {{.*}}
82 ; CHECK-NOT: cli {{.*}}
94 ; CHECK-NOT: cli {{.*}}
107 ; CHECK: cli 0(%r2), 1
121 ; CHECK-NOT: cli {{.*}}
134 ; CHECK: cli 0(%r2), 254
[all …]
/external/python/dateutil/
Drelease.py14 def cli(): function
17 @cli.command()
32 @cli.command()
47 @cli.command()
79 cli()

12345678910>>...12