Home
last modified time | relevance | path

Searched refs:write_cb (Results 1 – 25 of 53) sorted by relevance

123

/third_party/musl/porting/linux/user/src/malloc/
Dstats.c41 static void stat_printf(write_cb_fun *write_cb, void *write_cb_arg, const char *fmt, ...) in stat_printf() argument
47 if (write_cb != NULL) { in stat_printf()
48 write_cb(write_cb_arg, buf); in stat_printf()
59 write_cb_fun *write_cb, in print_thread_stats_table() argument
66 write_cb, in print_thread_stats_table()
76 static void print_amount_xml(write_cb_fun *write_cb, void *write_cb_arg, const char *name, size_t v… in print_amount_xml() argument
78 stat_printf(write_cb, write_cb_arg, "<%s>%zu</%s>\n", name, value, name); in print_amount_xml()
81 static void print_thread_specific_amounts_xml(write_cb_fun *write_cb, void *write_cb_arg, malloc_st… in print_thread_specific_amounts_xml() argument
83 print_amount_xml(write_cb, write_cb_arg, "total_allocated_memory", stats->total_allocated_memory); in print_thread_specific_amounts_xml()
84 print_amount_xml(write_cb, write_cb_arg, "total_mmapped_memory", stats->total_mmapped_memory); in print_thread_specific_amounts_xml()
[all …]
/third_party/grpc/test/core/util/
Dtrickle_endpoint.cc46 grpc_closure* write_cb; member
56 if (te->write_cb != nullptr && in maybe_call_write_cb_locked()
59 grpc_core::ExecCtx::Run(DEBUG_LOCATION, te->write_cb, in maybe_call_write_cb_locked()
61 te->write_cb = nullptr; in maybe_call_write_cb_locked()
69 GPR_ASSERT(te->write_cb == nullptr); in te_write()
77 te->write_cb = cb; in te_write()
164 te->write_cb = nullptr; in grpc_trickle_endpoint_create()
/third_party/grpc/src/core/lib/iomgr/
Dendpoint_cfstream.cc53 grpc_closure* write_cb; member
143 ep->write_cb, ep->write_cb->cb, ep->write_cb->cb_arg); in CallWriteCb()
147 grpc_closure* cb = ep->write_cb; in CallWriteCb()
148 ep->write_cb = nullptr; in CallWriteCb()
197 GPR_ASSERT(ep->write_cb != nullptr); in WriteAction()
282 GPR_ASSERT(ep_impl->write_cb == nullptr); in CFStreamWrite()
283 ep_impl->write_cb = cb; in CFStreamWrite()
385 ep_impl->write_cb = nil; in grpc_cfstream_endpoint_create()
Dtcp_custom.cc62 grpc_closure* write_cb = nullptr; member
221 grpc_closure* cb = tcp->write_cb; in custom_write_callback()
222 tcp->write_cb = nullptr; in custom_write_callback()
255 GPR_ASSERT(tcp->write_cb == nullptr); in endpoint_write()
264 tcp->write_cb = cb; in endpoint_write()
/third_party/libuv/test/
Dtest-tcp-connect-error-after-write.c46 static void write_cb(uv_write_t* req, int status) { in write_cb() function
77 r = uv_write(&write_req, (uv_stream_t*)&conn, &buf, 1, write_cb); in TEST_IMPL()
86 r = uv_write(&write_req, (uv_stream_t*)&conn, &buf, 1, write_cb); in TEST_IMPL()
Dtest-tcp-close.c37 static void write_cb(uv_write_t* req, int status);
51 r = uv_write(req, (uv_stream_t*)&tcp_handle, &buf, 1, write_cb); in connect_cb()
59 static void write_cb(uv_write_t* req, int status) { in write_cb() function
Dtest-tcp-shutdown-after-write.c25 static void write_cb(uv_write_t* req, int status);
68 r = uv_write(&write_req, (uv_stream_t*)&conn, &buf, 1, write_cb); in timer_cb()
91 static void write_cb(uv_write_t* req, int status) { in write_cb() function
Dbenchmark-tcp-write-batch.c48 static void write_cb(uv_write_t* req, int status);
62 r = uv_write(&w->req, req->handle, &w->buf, 1, write_cb); in connect_cb()
73 static void write_cb(uv_write_t* req, int status) { in write_cb() function
Dtest-tcp-write-to-half-open-connection.c31 static void write_cb(uv_write_t* req, int status);
63 r = uv_write(&write_req, (uv_stream_t*)&tcp_peer, &buf, 1, write_cb); in connection_cb()
99 static void write_cb(uv_write_t* req, int status) { in write_cb() function
Dtest-tcp-write-after-connect.c34 static void write_cb(uv_write_t *req, int status) { in write_cb() function
65 write_cb)); in TEST_IMPL()
Dtest-tcp-read-stop.c35 static void write_cb(uv_write_t* req, int status) { in write_cb() function
47 write_cb)); in timer_cb()
Dtest-tcp-write-fail.c60 static void write_cb(uv_write_t* req, int status) { in write_cb() function
86 r = uv_write(&write_req, stream, &buf, 1, write_cb); in connect_cb()
Dtest-not-readable-nor-writable-on-read-error.c36 static void write_cb(uv_write_t* req, int status) { in write_cb() function
79 write_cb); in connect_cb()
Dtest-readable-on-eof.c36 static void write_cb(uv_write_t* req, int status) { in write_cb() function
85 write_cb); in connect_cb()
Dtest-signal-pending-on-close.c51 static void write_cb(uv_write_t* req, int status) { in write_cb() function
83 r = uv_write(&write_req, (uv_stream_t *) &pipe_hdl, &buffer, 1, write_cb); in TEST_IMPL()
Dtest-tcp-alloc-cb-fail.c44 static void write_cb(uv_write_t* req, int status) { in write_cb() function
72 r = uv_write(&write_req, req->handle, &buf, 1, write_cb); in connect_cb()
Dtest-pipe-set-non-blocking.c54 static void write_cb(uv_write_t* req, int status) { in write_cb() function
103 ASSERT(0 == uv_write(&write_req, (uv_stream_t*) &pipe_handle, &buf, 1, write_cb)); in TEST_IMPL()
Dtest-tcp-write-queue-order.c55 static void write_cb(uv_write_t* req, int status) { in write_cb() function
80 write_cb); in connect_cb()
Dtest-tcp-unexpected-read.c68 static void write_cb(uv_write_t* req, int status) { in write_cb() function
83 &buf, 1, write_cb)); in connection_cb()
Dtest-tcp-close-reset.c44 static void write_cb(uv_write_t* req, int status);
58 r = uv_write(&write_reqs[i], (uv_stream_t*) handle, &buf, 1, write_cb); in do_write()
98 static void write_cb(uv_write_t* req, int status) { in write_cb() function
/third_party/pulseaudio/src/tests/
Dlo-latency-test.c52 static void write_cb(pa_stream *s, size_t nbytes, void *userdata) { in write_cb() function
152 test_ctx.write_cb = write_cb; in START_TEST()
/third_party/curl/tests/libtest/
Dlib1523.c41 static size_t write_cb(char *d, size_t n, size_t l, void *p) in write_cb() function
64 curl_easy_setopt(hnd, CURLOPT_WRITEFUNCTION, write_cb); in test()
/third_party/curl/docs/examples/
D10-at-a-time.c88 static size_t write_cb(char *data, size_t n, size_t l, void *userp) in write_cb() function
99 curl_easy_setopt(eh, CURLOPT_WRITEFUNCTION, write_cb); in add_transfer()
Dhtmltidy.c36 uint write_cb(char *in, uint size, uint nmemb, TidyBuffer *out) in write_cb() function
90 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_cb); in main()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow.h112 rc_read_write_mask_fn write_cb);
121 rc_read_write_mask_fn write_cb);

123