Lines Matching refs:buffer

38 /* A zero-size buffer for use by uv_pipe_read */
402 * the state of the write buffer when we're trying to shutdown the pipe. */
597 /* Try to avoid flushing the pipe buffer in the thread pool. */
1429 /* Pack into a single heap-allocated buffer:
1451 /* Compute heap buffer size. */
1455 /* Allocate buffer. */
1460 /* Copy uv_write_t information to the buffer. */
1467 /* Copy data buffers to the heap buffer. */
1518 /* Write empty buffer. */
1524 /* Coalesce all `bufs` into one big buffer. This also creates a new
1694 /* Use the on-stack buffer array if it is big enough; otherwise allocate
1697 /* Use on-stack buffer array. */
1700 /* Use heap-allocated buffer array. */
1724 /* Add xfer info buffer. */
1823 static int uv__pipe_read_exactly(HANDLE h, void* buffer, DWORD count) {
1829 (char*) buffer + bytes_read,
1851 /* Ask the user for a buffer to read data into. */
1860 * (a) the length of the user-allocated buffer.
1866 /* Read into the user buffer. */
1987 * available in the kernel buffer. */
2352 static int uv__pipe_getname(const uv_pipe_t* handle, char* buffer, size_t* size) {
2395 buffer,
2406 buffer[addrlen] = '\0';
2490 memcpy(buffer, pipe_prefix, pipe_prefix_len);
2495 buffer+pipe_prefix_len,
2507 buffer[addrlen] = '\0';
2526 int uv_pipe_getsockname(const uv_pipe_t* handle, char* buffer, size_t* size) {
2528 return uv__pipe_getname(handle, buffer, size);
2540 int uv_pipe_getpeername(const uv_pipe_t* handle, char* buffer, size_t* size) {
2546 return uv__pipe_getname(handle, buffer, size);
2550 return uv__pipe_getname(handle, buffer, size);