Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-asprintf.c44 va_list ap2; in vasprintf() local
48 VA_COPY(ap2, ap); in vasprintf()
52 ret = vsnprintf(string, INIT_SZ, fmt, ap2); in vasprintf()
64 va_end(ap2); in vasprintf()
65 VA_COPY(ap2, ap); in vasprintf()
66 ret = vsnprintf(newstr, len, fmt, ap2); in vasprintf()
75 va_end(ap2); in vasprintf()
81 va_end(ap2); in vasprintf()
/freebsd/contrib/atf/atf-c/
H A Dtc.c424 va_list ap2; in format_reason_ap() local
425 va_copy(ap2, ap); in format_reason_ap()
426 err = atf_dynstr_append_ap(out_reason, reason, ap2); in format_reason_ap()
427 va_end(ap2); in format_reason_ap()
894 va_list ap2; in _atf_tc_fail() local
897 va_copy(ap2, ap); in _atf_tc_fail()
898 format_reason_ap(&reason, NULL, 0, fmt, ap2); in _atf_tc_fail()
899 va_end(ap2); in _atf_tc_fail()
908 va_list ap2; in _atf_tc_fail_nonfatal() local
911 va_copy(ap2, ap); in _atf_tc_fail_nonfatal()
[all …]
/freebsd/contrib/atf/atf-c/detail/
H A Ddynstr.c74 va_list ap2; in prepend_or_append() local
76 va_copy(ap2, ap); in prepend_or_append()
77 err = atf_text_format_ap(&aux, fmt, ap2); in prepend_or_append()
78 va_end(ap2); in prepend_or_append()
146 va_list ap2; in atf_dynstr_init_ap() local
156 va_copy(ap2, ap); in atf_dynstr_init_ap()
157 ret = vsnprintf(ad->m_data, ad->m_datasize, fmt, ap2); in atf_dynstr_init_ap()
158 va_end(ap2); in atf_dynstr_init_ap()
325 va_list ap2; in atf_dynstr_append_ap() local
327 va_copy(ap2, ap); in atf_dynstr_append_ap()
[all …]
H A Dfs.c200 va_list ap2; in normalize_ap() local
206 va_copy(ap2, ap); in normalize_ap()
207 err = atf_text_format_ap(&str, p, ap2); in normalize_ap()
208 va_end(ap2); in normalize_ap()
276 va_list ap2; in atf_fs_path_init_ap() local
278 va_copy(ap2, ap); in atf_fs_path_init_ap()
279 err = normalize_ap(&p->m_data, fmt, ap2); in atf_fs_path_init_ap()
280 va_end(ap2); in atf_fs_path_init_ap()
383 va_list ap2; in atf_fs_path_append_ap() local
385 va_copy(ap2, ap); in atf_fs_path_append_ap()
[all …]
H A Dtext.c81 va_list ap2; in atf_text_format_ap() local
83 va_copy(ap2, ap); in atf_text_format_ap()
84 err = atf_dynstr_init_ap(&tmp, fmt, ap2); in atf_text_format_ap()
85 va_end(ap2); in atf_text_format_ap()
/freebsd/contrib/libfido2/openbsd-compat/
H A Dbsd-asprintf.c38 va_list ap2; in vasprintf() local
45 VA_COPY(ap2, ap); in vasprintf()
46 ret = vsnprintf(string, INIT_SZ, fmt, ap2); in vasprintf()
47 va_end(ap2); in vasprintf()
59 VA_COPY(ap2, ap); in vasprintf()
60 ret = vsnprintf(newstr, len, fmt, ap2); in vasprintf()
61 va_end(ap2); in vasprintf()
/freebsd/contrib/mandoc/
H A Dcompat_vasprintf.c33 va_list ap2; in vasprintf() local
36 va_copy(ap2, ap); in vasprintf()
37 sz = vsnprintf(buf, sizeof(buf), format, ap2); in vasprintf()
38 va_end(ap2); in vasprintf()
/freebsd/contrib/ncurses/ncurses/base/
H A Dsafe_sprintf.c230 va_list ap2; in NCURSES_SP_NAME() local
233 begin_va_copy(ap2, ap); in NCURSES_SP_NAME()
234 len = _nc_printf_length(fmt, ap2); in NCURSES_SP_NAME()
235 end_va_copy(ap2); in NCURSES_SP_NAME()
268 va_list ap2; in NCURSES_SP_NAME()
270 begin_va_copy(ap2, ap); in NCURSES_SP_NAME()
271 used = vsnprintf(my_buffer, my_length, fmt, ap2); in NCURSES_SP_NAME()
272 end_va_copy(ap2); in NCURSES_SP_NAME()
/freebsd/crypto/krb5/src/util/support/
H A Dprintf.c38 va_list ap2; in krb5int_vasprintf() local
50 va_copy(ap2, ap); in krb5int_vasprintf()
51 len2 = vsnprintf(str, len, format, ap2); in krb5int_vasprintf()
52 va_end(ap2); in krb5int_vasprintf()
/freebsd/usr.sbin/nscd/
H A Dagent.c40 struct agent const *ap2 = *((struct agent const **)a2); in agent_cmp_func() local
43 res = strcmp(ap1->name, ap2->name); in agent_cmp_func()
45 if (ap1->type == ap2->type) in agent_cmp_func()
47 else if (ap1->type < ap2->type) in agent_cmp_func()
/freebsd/lib/libc/tests/stdio/
H A Dprintbasic_test.c72 va_list ap, ap2; in _testfmt() local
75 va_copy(ap2, ap); in _testfmt()
86 vswprintf(ws, sizeof(ws) / sizeof(ws[0]), wfmt, ap2); in _testfmt()
92 va_end(ap2); in _testfmt()
H A Dprintfloat_test.c64 va_list ap, ap2; in _testfmt() local
67 va_copy(ap2, ap); in _testfmt()
78 vswprintf(ws, sizeof(ws) / sizeof(ws[0]), wfmt, ap2); in _testfmt()
84 va_end(ap2); in _testfmt()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_subr.c599 va_list ap2; in dt_printf() local
624 va_copy(ap2, ap); in dt_printf()
625 if ((n = vsnprintf(buf, len, format, ap2)) < 0) in dt_printf()
628 va_end(ap2); in dt_printf()
661 va_copy(ap2, ap); in dt_printf()
662 if ((needed = vsnprintf(NULL, 0, format, ap2)) < 0) { in dt_printf()
664 va_end(ap2); in dt_printf()
668 va_end(ap2); in dt_printf()
694 va_copy(ap2, ap); in dt_printf()
696 avail, format, ap2) < 0) { in dt_printf()
[all …]
/freebsd/crypto/openssh/
H A Dsshbuf-getput-basic.c361 va_list ap2; in sshbuf_putfv() local
365 VA_COPY(ap2, ap); in sshbuf_putfv()
366 if ((len = vsnprintf(NULL, 0, fmt, ap2)) < 0) { in sshbuf_putfv()
374 va_end(ap2); in sshbuf_putfv()
375 VA_COPY(ap2, ap); in sshbuf_putfv()
378 if ((r = vsnprintf((char *)p, len + 1, fmt, ap2)) != len) { in sshbuf_putfv()
387 va_end(ap2); in sshbuf_putfv()
/freebsd/crypto/openssl/crypto/objects/
H A Dobjxref.pl65 my$ap2 = $oid_tbl{$xref_tbl{$a}[1]};
68 return $ap2 - $bp2;
/freebsd/usr.bin/mail/
H A Dcmd3.c701 char **ap, **ap2, *cp; in alternates() local
716 for (ap = namelist, ap2 = altnames; *ap != NULL; ap++, ap2++) { in alternates()
719 *ap2 = cp; in alternates()
721 *ap2 = 0; in alternates()
/freebsd/sbin/routed/
H A Dparms.c468 struct auth k, *ap, *ap2; in get_passwd() local
504 for (ap2 = parmp->parm_auth; ap2 < ap; ap2++) { in get_passwd()
505 if (ap2->keyid == l) { in get_passwd()
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c868 const struct ctf_array_v2 *ap2 = ap; in ctf_array_info() local
870 arp->ctr_contents = ap2->cta_contents; in ctf_array_info()
871 arp->ctr_index = ap2->cta_index; in ctf_array_info()
872 arp->ctr_nelems = ap2->cta_nelems; in ctf_array_info()
/freebsd/cddl/contrib/opensolaris/tools/ctf/dump/
H A Ddump.c469 struct ctf_array_v2 *ap2; in read_types() member
527 contents = u.ap2->cta_contents; in read_types()
528 index = u.ap2->cta_index; in read_types()
529 nelems = u.ap2->cta_nelems; in read_types()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_acl.c152 struct archive_acl_entry *ap, *ap2; in archive_acl_copy() local
159 ap2 = acl_new_entry(dest, in archive_acl_copy()
161 if (ap2 != NULL) in archive_acl_copy()
162 archive_mstring_copy(&ap2->name, &ap->name); in archive_acl_copy()
/freebsd/crypto/krb5/src/
H A Dconfigure.ac68 va_list ap2;
69 va_copy(ap2, ap);
70 va_end(ap2);