Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/atf/atf-c/
H A Dtc.c851 va_list ap2; in _atf_tc_fail() local
856 va_end(ap2); in _atf_tc_fail()
865 va_list ap2; in _atf_tc_fail_nonfatal() local
870 va_end(ap2); in _atf_tc_fail_nonfatal()
879 va_list ap2; in _atf_tc_fail_check() local
884 va_end(ap2); in _atf_tc_fail_check()
893 va_list ap2; in _atf_tc_fail_requirement() local
898 va_end(ap2); in _atf_tc_fail_requirement()
921 va_list ap2; in _atf_tc_skip() local
925 va_end(ap2); in _atf_tc_skip()
[all …]
/freebsd-14.2/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-14.2/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()
78 va_end(ap2); in prepend_or_append()
146 va_list ap2; in atf_dynstr_init_ap() local
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()
329 va_end(ap2); in atf_dynstr_append_ap()
358 va_list ap2; in atf_dynstr_prepend_ap() local
360 va_copy(ap2, ap); in atf_dynstr_prepend_ap()
[all …]
H A Dfs.c275 va_list ap2; in normalize_ap() local
281 va_copy(ap2, ap); in normalize_ap()
282 err = atf_text_format_ap(&str, p, ap2); in normalize_ap()
283 va_end(ap2); in normalize_ap()
351 va_list ap2; in atf_fs_path_init_ap() local
353 va_copy(ap2, ap); in atf_fs_path_init_ap()
355 va_end(ap2); in atf_fs_path_init_ap()
458 va_list ap2; in atf_fs_path_append_ap() local
460 va_copy(ap2, ap); in atf_fs_path_append_ap()
461 err = normalize_ap(&aux, fmt, ap2); 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-14.2/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-14.2/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()
269 va_list ap2; in NCURSES_SP_NAME()
271 begin_va_copy(ap2, ap); in NCURSES_SP_NAME()
272 used = vsnprintf(my_buffer, my_length, fmt, ap2); in NCURSES_SP_NAME()
273 end_va_copy(ap2); in NCURSES_SP_NAME()
/freebsd-14.2/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-14.2/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-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_subr.c585 va_list ap2; in dt_printf() local
610 va_copy(ap2, ap); in dt_printf()
614 va_end(ap2); in dt_printf()
647 va_copy(ap2, ap); in dt_printf()
650 va_end(ap2); in dt_printf()
654 va_end(ap2); in dt_printf()
680 va_copy(ap2, ap); in dt_printf()
684 va_end(ap2); in dt_printf()
688 va_end(ap2); in dt_printf()
696 va_copy(ap2, ap); in dt_printf()
[all …]
/freebsd-14.2/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()
H A DChangeLog6238 ret = vsnprintf(string, INIT_SZ, fmt, ap2);
/freebsd-14.2/crypto/openssl/crypto/objects/
H A Dobjxref.pl65 my$ap2 = $oid_tbl{$xref_tbl{$a}[1]};
68 return $ap2 - $bp2;
/freebsd-14.2/usr.bin/mail/
H A Dcmd3.c707 char **ap, **ap2, *cp; in alternates() local
722 for (ap = namelist, ap2 = altnames; *ap != NULL; ap++, ap2++) { in alternates()
725 *ap2 = cp; in alternates()
727 *ap2 = 0; in alternates()
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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()