Lines Matching defs:vector
217 static int write_vec(xcb_connection_t *c, struct iovec **vector, int *count)
230 struct iovec *vec = *vector;
252 (*vector)++;
258 *vector = 0;
274 .msg_iov = *vector,
296 n = writev(c->fd, *vector, n);
308 for(; *count; --*count, ++*vector)
310 int cur = (*vector)->iov_len;
314 (*vector)->iov_len -= cur;
315 (*vector)->iov_base = (char *) (*vector)->iov_base + cur;
318 if((*vector)->iov_len)
322 *vector = 0;
466 int _xcb_conn_wait(xcb_connection_t *c, pthread_cond_t *cond, struct iovec **vector, int *count)
553 ret = ret && write_vec(c, vector, count);