Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 21 of 21) sorted by relevance

/openssh-portable/
H A Dutf8.c242 va_list ap; in snmprintf() local
246 va_start(ap, fmt); in snmprintf()
248 va_end(ap); in snmprintf()
260 va_list ap; in asmprintf() local
264 va_start(ap, fmt); in asmprintf()
266 va_end(ap); in asmprintf()
295 va_list ap; in fmprintf() local
298 va_start(ap, fmt); in fmprintf()
300 va_end(ap); in fmprintf()
307 va_list ap; in mprintf() local
[all …]
H A Dxmalloc.c99 xvasprintf(char **ret, const char *fmt, va_list ap) in xvasprintf() argument
103 i = vasprintf(ret, fmt, ap); in xvasprintf()
112 va_list ap; in xasprintf() local
115 va_start(ap, fmt); in xasprintf()
116 i = xvasprintf(ret, fmt, ap); in xasprintf()
117 va_end(ap); in xasprintf()
H A Dmisc.c1042 va_list ap; in addargs() local
1049 va_end(ap); in addargs()
1069 va_list ap; in replacearg() local
1075 va_end(ap); in replacearg()
1273 va_list ap; in dollar_expand() local
1277 va_end(ap); in dollar_expand()
1292 va_list ap; in percent_expand() local
1296 va_end(ap); in percent_expand()
1311 va_list ap; in percent_dollar_expand() local
1315 va_end(ap); in percent_dollar_expand()
[all …]
H A Dsshbuf-getput-basic.c349 va_list ap; in sshbuf_putf() local
352 va_start(ap, fmt); in sshbuf_putf()
353 r = sshbuf_putfv(buf, fmt, ap); in sshbuf_putf()
354 va_end(ap); in sshbuf_putf()
359 sshbuf_putfv(struct sshbuf *buf, const char *fmt, va_list ap) in sshbuf_putfv() argument
365 VA_COPY(ap2, ap); in sshbuf_putfv()
375 VA_COPY(ap2, ap); in sshbuf_putfv()
H A Dscp.c653 *ap = tmp; in append()
1608 va_list ap; local
1614 va_start(ap, fmt);
1615 (void) vfprintf(fp, fmt, ap);
1616 va_end(ap);
1622 va_start(ap, fmt);
1623 vfmprintf(stderr, fmt, ap);
1624 va_end(ap);
1638 va_list ap; local
1655 va_start(ap, fmt);
[all …]
H A Dssh-sk-helper.c60 va_list ap; in reply_error() local
63 va_start(ap, fmt); in reply_error()
64 xvasprintf(&msg, fmt, ap); in reply_error()
65 va_end(ap); in reply_error()
H A Dsk-usbhid.c138 va_list ap; in skdebug() local
140 va_start(ap, fmt); in skdebug()
141 xvasprintf(&msg, fmt, ap); in skdebug()
142 va_end(ap); in skdebug()
146 va_list ap; in skdebug()
148 va_start(ap, fmt); in skdebug()
150 vfprintf(stderr, fmt, ap); in skdebug()
152 va_end(ap); in skdebug()
H A Dauth2.c705 va_list ap; in auth2_record_info() local
711 va_start(ap, fmt); in auth2_record_info()
712 i = vasprintf(&authctxt->auth_method_info, fmt, ap); in auth2_record_info()
713 va_end(ap); in auth2_record_info()
H A Dsshbuf.h167 int sshbuf_putfv(struct sshbuf *buf, const char *fmt, va_list ap);
H A Dpacket.c1842 sshpkt_vfatal(struct ssh *ssh, int r, const char *fmt, va_list ap) in sshpkt_vfatal() argument
1880 if (vasprintf(&tag, fmt, ap) == -1) { in sshpkt_vfatal()
1895 va_list ap; in sshpkt_fatal() local
1897 va_start(ap, fmt); in sshpkt_fatal()
1898 sshpkt_vfatal(ssh, r, fmt, ap); in sshpkt_fatal()
1900 va_end(ap); in sshpkt_fatal()
H A Dauth-options.c713 deserialise_array(struct sshbuf *m, char ***ap, size_t *np) in deserialise_array() argument
739 *ap = a; in deserialise_array()
H A Dsftp.c880 const char *ap = sort_glob->gl_pathv[a]; in sglob_comp() local
888 return (rmul * strcmp(ap, bp)); in sglob_comp()
H A Dconfigure.ac2250 va_list ap;
2252 va_start(ap, fmt);
2253 ret = vsnprintf(str, count, fmt, ap);
2254 va_end(ap);
/openssh-portable/openbsd-compat/
H A Dbsd-asprintf.c40 vasprintf(char **str, const char *fmt, va_list ap) in vasprintf() argument
47 VA_COPY(ap2, ap); in vasprintf()
64 VA_COPY(ap2, ap); in vasprintf()
88 va_list ap; in asprintf() local
92 va_start(ap, fmt); in asprintf()
93 ret = vasprintf(str, fmt, ap); in asprintf()
94 va_end(ap); in asprintf()
H A Dsetproctitle.c127 va_list ap; in setproctitle() local
144 va_start(ap, fmt); in setproctitle()
148 r = vsnprintf(buf + len, sizeof(buf) - len , fmt, ap); in setproctitle()
150 va_end(ap); in setproctitle()
H A Dbsd-cygwin_util.c49 va_list ap; in binary_open() local
52 va_start(ap, flags); in binary_open()
53 mode = va_arg(ap, mode_t); in binary_open()
54 va_end(ap); in binary_open()
H A Dbsd-snprintf.c873 va_list ap; in snprintf() local
875 va_start(ap, fmt); in snprintf()
876 ret = vsnprintf(str, count, fmt, ap); in snprintf()
877 va_end(ap); in snprintf()
/openssh-portable/regress/misc/sk-dummy/
H A Dfatal.c16 va_list ap; in sshfatal() local
20 va_start(ap, fmt); in sshfatal()
21 vfprintf(stderr, fmt, ap); in sshfatal()
22 va_end(ap); in sshfatal()
H A Dsk-dummy.c68 va_list ap; in skdebug() local
70 va_start(ap, fmt); in skdebug()
72 vfprintf(stderr, fmt, ap); in skdebug()
74 va_end(ap); in skdebug()
/openssh-portable/openbsd-compat/regress/
H A Dsnprintftest.c38 va_list ap; in x_snprintf() local
40 va_start(ap, fmt); in x_snprintf()
41 ret = vsnprintf(str, count, fmt, ap); in x_snprintf()
42 va_end(ap); in x_snprintf()
/openssh-portable/regress/unittests/test_helper/
H A Dtest_helper.c285 va_list ap; in test_subtest_info() local
287 va_start(ap, fmt); in test_subtest_info()
288 vsnprintf(subtest_info, sizeof(subtest_info), fmt, ap); in test_subtest_info()
289 va_end(ap); in test_subtest_info()