Home
last modified time | relevance | path

Searched refs:args (Results 1 – 20 of 20) sorted by relevance

/openssh-portable/openbsd-compat/
H A Dbsd-err.c40 va_list args; in err() local
42 va_start(args, fmt); in err()
44 vfprintf(stderr, fmt, args); in err()
46 va_end(args); in err()
55 va_list args; in errx() local
57 va_start(args, fmt); in errx()
58 vfprintf(stderr, fmt, args); in errx()
60 va_end(args); in errx()
69 va_list args; in warn() local
71 va_start(args, fmt); in warn()
[all …]
H A Dbsd-snprintf.c192 va_list args; in dopr() local
194 VA_COPY(args, args_in); in dopr()
245 min = va_arg (args, int); in dopr()
267 max = va_arg (args, int); in dopr()
310 value = va_arg (args, int); in dopr()
314 value = va_arg (args, LLONG); in dopr()
320 value = va_arg (args, int); in dopr()
334 value = va_arg (args, size_t); in dopr()
420 va_arg (args, int)); in dopr()
451 num = va_arg (args, LLONG *); in dopr()
[all …]
/openssh-portable/
H A Dlog.c338 va_list args) in do_log() argument
427 va_list args; in sshlog() local
429 va_start(args, fmt); in sshlog()
431 va_end(args); in sshlog()
438 va_list args; in sshlogdie() local
440 va_start(args, fmt); in sshlogdie()
443 va_end(args); in sshlogdie()
451 va_list args; in sshsigdie() local
456 va_end(args); in sshsigdie()
492 va_list args; in sshlogdirect() local
[all …]
H A Dfatal.c40 va_list args; in sshfatal() local
42 va_start(args, fmt); in sshfatal()
43 sshlogv(file, func, line, showfunc, level, suffix, fmt, args); in sshfatal()
44 va_end(args); in sshfatal()
H A Dreadpass.c201 va_list args; in ask_permission() local
205 va_start(args, fmt); in ask_permission()
207 va_end(args); in ask_permission()
241 va_list args; in notify_start() local
248 va_start(args, fmt); in notify_start()
249 xvasprintf(&prompt, fmt, args); in notify_start()
250 va_end(args); in notify_start()
304 va_list args; in notify_complete() local
311 va_start(args, fmt); in notify_complete()
312 xvasprintf(&msg, fmt, args); in notify_complete()
[all …]
H A Dscp.c134 arglist args; variable
288 addargs(&args, "-p"); in do_cmd()
292 addargs(&args, "-l"); in do_cmd()
295 addargs(&args, "--"); in do_cmd()
344 addargs(&args, "-p"); in do_cmd2()
348 addargs(&args, "-l"); in do_cmd2()
352 addargs(&args, "--"); in do_cmd2()
423 memset(&args, '\0', sizeof(args)); in main()
427 addargs(&args, "-x"); in main()
491 addargs(&args, "-v"); in main()
[all …]
H A Dsftp.c319 if (!*args) in local_do_shell()
320 args = NULL; in local_do_shell()
330 if (args) { in local_do_shell()
353 if (!args || !*args) in local_do_ls()
2296 execvp(path, args); in connect_to_server()
2337 arglist args; in main() local
2352 memset(&args, '\0', sizeof(args)); in main()
2353 args.list = NULL; in main()
2522 addargs(&args, "--"); in main()
2529 args.list = NULL; in main()
[all …]
H A Dmisc.c1053 nalloc = args->nalloc; in addargs()
1056 args->num = 0; in addargs()
1060 args->list = xrecallocarray(args->list, args->nalloc, nalloc, sizeof(char *)); in addargs()
1061 args->nalloc = nalloc; in addargs()
1062 args->list[args->num++] = cp; in addargs()
1063 args->list[args->num] = NULL; in addargs()
1087 freeargs(arglist *args) in freeargs() argument
1093 free(args->list[i]); in freeargs()
1094 free(args->list); in freeargs()
1095 args->nalloc = args->num = 0; in freeargs()
[all …]
H A Dsandbox-seccomp-filter.c102 offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_LO_OFFSET), \
107 offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_HI_OFFSET), \
119 offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_LO_OFFSET), \
124 offsetof(struct seccomp_data, args[(_arg_nr)]) + ARG_HI_OFFSET), \
H A Dpacket.c362 va_list args; in ssh_packet_set_log_preamble() local
369 va_start(args, fmt); in ssh_packet_set_log_preamble()
371 va_end(args); in ssh_packet_set_log_preamble()
1808 va_list args; in ssh_packet_send_debug() local
1814 va_start(args, fmt); in ssh_packet_send_debug()
1816 va_end(args); in ssh_packet_send_debug()
1914 va_list args; in ssh_packet_disconnect() local
1927 va_start(args, fmt); in ssh_packet_disconnect()
1929 va_end(args); in ssh_packet_disconnect()
2687 va_list args; in sshpkt_disconnect() local
[all …]
H A Dssh-keyscan.c640 va_list args; in sshfatal() local
642 va_start(args, fmt); in sshfatal()
643 sshlogv(file, func, line, showfunc, level, suffix, fmt, args); in sshfatal()
644 va_end(args); in sshfatal()
H A Dauth.c669 va_list args; in auth_debug_add() local
675 va_start(args, fmt); in auth_debug_add()
676 vsnprintf(buf, sizeof(buf), fmt, args); in auth_debug_add()
677 va_end(args); in auth_debug_add()
H A Dsshconnect.c1648 ssh_local_cmd(const char *args) in ssh_local_cmd() argument
1656 args == NULL || !*args) in ssh_local_cmd()
1666 debug3("Executing %s -c \"%s\"", shell, args); in ssh_local_cmd()
1667 execl(shell, shell, "-c", args, (char *)NULL); in ssh_local_cmd()
1669 shell, args, strerror(errno)); in ssh_local_cmd()
H A Dpkcs11.h722 #define _CK_DECLARE_FUNCTION(name, args) \ argument
723 typedef ck_rv_t (*CK_ ## name) args; \
724 ck_rv_t CK_SPEC name args
H A Dsftp-client.c263 va_list args; in get_handle() local
266 va_start(args, errfmt); in get_handle()
268 vsnprintf(errmsg, sizeof(errmsg), errfmt, args); in get_handle()
269 va_end(args); in get_handle()
H A Dsession.c1655 char *p, *args; in do_child() local
1658 args = xstrdup(command ? command : "sftp-server"); in do_child()
1659 for (i = 0, (p = strtok(args, " ")); p; (p = strtok(NULL, " "))) in do_child()
H A Dconfigure.ac288 AC_MSG_CHECKING([if compiler allows __attribute__ prototype args])
297 [compiler does not accept __attribute__ on prototype args]) ]
2585 AC_MSG_CHECKING([if getpgrp accepts zero args])
2589 AC_DEFINE([GETPGRP_VOID], [1], [getpgrp takes zero args])],
/openssh-portable/regress/
H A Dkeys-command.sh12 rm -f $OBJ/keys-command-args
14 touch $OBJ/keys-command-args
15 chmod a+rw $OBJ/keys-command-args
26 echo args: "\$@" >> $OBJ/keys-command-args
H A Dcheck-perm.c25 va_list args; in fatal() local
27 va_start(args, fmt); in fatal()
28 vfprintf(stderr, fmt, args); in fatal()
30 va_end(args); in fatal()
H A DMakefile118 key.ed25519-512.pub key.rsa-* keys-command-args kh.* \