Searched refs:cookie (Results 51 - 75 of 207) sorted by relevance

123456789

/fuchsia/zircon/third_party/ulib/musl/src/stdlib/
H A Dwcstol.c15 const wchar_t* wcs = f->cookie;
23 f->cookie = (void*)(wcs + i);
44 f.cookie = (void*)t;
/fuchsia/zircon/kernel/object/include/object/
H A Dlog_dispatcher.h31 static void Notify(void* cookie);
/fuchsia/zircon/system/core/virtcon/
H A Dvc-device.cpp93 static void vc_invalidate(void* cookie, int x0, int y0, int w, int h) { argument
94 vc_t* vc = reinterpret_cast<vc_t*>(cookie);
153 static void vc_tc_invalidate(void* cookie, int x0, int y0, int w, int h){ argument
154 vc_t* vc = reinterpret_cast<vc_t*>(cookie);
155 vc_invalidate(cookie, x0, y0, w, h);
159 static void vc_tc_movecursor(void* cookie, int x, int y) { argument
160 vc_t* vc = reinterpret_cast<vc_t*>(cookie);
167 vc_invalidate(cookie, old_x, old_y, 1, 1);
171 vc_invalidate(cookie, vc->cursor_x, vc->cursor_y, 1, 1);
194 static void vc_tc_push_scrollback_line(void* cookie, in argument
236 vc_tc_copy_lines(void* cookie, int y_dest, int y_src, int line_count) argument
276 vc_tc_setparam(void* cookie, int param, uint8_t* arg, size_t arglen) argument
[all...]
/fuchsia/zircon/system/dev/block/zxcrypt/
H A Dextra.h37 void* cookie; member in struct:zxcrypt::extra_op_t
/fuchsia/zircon/system/dev/misc/builtin/
H A Dzero.c31 zx_status_t zero_bind(void* ctx, zx_device_t* parent, void** cookie) { argument
H A Dnull.c32 zx_status_t null_bind(void* ctx, zx_device_t* parent, void** cookie) { argument
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Dblock.h21 // at that point the cookie field must contain whatever value was in it when
53 // succeeds or fails, and cookie will be whatever was set when
56 void* cookie; member in struct:block_op
H A Dnand.h18 // at that point the cookie field must contain whatever value was in it when
103 void *cookie; member in struct:nand_op
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/protocol/
H A Dhidbus.h70 HidBusIfcProxy(hidbus_ifc_t* ifc, void* cookie) argument
71 : ifc_(ifc), cookie_(cookie) {}
118 static zx_status_t Start(void* ctx, hidbus_ifc_t* ifc, void* cookie) { argument
119 HidBusIfcProxy proxy(ifc, cookie);
/fuchsia/zircon/system/ulib/driver-info/
H A Ddriver-info-app.c14 void* cookie) {
12 callback(zircon_driver_note_payload_t* dn, const zx_bind_inst_t* binding, void* cookie) argument
/fuchsia/zircon/kernel/object/
H A Dlog_dispatcher.cpp49 void LogDispatcher::Notify(void* cookie) { argument
50 LogDispatcher* log = static_cast<LogDispatcher*>(cookie);
H A Ddispatcher.cpp30 KCOUNTER(dispatcher_cookie_set_count, "kernel.dispatcher.cookie.set");
31 KCOUNTER(dispatcher_cookie_reset_count, "kernel.dispatcher.cookie.reset");
253 zx_status_t Dispatcher::SetCookie(CookieJar* cookiejar, zx_koid_t scope, uint64_t cookie) { argument
263 cookiejar->cookie_ = cookie;
270 cookiejar->cookie_ = cookie;
279 zx_status_t Dispatcher::GetCookie(CookieJar* cookiejar, zx_koid_t scope, uint64_t* cookie) { argument
288 *cookie = cookiejar->cookie_;
/fuchsia/zircon/system/dev/bus/platform/
H A Dproxy-protocol.h105 void* cookie; member in struct:platform_bus::__anon277
113 void* cookie; member in struct:platform_bus::__anon278
/fuchsia/zircon/system/dev/test/ddk-test/
H A Dddk-test.c37 static zx_status_t ddk_test_func(void* cookie, test_report_t* report, const void* arg, size_t arglen) { argument
38 zx_device_t* dev = (zx_device_t*)cookie;
/fuchsia/zircon/system/ulib/ddktl/test/
H A Dddktl-test.cpp41 zx_status_t ddktl_test_func(void* cookie, test_report_t* report, const void* arg, size_t arglen) { argument
42 auto dev = static_cast<zx_device_t*>(cookie);
/fuchsia/zircon/system/ulib/tftp/
H A Dtftp.c182 tftp_status tx_data(tftp_session* session, tftp_data_msg* resp, size_t* outlen, void* cookie) { argument
199 tftp_status s = session->file_interface.read(buf, &rr, off, cookie);
418 void* cookie) {
567 cookie)) {
592 file_size = session->file_interface.open_read(session->filename, cookie);
618 session->file_interface.close(cookie);
664 void* cookie) {
666 cookie);
675 void* cookie) {
677 cookie);
411 tftp_handle_request(tftp_session* session, tftp_file_direction direction, tftp_msg* req, size_t req_len, tftp_msg* resp, size_t* resp_len, uint32_t* timeout_ms, void* cookie) argument
658 tftp_handle_wrq(tftp_session* session, tftp_msg* wrq, size_t wrq_len, tftp_msg* resp, size_t* resp_len, uint32_t* timeout_ms, void* cookie) argument
669 tftp_handle_rrq(tftp_session* session, tftp_msg* rrq, size_t rrq_len, tftp_msg* resp, size_t* resp_len, uint32_t* timeout_ms, void* cookie) argument
691 tftp_handle_data(tftp_session* session, tftp_msg* msg, size_t msg_len, tftp_msg* resp, size_t* resp_len, uint32_t* timeout_ms, void* cookie) argument
765 tftp_handle_ack(tftp_session* session, tftp_msg* ack, size_t ack_len, tftp_msg* resp, size_t* resp_len, uint32_t* timeout_ms, void* cookie) argument
819 tftp_handle_error(tftp_session* session, tftp_err_msg* err, size_t err_len, tftp_msg* resp, size_t* resp_len, uint32_t* timeout_ms, void* cookie) argument
841 tftp_handle_oack(tftp_session* session, tftp_msg* oack, size_t oack_len, tftp_msg* resp, size_t* resp_len, uint32_t* timeout_ms, void* cookie) argument
954 tftp_process_msg(tftp_session* session, void* incoming, size_t inlen, void* outgoing, size_t* outlen, uint32_t* timeout_ms, void* cookie) argument
994 tftp_prepare_data(tftp_session* session, void* outgoing, size_t* outlen, uint32_t* timeout_ms, void* cookie) argument
[all...]
/fuchsia/zircon/system/dev/input/usb-hid/
H A Dusb-hid.c39 void* cookie; member in struct:usb_hid_device
46 static void usb_interrupt_callback(usb_request_t* req, void* cookie) { argument
47 usb_hid_device_t* hid = (usb_hid_device_t*)cookie;
68 hid->ifc->io_queue(hid->cookie, buffer, req->response.actual);
97 static zx_status_t usb_hid_start(void* ctx, hidbus_ifc_t* ifc, void* cookie) { argument
105 hid->cookie = cookie;
120 hid->cookie = NULL;
306 usbhid->req->cookie = usbhid;
/fuchsia/zircon/system/dev/misc/test/
H A Dtest.c20 void* cookie; member in struct:test_device
53 static void test_device_set_test_func(void* ctx, test_func_t func, void* cookie) { argument
56 device->cookie = cookie;
62 return device->test_func(device->cookie, report, arg, arglen);
/fuchsia/zircon/system/ulib/memfs/
H A Ddnode.cpp130 zx_status_t Dnode::ReaddirStart(fs::DirentFiller* df, void* cookie) { argument
131 dircookie_t* c = static_cast<dircookie_t*>(cookie);
145 void Dnode::Readdir(fs::DirentFiller* df, void* cookie) const {
146 dircookie_t* c = static_cast<dircookie_t*>(cookie);
150 if ((r = Dnode::ReaddirStart(df, cookie)) != ZX_OK) {
/fuchsia/zircon/system/core/devmgr/
H A Ddevmgr-drivers.cpp34 const zx_bind_inst_t* bi, void* cookie) {
35 auto ctx = static_cast<add_ctx_t*>(cookie);
79 printf("found driver: %s\n", (char*) cookie);
33 found_driver(zircon_driver_note_payload_t* note, const zx_bind_inst_t* bi, void* cookie) argument
/fuchsia/zircon/system/dev/ethernet/rndis/
H A Drndishost.c57 void* cookie; member in struct:__anon343
118 static void rndis_read_complete(usb_request_t* request, void* cookie) { argument
120 rndishost_t* eth = (rndishost_t*)cookie;
150 eth->ifc->recv(eth->cookie, read_data, len, 0);
160 static void rndis_write_complete(usb_request_t* request, void* cookie) { argument
161 rndishost_t* eth = (rndishost_t*)cookie;
223 static zx_status_t rndishost_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) { argument
232 eth->cookie = cookie;
234 eth->ifc->status(eth->cookie, ETH_STATUS_ONLIN
[all...]
/fuchsia/zircon/system/uapp/sysconfig/
H A Dsysconfig.c80 static int print_func(void *cookie, const char* key, const char* value) { argument
85 static int copy_func(void *cookie, const char* key, const char* value) { argument
86 struct kvstore* kvs = cookie;
/fuchsia/zircon/system/ulib/fdio/
H A Dnamespace.c624 static zx_status_t ns_enum_callback(mxvn_t* vn, void* cookie, argument
625 zx_status_t (*func)(void* cookie, const char* path,
640 return func(cookie, end, len, h);
644 return func(cookie, "/", 1, h);
652 static zx_status_t ns_enumerate(mxvn_t* vn, void* cookie, argument
653 zx_status_t (*func)(void* cookie, const char* path,
657 ns_enum_callback(vn, cookie, func);
660 ns_enumerate(vn->child, cookie, func);
676 static zx_status_t ns_export_count(void* cookie, const char* path, argument
678 export_state_t* es = cookie;
687 ns_export_copy(void* cookie, const char* path, size_t len, zx_handle_t h) argument
[all...]
/fuchsia/zircon/system/dev/bus/virtio/
H A Dinput.h35 static zx_status_t virtio_input_start(void* ctx, hidbus_ifc_t* ifc, void* cookie);
48 zx_status_t Start(hidbus_ifc_t* ifc, void* cookie);
/fuchsia/zircon/system/dev/ethernet/asix-88772b/
H A Dasix-88772b.c69 void* cookie; member in struct:__anon339
180 eth->ifc->recv(eth->cookie, pkt, length1, 0);
222 static void ax88772b_read_complete(usb_request_t* request, void* cookie) { argument
223 ax88772b_t* eth = (ax88772b_t*)cookie;
254 static void ax88772b_write_complete(usb_request_t* request, void* cookie) { argument
255 ax88772b_t* eth = (ax88772b_t*)cookie;
269 eth->ifc->complete_tx(eth->cookie, netbuf, send_result);
290 static void ax88772b_interrupt_complete(usb_request_t* request, void* cookie) { argument
291 ax88772b_t* eth = (ax88772b_t*)cookie;
314 eth->ifc->status(eth->cookie, ETH_STATUS_ONLIN
422 ax88772b_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) argument
[all...]

Completed in 301 milliseconds

123456789