Home
last modified time | relevance | path

Searched refs:cmdopt (Results 1 – 25 of 117) sorted by relevance

12345

/dports/net/gnu-dico/dico-2.10/dicod/
H A Dlint.c27 struct cmdopt *cmdopt = data; in add_i_option() local
28 cmdopt->argv[cmdopt->argc++] = "-I"; in add_i_option()
29 cmdopt->argv[cmdopt->argc++] = dir; in add_i_option()
37 struct cmdopt cmdopt; in run_lint() local
41 cmdopt.argv = xcalloc(cmdopt.argc + 1, sizeof cmdopt.argv[0]); in run_lint()
45 cmdopt.argv[cmdopt.argc++] = "--lint"; in run_lint()
49 cmdopt.argv[cmdopt.argc++] = "--stderr"; in run_lint()
53 cmdopt.argv[cmdopt.argc++] = "--config"; in run_lint()
54 cmdopt.argv[cmdopt.argc++] = config_file; in run_lint()
56 cmdopt.argv[cmdopt.argc++] = "--debug"; in run_lint()
[all …]
/dports/math/mtrxmath/mtrxmath-1.0.2/
H A Dmtrxmath.c51 cmdopt = ADD; in main()
54 cmdopt = SUBTRACT; in main()
57 cmdopt = MULTIPLY; in main()
60 cmdopt = DIVIDE; in main()
63 cmdopt = DETERMINANT; in main()
66 cmdopt = INVERT; in main()
69 cmdopt = REDUCE; in main()
120 if(cmdopt==ADD) in main()
122 if(cmdopt==SUBTRACT) in main()
124 if(cmdopt==MULTIPLY) in main()
[all …]
/dports/devel/marisa-trie/marisa-trie-961ed33/tools/
H A Dmarisa-build.cc139 ::cmdopt_t cmdopt; in main()
140 ::cmdopt_init(&cmdopt, argc, argv, "n:tbwlc:o:h", long_options); in main()
142 while ((label = ::cmdopt_get(&cmdopt)) != -1) { in main()
146 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
150 << cmdopt.optarg << std::endl; in main()
174 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
177 << cmdopt.optarg << std::endl; in main()
193 output_filename = cmdopt.optarg; in main()
205 return build(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind); in main()
H A Dmarisa-predictive-search.cc105 ::cmdopt_t cmdopt; in main()
106 ::cmdopt_init(&cmdopt, argc, argv, "n:mrh", long_options); in main()
108 while ((label = ::cmdopt_get(&cmdopt)) != -1) { in main()
112 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
115 << cmdopt.optarg << std::endl; in main()
141 return predictive_search(cmdopt.argv + cmdopt.optind, in main()
142 cmdopt.argc - cmdopt.optind); in main()
H A Dmarisa-common-prefix-search.cc105 ::cmdopt_t cmdopt; in main()
106 ::cmdopt_init(&cmdopt, argc, argv, "n:mrh", long_options); in main()
108 while ((label = ::cmdopt_get(&cmdopt)) != -1) { in main()
112 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
115 << cmdopt.optarg << std::endl; in main()
141 return common_prefix_search(cmdopt.argv + cmdopt.optind, in main()
142 cmdopt.argc - cmdopt.optind); in main()
H A Dmarisa-dump.cc124 ::cmdopt_t cmdopt; in main()
125 ::cmdopt_init(&cmdopt, argc, argv, "d:mrh", long_options); in main()
127 while ((label = ::cmdopt_get(&cmdopt)) != -1) { in main()
130 delimiter = cmdopt.optarg; in main()
150 return dump(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind); in main()
H A Dmarisa-lookup.cc87 ::cmdopt_t cmdopt; in main()
88 ::cmdopt_init(&cmdopt, argc, argv, "mrh", long_options); in main()
90 while ((label = ::cmdopt_get(&cmdopt)) != -1) { in main()
109 return lookup(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind); in main()
H A Dmarisa-reverse-lookup.cc86 ::cmdopt_t cmdopt; in main()
87 ::cmdopt_init(&cmdopt, argc, argv, "mrh", long_options); in main()
89 while ((label = ::cmdopt_get(&cmdopt)) != -1) { in main()
108 return reverse_lookup(cmdopt.argv + cmdopt.optind, in main()
109 cmdopt.argc - cmdopt.optind); in main()
H A Dmarisa-benchmark.cc327 ::cmdopt_t cmdopt; in main()
328 ::cmdopt_init(&cmdopt, argc, argv, "N:n:tbwlc:PpSsh", long_options); in main()
330 while ((label = ::cmdopt_get(&cmdopt)) != -1) { in main()
334 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
338 << cmdopt.optarg << std::endl; in main()
346 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
350 << cmdopt.optarg << std::endl; in main()
374 const long value = std::strtol(cmdopt.optarg, &end_of_value, 10); in main()
377 << cmdopt.optarg << std::endl; in main()
418 return benchmark(cmdopt.argv + cmdopt.optind, cmdopt.argc - cmdopt.optind); in main()
H A DMakefile.am8 libcmdopt_la_SOURCES = cmdopt.cc
10 noinst_HEADERS = cmdopt.h
/dports/astro/p5-Astro-satpass/Astro-satpass-0.122/script/
H A Dsatpass478 %cmdopt = ();
485 $cmdopt{_redirection} = $cmdopt{clipboard} ? '-clipboard' : $redout;
879 am => !$cmdopt{am},
881 pm => !$cmdopt{pm},
897 if ($cmdopt{debug}) {
927 unless $cmdopt{dump}
1220 $cmdopt{retry_on_zero} = 3 unless defined $cmdopt{retry_on_zero};
1441 unless (@_ != 1 || $cmdopt{brief} || $cmdopt{delete} || $cmdopt{list}) {
1445 if ($cmdopt{brief}) {
2325 unshift @_, -start => _parse_time ($cmdopt{start}) if $cmdopt{start};
[all …]
/dports/ftp/wget/wget-1.21.2/src/
H A Dmain.c519 longopt->name = cmdopt->long_name; in init_switches()
521 if (cmdopt->short_name) in init_switches()
523 *p++ = cmdopt->short_name; in init_switches()
526 switch (cmdopt->type) in init_switches()
530 if (cmdopt->short_name) in init_switches()
553 if (cmdopt->short_name) in init_switches()
1470 struct cmdline_option *cmdopt; in main() local
1493 switch (cmdopt->type) in main()
1496 setoptval (cmdopt->data, optarg, cmdopt->long_name); in main()
1501 setoptval (cmdopt->data, optarg, cmdopt->long_name); in main()
[all …]
/dports/net/olsrd/olsrd-0.9.8/lib/quagga/src/
H A Dpacket.c64 unsigned char *cmdopt, *t; in zpacket_route() local
66 cmdopt = olsr_malloc(ZEBRA_MAX_PACKET_SIZ, "QUAGGA: New route packet"); in zpacket_route()
68 t = &cmdopt[2]; in zpacket_route()
137 size = htons(t - cmdopt); in zpacket_route()
138 memcpy(cmdopt, &size, sizeof size); in zpacket_route()
140 return cmdopt; in zpacket_route()
/dports/net-mgmt/routers2-extensions/routers2-v2.23/extras/
H A Dcheck_vmware.pl1106 my($cmdopt) = "";
1135 $cmdopt .= "--guest=\"".Opts::get_option('guest')."\" ";
1149 $cmdopt .= "--host=\"".Opts::get_option('host')."\" ";
1162 check_command check_vmware!$cmdopt --report=status
1176 check_command check_vmware!$cmdopt --report=cpu
1208 check_command check_vmware!$cmdopt --report=cpu
1215 check_command check_vmware!$cmdopt --report=disk
1222 my($cmdopt) = "";
1237 $cmdopt = "--config=/usr/local/etc/vmware.cfg ";
1242 $cmdopt .= "--guest=\"".Opts::get_option('guest')."\" ";
[all …]
/dports/net-mgmt/routers2/routers2-v2.23/extras/
H A Dcheck_vmware.pl1106 my($cmdopt) = "";
1135 $cmdopt .= "--guest=\"".Opts::get_option('guest')."\" ";
1149 $cmdopt .= "--host=\"".Opts::get_option('host')."\" ";
1162 check_command check_vmware!$cmdopt --report=status
1176 check_command check_vmware!$cmdopt --report=cpu
1208 check_command check_vmware!$cmdopt --report=cpu
1215 check_command check_vmware!$cmdopt --report=disk
1222 my($cmdopt) = "";
1237 $cmdopt = "--config=/usr/local/etc/vmware.cfg ";
1242 $cmdopt .= "--guest=\"".Opts::get_option('guest')."\" ";
[all …]
/dports/net-mgmt/routers2-extras/routers2-v2.23/extras/
H A Dcheck_vmware.pl1106 my($cmdopt) = "";
1135 $cmdopt .= "--guest=\"".Opts::get_option('guest')."\" ";
1149 $cmdopt .= "--host=\"".Opts::get_option('host')."\" ";
1162 check_command check_vmware!$cmdopt --report=status
1176 check_command check_vmware!$cmdopt --report=cpu
1208 check_command check_vmware!$cmdopt --report=cpu
1215 check_command check_vmware!$cmdopt --report=disk
1222 my($cmdopt) = "";
1237 $cmdopt = "--config=/usr/local/etc/vmware.cfg ";
1242 $cmdopt .= "--guest=\"".Opts::get_option('guest')."\" ";
[all …]
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/maintagent/agent/
H A Dmaintagent.c71 int cmdopt; in main() local
105 while ((cmdopt = getopt(argc, argv, "aAc:DEFghiILNpPRt:TUvVZ")) != -1) in main()
107 switch (cmdopt) in main()
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/demomod/agent/
H A Ddemomod.c67 int cmdopt; in main() local
94 while ((cmdopt = getopt(argc, argv, "ivVc:")) != -1) in main()
96 switch (cmdopt) in main()
/dports/devel/tortoisehg/tortoisehg-5.9.3/tortoisehg/hgqt/
H A Ddocklog.py354 def findcmdopt(cmdopt): argument
355 cmdopt = cmdopt.lower()
356 while cmdopt.startswith('-'):
357 cmdopt = cmdopt[1:]
360 if opt[1].startswith(cmdopt):
368 cmdopt = cmd[-1]
369 if cmdopt.startswith('-'):
372 cmdopts = findcmdopt(cmdopt)
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/web-platform/tests/tools/pytest/doc/en/example/
H A Dsimple.rst16 def test_answer(cmdopt):
17 if cmdopt == "type1":
19 elif cmdopt == "type2":
35 def cmdopt(request):
45 cmdopt = 'type1'
47 def test_answer(cmdopt):
48 if cmdopt == "type1":
62 $ py.test -q --cmdopt=type2
67 cmdopt = 'type2'
69 def test_answer(cmdopt):
[all …]
/dports/security/gnupg/gnupg-2.3.3/g13/
H A Dserver.c58 static int command_has_option (const char *cmd, const char *cmdopt);
509 char *cmd, *cmdopt; in cmd_getinfo() local
531 cmdopt = line; in cmd_getinfo()
532 if (!command_has_option (cmd, cmdopt)) in cmd_getinfo()
548 command_has_option (const char *cmd, const char *cmdopt) in command_has_option() argument
551 (void)cmdopt; in command_has_option()
/dports/lang/spidermonkey60/firefox-60.9.0/testing/web-platform/tests/tools/third_party/pytest/doc/en/example/
H A Dsimple.rst17 def test_answer(cmdopt):
18 if cmdopt == "type1":
20 elif cmdopt == "type2":
38 def cmdopt(request):
48 cmdopt = 'type1'
50 def test_answer(cmdopt):
51 if cmdopt == "type1":
65 $ pytest -q --cmdopt=type2
70 cmdopt = 'type2'
72 def test_answer(cmdopt):
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/testing/web-platform/tests/tools/third_party/pytest/doc/en/example/
H A Dsimple.rst19 def test_answer(cmdopt):
20 if cmdopt == "type1":
22 elif cmdopt == "type2":
43 def cmdopt(request):
53 cmdopt = 'type1'
55 def test_answer(cmdopt):
56 if cmdopt == "type1":
70 $ pytest -q --cmdopt=type2
75 cmdopt = 'type2'
77 def test_answer(cmdopt):
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/pytest/doc/en/example/
H A Dsimple.rst19 def test_answer(cmdopt):
20 if cmdopt == "type1":
22 elif cmdopt == "type2":
43 def cmdopt(request):
53 cmdopt = 'type1'
55 def test_answer(cmdopt):
56 if cmdopt == "type1":
70 $ pytest -q --cmdopt=type2
75 cmdopt = 'type2'
77 def test_answer(cmdopt):
[all …]
/dports/devel/py-pytest/pytest-4.6.11/doc/en/example/
H A Dsimple.rst19 def test_answer(cmdopt):
20 if cmdopt == "type1":
22 elif cmdopt == "type2":
43 def cmdopt(request):
55 cmdopt = 'type1'
57 def test_answer(cmdopt):
58 if cmdopt == "type1":
74 $ pytest -q --cmdopt=type2
79 cmdopt = 'type2'
81 def test_answer(cmdopt):
[all …]

12345