Home
last modified time | relevance | path

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

12

/external/libcups/scheduler/
Dselect.c182 write_cb; /* Write callback */ member
237 cupsd_selfunc_t write_cb,/* I - Write callback */ in cupsdAddSelect() argument
252 fd, read_cb, write_cb, data); in cupsdAddSelect()
313 if (fdptr->write_cb != write_cb)
315 if (write_cb)
341 if (write_cb)
373 if (write_cb)
387 fdptr->write_cb = write_cb;
436 if (fdptr->use > 1 && fdptr->write_cb && event->filter == EVFILT_WRITE && in cupsdDoSelect()
438 (*(fdptr->write_cb))(fdptr->data); in cupsdDoSelect()
[all …]
/external/grpc-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_CLOSURE_SCHED(te->write_cb, GRPC_ERROR_REF(te->error)); in maybe_call_write_cb_locked()
60 te->write_cb = nullptr; in maybe_call_write_cb_locked()
68 GPR_ASSERT(te->write_cb == nullptr); in te_write()
76 te->write_cb = cb; in te_write()
160 te->write_cb = nullptr; in grpc_trickle_endpoint_create()
/external/flac/src/libFLAC/
Dmetadata_iterators.c89 …metadata_block_header_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
90 …e_metadata_block_data_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
91 …block_data_streaminfo_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
92 …ta_block_data_padding_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
93 …lock_data_application_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
94 …_block_data_seektable_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
95 …k_data_vorbis_comment_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
96 …a_block_data_cuesheet_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
97 …ta_block_data_picture_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
98 …ta_block_data_unknown_cb_(FLAC__IOHandle handle, FLAC__IOCallback_Write write_cb, const FLAC__Stre…
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dendpoint_cfstream.cc51 grpc_closure* write_cb; member
141 ep->write_cb, ep->write_cb->cb, ep->write_cb->cb_arg); in CallWriteCb()
145 grpc_closure* cb = ep->write_cb; in CallWriteCb()
146 ep->write_cb = nullptr; in CallWriteCb()
195 GPR_ASSERT(ep->write_cb != nullptr); in WriteAction()
277 GPR_ASSERT(ep_impl->write_cb == nullptr); in CFStreamWrite()
278 ep_impl->write_cb = cb; in CFStreamWrite()
356 ep_impl->write_cb = nil; in grpc_cfstream_endpoint_create()
Dtcp_custom.cc62 grpc_closure* write_cb; member
213 grpc_closure* cb = tcp->write_cb; in custom_write_callback()
214 tcp->write_cb = nullptr; in custom_write_callback()
246 GPR_ASSERT(tcp->write_cb == nullptr); in endpoint_write()
255 tcp->write_cb = cb; in endpoint_write()
Dtcp_uv.cc62 grpc_custom_write_callback write_cb; member
148 uv_socket->write_cb(socket, tcp_error_create("TCP Write failed", status)); in uv_write_callback()
153 grpc_custom_write_callback write_cb) { in uv_socket_write() argument
155 uv_socket->write_cb = write_cb; in uv_socket_write()
Dtcp_windows.cc114 grpc_closure* write_cb; member
281 cb = tcp->write_cb; in on_write()
282 tcp->write_cb = NULL; in on_write()
318 tcp->write_cb = cb; in win_write()
Dtcp_posix.cc97 grpc_closure* write_cb; member
887 cb = tcp->write_cb; in tcp_handle_write()
888 tcp->write_cb = nullptr; in tcp_handle_write()
900 cb = tcp->write_cb; in tcp_handle_write()
901 tcp->write_cb = nullptr; in tcp_handle_write()
928 GPR_ASSERT(tcp->write_cb == nullptr); in tcp_write()
947 tcp->write_cb = cb; in tcp_write()
1051 tcp->write_cb = nullptr; in grpc_tcp_create()
/external/rust/crates/grpcio-sys/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()
Dtcp_uv.cc61 grpc_custom_write_callback write_cb; member
147 uv_socket->write_cb(socket, tcp_error_create("TCP Write failed", status)); in uv_write_callback()
152 grpc_custom_write_callback write_cb) { in uv_socket_write() argument
154 uv_socket->write_cb = write_cb; in uv_socket_write()
/external/jemalloc_new/include/jemalloc/internal/
Demitter.h78 void (*write_cb)(void *, const char *); member
87 void (*write_cb)(void *, const char *), void *cbopaque) { in emitter_init()
89 emitter->write_cb = write_cb; in emitter_init()
102 malloc_vcprintf(emitter->write_cb, emitter->cbopaque, format, ap); in emitter_printf()
113 malloc_vcprintf(emitter->write_cb, emitter->cbopaque, format, ap); in emitter_table_printf()
Dmalloc_io.h60 void malloc_vcprintf(void (*write_cb)(void *, const char *), void *cbopaque,
62 void malloc_cprintf(void (*write_cb)(void *, const char *), void *cbopaque,
Dstats.h27 void stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
/external/libevent/test/
Dtest-weof.c60 write_cb(evutil_socket_t fd, short event, void *arg) in write_cb() function
106 event_set(&ev, pair[1], EV_WRITE, write_cb, &ev); in main()
Dtest-changelist.c138 write_cb(evutil_socket_t fd, short event, void *arg) in write_cb() function
192 ev = event_new(base,pair[1],EV_WRITE | EV_PERSIST, write_cb, &ev); in main()
/external/curl/tests/libtest/
Dlib1523.c41 static size_t write_cb(char *d, size_t n, size_t l, void *p) in write_cb() function
62 curl_easy_setopt(hnd, CURLOPT_WRITEFUNCTION, write_cb); in test()
/external/jemalloc_new/src/
Dmalloc_io.c623 malloc_vcprintf(void (*write_cb)(void *, const char *), void *cbopaque, in malloc_vcprintf()
627 if (write_cb == NULL) { in malloc_vcprintf()
633 write_cb = (je_malloc_message != NULL) ? je_malloc_message : in malloc_vcprintf()
639 write_cb(cbopaque, buf); in malloc_vcprintf()
648 malloc_cprintf(void (*write_cb)(void *, const char *), void *cbopaque, in malloc_cprintf()
653 malloc_vcprintf(write_cb, cbopaque, format, ap); in malloc_cprintf()
/external/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()
Dhttp2-pushinmemory.c43 write_cb(void *contents, size_t size, size_t nmemb, void *userp) in write_cb() function
85 curl_easy_setopt(hnd, CURLOPT_WRITEFUNCTION, write_cb); in setup()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow.h112 rc_read_write_mask_fn write_cb);
121 rc_read_write_mask_fn write_cb);
Dradeon_dataflow.c806 rc_read_write_mask_fn write_cb) in init_get_readers_callback_data() argument
817 d->WriteCB = write_cb; in init_get_readers_callback_data()
864 rc_read_write_mask_fn write_cb) in rc_get_readers() argument
869 read_pair_cb, write_cb); in rc_get_readers()
881 rc_read_write_mask_fn write_cb) in rc_get_readers_sub() argument
886 read_pair_cb, write_cb); in rc_get_readers_sub()
/external/crosvm/devices/src/register_space/
Dregister.rs200 write_cb: Option<Box<dyn Fn(T) -> T + Send>>, field
215 write_cb: None, in new()
282 match inner.write_cb.take() { in write()
295 inner.write_cb = Some(cb); in write()
328 self.lock().write_cb = Some(Box::new(callback)); in set_write_cb()
/external/adhd/cras/src/server/
Dcras_hfp_info.c113 int (*write_cb)(struct hfp_info *info); member
697 err = info->write_cb(info); in hfp_info_callback()
784 info->write_cb = hfp_write_msbc; in hfp_info_start()
792 info->write_cb = hfp_write; in hfp_info_start()
829 info->write_cb = NULL; in hfp_info_stop()

12