Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 74) sorted by relevance

123

/curl/packages/OS400/
H A Dcurlmain.c46 extern int main_a(int argc, char * * argv);
53 int main(int argc, char **argv) in main() argument
69 ebcdic_argc = argc; in main()
76 for(i = 0; i < argc; i++) { in main()
91 argv = (char **) malloc((argc + 1) * sizeof(*argv) + bytecount); in main()
94 outbuf = (char *) (argv + argc + 1); in main()
97 for(i = 0; i < argc; i++) { in main()
106 argv[argc] = NULL; in main()
112 i = main_a(argc, argv); in main()
H A Dcurlcl.c59 size_t *argc, char **argv, in parse_command_line() argument
66 *argc = 0; in parse_command_line()
78 ++*argc; in parse_command_line()
132 size_t argc; in main() local
152 &argc, NULL, &argsize, NULL); in main()
156 argv = (char **) malloc((argc + 1) * sizeof(*argv) + argsize); in main()
166 &argc, argv, &argsize, (char *) (argv + argc + 1)); in main()
169 _CALLPGMV((void *) &pgmptr, argv, argc); in main()
/curl/tests/libtest/
H A Dfirst.c137 int main(int argc, char **argv) in main() argument
163 test_argc = argc; in main()
175 if(argc < (basearg + 1)) { in main()
202 if(argc < (basearg + 1)) { in main()
210 if(argc > (basearg + 1)) in main()
213 if(argc > (basearg + 2)) in main()
/curl/tests/server/
H A Dtestpart.c33 int main(int argc, char **argv) in main() argument
38 if(argc < 3) { in main()
H A Ddisabled.c119 int main(int argc, char **argv) in main() argument
123 (void) argc; in main()
H A Dresolve.c63 int main(int argc, char *argv[]) in main() argument
69 while(argc > arg) { in main()
/curl/packages/vms/
H A Dreport_openssl_version.c43 int main(int argc, char **argv) in main() argument
49 if(argc < 1) { in main()
76 if(argc > 1) { in main()
/curl/docs/examples/
H A Dchkspeed.c64 int main(int argc, char *argv[]) in main() argument
72 if(argc > 1) { in main()
74 for(argc--, argv++; *argv; argc--, argv++) { in main()
H A Dhttpput-postfields.c50 int main(int argc, char **argv) in main() argument
56 if(argc < 2) in main()
H A Dmulti-event.c210 int main(int argc, char **argv) in main() argument
212 if(argc <= 1) in main()
227 while(argc-- > 1) { in main()
228 add_download(argv[argc], argc); in main()
H A Durl2file.c39 int main(int argc, char *argv[]) in main() argument
45 if(argc < 2) { in main()
H A Dsslbackend.c43 int main(int argc, char **argv) in main() argument
45 const char *name = argc > 1 ? argv[1] : "openssl"; in main()
H A Dthreaded-ssl.c71 int main(int argc, char **argv) in main() argument
75 (void)argc; /* we do not use any arguments in this example */ in main()
H A Dmulti-uv.c225 int main(int argc, char **argv) in main() argument
230 if(argc <= 1) in main()
244 while(argc-- > 1) { in main()
245 add_download(argv[argc], argc, uv.multi); in main()
H A Dpostit2-formadd.c50 int main(int argc, char *argv[]) in main() argument
93 if((argc == 2) && (!strcmp(argv[1], "noexpectheader"))) in main()
H A Dpostit2.c46 int main(int argc, char *argv[]) in main() argument
83 if((argc == 2) && (!strcmp(argv[1], "noexpectheader"))) in main()
H A Dhref_extractor.c55 int main(int argc, char *argv[]) in main() argument
61 if(argc != 2) { in main()
H A Dhttpput.c61 int main(int argc, char **argv) in main() argument
71 if(argc < 3) in main()
H A Danyauthput.c83 int main(int argc, char **argv) in main() argument
93 if(argc < 3) in main()
H A Dftp-wildcard.c44 int main(int argc, char **argv) in main() argument
83 if(argc == 2) in main()
H A Dhtmltidy.c77 int main(int argc, char **argv) in main() argument
79 if(argc == 2) { in main()
/curl/src/
H A Dtool_main.c225 int wmain(int argc, wchar_t *argv[]) in wmain() argument
227 int main(int argc, char *argv[]) in wmain()
239 if(argc == 2 && !_tcscmp(argv[1], _T("--dump-module-paths"))) { in wmain()
271 result = operate(&global, argc, argv); in wmain()
/curl/tests/http/clients/
H A Dws-pingpong.c125 int main(int argc, char *argv[]) in main() argument
132 if(argc != 3) { in main()
161 (void)argc; in main()
H A Dupload-pausing.c201 int main(int argc, char *argv[]) in main() argument
213 while((ch = getopt(argc, argv, "V:")) != -1) { in main()
233 argc -= optind; in main()
236 if(argc != 1) { in main()
316 (void)argc; in main()
H A Dh2-pausing.c201 int main(int argc, char *argv[]) in main() argument
219 while((ch = getopt(argc, argv, "hV:")) != -1) { in main()
242 argc -= optind; in main()
245 if(argc != 1) { in main()
405 (void)argc; in main()

Completed in 29 milliseconds

123