Searched refs:argv (Results 276 - 300 of 1950) sorted by relevance

<<11121314151617181920>>

/external/openssl/apps/
H A Ddgst.c104 int MAIN(int argc, char **argv) argument
147 program_name(argv[0],pname,sizeof pname);
152 argv++;
155 if ((*argv)[0] != '-') break;
156 if (strcmp(*argv,"-c") == 0)
158 else if (strcmp(*argv,"-r") == 0)
160 else if (strcmp(*argv,"-rand") == 0)
163 randfile=*(++argv);
165 else if (strcmp(*argv,"-out") == 0)
168 outfile=*(++argv);
[all...]
H A Drand.c78 int MAIN(int argc, char **argv) argument
103 while (!badopt && argv[++i] != NULL)
105 if (strcmp(argv[i], "-out") == 0)
107 if ((argv[i+1] != NULL) && (outfile == NULL))
108 outfile = argv[++i];
113 else if (strcmp(argv[i], "-engine") == 0)
115 if ((argv[i+1] != NULL) && (engine == NULL))
116 engine = argv[++i];
121 else if (strcmp(argv[i], "-rand") == 0)
123 if ((argv[
[all...]
H A Dspkac.c82 int MAIN(int argc, char **argv) argument
107 prog=argv[0];
109 argv++;
112 if (strcmp(*argv,"-in") == 0)
115 infile= *(++argv);
117 else if (strcmp(*argv,"-out") == 0)
120 outfile= *(++argv);
122 else if (strcmp(*argv,"-passin") == 0)
125 passargin= *(++argv);
127 else if (strcmp(*argv,"
[all...]
H A Dcrl.c101 int MAIN(int argc, char **argv) argument
146 argv++;
151 if (strcmp(*argv,"-p") == 0)
154 if (!args_from_file(++argv,Nargc,Nargv)) { goto end; }*/
157 if (strcmp(*argv,"-inform") == 0)
160 informat=str2fmt(*(++argv));
162 else if (strcmp(*argv,"-outform") == 0)
165 outformat=str2fmt(*(++argv));
167 else if (strcmp(*argv,"-in") == 0)
170 infile= *(++argv);
[all...]
H A Dasn1pars.c87 int MAIN(int argc, char **argv) argument
113 prog=argv[0];
115 argv++;
123 if (strcmp(*argv,"-inform") == 0)
126 informat=str2fmt(*(++argv));
128 else if (strcmp(*argv,"-in") == 0)
131 infile= *(++argv);
133 else if (strcmp(*argv,"-out") == 0)
136 derfile= *(++argv);
138 else if (strcmp(*argv,"
[all...]
H A Dx509.c168 int MAIN(int argc, char **argv) argument
240 argv++;
244 if (strcmp(*argv,"-inform") == 0)
247 informat=str2fmt(*(++argv));
249 else if (strcmp(*argv,"-outform") == 0)
252 outformat=str2fmt(*(++argv));
254 else if (strcmp(*argv,"-keyform") == 0)
257 keyformat=str2fmt(*(++argv));
259 else if (strcmp(*argv,"-req") == 0)
264 else if (strcmp(*argv,"
[all...]
/external/e2fsprogs/lib/blkid/
H A Dresolve.c109 int main(int argc, char **argv) argument
120 argv[0], argv[0]);
128 if (argv[2]) {
129 value = blkid_get_tag_value(cache, argv[1], argv[2]);
130 printf("%s has tag %s=%s\n", argv[2], argv[1],
133 value = blkid_get_devname(cache, argv[1], NULL);
134 printf("%s has tag %s\n", value ? value : "<none>", argv[
[all...]
/external/iproute2/tc/
H A Dq_netem.c105 #define NEXT_IS_NUMBER() (NEXT_ARG_OK() && isnumber(argv[1]))
125 static int netem_parse_opt(struct qdisc_util *qu, int argc, char **argv, argument
145 if (matches(*argv, "limit") == 0) {
147 if (get_size(&opt.limit, *argv)) {
151 } else if (matches(*argv, "latency") == 0 ||
152 matches(*argv, "delay") == 0) {
154 if (get_ticks(&opt.latency, *argv)) {
161 if (get_ticks(&opt.jitter, *argv)) {
169 if (get_percent(&cor.delay_corr, *argv)) {
175 } else if (matches(*argv, "los
[all...]
H A Df_fw.c34 static int fw_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n) argument
71 if (matches(*argv, "classid") == 0 ||
72 matches(*argv, "flowid") == 0) {
75 if (get_tc_classid(&handle, *argv)) {
80 } else if (matches(*argv, "police") == 0) {
82 if (parse_police(&argc, &argv, TCA_FW_POLICE, n)) {
87 } else if (matches(*argv, "action") == 0) {
89 if (parse_action(&argc, &argv, TCA_FW_ACT, n)) {
94 } else if (strcmp(*argv, "indev") == 0) {
98 argv
[all...]
H A Df_tcindex.c28 char **argv, struct nlmsghdr *n)
45 if (!strcmp(*argv,"hash")) {
49 hash = strtoul(*argv,&end,0);
56 else if (!strcmp(*argv,"mask")) {
60 mask = strtoul(*argv,&end,0);
67 else if (!strcmp(*argv,"shift")) {
71 shift = strtoul(*argv,&end,0);
79 else if (!strcmp(*argv,"fall_through")) {
85 else if (!strcmp(*argv,"pass_on")) {
91 else if (!strcmp(*argv,"classi
27 tcindex_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n) argument
[all...]
H A Dq_dsmark.c29 static int dsmark_parse_opt(struct qdisc_util *qu, int argc, char **argv, argument
40 if (!strcmp(*argv,"indices")) {
42 ind = strtoul(*argv,&end,0);
48 else if (!strcmp(*argv,"default_index") || !strcmp(*argv,
51 dflt = strtoul(*argv,&end,0);
57 else if (!strcmp(*argv,"set_tc_index")) {
65 argv++;
91 static int dsmark_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, argument
101 if (!strcmp(*argv,"mas
[all...]
H A Dm_action.c81 char **argv = *argv_p; local
84 fprintf(stderr, "Unknown action \"%s\", hence option \"%s\" is unparsable\n", au->id, *argv);
155 new_cmd(char **argv) argument
157 if ((matches(*argv, "change") == 0) ||
158 (matches(*argv, "replace") == 0)||
159 (matches(*argv, "delete") == 0)||
160 (matches(*argv, "add") == 0))
171 char **argv = *argv_p; local
191 if (strcmp(*argv, "action") == 0 ) {
193 argv
376 char **argv = *argv_p; local
486 char **argv = *argv_p; local
523 tc_act_list_or_flush(int argc, char **argv, int event) argument
594 do_action(int argc, char **argv) argument
[all...]
/external/iproute2/ip/
H A Dipxfrm.c638 char **argv = *argvp; local
641 if (get_u32(&mark->v, *argv, 0)) {
642 invarg("Illegal \"mark\" value\n", *argv);
651 if (strcmp(*argv, "mask") == 0) {
653 if (get_u32(&mark->m, *argv, 0)) {
654 invarg("Illegal \"mark\" mask\n", *argv);
663 *argvp = argv;
938 char **argv = *argvp; local
946 if (strcmp(*argv, "src") == 0) {
949 get_prefix(&src, *argv, preferred_famil
1024 char **argv = *argvp; local
1048 char **argv = *argvp; local
1067 char **argv = *argvp; local
1082 char **argv = *argvp; local
1207 char **argv = *argvp; local
1290 char **argv = *argvp; local
1342 do_xfrm(int argc, char **argv) argument
[all...]
H A Dipmaddr.c244 static int multiaddr_list(int argc, char **argv) argument
253 if (strcmp(*argv, "dev") == 0) {
256 if (matches(*argv, "help") == 0)
259 duparg2("dev", *argv);
260 filter.dev = *argv;
262 argv++; argc--;
275 int multiaddr_modify(int cmd, int argc, char **argv) argument
288 if (strcmp(*argv, "dev") == 0) {
291 duparg("dev", *argv);
292 strncpy(ifr.ifr_name, *argv, IFNAMSI
329 do_multiaddr(int argc, char **argv) argument
[all...]
/external/e2fsprogs/lib/ss/
H A Dtest_ss.c83 int main(int argc, char **argv) argument
91 while ((c = getopt (argc, argv, "wR:f:")) != EOF) {
100 com_err(argv[0], 0, "Usage: test_ss [-R request] "
138 void test_cmd (argc, argv)
140 char **argv;
144 while (++argv, --argc) {
145 printf("'%s'", *argv);
/external/icu4c/tools/gencmn/
H A Dgencmn.c49 main(int argc, char* argv[]) { argument
53 U_MAIN_INIT_ARGS(argc, argv);
56 argc=u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options);
62 argv[-argc]);
75 "%csage: %s [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright ] [ -C, --comment comment ] [ -d, --destdir dir ] [ -n, --name filename ] [ -t, --type filetype ] [ -S, --source tocfile ] [ -e, --entrypoint name ] maxsize listfile\n", argc < 0 ? 'u' : 'U', *argv);
104 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0);
112 argc == 2 ? NULL : argv[2],
/external/webkit/Source/WebKit/chromium/scripts/
H A Dconcatenate_css_files.py76 def main(argv):
78 if len(argv) < 3:
80 'output_file' % argv[0])
83 output_file_name = argv.pop()
84 input_order_file_name = argv[1]
89 expander = PathExpander(argv[2:])
117 sys.exit(main(sys.argv))
H A Dconcatenate_js_files.py77 def main(argv):
79 if len(argv) < 3:
81 'output_file' % argv[0])
84 output_file_name = argv.pop()
85 input_order_file_name = argv[1]
90 expander = PathExpander(argv[2:])
117 sys.exit(main(sys.argv))
/external/bzip2/
H A Ddlltest.c69 int main(int argc,char *argv[]) argument
84 while(++argv,--argc){
85 if(**argv =='-' || **argv=='/'){
88 for(p=*argv+1;*p;p++){
103 fn_r = *argv;
104 argc--;argv++;
109 fn_w = *argv;
110 argc--;argv++;
/external/chromium/chrome/browser/
H A Dshell_integration_linux.cc44 bool LaunchXdgUtility(const std::vector<std::string>& argv) { argument
58 if (!base::LaunchApp(argv, no_stdin, false, &handle)) {
91 std::vector<std::string> argv;
92 argv.push_back("xdg-icon-resource");
93 argv.push_back("install");
97 argv.push_back("--mode");
98 argv.push_back("user");
100 argv.push_back("--size");
101 argv.push_back(base::IntToString(shortcut_info.favicon.width()));
103 argv
251 std::vector<std::string> argv; local
265 std::vector<std::string> argv; local
283 std::vector<std::string> argv; local
[all...]
/external/gtest/test/
H A Dgtest_test_utils.py51 _flag_map = {'gtest_source_dir': os.path.dirname(sys.argv[0]),
52 'gtest_build_dir': os.path.dirname(sys.argv[0])}
56 def _ParseAndStripGTestFlags(argv):
57 """Parses and strips Google Test flags from argv. This is idempotent."""
71 while i < len(argv):
73 if argv[i].startswith(prefix):
74 _flag_map[flag] = argv[i][len(prefix):]
75 del argv[i]
79 # and removed it from argv.
89 _ParseAndStripGTestFlags(sys.argv)
[all...]
/external/llvm/tools/llvm-link/
H A Dllvm-link.cpp76 int main(int argc, char **argv) { argument
79 PrettyStackTraceProgram X(argc, argv);
83 cl::ParseCommandLineOptions(argc, argv, "llvm linker\n");
88 std::auto_ptr<Module> Composite(LoadFile(argv[0],
91 errs() << argv[0] << ": error loading file '"
97 std::auto_ptr<Module> M(LoadFile(argv[0],
100 errs() << argv[0] << ": error loading file '" <<InputFilenames[i]<< "'\n";
108 errs() << argv[0] << ": link error in '" << InputFilenames[i]
128 errs() << argv[0] << ": linked module is broken!\n";
/external/bsdiff/
H A Dbspatch.c58 int main(int argc,char * argv[]) argument
73 if(argc!=4) errx(1,"usage: %s oldfile newfile patchfile\n",argv[0]);
76 if ((f = fopen(argv[3], "r")) == NULL)
77 err(1, "fopen(%s)", argv[3]);
97 err(1, "fread(%s)", argv[3]);
113 err(1, "fclose(%s)", argv[3]);
114 if ((cpf = fopen(argv[3], "r")) == NULL)
115 err(1, "fopen(%s)", argv[3]);
117 err(1, "fseeko(%s, %lld)", argv[3],
121 if ((dpf = fopen(argv[
[all...]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Drelayserver_main.cc34 int main(int argc, char **argv) { argument
42 if (!int_addr.FromString(argv[1])) {
43 std::cerr << "Unable to parse IP address: " << argv[1]; local
48 if (!ext_addr.FromString(argv[2])) {
49 std::cerr << "Unable to parse IP address: " << argv[2]; local
/external/dbus/bus/
H A Dactivation-helper-bin.c72 main (int argc, char **argv) argument
82 strcmp (argv[1], "--help") == 0 ||
83 strcmp (argv[1], "-h") == 0 ||
84 strcmp (argv[1], "-?") == 0)
91 if (!run_launch_helper (argv[1], &error))

Completed in 346 milliseconds

<<11121314151617181920>>