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

1 2 34 5 6 7 8 91011>>

  /external/iproute2/ip/
ip.c 53 static int do_help(int argc, char **argv)
60 int (*func)(int argc, char **argv);
81 static int do_cmd(const char *argv0, int argc, char **argv)
87 return c->func(argc-1, argv+1);
137 int main(int argc, char **argv)
141 basename = strrchr(argv[0], '/');
143 basename = argv[0];
148 char *opt = argv[1];
150 argc--; argv++;
159 argv++
    [all...]
ip6tunnel.c 108 static int parse_args(int argc, char **argv, struct ip6_tnl_parm *p)
115 if (strcmp(*argv, "mode") == 0) {
117 if (strcmp(*argv, "ipv6/ipv6") == 0 ||
118 strcmp(*argv, "ip6ip6") == 0)
120 else if (strcmp(*argv, "ip/ipv6") == 0 ||
121 strcmp(*argv, "ipv4/ipv6") == 0 ||
122 strcmp(*argv, "ipip6") == 0 ||
123 strcmp(*argv, "ip4ip6") == 0)
125 else if (strcmp(*argv, "any/ipv6") == 0 ||
126 strcmp(*argv, "any") == 0
    [all...]
iplink_vlan.c 45 char **argv = *argvp; local
53 char *colon = strchr(*argv, ':');
59 if (get_u32(&m.from, *argv, 0))
63 argc--, argv++;
71 *argvp = argv;
75 static int vlan_parse_opt(struct link_util *lu, int argc, char **argv,
82 if (matches(*argv, "id") == 0) {
84 if (get_u16(&id, *argv, 0))
85 invarg("id is invalid", *argv);
87 } else if (matches(*argv, "reorder_hdr") == 0)
    [all...]
  /external/iproute2/tc/
m_gact.c 74 char **argv = *argv_p; local
76 if (matches(*argv, "reclassify") == 0) {
78 } else if (matches(*argv, "drop") == 0 || matches(*argv, "shot") == 0) {
80 } else if (matches(*argv, "continue") == 0) {
82 } else if (matches(*argv, "pipe") == 0) {
84 } else if (matches(*argv, "pass") == 0 || matches(*argv, "ok") == 0) {
87 fprintf(stderr,"bad action type %s\n",*argv);
96 char **argv = *argv_p local
    [all...]
tc_qdisc.c 47 int tc_qdisc_modify(int cmd, unsigned flags, int argc, char **argv)
75 if (strcmp(*argv, "dev") == 0) {
78 duparg("dev", *argv);
79 strncpy(d, *argv, sizeof(d)-1);
80 } else if (strcmp(*argv, "handle") == 0) {
83 duparg("handle", *argv);
85 if (get_qdisc_handle(&handle, *argv))
86 invarg(*argv, "invalid qdisc ID");
88 } else if (strcmp(*argv, "root") == 0) {
95 } else if (strcmp(*argv, "ingress") == 0)
    [all...]
f_u32.c 202 char **argv = *argv_p; local
203 char *p = *argv;
212 } else if (matches(*argv, "nexthdr+") == 0) {
215 p = *argv;
220 argc--; argv++;
223 *argv_p = argv;
233 char **argv = *argv_p; local
240 if (get_u32(&key, *argv, 0))
242 argc--; argv++;
244 if (get_u32(&mask, *argv, 16)
265 char **argv = *argv_p; local
296 char **argv = *argv_p; local
331 char **argv = *argv_p; local
366 char **argv = *argv_p; local
413 char **argv = *argv_p; local
454 char **argv = *argv_p; local
514 char **argv = *argv_p; local
558 char **argv = *argv_p; local
584 char **argv = *argv_p; local
608 char **argv = *argv_p; local
631 char **argv = *argv_p; local
666 char **argv = *argv_p; local
713 char **argv = *argv_p; local
764 char **argv = *argv_p; local
    [all...]
p_icmp.c 33 char **argv = *argv_p;
38 if (strcmp(*argv, "type") == 0) {
40 res = parse_u8(&argc, &argv, 0);
43 if (strcmp(*argv, "code") == 0) {
45 res = parse_u8(&argc, &argv, 1);
52 *argv_p = argv;
  /bootable/recovery/edify/
expr.h 54 int argc, Expr* argv[]);
60 Expr** argv; member in struct:Expr
77 Value* Literal(const char* name, State* state, int argc, Expr* argv[]);
82 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]);
83 Value* LogicalAndFn(const char* name, State* state, int argc, Expr* argv[]);
84 Value* LogicalOrFn(const char* name, State* state, int argc, Expr* argv[]);
85 Value* LogicalNotFn(const char* name, State* state, int argc, Expr* argv[]);
86 Value* SubstringFn(const char* name, State* state, int argc, Expr* argv[]);
87 Value* EqualityFn(const char* name, State* state, int argc, Expr* argv[]);
88 Value* InequalityFn(const char* name, State* state, int argc, Expr* argv[]);
    [all...]
  /external/grub/lib/
getopt1.c 70 getopt_long (argc, argv, options, long_options, opt_index)
72 char *const *argv;
77 return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
86 getopt_long_only (argc, argv, options, long_options, opt_index)
88 char *const *argv;
93 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
105 main (argc, argv)
107 char **argv;
127 c = getopt_long (argc, argv, "abc:d:0123456789",
152 printf ("digits occur in two different argv-elements.\n")
    [all...]
  /bootable/recovery/mtdutils/
flash_image.c 51 int main(int argc, char **argv) {
58 fprintf(stderr, "usage: %s partition file.img\n", argv[0]);
63 const MtdPartition *partition = mtd_find_partition_by_name(argv[1]);
64 if (partition == NULL) die("can't find %s partition", argv[1]);
68 int fd = open(argv[2], O_RDONLY);
69 if (fd < 0) die("error opening %s", argv[2]);
73 if (headerlen <= 0) die("error reading %s header", argv[2]);
77 LOGW("error opening %s: %s\n", argv[1], strerror(errno));
83 LOGW("error reading %s: %s\n", argv[1], strerror(errno));
86 LOGI("header is the same, not flashing %s\n", argv[1])
    [all...]
  /build/tools/fs_get_stats/
fs_get_stats.c 37 main(int argc, const char *argv[])
51 perms = (unsigned)strtoul(argv[1], &endptr, 0);
52 if (!endptr || (endptr == argv[1]) || (*endptr != '\0')) {
53 ERROR("current permissions must be a number. Got '%s'.\n", argv[1]);
57 if (!strcmp(argv[2], "1"))
60 fs_config(argv[3], is_dir, &uid, &gid, &perms);
  /device/samsung/crespo/libaudio2/
amix.c 43 int main(int argc, char **argv)
58 ctl = get_ctl(mixer, argv[1]);
60 argv += 2;
68 if (isdigit(argv[0][0]))
69 r = mixer_ctl_set(ctl, atoi(argv[0]));
71 r = mixer_ctl_select(ctl, argv[0]);
  /external/e2fsprogs/lib/e2p/
percent.c 35 main(int argc, char **argv)
43 fprintf(stderr, "Usage: %s percent base\n", argv[0]);
47 percent = strtoul(argv[1], &p, 0);
49 fprintf(stderr, "Bad percent: %s\n", argv[1]);
53 base = strtoul(argv[2], &p, 0);
55 fprintf(stderr, "Bad base: %s\n", argv[2]);
  /build/tools/check_prereq/
check_prereq.c 26 int main(int argc, char** argv) {
29 fprintf(stderr, "usage: %s <timestamp>\n", argv[0]);
40 long install = strtol(argv[1], &end, 10);
  /frameworks/base/cmds/servicemanager/
bctest.c 58 int main(int argc, char **argv)
67 argv++;
69 if (!strcmp(argv[0],"alt")) {
77 } else if (!strcmp(argv[0],"lookup")) {
83 ptr = svcmgr_lookup(bs, svcmgr, argv[1]);
84 fprintf(stderr,"lookup(%s) = %p\n", argv[1], ptr);
86 argv++;
87 } else if (!strcmp(argv[0],"publish")) {
92 svcmgr_publish(bs, svcmgr, argv[1], &token);
94 argv++
    [all...]
  /packages/inputmethods/PinyinIME/jni/command/
pinyinime_dictbuilder.cpp 30 int main(int argc, char* argv[]) {
34 success = dict_trie->build_dict(argv[1], argv[2]);
  /sdk/emulator/qtools/
read_addr.cpp 6 int main(int argc, char **argv) {
8 fprintf(stderr, "Usage: %s trace_file\n", argv[0]);
12 char *trace_filename = argv[1];
  /system/core/libpixelflinger/tests/codegen/
codegen.cpp 8 int main(int argc, char** argv)
11 printf("usage: %s 00000117:03454504_00001501_00000000\n", argv[0]);
18 sscanf(argv[1], "%08x:%08x_%08x_%08x", &p, &n, &t0, &t1);
  /system/core/toolbox/
cmp.c 9 int cmp_main(int argc, char *argv[])
24 c = getopt(argc, argv, "bln:");
39 argv[0], optopt);
45 fprintf(stderr, "Usage: %s [-b] [-l] [-n count] file1 file2\n", argv[0]);
49 fd1 = open(argv[optind], O_RDONLY);
51 fprintf(stderr, "could not open %s, %s\n", argv[optind], strerror(errno));
55 fd2 = open(argv[optind+1], O_RDONLY);
57 fprintf(stderr, "could not open %s, %s\n", argv[optind+1], strerror(errno));
70 printf("%s %s differ byte %d", argv[optind], argv[optind+1], filepos + i)
    [all...]
getprop.c 15 int getprop_main(int argc, char *argv[])
25 default_value = argv[2];
30 property_get(argv[1], value, default_value);
  /build/tools/lsd/
cmdline.h 6 int get_options(int argc, char **argv,
  /build/tools/soslim/
cmdline.h 6 int get_options(int argc, char **argv,
  /development/tools/yuv420sp2rgb/
cmdline.h 6 extern int get_options(int argc, char **argv,
  /external/chromium/third_party/icu/source/tools/toolutil/
uoptions.c 24 u_parseArgs(int argc, char* argv[],
31 arg=argv[i];
58 if(i+1<argc && !(argv[i+1][0]=='-' && argv[i+1][1]!=0)) {
59 /* argument in the next argv[], and there is not an option in there */
60 option->value=argv[++i];
87 /* argument following in the same argv[] */
91 } else if(i+1<argc && !(argv[i+1][0]=='-' && argv[i+1][1]!=0)) {
92 /* argument in the next argv[], and there is not an option in there *
    [all...]
  /external/clearsilver/cs/
csdump.c 26 int main (int argc, char *argv[])
45 ne_warn ("Parsing %s", argv[1]);
53 err = cs_parse_file (parse, argv[1]);
61 err = cs_dump_c(parse, argv[2]);

Completed in 1040 milliseconds

1 2 34 5 6 7 8 91011>>