/curl/packages/OS400/ |
H A D | curlmain.c | 46 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 D | curlcl.c | 59 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 D | first.c | 137 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 D | testpart.c | 33 int main(int argc, char **argv) in main() argument 38 if(argc < 3) { in main()
|
H A D | disabled.c | 119 int main(int argc, char **argv) in main() argument 123 (void) argc; in main()
|
H A D | resolve.c | 63 int main(int argc, char *argv[]) in main() argument 69 while(argc > arg) { in main()
|
/curl/packages/vms/ |
H A D | report_openssl_version.c | 43 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 D | chkspeed.c | 64 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 D | httpput-postfields.c | 50 int main(int argc, char **argv) in main() argument 56 if(argc < 2) in main()
|
H A D | multi-event.c | 210 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 D | url2file.c | 39 int main(int argc, char *argv[]) in main() argument 45 if(argc < 2) { in main()
|
H A D | sslbackend.c | 43 int main(int argc, char **argv) in main() argument 45 const char *name = argc > 1 ? argv[1] : "openssl"; in main()
|
H A D | threaded-ssl.c | 71 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 D | multi-uv.c | 225 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 D | postit2-formadd.c | 50 int main(int argc, char *argv[]) in main() argument 93 if((argc == 2) && (!strcmp(argv[1], "noexpectheader"))) in main()
|
H A D | postit2.c | 46 int main(int argc, char *argv[]) in main() argument 83 if((argc == 2) && (!strcmp(argv[1], "noexpectheader"))) in main()
|
H A D | href_extractor.c | 55 int main(int argc, char *argv[]) in main() argument 61 if(argc != 2) { in main()
|
H A D | httpput.c | 61 int main(int argc, char **argv) in main() argument 71 if(argc < 3) in main()
|
H A D | anyauthput.c | 83 int main(int argc, char **argv) in main() argument 93 if(argc < 3) in main()
|
H A D | ftp-wildcard.c | 44 int main(int argc, char **argv) in main() argument 83 if(argc == 2) in main()
|
H A D | htmltidy.c | 77 int main(int argc, char **argv) in main() argument 79 if(argc == 2) { in main()
|
/curl/src/ |
H A D | tool_main.c | 225 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 D | ws-pingpong.c | 125 int main(int argc, char *argv[]) in main() argument 132 if(argc != 3) { in main() 161 (void)argc; in main()
|
H A D | upload-pausing.c | 201 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 D | h2-pausing.c | 201 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()
|