/third_party/node/src/ |
D | stream_pipe.h | 50 uv_buf_t OnStreamAlloc(size_t suggested_size) override; 57 uv_buf_t OnStreamAlloc(size_t suggested_size) override; 61 void OnStreamWantsWrite(size_t suggested_size) override;
|
D | stream_base.h | 131 virtual uv_buf_t OnStreamAlloc(size_t suggested_size) = 0; 159 virtual void OnStreamWantsWrite(size_t suggested_size) {} in OnStreamWantsWrite() argument 197 uv_buf_t OnStreamAlloc(size_t suggested_size) override; 206 uv_buf_t OnStreamAlloc(size_t suggested_size) override; 276 inline uv_buf_t EmitAlloc(size_t suggested_size); 287 inline void EmitWantsWrite(size_t suggested_size);
|
D | stream_pipe.cc | 117 uv_buf_t StreamPipe::ReadableListener::OnStreamAlloc(size_t suggested_size) { in OnStreamAlloc() argument 119 size_t size = std::min(suggested_size, pipe->wanted_data_); in OnStreamAlloc() 227 void StreamPipe::WritableListener::OnStreamWantsWrite(size_t suggested_size) { in OnStreamWantsWrite() argument 229 pipe->wanted_data_ = suggested_size; in OnStreamWantsWrite() 239 uv_buf_t StreamPipe::WritableListener::OnStreamAlloc(size_t suggested_size) { in OnStreamAlloc() argument 241 return previous_listener_->OnStreamAlloc(suggested_size); in OnStreamAlloc()
|
D | spawn_sync.h | 46 inline void OnAlloc(size_t suggested_size, uv_buf_t* buf) const; 100 inline void OnAlloc(size_t suggested_size, uv_buf_t* buf); 109 size_t suggested_size,
|
D | stream_base-inl.h | 95 uv_buf_t StreamResource::EmitAlloc(size_t suggested_size) { in EmitAlloc() argument 97 return listener_->OnStreamAlloc(suggested_size); in EmitAlloc() 117 void StreamResource::EmitWantsWrite(size_t suggested_size) { in EmitWantsWrite() argument 119 listener_->OnStreamWantsWrite(suggested_size); in EmitWantsWrite()
|
D | udp_wrap.h | 45 virtual uv_buf_t OnAlloc(size_t suggested_size) = 0; 155 uv_buf_t OnAlloc(size_t suggested_size) override; 204 size_t suggested_size,
|
D | stream_wrap.cc | 190 size_t suggested_size, in ReadStart() 192 static_cast<LibuvStreamWrap*>(handle->data)->OnUvAlloc(suggested_size, buf); in ReadStart() 204 void LibuvStreamWrap::OnUvAlloc(size_t suggested_size, uv_buf_t* buf) { in OnUvAlloc() argument 208 *buf = EmitAlloc(suggested_size); in OnUvAlloc()
|
/third_party/libuv/docs/code/multi-echo-server/ |
D | worker.c | 22 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() argument 23 buf->base = malloc(suggested_size); in alloc_buffer() 24 buf->len = suggested_size; in alloc_buffer()
|
D | main.c | 26 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() argument 27 buf->base = malloc(suggested_size); in alloc_buffer() 28 buf->len = suggested_size; in alloc_buffer()
|
/third_party/libuv/docs/code/pipe-echo-server/ |
D | main.c | 25 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() argument 26 buf->base = malloc(suggested_size); in alloc_buffer() 27 buf->len = suggested_size; in alloc_buffer()
|
/third_party/libuv/docs/code/dns/ |
D | main.c | 8 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() argument 9 buf->base = malloc(suggested_size); in alloc_buffer() 10 buf->len = suggested_size; in alloc_buffer()
|
/third_party/libuv/docs/code/tcp-echo-server/ |
D | main.c | 23 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() argument 24 buf->base = (char*) malloc(suggested_size); in alloc_buffer() 25 buf->len = suggested_size; in alloc_buffer()
|
/third_party/libuv/docs/code/uvtee/ |
D | main.c | 19 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() argument 20 *buf = uv_buf_init((char*) malloc(suggested_size), suggested_size); in alloc_buffer()
|
/third_party/libuv/docs/code/udp-dhcp/ |
D | main.c | 12 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() argument 13 buf->base = malloc(suggested_size); in alloc_buffer() 14 buf->len = suggested_size; in alloc_buffer()
|
/third_party/libuv/test/ |
D | test-ipc-heavy-traffic-deadlock-bug.c | 82 size_t suggested_size, in alloc_cb() argument 84 buf->base = malloc(suggested_size); in alloc_cb() 85 buf->len = (int) suggested_size; in alloc_cb()
|
D | test-stdio-over-pipes.c | 77 size_t suggested_size, in on_alloc() argument 199 size_t suggested_size, in on_read_alloc() argument 201 buf->base = malloc(suggested_size); in on_read_alloc() 202 buf->len = suggested_size; in on_read_alloc()
|
D | test-udp-try-send.c | 41 size_t suggested_size, in alloc_cb() argument 45 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb()
|
D | echo-server.c | 154 size_t suggested_size, in echo_alloc() argument 156 buf->base = malloc(suggested_size); in echo_alloc() 157 buf->len = suggested_size; in echo_alloc() 161 size_t suggested_size, in slab_alloc() argument
|
D | test-udp-send-immediate.c | 41 size_t suggested_size, in alloc_cb() argument 45 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb()
|
D | blackhole-server.c | 36 static void alloc_cb(uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf); 64 size_t suggested_size, in alloc_cb() argument
|
D | test-tcp-write-to-half-open-connection.c | 33 static void alloc_cb(uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf); 69 size_t suggested_size, in alloc_cb() argument
|
D | test-udp-multicast-join.c | 46 size_t suggested_size, in alloc_cb() argument 50 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb()
|
D | test-udp-alloc-cb-fail.c | 45 size_t suggested_size, in sv_alloc_cb() argument 55 size_t suggested_size, in cl_alloc_cb() argument
|
D | test-udp-multicast-join6.c | 58 size_t suggested_size, in alloc_cb() argument 62 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb()
|
D | test-udp-send-and-recv.c | 45 size_t suggested_size, in alloc_cb() argument 49 ASSERT(suggested_size <= sizeof(slab)); in alloc_cb()
|