Lines Matching refs:ap
120 static int vasprintf(char **buf, const char *fmt, va_list ap) in vasprintf() argument
131 chars = _vscprintf(fmt, ap)+1; in vasprintf()
135 chars = vsnprintf(&_T_emptybuffer, 0, fmt, ap)+1; in vasprintf()
142 if((chars = vsprintf(b, fmt, ap)) < 0) in vasprintf()
155 va_list ap; in sprintbuf() local
161 va_start(ap, msg); in sprintbuf()
162 size = vsnprintf(buf, 128, msg, ap); in sprintbuf()
163 va_end(ap); in sprintbuf()
169 va_start(ap, msg); in sprintbuf()
170 if((size = vasprintf(&t, msg, ap)) < 0) { va_end(ap); return -1; } in sprintbuf()
171 va_end(ap); in sprintbuf()