HomeSort by relevance Sort by last modified time
    Searched full:argv (Results 151 - 175 of 5415) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/iproute2/tc/
f_rsvp.c 44 char **argv = *argv_p; local
45 char *p = strchr(*argv, '/');
66 if (get_addr_1(addr, *argv, family))
71 argc--; argv++;
76 if (strcmp(*argv, "spi/ah") == 0 ||
77 strcmp(*argv, "gpi/ah") == 0) {
80 if (get_u32(&gpi, *argv, 0))
87 argc--; argv++;
88 } else if (strcmp(*argv, "spi/esp") == 0 ||
89 strcmp(*argv, "gpi/esp") == 0)
    [all...]
m_nat.c 47 char **argv = *argv_p; local
53 if (matches(*argv, "egress") == 0)
55 else if (matches(*argv, "ingress") != 0)
60 if (get_prefix_1(&addr, *argv, AF_INET))
68 if (get_prefix_1(&addr, *argv, AF_INET))
74 argv++;
77 *argv_p = argv;
90 char **argv = *argv_p; local
97 if (matches(*argv, "nat") == 0) {
99 if (parse_nat_args(&argc, &argv, &sel))
    [all...]
q_qfq.c 38 static int qfq_parse_opt(struct qdisc_util *qu, int argc, char **argv,
42 if (matches(*argv, "help") == 0) {
46 fprintf(stderr, "What is \"%s\"?\n", *argv);
50 argc--; argv++;
56 static int qfq_parse_class_opt(struct qdisc_util *qu, int argc, char **argv,
66 if (matches(*argv, "weight") == 0) {
68 if (get_u32(&tmp, *argv, 10)) {
72 } else if (matches(*argv, "maxpkt") == 0) {
74 if (get_u32(&tmp, *argv, 10)) {
78 } else if (strcmp(*argv, "help") == 0)
    [all...]
  /external/libxml2/
testReader.c 104 int main(int argc, char **argv) {
109 usage(argv[0]);
114 if ((!strcmp(argv[i], "-debug")) || (!strcmp(argv[i], "--debug")))
116 else if ((!strcmp(argv[i], "-dump")) || (!strcmp(argv[i], "--dump")))
118 else if ((!strcmp(argv[i], "-count")) || (!strcmp(argv[i], "--count")))
120 else if ((!strcmp(argv[i], "-consumed")) || (!strcmp(argv[i], "--consumed"))
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/python/
argcargv.i 2 * --- Argc & Argv ---
9 size_t *argc, char ***argv, int *owner)
21 if (argv) {
22 *argv = %new_array(size + 1, char*);
29 (*argv)[i] = (alloc == SWIG_NEWOBJ) ? cptr : %new_copy_array(cptr, sz, char);
31 (*argv)[i] = 0;
37 (*argv)[i] = 0;
54 if (argv) { while (*argv[i] != 0) ++i;}
67 %typemap(in,noblock=0,fragment="SWIG_AsArgcArgv") (int ARGC, char **ARGV) (int res,char **argv = 0, size_t argc = 0, int owner= 0)
    [all...]
  /external/e2fsprogs/lib/ext2fs/
tst_getsectsize.c 28 int main(int argc, char **argv)
34 fprintf(stderr, "Usage: %s device\n", argv[0]);
38 retval = ext2fs_get_device_sectsize(argv[1], &lsectsize);
40 com_err(argv[0], retval,
44 retval = ext2fs_get_device_phys_sectsize(argv[1], &psectsize);
46 com_err(argv[0], retval,
51 argv[1], lsectsize, psectsize);
  /external/tcpdump/tests/
TESTonce 6 if(@ARGV == 1) {
8 $wanted = $ARGV[0];
22 } elsif(@ARGV == 4) {
23 $name=$ARGV[0];
24 $input=$ARGV[1];
25 $output=$ARGV[2];
26 $options=$ARGV[3];
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/
tool.py 17 if len(sys.argv) == 1:
20 elif len(sys.argv) == 2:
21 infile = open(sys.argv[1], 'rb')
23 elif len(sys.argv) == 3:
24 infile = open(sys.argv[1], 'rb')
25 outfile = open(sys.argv[2], 'wb')
27 raise SystemExit(sys.argv[0] + " [infile [outfile]]")
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/
tool.py 17 if len(sys.argv) == 1:
20 elif len(sys.argv) == 2:
21 infile = open(sys.argv[1], 'rb')
23 elif len(sys.argv) == 3:
24 infile = open(sys.argv[1], 'rb')
25 outfile = open(sys.argv[2], 'wb')
27 raise SystemExit(sys.argv[0] + " [infile [outfile]]")
  /external/iproute2/ip/
xfrm_policy.c 111 char **argv = *argvp; local
113 if (strcmp(*argv, "in") == 0)
115 else if (strcmp(*argv, "out") == 0)
117 else if (strcmp(*argv, "fwd") == 0)
120 invarg("\"DIR\" is invalid", *argv);
123 *argvp = argv;
131 char **argv = *argvp; local
133 if (strcmp(*argv, "main") == 0)
135 else if (strcmp(*argv, "sub") == 0)
138 invarg("\"PTYPE\" is invalid", *argv);
149 char **argv = *argvp; local
185 char **argv = *argvp; local
    [all...]
iplink_macvtap.c 34 static int macvtap_parse_opt(struct link_util *lu, int argc, char **argv,
38 if (matches(*argv, "mode") == 0) {
42 if (strcmp(*argv, "private") == 0)
44 else if (strcmp(*argv, "vepa") == 0)
46 else if (strcmp(*argv, "bridge") == 0)
48 else if (strcmp(*argv, "passthru") == 0)
54 } else if (matches(*argv, "help") == 0) {
58 fprintf(stderr, "macvtap: what is \"%s\"?\n", *argv);
62 argc--, argv++;
iplink_vlan.c 46 char **argv = *argvp; local
54 char *colon = strchr(*argv, ':');
60 if (get_u32(&m.from, *argv, 0))
64 argc--, argv++;
72 *argvp = argv;
76 static int vlan_parse_opt(struct link_util *lu, int argc, char **argv,
83 if (matches(*argv, "id") == 0) {
85 if (get_u16(&id, *argv, 0))
86 invarg("id is invalid", *argv);
88 } else if (matches(*argv, "reorder_hdr") == 0)
    [all...]
  /external/gptfdisk/
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/openfst/src/bin/
fstconcat.cc 27 int main(int argc, char **argv) {
33 usage += argv[0];
37 SET_FLAGS(usage.c_str(), &argc, &argv, true);
43 string in1_name = strcmp(argv[1], "-") == 0 ? "" : argv[1];
44 string in2_name = strcmp(argv[2], "-") == 0 ? "" : argv[2];
45 string out_fname = argc > 3 ? argv[3] : "";
48 LOG(ERROR) << argv[0] << ": Can't take both inputs from standard input.";
fstunion.cc 30 int main(int argc, char **argv) {
36 usage += argv[0];
40 SET_FLAGS(usage.c_str(), &argc, &argv, true);
46 string in1_name = strcmp(argv[1], "-") != 0 ? argv[1] : "";
47 string in2_name = strcmp(argv[2], "-") != 0 ? argv[2] : "";
48 string out_name = argc > 3 ? argv[3] : "";
51 LOG(ERROR) << argv[0]
  /external/compiler-rt/test/BlocksRuntime/
byrefaccess.c 23 int main(int argc, char *argv[]) {
29 printf("*** %s didn't update i\n", argv[0]);
32 printf("%s: success\n", argv[0]);
copy-block-literal-rdar6439600.c 13 int main (int argc, const char * argv[]) {
21 printf("%s: failure, %d != %d\n", argv[0], x[i](), i);
26 printf("%s: success\n", argv[0]);
goto.c 19 int main(int argc, char *argv[])
29 printf("%s: Success!\n", argv[0]);
32 printf("%s: val not updated!\n", argv[0]);
rdar6396238.c 22 int main (int argc, const char * argv[]) {
25 printf("%s: failure, 2 != %d\n", argv[0], count);
28 printf("%s: success\n", argv[0]);
  /external/e2fsprogs/debugfs/
zap.c 27 void do_zap_block(int argc, char *argv[])
40 if (check_fs_open(argv[0]))
42 if (check_fs_read_write(argv[0]))
46 while ((c = getopt (argc, argv, "b:f:l:o:p:")) != EOF) {
52 bit = parse_ulong(optarg, argv[0],
57 com_err(argv[0], 0, "The bit to flip "
64 pattern = parse_ulong(optarg, argv[0],
69 com_err(argv[0], 0, "The fill pattern must "
75 offset = parse_ulong(optarg, argv[0],
80 com_err(argv[0], 0, "The offset must be
    [all...]
  /external/expat/tests/benchmark/
benchmark.c 25 int main (int argc, char *argv[])
37 if (argv[1][0] == '-') {
38 if (argv[1][1] == 'n' && argv[1][2] == '\0') {
43 usage(argv[0], 1);
48 usage(argv[0], 1);
50 if (stat (argv[j + 1], &fileAttr) != 0) {
51 fprintf (stderr, "could not access file '%s'\n", argv[j + 1]);
55 fd = fopen (argv[j + 1], "r");
57 fprintf (stderr, "could not open file '%s'\n", argv[j + 1])
    [all...]
  /external/lldb/test/api/multithreaded/
driver.cpp 19 int main(int argc, char** argv) {
28 vector<string> args(argv + 1, argv + argc);
  /external/selinux/policycoreutils/load_policy/
load_policy.c 26 int main(int argc, char **argv)
36 while ((opt = getopt(argc, argv, "bqi")) > 0) {
40 argv[0]);
50 usage(argv[0]);
56 usage(argv[0]);
60 argv[0], argv[optind++]);
65 argv[0], argv[optind++]);
72 argv[0])
    [all...]
  /external/selinux/policycoreutils/mcstrans/utils/
transcon.c 16 int main(int argc, char **argv) {
18 if ( argc != 2 ) usage(argv[0]);
20 if(trans_context(argv[1],&scon) == 0) {
untranscon.c 15 int main(int argc, char **argv) {
17 if ( argc != 2 ) usage(argv[0]);
19 if(untrans_context(argv[1],&scon) == 0) {

Completed in 469 milliseconds

1 2 3 4 5 67 8 91011>>