Home
last modified time | relevance | path

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

12

/external/openssh/
Dssh-sk-helper.c51 extern char *__progname;
66 debug("%s: %s", __progname, msg); in reply_error()
73 fatal("%s: sshbuf_new failed", __progname); in reply_error()
76 fatal("%s: buffer error", __progname); in reply_error()
109 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in process_sign()
111 fatal("%s: trailing data in request", __progname); in process_sign()
119 "msg len %zu, compat 0x%lx", __progname, sshkey_type(key), in process_sign()
131 fatal("%s: sshbuf_new failed", __progname); in process_sign()
135 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in process_sign()
156 fatal("%s: sshbuf_new failed", __progname); in process_enroll()
[all …]
Dssh-keysign.c62 extern char *__progname;
177 fatal("%s: pledge: %s", __progname, strerror(errno)); in main()
241 fatal("%s: pledge: %s", __progname, strerror(errno)); in main()
244 fatal("%s: sshbuf_new failed", __progname); in main()
248 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in main()
252 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in main()
259 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in main()
275 fatal("%s: sshkey_fingerprint failed", __progname); in main()
288 fatal("%s: buffer error: %s", __progname, ssh_err(r)); in main()
Dssh-pkcs11-helper.c332 extern char *__progname; in main()
335 __progname = ssh_get_progname(argv[0]); in main()
339 log_init(__progname, log_level, log_facility, log_stderr); in main()
351 fprintf(stderr, "usage: %s [-v]\n", __progname); in main()
356 log_init(__progname, log_level, log_facility, log_stderr); in main()
450 extern char *__progname; in main()
452 __progname = ssh_get_progname(argv[0]); in main()
453 log_init(__progname, SYSLOG_LEVEL_ERROR, SYSLOG_FACILITY_AUTH, 0); in main()
Dlog.c63 extern char *__progname;
330 openlog_r(argv0 ? argv0 : __progname, LOG_PID, log_facility, &sdata); in log_init()
333 openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility); in log_init()
470 openlog_r(argv0 ? argv0 : __progname, LOG_PID, log_facility, &sdata); in do_log()
474 openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility); in do_log()
Dssh-keyscan.c87 extern char *__progname;
662 __progname); in usage()
678 __progname = ssh_get_progname(argv[0]); in main()
781 fatal("%s: fdlim_get: bad value", __progname); in main()
785 fatal("%s: not enough file descriptors", __progname); in main()
797 fatal("%s: %s: %s", __progname, argv[j], in main()
820 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.c72 extern char *__progname;
631 __progname = ssh_get_progname(argv[0]); in main()
634 log_init(__progname, log_level, log_facility, 1); in main()
739 log_init(__progname, log_level, log_facility, 1); in main()
Dssh-agent.c163 extern char *__progname;
1209 fatal("%s: getrlimit: %s", __progname, strerror(errno)); in main()
1212 __progname = ssh_get_progname(av[0]); in main()
1313 __progname, (long long)rlim.rlim_cur, SSH_AGENT_MIN_FDS); in main()
1351 log_init(__progname, in main()
1388 log_init(__progname, SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_AUTH, 0); in main()
1431 fatal("%s: pledge: %s", __progname, strerror(errno)); in main()
Dsftp-server.c1555 extern char *__progname; in sftp_server_usage()
1562 __progname, __progname); in sftp_server_usage()
1577 extern char *__progname; in sftp_server_main()
1579 __progname = ssh_get_progname(argv[0]); in sftp_server_main()
1580 log_init(__progname, log_level, log_facility, log_stderr); in sftp_server_main()
1653 log_init(__progname, log_level, log_facility, log_stderr); in sftp_server_main()
/external/libpcap/missing/
Dgetopt.c62 static char *__progname; in getopt() local
66 if (__progname == NULL) { in getopt()
68 __progname = cp + 1; in getopt()
70 __progname = nargv[0]; in getopt()
90 "%s: illegal option -- %c\n", __progname, optopt); in getopt()
105 "%s: illegal option -- %c\n", __progname, optopt); in getopt()
123 __progname, optopt); in getopt()
/external/libwebsockets/win32port/win32helpers/
Dgetopt.c92 static char *__progname = 0; local
95 __progname = __progname?__progname:_progname(*nargv);
125 "%s: illegal option -- %c\n", __progname, optopt);
143 __progname, optopt);
Dgetopt_long.c53 static char * __progname __P((char *));
57 __progname(nargv0) in __progname() function
116 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt);
131 __progname(nargv[0]), optopt);
222 __progname(nargv[0]), current_argv);
228 "%s: illegal option -- %s\n", __progname(nargv[0]), current_argv);
/external/libevent/WIN32-Code/
Dgetopt.c88 static char *__progname = 0; local
91 __progname = __progname?__progname:_progname(*nargv);
121 "%s: illegal option -- %c\n", __progname, optopt);
139 __progname, optopt);
Dgetopt_long.c46 static char * __progname __P((char *));
50 __progname(nargv0) in __progname() function
109 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt);
124 __progname(nargv[0]), optopt);
216 __progname(nargv[0]), current_argv);
222 "%s: illegal option -- %s\n", __progname(nargv[0]), current_argv);
/external/llvm-project/lld/test/ELF/lto/
Dshlib-undefined.ll3 ; RUN: echo ".global __progname; .data; .dc.a __progname" > %t2.s
9 ; CHECK: Name: __progname
25 define void @__progname() {
/external/openssh/regress/unittests/test_helper/
Dtest_helper.c113 extern char *__progname;
137 if (__progname == NULL) { in main()
138 __progname = strrchr(argv[0], '/'); in main()
139 if (__progname == NULL || __progname[1] == '\0') in main()
140 __progname = argv[0]; in main()
142 __progname++; in main()
143 if ((__progname = strdup(__progname)) == NULL) { in main()
170 fprintf(stderr, "Usage: %s [-v]\n", __progname); in main()
176 printf("%s: ", __progname); in main()
/external/fastrpc/inc/
Dverify.h64 extern const char* __progname;
66 #define VERIFY_IPRINTF(format, ...) __android_log_print(ANDROID_LOG_DEBUG , __progname, __V_FILE_LI…
70 #define VERIFY_EPRINTF(format, ...) __android_log_print(ANDROID_LOG_ERROR , __progname, __V_FILE_LI…
/external/llvm-project/lld/test/ELF/
Dprogname.s28 .global _start, __progname
30 __progname: label
/external/mesa3d/src/util/
Du_process.c148 extern const char *__progname; in __getProgramName()
149 char * arg = strrchr(__progname, '/'); in __getProgramName()
153 return __progname; in __getProgramName()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_utils.cpp123 extern "C" SANITIZER_WEAK_ATTRIBUTE char *__progname;
125 return !SANITIZER_ANDROID || (&__progname && __progname); in areBionicGlobalsInitialized()
/external/openssh/regress/misc/fuzz-harness/
Dsshsig_fuzz.cc26 extern char *__progname; in LLVMFuzzerTestOneInput()
28 log_init(__progname, SYSLOG_LEVEL_QUIET, SYSLOG_FACILITY_USER, 1); in LLVMFuzzerTestOneInput()
/external/openssh/openbsd-compat/
Dsetproctitle.c131 extern char *__progname; in setproctitle()
141 strlcpy(buf, __progname, sizeof(buf)); in setproctitle()
Dbsd-misc.c37 char *__progname; variable
48 extern char *__progname; in ssh_get_progname()
50 p = __progname; in ssh_get_progname()
/external/mksh/src/
Dcheck.t136 print '#!'"$__progname"'\necho tf' >lq
153 ln -s "$__progname" cat || cp "$__progname" cat
154 ln -s "$__progname" echo || cp "$__progname" echo
165 "$__progname" -c 'print -r -- $PATHSEP'
175 "$__progname" -c 'print -r -- $PATHSEP'
322 print '#!'"$__progname"'\necho tf' >lq
1429 export TSHELL="$__progname"
1430 "$__progname" x
1432 "$__progname" x e
1463 print '#!'"$__progname"'\nfor x in "$@"; do print -r -- "$x"; done' >pfn
[all …]
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cpp806 extern "C" SANITIZER_WEAK_ATTRIBUTE char *__progname;
811 if (&__progname && __progname && *__progname) in CanUseVDSO()

12