Home
last modified time | relevance | path

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

12

/openssh-portable/m4/
H A Dopenssh.m417 int main(int argc, char **argv) {
20 int i = 123 * argc, j = 456 + argc, k = 789 - argc;
23 long long int n = argc * 12345LL, o = 12345LL * (long long int)argc;
65 int main(int argc, char **argv) {
68 int i = 123 * argc, j = 456 + argc, k = 789 - argc;
71 long long int n = argc * 12345LL, o = 12345LL * (long long int)argc;
104 int main(int argc, char **argv) {
107 int i = 123 * argc, j = 456 + argc, k = 789 - argc;
110 long long int n = argc * 12345LL, o = 12345LL * (long long int)argc;
/openssh-portable/regress/
H A Dsetuid-allowed.c38 main(int argc, char **argv) in main() argument
43 if (argc > 2) in main()
45 else if (argc == 2) in main()
H A Dcheck-perm.c159 main(int argc, char **argv) in main() argument
168 while ((ch = getopt(argc, argv, "hm:")) != -1) { in main()
184 argc -= optind; in main()
187 if (argc > 1) in main()
189 else if (argc == 1) in main()
H A Dmkdtemp.c37 main(int argc, char **argv) in main() argument
45 if (argc != 2) in main()
H A Dmodpipe.c82 main(int argc, char **argv) in main() argument
91 while ((ch = getopt(argc, argv, "wm:")) != -1) { in main()
/openssh-portable/
H A Dsftp.c1133 int argc, quot; in makeargv() local
1139 *argcp = argc = 0; in makeargv()
1160 argc++; in makeargv()
1246 argc++; in makeargv()
1272 *argcp = argc; in makeargv()
1347 if (argc - optidx < 1) { in parse_args()
1411 if (argc - optidx < 1) in parse_args()
1422 if (argc - optidx > 0) in parse_args()
1440 if (argc - optidx < 1) in parse_args()
2049 int argc, carg; in complete() local
[all …]
H A Dsftp-server-main.c38 main(int argc, char **argv) in main() argument
53 return (sftp_server_main(argc, argv, user_pw)); in main()
H A Dscp.c400 main(int argc, char **argv) in main() argument
417 for (n = 0; n < argc; n++) in main()
523 argc -= optind; in main()
551 source(argc, argv); in main()
556 sink(argc, argv, NULL); in main()
559 if (argc < 2) in main()
561 if (argc > 2) in main()
575 toremote(argc, argv); in main()
578 verifydir(argv[argc - 1]); in main()
1071 source(int argc, char **argv) in source() argument
[all …]
H A Dssh-add.c659 main(int argc, char **argv) in main() argument
695 while ((ch = getopt(argc, argv, "vkKlLcdDTxXE:e:M:m:qs:S:t:")) != -1) { in main()
804 argc -= optind; in main()
807 if (argc <= 0) in main()
809 for (r = i = 0; i < argc; i++) in main()
827 if (argc == 0) { in main()
854 for (i = 0; i < argc; i++) { in main()
H A Dssh-pkcs11-helper.c319 main(int argc, char **argv) in main() argument
335 while ((ch = getopt(argc, argv, "v")) != -1) { in main()
430 main(int argc, char **argv) in main() argument
438 main(int argc, char **argv) in main() argument
H A Dlogintest.c284 main(int argc, char *argv[]) in main() argument
289 if (argc == 2) { in main()
H A Dssh-sk-helper.c271 main(int argc, char **argv) in main() argument
283 while ((ch = getopt(argc, argv, "v")) != -1) { in main()
359 main(int argc, char **argv) in main() argument
H A Dssh-keygen.c1738 int argc, char **argv) in do_ca_sign() argument
1804 for (i = 0; i < argc; i++) { in do_ca_sign()
2375 int argc, char **argv) in do_gen_krl() argument
2414 for (i = 0; i < argc; i++) in do_gen_krl()
2616 if (i > 0 || argc > 1) in sig_sign()
2644 if (argc == 0) { in sig_sign()
3114 main(int argc, char **argv) in main() argument
3368 argc -= optind; in main()
3396 argc, argv); in main()
3539 if (argc <= 0) in main()
[all …]
H A Dssh-keyscan.c659 main(int argc, char **argv) in main() argument
677 if (argc <= 1) in main()
680 while ((opt = getopt(argc, argv, "cDHv46p:T:t:f:")) != -1) { in main()
766 if (optind == argc && !fopt_count) in main()
817 while (optind < argc) in main()
H A Dmisc.c1925 int argc = 0, quote, i, j; in argv_split() local
1939 argv = xreallocarray(argv, (argc + 2), sizeof(*argv)); in argv_split()
1940 arg = argv[argc++] = xcalloc(1, strlen(s + i) + 1); in argv_split()
1941 argv[argc] = NULL; in argv_split()
1974 *argcp = argc; in argv_split()
1976 argc = 0; in argv_split()
1980 if (argc != 0 && argv != NULL) { in argv_split()
1981 for (i = 0; i < argc; i++) in argv_split()
1993 argv_assemble(int argc, char **argv) in argv_assemble() argument
2002 for (i = 0; i < argc; i++) { in argv_assemble()
H A Dhmac.c165 main(int argc, char **argv) in main() argument
/openssh-portable/openbsd-compat/
H A Dsetproctitle.c69 compat_init_setproctitle(int argc, char *argv[]) in compat_init_setproctitle() argument
84 if (argc == 0 || argv[0] == NULL) in compat_init_setproctitle()
99 for (i = 0; i < argc; i++) { in compat_init_setproctitle()
H A Dopenbsd-compat.h170 void compat_init_setproctitle(int argc, char *argv[]);
178 int BSDgetopt(int argc, char * const *argv, const char *opts);
H A Dbsd-getline.c102 main(int argc, char *argv[]) in main() argument
H A Dfmt_scaled.c284 main(int argc, char **argv) in main() argument
H A Darc4random.c323 main(int argc, char **argv)
/openssh-portable/contrib/
H A Dgnome-ssh-askpass1.c156 main(int argc, char **argv) in main() argument
161 gnome_init("GNOME ssh-askpass", "0.1", argc, argv); in main()
163 if (argc == 2) in main()
H A Dgnome-ssh-askpass2.c316 main(int argc, char **argv) in main() argument
321 gtk_init(&argc, &argv); in main()
323 if (argc > 1) { in main()
H A Dgnome-ssh-askpass3.c280 main(int argc, char **argv) in main() argument
285 gtk_init(&argc, &argv); in main()
287 if (argc > 1) { in main()
/openssh-portable/openbsd-compat/regress/
H A Dstrtonumtest.c58 int main(int argc, char *argv[]) in main() argument

12