Home
last modified time | relevance | path

Searched refs:suggested_size (Results 1 – 25 of 48) sorted by relevance

12

/libuv/docs/code/multi-echo-server/
H A Dworker.c22 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()
H A Dmain.c26 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()
/libuv/docs/code/pipe-echo-server/
H A Dmain.c25 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()
/libuv/docs/code/tcp-echo-server/
H A Dmain.c23 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()
/libuv/docs/code/dns/
H A Dmain.c8 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()
/libuv/docs/code/uvtee/
H A Dmain.c18 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() argument
19 *buf = uv_buf_init((char*) malloc(suggested_size), suggested_size); in alloc_buffer()
/libuv/docs/code/udp-dhcp/
H A Dmain.c12 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()
/libuv/test/
H A Dtest-ipc-heavy-traffic-deadlock-bug.c82 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()
H A Dtest-tcp-close-after-read-timeout.c37 size_t suggested_size,
59 size_t suggested_size, in on_client_alloc() argument
84 size_t suggested_size, in on_connection_alloc() argument
H A Dtest-stdio-over-pipes.c77 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()
H A Dtest-udp-try-send.c41 size_t suggested_size, in alloc_cb() argument
45 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb()
H A Dblackhole-server.c36 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
H A Dtest-udp-send-immediate.c41 size_t suggested_size, in alloc_cb() argument
45 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb()
H A Decho-server.c154 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
H A Dtest-tcp-write-to-half-open-connection.c33 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
H A Dtest-udp-reuseport.c98 size_t suggested_size, in alloc_cb() argument
100 buf->base = malloc(suggested_size); in alloc_cb()
101 buf->len = (int) suggested_size; in alloc_cb()
H A Dtest-udp-alloc-cb-fail.c45 size_t suggested_size, in sv_alloc_cb() argument
55 size_t suggested_size, in cl_alloc_cb() argument
H A Dtest-udp-multicast-join.c45 size_t suggested_size, in alloc_cb() argument
49 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb()
H A Dtest-udp-send-and-recv.c45 size_t suggested_size, in alloc_cb() argument
49 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb()
H A Dtest-udp-send-unreachable.c45 size_t suggested_size, in alloc_cb() argument
49 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb()
H A Dtest-udp-multicast-join6.c57 size_t suggested_size, in alloc_cb() argument
61 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb()
H A Dbenchmark-multi-accept.c90 size_t suggested_size,
97 size_t suggested_size,
164 size_t suggested_size, in ipc_alloc_cb() argument
314 size_t suggested_size, in sv_alloc_cb() argument
H A Dtest-getsockname.c46 static void alloc(uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf) { in alloc() argument
47 buf->base = malloc(suggested_size); in alloc()
48 buf->len = suggested_size; in alloc()
H A Dtest-udp-connect.c44 size_t suggested_size, in alloc_cb() argument
48 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb()
H A Dbenchmark-udp-pummel.c63 size_t suggested_size, in alloc_cb() argument
66 ASSERT_LE(suggested_size, sizeof(slab)); in alloc_cb()

Completed in 32 milliseconds

12