Searched refs:out_cnt (Results 1 – 2 of 2) sorted by relevance
179 int out_cnt; member193 #define out_cnt (G.out_cnt ) macro412 out = xrealloc_vector(out, 2, out_cnt); in new_out_t()413 return &out[out_cnt++]; in new_out_t()478 for (i = 0; i < out_cnt; i++) { in alloc_line_buffer()487 out_cnt = i + 1; in alloc_line_buffer()508 if (out_cnt) { in format_header()511 if (++i == out_cnt) /* do not pad last field */ in format_header()525 if (out_cnt) while (1) { in format_process()537 if (++i == out_cnt) /* do not pad last field */ in format_process()
1343 int out_cnt; /* we buffer a bit of initial CGI output */ in cgi_io_loop_and_exit() local1365 out_cnt = 0; in cgi_io_loop_and_exit()1458 if (out_cnt >= 0) { in cgi_io_loop_and_exit()1471 count = safe_read(fromCgi_rd, rbuf + out_cnt, IOBUF_SIZE - 8); in cgi_io_loop_and_exit()1475 if (out_cnt) { in cgi_io_loop_and_exit()1477 full_write(STDOUT_FILENO, rbuf, out_cnt); in cgi_io_loop_and_exit()1481 out_cnt += count; in cgi_io_loop_and_exit()1484 if (out_cnt >= 8 && memcmp(rbuf, "Status: ", 8) == 0) { in cgi_io_loop_and_exit()1490 count = out_cnt - 8; in cgi_io_loop_and_exit()1491 out_cnt = -1; /* buffering off */ in cgi_io_loop_and_exit()[all …]