Lines Matching defs:strbuf
81 string_t *strbuf;
115 parser->strbuf = str_new(default_pool, 128);
125 str_free(&parser->strbuf);
145 str_truncate(parser->strbuf, 0);
166 if (str_len(parser->strbuf) + (parser->cur-first) > 3)
169 str_append_n(parser->strbuf, first, parser->cur - first);
172 if (str_len(parser->strbuf) != 3)
174 p = str_data(parser->strbuf);
178 str_truncate(parser->strbuf, 0);
192 str_len(parser->strbuf)) > parser->max_reply_size) {
198 str_append_n(parser->strbuf, first, parser->cur - first);
215 str_len(parser->strbuf)) > parser->max_reply_size) {
220 str_append_n(parser->strbuf, first, parser->cur - first);
244 str_len(parser->strbuf)) >
252 str_append_n(parser->strbuf,
259 str_append_c(parser->strbuf, ' ');
348 const char *text = str_c(parser->strbuf);
350 if (parser->enhanced_codes && str_len(parser->strbuf) > 5) {
355 parser->state.reply_size += str_len(parser->strbuf);
358 str_truncate(parser->strbuf, 0);
501 str_append_c(parser->strbuf, ' ');