HomeSort by relevance Sort by last modified time
    Searched full:argv (Results 301 - 325 of 12101) sorted by null

<<11121314151617181920>>

  /external/iproute2/ip/
iproute.c 745 char **argv = *argvp; local
747 while (++argv, --argc > 0) {
748 if (strcmp(*argv, "via") == 0) {
753 family = read_family(*argv);
758 get_addr(&addr, *argv, family);
768 } else if (strcmp(*argv, "dev") == 0) {
770 if ((rtnh->rtnh_ifindex = ll_name_to_index(*argv)) == 0) {
771 fprintf(stderr, "Cannot find device \"%s\"\n", *argv);
774 } else if (strcmp(*argv, "weight") == 0) {
778 if (get_unsigned(&w, *argv, 0) || w == 0 || w > 256
    [all...]
iptunnel.c 60 static int parse_args(int argc, char **argv, int cmd, struct ip_tunnel_parm *p)
75 if (strcmp(*argv, "mode") == 0) {
77 if (strcmp(*argv, "ipip") == 0 ||
78 strcmp(*argv, "ip/ip") == 0) {
80 } else if (strcmp(*argv, "gre") == 0 ||
81 strcmp(*argv, "gre/ip") == 0) {
83 } else if (strcmp(*argv, "sit") == 0 ||
84 strcmp(*argv, "ipv6/ip") == 0) {
86 } else if (strcmp(*argv, "isatap") == 0) {
89 } else if (strcmp(*argv, "vti") == 0)
    [all...]
iptoken.c 89 static int iptoken_list(int argc, char **argv)
95 if (strcmp(*argv, "dev") == 0) {
97 if ((da.ifindex = ll_name_to_index(*argv)) == 0)
98 invarg("dev is invalid\n", *argv);
101 argc--; argv++;
117 static int iptoken_set(int argc, char **argv, bool delete)
134 if (strcmp(*argv, "dev") == 0) {
138 ll_name_to_index(*argv)) == 0)
139 invarg("dev is invalid\n", *argv);
143 if (matches(*argv, "help") == 0
    [all...]
xfrm_state.c 178 char **argv = *argvp; local
180 if (get_be32(seq, *argv, 0))
181 invarg("SEQ value is invalid", *argv);
184 *argvp = argv;
192 char **argv = *argvp; local
193 int len = strlen(*argv);
195 if (len > 2 && strncmp(*argv, "0x", 2) == 0) {
198 if (get_u8(&val, *argv, 16))
199 invarg("FLAG value is invalid", *argv);
203 if (strcmp(*argv, "noecn") == 0
239 char **argv = *argvp; local
272 char **argv = *argvp; local
    [all...]
  /bootable/recovery/edify/
expr.cpp 50 std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv));
64 return expr->fn(expr->name.c_str(), state, expr->argv);
78 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) {
79 if (argv.empty()) {
83 for (size_t i = 0; i < argv.size(); ++i) {
85 if (!Evaluate(state, argv[i], &str)) {
94 Value* IfElseFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) {
95 if (argv.size() != 2 && argv.size() != 3) {
101 if (!Evaluate(state, argv[0], &cond))
    [all...]
  /external/iproute2/tc/
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
95 if (matches(*argv, "nat") == 0) {
97 if (parse_nat_args(&argc, &argv, &sel))
    [all...]
m_sample.c 45 char **argv = *argv_p; local
58 if (matches(*argv, "sample") == 0) {
61 fprintf(stderr, "sample bad argument %s\n", *argv);
66 if (matches(*argv, "rate") == 0) {
68 if (get_unsigned(&rate, *argv, 10) != 0) {
69 fprintf(stderr, "Illegal rate %s\n", *argv);
74 } else if (matches(*argv, "group") == 0) {
76 if (get_unsigned(&group, *argv, 10) != 0) {
78 *argv);
83 } else if (matches(*argv, "trunc") == 0)
    [all...]
m_ife.c 58 char **argv = *argv_p; local
80 if (matches(*argv, "ife") == 0) {
83 } else if (matches(*argv, "decode") == 0) {
86 } else if (matches(*argv, "encode") == 0) {
89 } else if (matches(*argv, "allow") == 0) {
91 if (matches(*argv, "mark") == 0) {
93 } else if (matches(*argv, "prio") == 0) {
95 } else if (matches(*argv, "tcindex") == 0) {
99 *argv);
102 } else if (matches(*argv, "use") == 0)
    [all...]
m_csum.c 42 char **argv = *argv_p; local
48 if ((matches(*argv, "iph") == 0) ||
49 (matches(*argv, "ip4h") == 0) ||
50 (matches(*argv, "ipv4h") == 0))
53 else if (matches(*argv, "icmp") == 0)
56 else if (matches(*argv, "igmp") == 0)
59 else if (matches(*argv, "tcp") == 0)
62 else if (matches(*argv, "udp") == 0)
65 else if (matches(*argv, "udplite") == 0)
68 else if (matches(*argv, "sctp") == 0
94 char **argv = *argv_p; local
    [all...]
tc.c 70 static int parse_noqopt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
73 fprintf(stderr, "Unknown qdisc \"%s\", hence option \"%s\" is unparsable\n", qu->id, *argv);
89 static int parse_nofopt(struct filter_util *qu, char *fhandle, int argc, char **argv, struct nlmsghdr *n)
94 fprintf(stderr, "Unknown filter \"%s\", hence option \"%s\" is unparsable\n", qu->id, *argv);
227 static int do_cmd(int argc, char **argv)
229 if (matches(*argv, "qdisc") == 0)
230 return do_qdisc(argc-1, argv+1);
231 if (matches(*argv, "class") == 0)
232 return do_class(argc-1, argv+1);
233 if (matches(*argv, "filter") == 0
    [all...]
  /external/ImageMagick/MagickWand/
montage.c 70 % char **argv,char **metadata,ExceptionInfo *exception)
78 % o argv: A text array containing the command line arguments.
266 int argc,char **argv,char **metadata,ExceptionInfo *exception)
274 argv[i]=DestroyString(argv[i]); \
275 argv=(char **) RelinquishMagickMemory(argv); \
339 option=argv[1];
366 ReadCommandlLine(argc,&argv);
367 status=ExpandFilenames(&argc,&argv);
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/
GenCrc32.c 109 CHAR8 *argv[]
120 argv - Array of pointers to parameter strings.
164 argv ++;
166 if ((stricmp (argv[0], "-h") == 0) || (stricmp (argv[0], "--help") == 0)) {
171 if (stricmp (argv[0], "--version") == 0) {
177 if ((stricmp (argv[0], "-o") == 0) || (stricmp (argv[0], "--output") == 0)) {
178 if (argv[1] == NULL || argv[1][0] == '-') {
    [all...]
  /external/toybox/
main.c 81 static void toy_singleinit(struct toy_list *which, char *argv[])
84 toys.argv = argv;
89 if (CFG_TOYBOX_HELP_DASHDASH && !(which->flags & TOYFLAG_NOHELP) && argv[1]) {
90 if (!strcmp(argv[1], "--help")) {
91 if (CFG_TOYBOX && toys.which == toy_list && toys.argv[2])
92 if (!(toys.which = toy_find(toys.argv[2]))) unknown(toys.argv[2]);
97 if (!strcmp(argv[1], "--version")) {
105 toys.optargs = argv+1
    [all...]
  /system/security/keystore/
keystore_cli.cpp 52 if (strcmp(argv[1], #cmd) == 0) { \
56 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
67 if (strcmp(argv[1], #cmd) == 0) { \
69 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \
73 service->cmd(String16(argv[2]), &ret); \
75 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret); \
86 if (strcmp(argv[1], #cmd) == 0) { \
88 fprintf(stderr, "Usage: %s " #cmd " <name>\n", argv[0]); \
92 service->cmd(atoi(argv[2]), &ret); \
94 fprintf(stderr, "%s: could not connect: %d\n", argv[0], ret);
    [all...]
  /external/wpa_supplicant_8/hostapd/
hostapd_cli.c 225 int min_args, int argc, char *argv[])
234 if (write_cmd(buf, sizeof(buf), cmd, argc, argv) < 0)
240 static int hostapd_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[])
246 static int hostapd_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[])
252 static int hostapd_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[])
254 if (argc > 0 && os_strcmp(argv[0], "driver") == 0)
260 static int hostapd_cli_cmd_mib(struct wpa_ctrl *ctrl, int argc, char *argv[])
264 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]);
307 static int hostapd_cli_cmd_sta(struct wpa_ctrl *ctrl, int argc, char *argv[])
316 snprintf(buf, sizeof(buf), "STA %s %s", argv[0], argv[1])
1759 char *argv[max_args]; local
    [all...]
  /external/e2fsprogs/lib/ss/
execute_cmd.c 27 char *argv[], int sci_idx));
29 char **argv[]));
64 * check_request_table(rqtbl, argc, argv, sci_idx)
67 * If the command string in argv[0] is in the request table, execute
74 * number of elements in argv[]
75 * argv (char *[])
86 char *argv[], int sci_idx)
95 char *string = argv[0];
100 info->argv = argv;
199 char **argv; local
    [all...]
  /external/libxml2/
testXPath.c 143 int main(int argc, char **argv) {
151 if ((!strcmp(argv[i], "-xptr")) || (!strcmp(argv[i], "--xptr")))
155 if ((!strcmp(argv[i], "-debug")) || (!strcmp(argv[i], "--debug")))
157 else if ((!strcmp(argv[i], "-valid")) || (!strcmp(argv[i], "--valid")))
159 else if ((!strcmp(argv[i], "-expr")) || (!strcmp(argv[i], "--expr")))
161 else if ((!strcmp(argv[i], "-tree")) || (!strcmp(argv[i], "--tree"))
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
wpa_cli.c 264 int argc, char *argv[])
273 if (write_cmd(buf, sizeof(buf), cmd, argc, argv) < 0)
279 static int wpa_cli_cmd_ifname(struct wpa_ctrl *ctrl, int argc, char *argv[])
285 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[])
287 if (argc > 0 && os_strcmp(argv[0], "verbose") == 0)
289 if (argc > 0 && os_strcmp(argv[0], "wps") == 0)
291 if (argc > 0 && os_strcmp(argv[0], "driver") == 0)
294 if (argc > 0 && os_strcmp(argv[0], "no_events") == 0)
301 static int wpa_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[])
307 static int wpa_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[])
4095 char *argv[max_args]; local
    [all...]
  /external/syslinux/com32/rosh/
rosh.c 24 * commands Break into argv/argc-like array
132 * parse_args1: Try 1 at parsing a string to an argc/argv pair. use free_args1 to free memory malloc'd
134 * Derived from com32/lib/sys/argv.c:__parse_argv()
191 /* Free argv created by parse_args1()
192 * argv Argument Values
194 void free_args1(char ***argv)
197 s = **argv;
198 free(*argv);
202 /* Convert a string to an argc/argv pair
204 * argv Argument Value
1319 char **argv; local
    [all...]
  /system/extras/bootctl/
bootctl.cpp 30 static void usage(FILE* where, int /* argc */, char* argv[])
50 argv[0], argv[0], argv[0], argv[0], argv[0], argv[0],
51 argv[0], argv[0], argv[0], argv[0], argv[0])
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
pygetopt.h 13 PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
primes.py 23 if sys.argv[1:]:
24 min = int(sys.argv[1])
25 if sys.argv[2:]:
26 max = int(sys.argv[2])
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
pygetopt.h 12 PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
wcmac.py 5 sys.argv.append('-x')
  /external/ImageMagick/www/source/
wand.c 5 int main(int argc,char **argv)
29 (void) fprintf(stdout,"Usage: %s image thumbnail\n",argv[0]);
37 status=MagickReadImage(magick_wand,argv[1]);
49 status=MagickWriteImages(magick_wand,argv[2],MagickTrue);

Completed in 666 milliseconds

<<11121314151617181920>>