Lines Matching defs:buf
47 * declaring a local "char buf[512]".
53 * In other words, buf->len can be greater than buf->size and records the
98 * @param buf buffer to init
108 void av_bprint_init(AVBPrint *buf, unsigned size_init, unsigned size_max);
115 * @param buf buffer structure to init
119 void av_bprint_init_for_buffer(AVBPrint *buf, char *buffer, unsigned size);
124 void av_bprintf(AVBPrint *buf, const char *fmt, ...) av_printf_format(2, 3);
129 void av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg);
134 void av_bprint_chars(AVBPrint *buf, char c, unsigned n);
139 * param buf bprint buffer to use
143 void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size);
149 * param buf bprint buffer to use
157 void av_bprint_strftime(AVBPrint *buf, const char *fmt, const struct tm *tm);
162 * @param[in] buf buffer structure
168 void av_bprint_get_buffer(AVBPrint *buf, unsigned size,
174 void av_bprint_clear(AVBPrint *buf);
182 static inline int av_bprint_is_complete(AVBPrint *buf)
184 return buf->len < buf->size;
198 int av_bprint_finalize(AVBPrint *buf, char **ret_str);