Lines Matching refs:vec
106 static int do_writev(struct iovec *vec, int nvec, int len TSRMLS_DC) in do_writev() argument
113 PHP_SYS_CALL(n = writev(TG(hc)->conn_fd, vec, nvec);); in do_writev()
133 for (i = 0; i < nvec; vec++, i++) { in do_writev()
135 if (n >= vec->iov_len) { in do_writev()
137 n -= vec->iov_len; in do_writev()
143 vec->iov_base = (char *) vec->iov_base + n; in do_writev()
144 vec->iov_len -= n; in do_writev()
148 smart_str_appendl_ex(&TG(sbuf), vec->iov_base, vec->iov_len, 1); in do_writev()
160 # define ADD_VEC(str,l) vec[n].iov_base=str;len += (vec[n].iov_len=l); n++
161 # define VEC_BASE() struct iovec vec[COMBINE_HEADERS]
214 len = do_writev(vec, n, len TSRMLS_CC); in sapi_thttpd_send_headers()
235 do_writev(vec, n, len TSRMLS_CC); in sapi_thttpd_send_headers()