HomeSort by relevance Sort by last modified time
    Searched refs:argv (Results 176 - 200 of 2043) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/iproute2/tc/
f_rsvp.c 46 char **argv = *argv_p; local
47 char *p = strchr(*argv, '/');
68 if (get_addr_1(addr, *argv, family))
73 argc--; argv++;
78 if (strcmp(*argv, "spi/ah") == 0 ||
79 strcmp(*argv, "gpi/ah") == 0) {
82 if (get_u32(&gpi, *argv, 0))
89 argc--; argv++;
90 } else if (strcmp(*argv, "spi/esp") == 0 ||
91 strcmp(*argv, "gpi/esp") == 0)
    [all...]
f_flow.c 62 static int flow_parse_keys(__u32 *keys, __u32 *nkeys, char *argv)
69 s = argv;
97 static int get_addend(__u32 *addend, char *argv, __u32 keys)
103 if (*argv == '-') {
105 argv++;
108 if (get_u32(&tmp, argv, 0) == 0)
113 get_addr(&addr, argv, AF_UNSPEC) == 0) {
133 int argc, char **argv, struct nlmsghdr *n)
156 if (matches(*argv, "map") == 0) {
158 } else if (matches(*argv, "hash") == 0)
    [all...]
q_htb.c 63 static int htb_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
73 if (matches(*argv, "r2q") == 0) {
75 if (get_u32(&opt.rate2quantum, *argv, 10)) {
78 } else if (matches(*argv, "default") == 0) {
80 if (get_u32(&opt.defcls, *argv, 16)) {
83 } else if (matches(*argv, "debug") == 0) {
84 NEXT_ARG(); p = *argv;
90 fprintf(stderr, "What is \"%s\"?\n", *argv);
94 argc--; argv++;
103 static int htb_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n
    [all...]
m_skbedit.c 52 char **argv = *argv_p; local
60 if (matches(*argv, "skbedit") != 0)
66 if (matches(*argv, "queue_mapping") == 0) {
69 if (get_unsigned(&tmp, *argv, 10) || tmp > 65535) {
75 } else if (matches(*argv, "priority") == 0) {
78 if (get_tc_classid(&priority, *argv)) {
83 } else if (matches(*argv, "help") == 0) {
89 argv++;
93 if (matches(*argv, "reclassify") == 0) {
96 } else if (matches(*argv, "pipe") == 0)
    [all...]
q_prio.c 33 static int prio_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
43 if (strcmp(*argv, "bands") == 0) {
47 if (get_integer(&opt.bands, *argv, 10)) {
52 } else if (strcmp(*argv, "priomap") == 0) {
58 } else if (strcmp(*argv, "multiqueue") == 0) {
60 } else if (strcmp(*argv, "help") == 0) {
66 fprintf(stderr, "What is \"%s\"?\n", *argv);
70 if (get_unsigned(&band, *argv, 10)) {
84 argc--; argv++;
q_rr.c 33 static int rr_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
43 if (strcmp(*argv, "bands") == 0) {
47 if (get_integer(&opt.bands, *argv, 10)) {
52 } else if (strcmp(*argv, "priomap") == 0) {
58 } else if (strcmp(*argv, "help") == 0) {
61 } else if (strcmp(*argv, "multiqueue") == 0) {
66 fprintf(stderr, "What is \"%s\"?\n", *argv);
70 if (get_unsigned(&band, *argv, 10)) {
84 argc--; argv++;
  /external/iproute2/ip/
ipneigh.c 95 static int ipneigh_modify(int cmd, int flags, int argc, char **argv)
117 if (matches(*argv, "lladdr") == 0) {
120 duparg("lladdr", *argv);
121 lla = *argv;
123 } else if (strcmp(*argv, "nud") == 0) {
126 if (nud_state_a2n(&state, *argv))
127 invarg("nud state is bad", *argv);
129 } else if (matches(*argv, "proxy") == 0) {
131 if (matches(*argv, "help") == 0)
134 duparg("address", *argv);
    [all...]
  /external/oprofile/
opimport_pull 8 print "Usage:" + sys.argv[0] + " [-s serial_number] [-r] dir"
13 if (len(sys.argv) > 5):
36 if sys.argv[1] == "-s":
37 if len(sys.argv) < 4:
40 device = " -s %s" % sys.argv[2]
45 if sys.argv[argv_next] == "-r" :
47 output_dir = sys.argv[argv_next+1]
50 output_dir = sys.argv[argv_next]
60 print "Try \"" + sys.argv[0] + " -r " + output_dir + "\""
  /external/openssl/apps/
dsa.c 97 int MAIN(int argc, char **argv)
134 prog=argv[0];
136 argv++;
139 if (strcmp(*argv,"-inform") == 0)
142 informat=str2fmt(*(++argv));
144 else if (strcmp(*argv,"-outform") == 0)
147 outformat=str2fmt(*(++argv));
149 else if (strcmp(*argv,"-in") == 0)
152 infile= *(++argv);
154 else if (strcmp(*argv,"-out") == 0
    [all...]
  /system/core/toolbox/
log.c 90 int log_main(int argc, char *argv[])
102 ret = getopt(argc, argv, "t:p:h");
116 usage(argv[0]);
121 usage(argv[0]);
127 usage(argv[0]);
133 strncat(buffer, argv[i], sizeof(buffer)-1);
138 usage(argv[0]);
r.c 13 int r_main(int argc, char *argv[])
21 if(!strcmp(argv[1], "-b")) {
24 argv++;
25 } else if(!strcmp(argv[1], "-s")) {
28 argv++;
32 addr = strtoul(argv[1], 0, 16);
36 value = strtoul(argv[2], 0, 16);
setkey.c 9 static void setkey_usage(char *argv[])
16 " -h Print help\n", argv[0]);
21 int setkey_main(int argc, char *argv[])
40 c = getopt(argc, argv, "t:k:v:hr");
74 setkey_usage(argv);
78 argv[0], optopt);
84 setkey_usage(argv);
  /external/wpa_supplicant/
wpa_cli.c 276 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[])
278 int verbose = argc > 0 && os_strcmp(argv[0], "verbose") == 0;
283 static int wpa_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[])
289 static int wpa_cli_cmd_mib(struct wpa_ctrl *ctrl, int argc, char *argv[])
295 static int wpa_cli_cmd_pmksa(struct wpa_ctrl *ctrl, int argc, char *argv[])
301 static int wpa_cli_cmd_help(struct wpa_ctrl *ctrl, int argc, char *argv[])
308 static int wpa_cli_cmd_license(struct wpa_ctrl *ctrl, int argc, char *argv[])
315 static int wpa_cli_cmd_quit(struct wpa_ctrl *ctrl, int argc, char *argv[])
342 static int wpa_cli_cmd_set(struct wpa_ctrl *ctrl, int argc, char *argv[])
358 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1])
1343 char cmdbuf[256], *cmd, *argv[max_args], *pos; local
    [all...]
  /packages/experimental/RpcPerformance/
rpcperftest.cpp 40 int main(int argc, const char *argv[]) {
41 if (argc != 2 || argv[1][0] == '-') {
52 if (argv[1][0] == ':') {
53 String16 name(argv[1] + 1);
56 fprintf(stderr, "error: can't register service: %s\n", argv[1] + 1);
66 sp<IBinder> service = sm->checkService(String16(argv[1]));
68 fprintf(stderr, "error: can't find service: %s\n", argv[1]);
75 fprintf(stderr, "error: can't ping: %s [%d]\n", argv[1], status);
85 fprintf(stderr, "error: can't ping: %s [%d]\n", argv[1], status);
  /bionic/libc/bionic/
libc_init_dynamic.c 100 char** argv = (char**)(elfdata + 1); local
101 char** envp = argv + argc + 1;
114 exit(slingshot(argc, argv, envp));
  /bootable/recovery/
verifier_test.c 74 int main(int argc, char **argv) {
76 fprintf(stderr, "Usage: %s <package>\n", argv[0]);
80 int result = verify_file(argv[1], &test_key, 1);
  /build/tools/iself/
iself.c 12 main(int argc, char **argv)
18 argc--, argv++;
20 fname = *argv;
  /external/e2fsprogs/e2fsck/
flushb.c 38 int main(int argc, char **argv)
42 progname = argv[0];
46 fd = open(argv[1], O_RDONLY, 0);
  /external/e2fsprogs/lib/e2p/
parse_num.c 49 main(int argc, char **argv)
55 fprintf(stderr, "Usage: %s arg\n", argv[0]);
59 num = parse_num_blocks(argv[1], log_block_size);
  /external/e2fsprogs/tests/progs/
hold_inode.c 21 main(int argc, char **argv)
27 fprintf(stderr, "Usage: %s dir\n", argv[0]);
30 filename = argv[1];
  /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/iptables/
iptables-standalone.c 42 iptables_main(int argc, char *argv[])
45 main(int argc, char *argv[])
63 ret = do_command(argc, argv, &table, &handle);
  /external/kernel-headers/original/linux/
kmod.h 39 extern int call_usermodehelper_keys(char *path, char *argv[], char *envp[],
43 call_usermodehelper(char *path, char **argv, char **envp, int wait)
45 return call_usermodehelper_keys(path, argv, envp, NULL, wait);
  /external/libvpx/
wince_wmain_adapter.cpp 29 int main(int argc, char **argv);
32 int wmain(int argc, wchar_t **argv) {
39 wcstombs( chargv, argv[i], sizeof(chargv));
  /external/openssl/crypto/pkcs7/
enc.c 65 int main(argc,argv)
67 char *argv[];
85 if (strcmp(argv[1],"-nd") == 0)
88 argv++; argc--;
90 else if ((strcmp(argv[1],"-c") == 0) && (argc >= 2)) {
91 if(!(cipher = EVP_get_cipherbyname(argv[2]))) {
92 fprintf(stderr, "Unknown cipher %s\n", argv[2]);
96 argv+=2;
97 } else if ((strcmp(argv[1],"-k") == 0) && (argc >= 2)) {
98 keyfile = argv[2]
    [all...]

Completed in 230 milliseconds

1 2 3 4 5 6 78 91011>>