Home
last modified time | relevance | path

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

123

/device/linaro/bootloader/edk2/StdLib/PosixLib/Err/
Dwarn_err.c66 va_list ap; in err() local
67 va_start(ap, fmt); in err()
68 _Vdomessage(1, fmt, ap); in err()
69 va_end(ap); in err()
76 va_list ap; in errx() local
77 va_start(ap, fmt); in errx()
78 _Vdomessage(0, fmt, ap); in errx()
79 va_end(ap); in errx()
86 va_list ap; in warn() local
87 va_start(ap, fmt); in warn()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
Dsubr_prf.c89 static int kvprintf(char const *fmt, void (*func)(int, void*), void *arg, int radix, va_list ap);
91 int vsnprintf(char *str, size_t size, const char *format, va_list ap);
103 va_list ap; in sprintf() local
105 va_start(ap, cfmt); in sprintf()
106 retval = kvprintf(cfmt, NULL, (void *)buf, 10, ap); in sprintf()
108 va_end(ap); in sprintf()
116 vsprintf(char *buf, const char *cfmt, va_list ap) in vsprintf() argument
120 retval = kvprintf(cfmt, NULL, (void *)buf, 10, ap); in vsprintf()
132 va_list ap; in snprintf() local
134 va_start(ap, format); in snprintf()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/sys/
Dstdarg.h44 #define va_start(ap, last) \ argument
45 __builtin_va_start((ap), (last))
47 #define va_arg(ap, type) \ argument
48 __builtin_va_arg((ap), type)
58 #define va_end(ap) \ argument
59 __builtin_va_end(ap)
65 #define va_start(ap, last) \ argument
66 ((ap) = (va_list)&(last) + __va_size(last))
67 #define va_arg(ap, type) \ argument
68 (*(type *)((ap) += __va_size(type), (ap) - __va_size(type)))
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dvsnprintf_ss.c97 ((INT64)(flags&MAXINT ? va_arg(ap, intmax_t) : \ in __weak_alias()
98 flags&PTRINT ? va_arg(ap, intptr_t) : \ in __weak_alias()
99 flags&SIZEINT ? va_arg(ap, ssize_t) : /* XXX */ \ in __weak_alias()
100 flags&QUADINT ? va_arg(ap, quad_t) : \ in __weak_alias()
101 flags&LONGINT ? va_arg(ap, long) : \ in __weak_alias()
102 flags&SHORTINT ? (short)va_arg(ap, int) : \ in __weak_alias()
103 va_arg(ap, int))) in __weak_alias()
106 ((UINT64)(flags&MAXINT ? va_arg(ap, uintmax_t) : \ in __weak_alias()
107 flags&PTRINT ? va_arg(ap, uintptr_t) : \ in __weak_alias()
108 flags&SIZEINT ? va_arg(ap, size_t) : \ in __weak_alias()
[all …]
Dprintf.c57 va_list ap; in printf() local
59 va_start(ap, fmt); in printf()
60 ret = vfprintf(stdout, fmt, ap); in printf()
61 va_end(ap); in printf()
Dvfwscanf.c126 vfwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, va_list ap) in vfwscanf() argument
132 ret = __vfwscanf_unlocked(fp, fmt, ap); in vfwscanf()
141 __vfwscanf_unlocked(FILE * __restrict fp, const wchar_t * __restrict fmt, va_list ap) in __vfwscanf_unlocked() argument
334 *va_arg(ap, char *) = (char)nread; in __vfwscanf_unlocked()
336 *va_arg(ap, short *) = (short)nread; in __vfwscanf_unlocked()
338 *va_arg(ap, long *) = (long)nread; in __vfwscanf_unlocked()
340 *va_arg(ap, INT64 *) = (INT64)nread; // was quad_t in __vfwscanf_unlocked()
342 *va_arg(ap, intmax_t *) = (intmax_t)nread; in __vfwscanf_unlocked()
344 *va_arg(ap, size_t *) = (size_t)nread; in __vfwscanf_unlocked()
346 *va_arg(ap, ptrdiff_t *) = (ptrdiff_t)nread; in __vfwscanf_unlocked()
[all …]
Dfscanf.c60 va_list ap; in fscanf() local
62 va_start(ap, fmt); in fscanf()
63 ret = __svfscanf(fp, fmt, ap); in fscanf()
64 va_end(ap); in fscanf()
Dswscanf.c39 va_list ap; in swscanf() local
42 va_start(ap, fmt); in swscanf()
43 r = vswscanf(str, fmt, ap); in swscanf()
44 va_end(ap); in swscanf()
Dwscanf.c45 va_list ap; in wscanf() local
48 va_start(ap, fmt); in wscanf()
49 r = vfwscanf(stdin, fmt, ap); in wscanf()
50 va_end(ap); in wscanf()
Dwprintf.c46 va_list ap; in wprintf() local
48 va_start(ap, fmt); in wprintf()
49 ret = vfwprintf(stdout, fmt, ap); in wprintf()
50 va_end(ap); in wprintf()
Dscanf.c56 va_list ap; in scanf() local
60 va_start(ap, fmt); in scanf()
61 ret = __svfscanf(stdin, fmt, ap); in scanf()
62 va_end(ap); in scanf()
Dswprintf.c40 va_list ap; in swprintf() local
42 va_start(ap, fmt); in swprintf()
43 ret = vswprintf(s, n, fmt, ap); in swprintf()
44 va_end(ap); in swprintf()
Dfwprintf.c46 va_list ap; in fwprintf() local
48 va_start(ap, fmt); in fwprintf()
49 ret = vfwprintf(fp, fmt, ap); in fwprintf()
50 va_end(ap); in fwprintf()
Dfwscanf.c45 va_list ap; in fwscanf() local
48 va_start(ap, fmt); in fwscanf()
49 r = vfwscanf(fp, fmt, ap); in fwscanf()
50 va_end(ap); in fwscanf()
Dsnprintf_ss.c62 va_list ap; in __weak_alias() local
65 va_start(ap, fmt); in __weak_alias()
66 ret = vsnprintf_ss(str, n, fmt, ap); in __weak_alias()
67 va_end(ap); in __weak_alias()
Dfprintf.c57 va_list ap; in fprintf() local
66 va_start(ap, fmt); in fprintf()
67 ret = vfprintf(fp, fmt, ap); in fprintf()
68 va_end(ap); in fprintf()
Dvfscanf.c140 __svfscanf(FILE *fp, char const *fmt0, va_list ap) in __svfscanf() argument
149 ret = __svfscanf_unlocked(fp, fmt0, ap); in __svfscanf()
158 __svfscanf_unlocked(FILE *fp, const char *fmt0, va_list ap) in __svfscanf_unlocked() argument
340 *va_arg(ap, char *) = (char)nread; in __svfscanf_unlocked()
342 *va_arg(ap, short *) = (short)nread; in __svfscanf_unlocked()
344 *va_arg(ap, long *) = nread; in __svfscanf_unlocked()
346 *va_arg(ap, long long *) = nread; in __svfscanf_unlocked()
348 *va_arg(ap, intmax_t *) = nread; in __svfscanf_unlocked()
350 *va_arg(ap, size_t *) = nread; in __svfscanf_unlocked()
352 *va_arg(ap, ptrdiff_t *) = nread; in __svfscanf_unlocked()
[all …]
Dsprintf.c61 va_list ap; in sprintf() local
73 va_start(ap, fmt); in sprintf()
74 ret = __vfprintf_unlocked(&f, fmt, ap); in sprintf()
75 va_end(ap); in sprintf()
Dsscanf.c71 va_list ap; in sscanf() local
85 va_start(ap, fmt); in sscanf()
86 ret = __svfscanf_unlocked(&f, fmt, ap); in sscanf()
87 va_end(ap); in sscanf()
Dsnprintf.c66 va_list ap; in __weak_alias() local
78 va_start(ap, fmt); in __weak_alias()
89 ret = __vfprintf_unlocked(&f, fmt, ap); in __weak_alias()
91 va_end(ap); in __weak_alias()
Dvscanf.c52 vscanf(fmt, ap) in vscanf() argument
54 _BSD_VA_LIST_ ap;
59 return (__svfscanf(stdin, fmt, ap));
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dmap_v4v6.c114 char **ap; in _map_v4v6_hostent() local
120 for (ap = hp->h_addr_list; *ap; ap++) { in _map_v4v6_hostent()
125 *ap = NULL; in _map_v4v6_hostent()
130 _map_v4v6_address(*ap, *bpp); in _map_v4v6_hostent()
131 *ap = *bpp; in _map_v4v6_hostent()
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
Dstdarg.h50 #define va_start(ap, last) __builtin_stdarg_start((ap), (last)) argument
52 #define va_end(ap) __builtin_va_end(ap) argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dconfigure231 va_list ap;
233 va_start(ap, fmt);
234 vsnprintf(buf, sizeof(buf), fmt, ap);
235 va_end(ap);
256 va_list ap;
258 va_start(ap, fmt);
259 n = vsnprintf(buf, sizeof(buf), fmt, ap);
260 va_end(ap);
294 va_list ap;
296 va_start(ap, fmt);
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgDxe/
DTisDxe.c180 IN OUT VA_LIST *ap, in TisPcSendV() argument
196 DataByte = VA_ARG (*ap, UINT8); in TisPcSendV()
202 DataWord = VA_ARG (*ap, UINT16); in TisPcSendV()
209 DataDword = VA_ARG (*ap, UINT32); in TisPcSendV()
216 TpmCmdPtr = VA_ARG (*ap, TPM_RQU_COMMAND_HDR*); in TisPcSendV()
225 Raw = VA_ARG (*ap, UINT8*); in TisPcSendV()
226 Size = VA_ARG (*ap, UINTN); in TisPcSendV()
269 IN OUT VA_LIST *ap, in TisPcReceiveV() argument
280 Raw = VA_ARG (*ap, UINT8*); in TisPcReceiveV()
300 Size = VA_ARG (*ap, UINTN); in TisPcReceiveV()

123