Lines Matching refs:buf
282 smart_str_appendl(&ctx->buf, newdata, newlen);
284 YYCURSOR = ctx->buf.c;
285 YYLIMIT = ctx->buf.c + ctx->buf.len;
352 …scdebug(("stopped in state %d at pos %d (%d:%c) %d\n", STATE, YYCURSOR - ctx->buf.c, *YYCURSOR, *Y…
356 if (rest) memmove(ctx->buf.c, start, rest);
357 ctx->buf.len = rest;
363 smart_str buf = {0};
372 append_modified_url(&surl, &buf, &url_app, PG(arg_separator).output);
374 smart_str_0(&buf);
375 if (newlen) *newlen = buf.len;
379 return buf.c;
398 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len);
399 *newlen += ctx->buf.len;
400 smart_str_free(&ctx->buf);
426 smart_str_free(&ctx->buf);
446 if (ctx->buf.len) {
447 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len);
451 *handled_output_len = ctx->buf.len + output_len;
455 smart_str_free(&ctx->buf);