Home
last modified time | relevance | path

Searched refs:__progname (Results 1 – 25 of 30) sorted by relevance

12

/external/libpcap/missing/
Dgetopt.c65 static char *__progname; local
69 if (__progname == NULL) {
71 __progname = cp + 1;
73 __progname = nargv[0];
99 "%s: illegal option -- %c\n", __progname, optopt);
117 __progname, optopt);
/external/openssh/
Dssh-keysign.c63 extern char *__progname;
68 extern char *__progname;
187 fatal("%s: pledge: %s", __progname, strerror(errno)); in main()
256 fatal("%s: pledge: %s", __progname, strerror(errno)); in main()
259 fatal("%s: sshbuf_new failed", __progname); in main()
263 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in main()
267 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in main()
274 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in main()
290 fatal("%s: sshkey_fingerprint failed", __progname); in main()
303 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in main()
Dssh-pkcs11-helper.c281 extern char *__progname; in main()
288 __progname = ssh_get_progname(argv[0]); in main()
290 log_init(__progname, log_level, log_facility, log_stderr); in main()
369 extern char *__progname; in main()
371 __progname = ssh_get_progname(argv[0]); in main()
372 log_init(__progname, SYSLOG_LEVEL_ERROR, SYSLOG_FACILITY_AUTH, 0); in main()
Dlog.c63 extern char *__progname;
335 openlog_r(argv0 ? argv0 : __progname, LOG_PID, log_facility, &sdata); in log_init()
338 openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility); in log_init()
461 openlog_r(argv0 ? argv0 : __progname, LOG_PID, log_facility, &sdata); in do_log()
465 openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility); in do_log()
Dssh-keyscan.c76 extern char *__progname;
688 __progname); in usage()
705 __progname = ssh_get_progname(argv[0]); in main()
801 fatal("%s: fdlim_get: bad value", __progname); in main()
805 fatal("%s: not enough file descriptors", __progname); in main()
817 fatal("%s: %s: %s", __progname, argv[j], in main()
843 fatal("%s: %s: %s", __progname, argv[j], in main()
Dlogintest.c50 extern char *__progname;
288 __progname = ssh_get_progname(argv[0]); in main()
Dssh-add.c70 extern char *__progname;
458 fprintf(stderr, "usage: %s [options] [file ...]\n", __progname); in usage()
488 __progname = ssh_get_progname(argv[0]); in main()
Dsshd.c132 extern char *__progname;
1265 log_init(__progname,
1381 __progname = ssh_get_progname(av[0]);
1542 log_init(__progname,
1835 log_init(__progname, options.log_level, options.log_facility, log_stderr);
1851 log_init(__progname, options.log_level, options.log_facility, log_stderr);
1935 log_init(__progname, options.log_level,
Dsftp.c119 extern char *__progname;
2047 extern char *__progname; in interactive_loop()
2051 if ((el = el_init(__progname, stdin, stdout, stderr)) == NULL) in interactive_loop()
2246 extern char *__progname; in usage()
2258 __progname, __progname, __progname, __progname); in usage()
2285 __progname = ssh_get_progname(argv[0]); in main()
Dssh-keygen.c181 extern char *__progname;
390 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_to()
575 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from_ssh2()
620 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from_pkcs8()
666 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from_pem()
700 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from()
898 fatal("%s: %s: %s", __progname, path, strerror(errno)); in do_fingerprint()
1013 printf("%s: generating new host keys: ", __progname); in do_gen_all_hostkeys()
1940 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_show_cert()
2286 __progname = ssh_get_progname(argv[0]); in main()
Dsftp-server.c1488 extern char *__progname; in sftp_server_usage()
1495 __progname, __progname); in sftp_server_usage()
1510 extern char *__progname; in sftp_server_main()
1513 __progname = ssh_get_progname(argv[0]); in sftp_server_main()
1514 log_init(__progname, log_level, log_facility, log_stderr); in sftp_server_main()
1585 log_init(__progname, log_level, log_facility, log_stderr); in sftp_server_main()
Dssh-agent.c153 extern char *__progname;
1240 __progname = ssh_get_progname(av[0]); in main()
1367 log_init(__progname, in main()
1404 log_init(__progname, SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_AUTH, 0); in main()
1448 fatal("%s: pledge: %s", __progname, strerror(errno)); in main()
Dssh.c118 extern char *__progname;
258 __progname, name, ssh_gai_strerror(gaierr)); in resolve_host()
451 fatal("%s: Could not resolve host \"%s\"", __progname, *hostp); in resolve_canonicalize()
532 __progname = ssh_get_progname(av[0]); in main()
Dsession.c136 extern char *__progname;
368 log_init(__progname, options.log_level, in do_exec_no_pty()
526 log_init(__progname, options.log_level, in do_exec_pty()
1633 __progname = argv[0]; in do_child()
Dauth-pam.c70 extern char *__progname;
71 # define SSHD_PAM_SERVICE __progname
Dscp.c119 extern char *__progname;
390 __progname = ssh_get_progname(argv[0]); in main()
Dsshconnect1.c60 extern char *__progname;
/external/openssh/regress/unittests/test_helper/
Dtest_helper.c108 extern char *__progname;
125 if (__progname == NULL) { in main()
126 __progname = strrchr(argv[0], '/'); in main()
127 if (__progname == NULL || __progname[1] == '\0') in main()
128 __progname = argv[0]; in main()
130 __progname++; in main()
131 if ((__progname = strdup(__progname)) == NULL) { in main()
152 fprintf(stderr, "Usage: %s [-v]\n", __progname); in main()
158 printf("%s: ", __progname); in main()
/external/openssh/openbsd-compat/
Dbsd-misc.c35 char *__progname; variable
46 extern char *__progname; in ssh_get_progname()
48 p = __progname; in ssh_get_progname()
Dsetproctitle.c130 extern char *__progname; in setproctitle()
140 strlcpy(buf, __progname, sizeof(buf)); in setproctitle()
/external/mksh/src/
Dcheck.t100 print '#!'"$__progname"'\necho tf' >lq
117 ln -s "$__progname" cat || cp "$__progname" cat
118 ln -s "$__progname" echo || cp "$__progname" echo
129 "$__progname" -c 'print -r -- $PATHSEP'
139 "$__progname" -c 'print -r -- $PATHSEP'
254 print '#!'"$__progname"'\necho tf' >lq
1361 export TSHELL="$__progname"
1362 "$__progname" x
1364 "$__progname" x e
1395 print '#!'"$__progname"'\nfor x in "$@"; do print -r -- "$x"; done' >pfn
[all …]
/external/swiftshader/third_party/LLVM/autoconf/
DExportMap.map3 __progname;
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_context.h261 extern char *__progname;
/external/mesa3d/src/mesa/drivers/dri/common/
Dxmlconfig.c100 extern const char *__progname; in __getProgramName()
101 char * arg = strrchr(__progname, '/'); in __getProgramName()
105 return __progname; in __getProgramName()
/external/ImageMagick/MagickCore/
Dutility.c1081 *__progname; in GetExecutionPath()
1083 (void) CopyMagickString(path,__progname,extent); in GetExecutionPath()

12