HomeSort by relevance Sort by last modified time
    Searched defs:argv (Results 1 - 25 of 371) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/kernel/syscalls/swapon/
libswapon.c 43 const char *argv[2 + 1]; local
44 argv[0] = "mkswap";
45 argv[1] = swapfile;
46 argv[2] = NULL;
48 tst_run_cmd(cleanup, argv, "/dev/null", "/dev/null", 0);
  /external/boringssl/src/crypto/
abi_self_test.cc 41 crypto_word_t argv[] = { local
45 reinterpret_cast<crypto_word_t>(TestFunction), &state, argv, 8,
  /external/iproute2/tc/
p_eth.c 32 char **argv = *argv_p; local
42 if (strcmp(*argv, "type") == 0) {
45 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey);
49 if (strcmp(*argv, "dst") == 0) {
52 res = parse_cmd(&argc, &argv, 6, TMAC, RU32, sel, tkey);
56 if (strcmp(*argv, "src") == 0) {
59 res = parse_cmd(&argc, &argv, 6, TMAC, RU32, sel, tkey);
67 *argv_p = argv;
p_ip.c 32 char **argv = *argv_p; local
41 if (strcmp(*argv, "src") == 0) {
44 res = parse_cmd(&argc, &argv, 4, TIPV4, RU32, sel, tkey);
47 if (strcmp(*argv, "dst") == 0) {
50 res = parse_cmd(&argc, &argv, 4, TIPV4, RU32, sel, tkey);
57 if (strcmp(*argv, "tos") == 0 || matches(*argv, "dsfield") == 0) {
60 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey);
63 if (strcmp(*argv, "ihl") == 0) {
66 res = parse_cmd(&argc, &argv, 1, TU32, 0x0f, sel, tkey)
    [all...]
p_ip6.c 32 char **argv = *argv_p; local
42 if (strcmp(*argv, "src") == 0) {
45 res = parse_cmd(&argc, &argv, 16, TIPV6, RU32, sel, tkey);
48 if (strcmp(*argv, "dst") == 0) {
51 res = parse_cmd(&argc, &argv, 16, TIPV6, RU32, sel, tkey);
54 if (strcmp(*argv, "flow_lbl") == 0) {
57 res = parse_cmd(&argc, &argv, 4, TU32, 0x0007ffff, sel, tkey);
60 if (strcmp(*argv, "payload_len") == 0) {
63 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey);
66 if (strcmp(*argv, "nexthdr") == 0)
    [all...]
p_tcp.c 32 char **argv = *argv_p; local
42 if (strcmp(*argv, "sport") == 0) {
45 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey);
49 if (strcmp(*argv, "dport") == 0) {
52 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey);
56 if (strcmp(*argv, "flags") == 0) {
59 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey);
67 *argv_p = argv;
p_udp.c 32 char **argv = *argv_p; local
42 if (strcmp(*argv, "sport") == 0) {
45 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey);
49 if (strcmp(*argv, "dport") == 0) {
52 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey);
60 *argv_p = argv;
m_estimator.c 40 char **argv = *p_argv; local
45 duparg("estimator", *argv);
46 if (matches(*argv, "help") == 0)
48 if (get_time(&A, *argv))
51 if (matches(*argv, "help") == 0)
53 if (get_time(&time_const, *argv))
62 *p_argv = argv;
  /external/ltp/lib/newlib_tests/
test_exec.c 33 char *const argv[] = {"test_exec_child", NULL}; local
39 execve(path, argv, environ);
  /external/google-breakpad/src/common/mac/
launch_reporter.cc 38 const char* argv[] = { reporter_executable_path, config_file_path, NULL }; local
52 execv(argv[0], (char* const*)argv);
  /external/gptfdisk/
cgdisk.cc 30 int main(int argc, char *argv[]) {
45 device = (string) argv[1];
48 if (strcmp(argv[1], "-a") == 0) {
49 device = (string) argv[2];
50 } else if (strcmp(argv[2], "-a") == 0) {
51 device = (string) argv[1];
53 cerr << "Usage: " << argv[0] << " [-a] device_file\n"; local
59 cerr << "Usage: " << argv[0] << " [-a] device_file\n"; local
fixparts.cc 25 int main(int argc, char* argv[]) {
39 device = argv[1];
42 cerr << "Usage: " << argv[0] << " device_filename\n"; local
gdisk.cc 14 int main(int argc, char* argv[]) {
40 if (theGPT.LoadPartitions(argv[1])) {
43 theGPT.MainMenu(argv[1]);
47 if (strcmp(argv[1], "-l") == 0) {
48 device = (string) argv[2];
49 } else if (strcmp(argv[2], "-l") == 0) {
50 device = (string) argv[1];
52 cerr << "Usage: " << argv[0] << " [-l] device_file\n"; local
64 cerr << "Usage: " << argv[0] << " [-l] device_file\n"; local
  /external/libbrillo/brillo/
flag_helper_unittest.cc 43 const char* argv[] = {"test_program"}; local
44 base::CommandLine command_line(arraysize(argv), argv); local
48 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); local
88 const char* argv[] = {"test_program", local
106 base::CommandLine command_line(arraysize(argv), argv); local
110 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue") local
150 const char* argv[] = {"test_program", local
166 base::CommandLine command_line(arraysize(argv), argv); local
170 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDefaultTrue"); local
194 const char* argv[] = {"test_program", "--int32_1=5", "--int32_1=10"}; local
195 base::CommandLine command_line(arraysize(argv), argv); local
199 brillo::FlagHelper::Init(arraysize(argv), argv, "TestDuplicateSetvalue"); local
208 const char* argv[] = {"test_program", "--int32_1=5", "--", "--int32_1=10"}; local
209 base::CommandLine command_line(arraysize(argv), argv); local
213 brillo::FlagHelper::Init(arraysize(argv), argv, "TestFlagTerminator"); local
228 const char* argv[] = {"test_program", "--int_1=value", "--help"}; local
229 base::CommandLine command_line(arraysize(argv), argv); local
255 const char* argv[] = {"test_program", "--flag=value"}; local
256 base::CommandLine command_line(arraysize(argv), argv); local
276 const char* argv[] = {"test_program", "--bool_1=value"}; local
277 base::CommandLine command_line(arraysize(argv), argv); local
298 const char* argv[] = {"test_program", "--int_1=value"}; local
299 base::CommandLine command_line(arraysize(argv), argv); local
321 const char* argv[] = {"test_program", "--int64_1=value"}; local
322 base::CommandLine command_line(arraysize(argv), argv); local
344 const char* argv[] = {"test_program", "--uint64_1=value"}; local
345 base::CommandLine command_line(arraysize(argv), argv); local
    [all...]
  /external/ltp/lib/
tst_kernel.c 87 const char * const argv[] = { "modprobe", "-n", name, NULL }; local
88 int res = tst_run_cmd_(NULL, argv, "/dev/null", "/dev/null", 1);
  /external/ltp/testcases/kernel/security/tomoyo/
newns.c 35 char **argv = (char **)arg; local
36 argv++;
38 execvp(argv[0], argv);
42 int main(int argc, char *argv[])
45 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, (void *)argv);
  /external/strace/tests/
umovestr2.c 44 char *argv[] = { NULL }; local
46 execve("", argv, envp);
  /external/strace/tests-m32/
umovestr2.c 44 char *argv[] = { NULL }; local
46 execve("", argv, envp);
  /external/strace/tests-mx32/
umovestr2.c 44 char *argv[] = { NULL }; local
46 execve("", argv, envp);
  /external/tensorflow/tensorflow/lite/testing/
init_tensorflow.cc 27 char** argv = &fake_name_copy; local
28 ::tensorflow::port::InitMain(kFakeName, &argc, &argv);
  /external/u-boot/drivers/dfu/
dfu_ram.c 58 const char *argv[3]; local
59 const char **parg = argv;
61 for (; parg < argv + sizeof(argv) / sizeof(*argv); ++parg) {
70 if (strcmp(argv[0], "ram")) {
71 pr_err("unsupported device: %s\n", argv[0]);
76 dfu->data.ram.start = (void *)simple_strtoul(argv[1], NULL, 16);
77 dfu->data.ram.size = simple_strtoul(argv[2], NULL, 16);
  /external/webrtc/webrtc/examples/relayserver/
relayserver_main.cc 17 int main(int argc, char **argv) {
25 if (!int_addr.FromString(argv[1])) {
26 std::cerr << "Unable to parse IP address: " << argv[1]; local
31 if (!ext_addr.FromString(argv[2])) {
32 std::cerr << "Unable to parse IP address: " << argv[2]; local
  /external/webrtc/webrtc/examples/stunserver/
stunserver_main.cc 22 int main(int argc, char* argv[]) {
29 if (!server_addr.FromString(argv[1])) {
30 std::cerr << "Unable to parse IP address: " << argv[1]; local
  /art/tools/dexanalyze/
dexanalyze_test.cc 31 std::vector<std::string> argv; local
32 argv.push_back(binary);
33 argv.insert(argv.end(), args.begin(), args.end());
35 ASSERT_EQ(::art::Exec(argv, &error_msg), expect_success) << error_msg;
  /bionic/libc/bionic/
system.cpp 59 const char* argv[] = { "sh", "-c", command, nullptr }; local
62 const_cast<char**>(argv), environ)) != 0) {

Completed in 1582 milliseconds

1 2 3 4 5 6 7 8 91011>>