Lines Matching defs:ap
213 #define VA_START(ap, last) va_start(ap, last)
214 #define VA_SHIFT(ap, value, type) /* No-op for ANSI C. */
217 #define VA_START(ap, last) va_start(ap) /* "last" is ignored. */
218 #define VA_SHIFT(ap, value, type) value = va_arg(ap, type)
233 #define VA_END_COPY(ap) va_end(ap)
236 #define VA_END_COPY(ap) va_end(ap)
239 #define VA_END_COPY(ap) /* No-op. */
1418 util_vasprintf(char **ret, const char *format, va_list ap)
1424 VA_COPY(aq, ap);
1429 return vsnprintf(*ret, size, format, ap);
1447 va_list ap;
1450 VA_START(ap, format);
1451 VA_SHIFT(ap, str, char *);
1452 VA_SHIFT(ap, size, size_t);
1453 VA_SHIFT(ap, format, const char *);
1454 len = vsnprintf(str, size, format, ap);
1455 va_end(ap);
1473 va_list ap;
1476 VA_START(ap, format);
1477 VA_SHIFT(ap, ret, char **);
1478 VA_SHIFT(ap, format, const char *);
1479 len = vasprintf(ret, format, ap);
1480 va_end(ap);