Home
last modified time | relevance | path

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

/lib/
Dkasprintf.c15 char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf() argument
21 va_copy(aq, ap); in kvasprintf()
29 second = vsnprintf(p, first+1, fmt, ap); in kvasprintf()
43 const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf_const() argument
48 return kstrdup_const(va_arg(ap, const char*), gfp); in kvasprintf_const()
49 return kvasprintf(gfp, fmt, ap); in kvasprintf_const()
55 va_list ap; in kasprintf() local
58 va_start(ap, fmt); in kasprintf()
59 p = kvasprintf(gfp, fmt, ap); in kasprintf()
60 va_end(ap); in kasprintf()
Dtest_scanf.c28 const char *fmt, int n_args, va_list ap);
34 va_list ap, ap_copy; in _test() local
39 va_start(ap, n_args); in _test()
40 va_copy(ap_copy, ap); in _test()
50 ret = (*fn)(check_data, string, fmt, n_args, ap); in _test()
54 va_end(ap); in _test()
60 va_end(ap); in _test()
63 #define _check_numbers_template(arg_fmt, expect, str, fmt, n_args, ap) \ argument
67 typeof(*expect) got = *va_arg(ap, typeof(expect)); \
79 const char *fmt, int n_args, va_list ap) in check_ull() argument
[all …]
Dtest_printf.c47 const char *fmt, va_list ap) in do_test() argument
55 va_copy(aq, ap); in do_test()
108 va_list ap; in __test() local
119 va_start(ap, fmt); in __test()
127 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
130 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
131 failed_tests += do_test(0, expect, elen, fmt, ap); in __test()
133 p = kvasprintf(GFP_KERNEL, fmt, ap); in __test()
143 va_end(ap); in __test()
Dseq_buf.c85 va_list ap; in seq_buf_printf() local
88 va_start(ap, fmt); in seq_buf_printf()
89 ret = seq_buf_vprintf(s, fmt, ap); in seq_buf_printf()
90 va_end(ap); in seq_buf_printf()
/lib/crypto/mpi/
Dmpi-bit.c160 mpi_ptr_t ap = a->d; in mpi_rshift_limbs() local
170 ap[i] = ap[i+count]; in mpi_rshift_limbs()
171 ap[i] = 0; in mpi_rshift_limbs()
253 mpi_ptr_t ap; in mpi_lshift_limbs() local
262 ap = a->d; in mpi_lshift_limbs()
264 ap[i+count] = ap[i]; in mpi_lshift_limbs()
266 ap[i] = 0; in mpi_lshift_limbs()
285 mpi_ptr_t xp, ap; in mpi_lshift() local
289 ap = a->d; in mpi_lshift()
290 MPN_COPY(xp, ap, alimbs); in mpi_lshift()
Dmpiutil.c132 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs) in mpi_assign_limb_space() argument
135 a->d = ap; in mpi_assign_limb_space()
Dmpi-internal.h144 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs);
/lib/crypto/
Dgf128mul.c334 u8 *ap = (u8 *)a; in gf128mul_64k_bbe() local
338 *r = t->t[0]->t[ap[15]]; in gf128mul_64k_bbe()
340 be128_xor(r, r, &t->t[i]->t[ap[15 - i]]); in gf128mul_64k_bbe()
407 u8 *ap = (u8 *)a; in gf128mul_4k_lle() local
411 *r = t->t[ap[15]]; in gf128mul_4k_lle()
414 be128_xor(r, r, &t->t[ap[i]]); in gf128mul_4k_lle()
422 u8 *ap = (u8 *)a; in gf128mul_4k_bbe() local
426 *r = t->t[ap[0]]; in gf128mul_4k_bbe()
429 be128_xor(r, r, &t->t[ap[i]]); in gf128mul_4k_bbe()