Lines Matching refs:bufs
1519 const uv_buf_t bufs[], in uv__build_coalesced_write_req() argument
1538 data_length += bufs[i].len; in uv__build_coalesced_write_req()
1565 bufs[i].base, in uv__build_coalesced_write_req()
1566 bufs[i].len); /* copy (c) */ in uv__build_coalesced_write_req()
1567 heap_buffer_offset += bufs[i].len; /* offset (c) */ in uv__build_coalesced_write_req()
1581 const uv_buf_t bufs[], in uv__pipe_write_data() argument
1616 write_buf = bufs[0]; in uv__pipe_write_data()
1620 err = uv__build_coalesced_write_req(req, bufs, nbufs, &req, &write_buf); in uv__pipe_write_data()
1754 uv_buf_t* bufs; in uv__pipe_write_ipc() local
1796 bufs = stack_bufs; in uv__pipe_write_ipc()
1799 bufs = uv__calloc(buf_count, sizeof(uv_buf_t)); in uv__pipe_write_ipc()
1800 if (bufs == NULL) in uv__pipe_write_ipc()
1807 bufs[buf_index++] = uv_buf_init((char*) &frame_header, sizeof frame_header); in uv__pipe_write_ipc()
1823 bufs[buf_index++] = uv_buf_init((char*) &xfer_info, sizeof xfer_info); in uv__pipe_write_ipc()
1832 bufs[buf_index++] = data_bufs[i]; in uv__pipe_write_ipc()
1837 err = uv__pipe_write_data(loop, req, handle, bufs, buf_count, cb, 1); in uv__pipe_write_ipc()
1840 if (bufs != stack_bufs) { in uv__pipe_write_ipc()
1841 uv__free(bufs); in uv__pipe_write_ipc()
1851 const uv_buf_t bufs[], in uv__pipe_write() argument
1857 return uv__pipe_write_ipc(loop, req, handle, bufs, nbufs, send_handle, cb); in uv__pipe_write()
1861 return uv__pipe_write_data(loop, req, handle, bufs, nbufs, cb, 0); in uv__pipe_write()