Searched refs:vec (Results 1 - 3 of 3) sorted by relevance

/PHP_5_6/sapi/thttpd/
H A Dthttpd.c106 static int do_writev(struct iovec *vec, int nvec, int len TSRMLS_DC) argument
113 PHP_SYS_CALL(n = writev(TG(hc)->conn_fd, vec, nvec););
133 for (i = 0; i < nvec; vec++, i++) {
135 if (n >= vec->iov_len) {
137 n -= vec->iov_len;
143 vec->iov_base = (char *) vec->iov_base + n;
144 vec->iov_len -= n;
148 smart_str_appendl_ex(&TG(sbuf), vec->iov_base, vec
[all...]
/PHP_5_6/sapi/tux/
H A Dphp_tux.c60 struct iovec *vec = TG(header_vec); local
63 vec[n].iov_base = (void *) str;
64 vec[n++].iov_len = str_length;
67 if ((m = writev(TG(req)->sock, vec, n)) == -1 && errno == EPIPE)
102 struct iovec *vec; local
115 vec = malloc(sizeof(struct iovec) * max_headers);
121 vec[0].iov_base = status_line;
122 vec[0].iov_len = len;
139 vec[n].iov_base = h->header;
140 vec[
[all...]
/PHP_5_6/sapi/litespeed/
H A Dlsapilib.c1653 sendfilevec_t vec[1]; local
1655 vec[n].sfv_fd = fdIn;
1656 vec[n].sfv_flag = 0;
1657 vec[n].sfv_off = *off;
1658 vec[n].sfv_len = size;
1662 ssize_t ret = sendfilev( fdOut, vec, n, &written );

Completed in 28 milliseconds