Lines Matching defs:buf
51 * declaring a local "char buf[512]".
57 * In other words, buf->len can be greater than buf->size and records the
101 * @param buf buffer to init
111 void av_bprint_init(AVBPrint *buf, unsigned size_init, unsigned size_max);
118 * @param buf buffer structure to init
122 void av_bprint_init_for_buffer(AVBPrint *buf, char *buffer, unsigned size);
127 void av_bprintf(AVBPrint *buf, const char *fmt, ...) av_printf_format(2, 3);
132 void av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg);
137 void av_bprint_chars(AVBPrint *buf, char c, unsigned n);
142 * param buf bprint buffer to use
146 void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size);
152 * param buf bprint buffer to use
160 void av_bprint_strftime(AVBPrint *buf, const char *fmt, const struct tm *tm);
165 * @param[in] buf buffer structure
171 void av_bprint_get_buffer(AVBPrint *buf, unsigned size,
177 void av_bprint_clear(AVBPrint *buf);
185 static inline int av_bprint_is_complete(const AVBPrint *buf)
187 return buf->len < buf->size;
201 int av_bprint_finalize(AVBPrint *buf, char **ret_str);