/external/iproute2/tc/ |
q_multiq.c | 46 static int multiq_parse_opt(struct qdisc_util *qu, int argc, char **argv, 52 if (strcmp(*argv, "help") == 0) { 56 fprintf(stderr, "What is \"%s\"?\n", *argv); 60 argc--; argv++;
|
q_tbf.c | 41 static int tbf_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 56 if (matches(*argv, "limit") == 0) { 62 if (get_size(&opt.limit, *argv)) { 67 } else if (matches(*argv, "latency") == 0) { 73 if (get_time(&latency, *argv)) { 78 } else if (matches(*argv, "burst") == 0 || 79 strcmp(*argv, "buffer") == 0 || 80 strcmp(*argv, "maxburst") == 0) { 86 if (get_size_and_cell(&buffer, &Rcell_log, *argv) < 0) { 91 } else if (strcmp(*argv, "mtu") == 0 | [all...] |
q_fifo.c | 33 static int fifo_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 40 if (strcmp(*argv, "limit") == 0) { 42 if (get_size(&opt.limit, *argv)) { 47 } else if (strcmp(*argv, "help") == 0) { 51 fprintf(stderr, "What is \"%s\"?\n", *argv); 55 argc--; argv++;
|
/external/libvpx/ |
args.h | 18 char **argv; member in struct:arg 35 struct arg arg_init(char **argv); 36 int arg_match(struct arg *arg_, const struct arg_def *def, char **argv); 39 char **argv_dup(int argc, const char **argv);
|
args.c | 28 struct arg arg_init(char **argv) 32 a.argv = argv; 40 int arg_match(struct arg *arg_, const struct arg_def *def, char **argv) 44 if (!argv[0] || argv[0][0] != '-') 47 arg = arg_init(argv); 50 && strlen(arg.argv[0]) == strlen(def->short_name) + 1 51 && !strcmp(arg.argv[0] + 1, def->short_name)) 54 arg.name = arg.argv[0] + 1 [all...] |
/external/openssl/apps/ |
genrsa.c | 89 int MAIN(int argc, char **argv) 127 argv++; 132 if (strcmp(*argv,"-out") == 0) 135 outfile= *(++argv); 137 else if (strcmp(*argv,"-3") == 0) 139 else if (strcmp(*argv,"-F4") == 0 || strcmp(*argv,"-f4") == 0) 142 else if (strcmp(*argv,"-engine") == 0) 145 engine= *(++argv); 148 else if (strcmp(*argv,"-rand") == 0 [all...] |
rsa.c | 100 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...] |
version.c | 140 int MAIN(int argc, char **argv) 154 if (strcmp(argv[i],"-v") == 0) 156 else if (strcmp(argv[i],"-b") == 0) 158 else if (strcmp(argv[i],"-f") == 0) 160 else if (strcmp(argv[i],"-o") == 0) 162 else if (strcmp(argv[i],"-p") == 0) 164 else if (strcmp(argv[i],"-d") == 0) 166 else if (strcmp(argv[i],"-a") == 0)
|
gendsa.c | 79 int MAIN(int argc, char **argv) 104 argv++; 109 if (strcmp(*argv,"-out") == 0) 112 outfile= *(++argv); 114 else if (strcmp(*argv,"-passout") == 0) 117 passargout= *(++argv); 120 else if (strcmp(*argv,"-engine") == 0) 123 engine= *(++argv); 126 else if (strcmp(*argv,"-rand") == 0) 129 inrand= *(++argv); [all...] |
/external/oprofile/libutil/ |
op_popt.h | 35 int argc, char const ** argv,
|
/external/protobuf/src/google/protobuf/compiler/ |
plugin.h | 37 // int main(int argc, char* argv[]) { 39 // return google::protobuf::compiler::PluginMain(argc, argv, &generator); 67 LIBPROTOC_EXPORT int PluginMain(int argc, char* argv[], const CodeGenerator* generator);
|
test_plugin.cc | 42 int main(int argc, char* argv[]) { 50 return google::protobuf::compiler::PluginMain(argc, argv, &generator);
|
/system/core/include/sysutils/ |
FrameworkCommand.h | 32 virtual int runCommand(SocketClient *c, int argc, char **argv) = 0;
|
/system/extras/tests/bionic/libc/other/ |
test_atomics.c | 6 int main(int argc, const char *argv[])
|
/external/iptables/extensions/ |
libipt_SET.c | 57 parse_target(char **argv, int invert, unsigned int *flags, 68 if (!argv[optind] 69 || argv[optind][0] == '-' || argv[optind][0] == '!') 73 if (strlen(argv[optind-1]) > IP_SET_MAXNAMELEN - 1) 76 argv[optind-1], IP_SET_MAXNAMELEN - 1); 78 get_set_byname(argv[optind - 1], info); 79 parse_bindings(argv[optind], info); 88 parse(int c, char **argv, int invert, unsigned int *flags, 96 parse_target(argv, invert, flags [all...] |
/external/elfutils/tests/ |
ecp.c | 22 main (int argc, char *argv[]) 25 error (EXIT_FAILURE, 0, "usage: %s FROMNAME TONAME", argv[0]); 29 int infd = open (argv[1], O_RDONLY); 31 error (EXIT_FAILURE, errno, "cannot open input file '%s'", argv[1]); 36 argv[1], elf_errmsg (-1)); 38 int outfd = creat (argv[2], 0666); 40 error (EXIT_FAILURE, errno, "cannot open output file '%s'", argv[2]); 45 argv[2], elf_errmsg (-1));
|
/external/qemu/distrib/sdl-1.2.12/src/video/qtopia/ |
SDL_QPEApp.cc | 40 char *argv[] = { { "SDLApp" } }; local 41 app = new QPEApplication(argc, argv);
|
/external/wpa_supplicant/wpa_gui/ |
main.cpp | 7 int main( int argc, char ** argv ) 9 QApplication a( argc, argv );
|
/external/wpa_supplicant/wpa_gui-qt4/ |
main.cpp | 21 int main(int argc, char *argv[]) 23 QApplication app(argc, argv);
|
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui/ |
main.cpp | 7 int main( int argc, char ** argv ) 9 QApplication a( argc, argv );
|
/frameworks/base/tools/aidl/ |
options.cpp | 34 parse_options(int argc, const char* const* argv, Options *options) 38 if (argc >= 2 && 0 == strcmp(argv[1], "--preprocess")) { 42 options->outputFileName = argv[2]; 44 options->filesToPreprocess.push_back(argv[i]); 55 const char* s = argv[i]; 114 options->inputFileName = argv[i]; 123 options->outputFileName = argv[i]; 141 fprintf(stderr, " %s", argv[i]);
|
/external/wpa_supplicant_6/wpa_supplicant/ |
wpa_cli.c | 235 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) 237 int verbose = argc > 0 && os_strcmp(argv[0], "verbose") == 0; 242 static int wpa_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) 248 static int wpa_cli_cmd_mib(struct wpa_ctrl *ctrl, int argc, char *argv[]) 254 static int wpa_cli_cmd_pmksa(struct wpa_ctrl *ctrl, int argc, char *argv[]) 260 static int wpa_cli_cmd_help(struct wpa_ctrl *ctrl, int argc, char *argv[]) 267 static int wpa_cli_cmd_license(struct wpa_ctrl *ctrl, int argc, char *argv[]) 274 static int wpa_cli_cmd_quit(struct wpa_ctrl *ctrl, int argc, char *argv[]) 301 static int wpa_cli_cmd_set(struct wpa_ctrl *ctrl, int argc, char *argv[]) 317 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1]) 1658 char cmdbuf[256], *cmd, *argv[max_args], *pos; local [all...] |
/hardware/broadcom/wlan/bcm4329/src/dhd/exe/ |
dhdu.c | 108 static int dhd_do_msglevel(void *dhd, cmd_t *cmd, char **argv, dbg_msg_t *dbg_msg); 307 char **argv = *pargv; local 311 while (*argv) { 313 if (!strcmp(*argv, "-a") || !strcmp(*argv, "-i")) { 314 char *opt = *argv++; 315 ifname = *argv; 325 else if (!strcmp(*argv, "-d")) 327 else if (!strcmp(*argv, "-u")) 329 else if (!strcmp(*argv, "-x") [all...] |
/external/clearsilver/cgi/ |
cgi_cstest.c | 23 int main (int argc, char *argv[]) 37 if (!strcmp(argv[1], "-v")) 45 hdf_file = argv[2]; 46 cs_file = argv[3]; 50 hdf_file = argv[1]; 51 cs_file = argv[2];
|
/external/libvpx/examples/ |
decoder_tmpl.c | 45 int main(int argc, char **argv) { 58 if(!(infile = fopen(argv[1], "rb"))) 59 die("Failed to open %s for reading", argv[1]); 60 if(!(outfile = fopen(argv[2], "wb"))) 61 die("Failed to open %s for writing", argv[2]); 67 die("%s is not an IVF file.", argv[1]);
|