Lines Matching refs:outfile

134 FILE *outfile = stdout;
137 void set_output(FILE *file) { outfile = file; }
140 void print_frame_attr_indent() { fprintf(outfile, " "); }
153 fprintf(outfile, "%s%s%s: %s\n", ansi_esc("\033[1;34m"), nv->name,
170 fprintf(outfile, "%s[%3ld.%03ld]%s", ansi_esc("\033[33m"),
177 fprintf(outfile, "<length=%zu, flags=0x%02x, stream_id=%d>\n", hd.length,
245 fprintf(outfile, "; %s\n", s.c_str());
259 fprintf(outfile, "%s%s%s frame ", frame_name_ansi_esc(ptype),
270 fprintf(outfile, "(padlen=%zu)\n", frame->data.padlen);
275 fprintf(outfile, "(padlen=%zu", frame->headers.padlen);
277 fprintf(outfile, ", dep_stream_id=%d, weight=%u, exclusive=%d",
281 fprintf(outfile, ")\n");
285 fprintf(outfile, "; Open new stream\n");
289 fprintf(outfile, "; First response header\n");
293 fprintf(outfile, "; First push response header\n");
303 fprintf(outfile, "(dep_stream_id=%d, weight=%u, exclusive=%d)\n",
310 fprintf(outfile, "(error_code=%s(0x%02x))\n",
316 fprintf(outfile, "(niv=%lu)\n",
320 fprintf(outfile, "[%s(0x%02x):%u]\n",
327 fprintf(outfile, "(padlen=%zu, promised_stream_id=%d)\n",
333 fprintf(outfile, "(opaque_data=%s)\n",
338 fprintf(outfile,
351 fprintf(outfile, "(window_size_increment=%d)\n",
357 fprintf(outfile, "(origin=[%.*s], altsvc_field_value=[%.*s])\n",
367 fprintf(outfile, "[%.*s]\n", (int)ent->origin_len, ent->origin);
375 fprintf(outfile,
397 fprintf(outfile, " recv (stream_id=%d", frame->hd.stream_id);
399 fprintf(outfile, ", sensitive");
401 fprintf(outfile, ") ");
404 fflush(outfile);
413 fprintf(outfile, " recv ");
415 fflush(outfile);
424 fprintf(outfile, " [INVALID; error=%s] recv ",
427 fflush(outfile);
435 fprintf(outfile, " send ");
437 fflush(outfile);
449 fprintf(outfile,
452 fflush(outfile);
460 fprintf(outfile, " [ERROR] %.*s\n", (int)len, msg);
461 fflush(outfile);