Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 - 25 of 78) sorted by relevance

1234

/third_party/backends/tools/
H A Dcheck-usb-chip.c144 if ((dev->config[0].interface[0].altsetting[0].endpoint[0]. in check_gt6801()
146 || (dev->config[0].interface[0].altsetting[0].endpoint[0]. in check_gt6801()
148 || (dev->config[0].interface[0].altsetting[0].endpoint[0]. in check_gt6801()
150 || (dev->config[0].interface[0].altsetting[0].endpoint[0].bInterval != in check_gt6801()
157 dev->config[0].interface[0].altsetting[0].endpoint[0]. in check_gt6801()
159 dev->config[0].interface[0].altsetting[0].endpoint[0].bmAttributes, in check_gt6801()
160 dev->config[0].interface[0].altsetting[0].endpoint[0]. in check_gt6801()
162 dev->config[0].interface[0].altsetting[0].endpoint[0].bInterval); in check_gt6801()
269 if ((dev->config[0].interface[0].altsetting[0].endpoint[0]. in check_gt6816()
271 || (dev->config[0].interface[0].altsetting[0].endpoint[ in check_gt6816()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_bptc_tmp.h53 int8_t endpoint; member
361 int endpoint; in extract_unorm_endpoints() local
368 for (endpoint = 0; endpoint < 2; endpoint++) { in extract_unorm_endpoints()
369 endpoints[subset * 2 + endpoint][component] = in extract_unorm_endpoints()
379 for (endpoint = 0; endpoint < 2; endpoint++) { in extract_unorm_endpoints()
380 endpoints[subset * 2 + endpoint][ in extract_unorm_endpoints()
873 int endpoint, component; extract_float_endpoints() local
1211 int endpoint; get_rgba_endpoints_unorm() local
1307 int endpoint; write_rgb_indices_unorm() local
1408 int component, endpoint; compress_rgba_unorm_block() local
1515 int endpoint, component; get_endpoints_float() local
1590 int endpoint; write_rgb_indices_float() local
1677 int component, endpoint; compress_rgb_float_block() local
[all...]
/third_party/libcoap/src/
H A Dcoap_netif.c35 coap_netif_available_ep(coap_endpoint_t *endpoint) { in coap_netif_available_ep() argument
36 return endpoint->sock.flags != COAP_SOCKET_EMPTY; in coap_netif_available_ep()
40 coap_netif_dgrm_listen(coap_endpoint_t *endpoint, in coap_netif_dgrm_listen() argument
42 if (!coap_socket_bind_udp(&endpoint->sock, listen_addr, in coap_netif_dgrm_listen()
43 &endpoint->bind_addr)) { in coap_netif_dgrm_listen()
46 endpoint->sock.flags |= COAP_SOCKET_NOT_EMPTY | COAP_SOCKET_BOUND | COAP_SOCKET_WANT_READ; in coap_netif_dgrm_listen()
99 coap_netif_dgrm_read_ep(coap_endpoint_t *endpoint, coap_packet_t *packet) { in coap_netif_dgrm_read_ep() argument
103 bytes_read = coap_socket_recv(&endpoint->sock, packet); in coap_netif_dgrm_read_ep()
107 coap_endpoint_str(endpoint), packet->length, in coap_netif_dgrm_read_ep()
131 assert(session->endpoint ! in coap_netif_dgrm_write()
158 coap_netif_strm_listen(coap_endpoint_t *endpoint, const coap_address_t *listen_addr) coap_netif_strm_listen() argument
170 coap_netif_strm_accept(coap_endpoint_t *endpoint, coap_session_t *session) coap_netif_strm_accept() argument
265 coap_netif_close_ep(coap_endpoint_t *endpoint) coap_netif_close_ep() argument
[all...]
H A Dcoap_session.c523 coap_context_t *context, coap_endpoint_t *endpoint) { in coap_make_session()
527 (void)endpoint; in coap_make_session()
549 session->endpoint = endpoint; in coap_make_session()
550 if (endpoint) in coap_make_session()
551 session->mtu = endpoint->default_mtu; in coap_make_session()
686 if (session->endpoint) { in coap_session_free()
687 if (session->endpoint->sessions) in coap_session_free()
688 SESSIONS_DELETE(session->endpoint->sessions, session); in coap_session_free()
1108 coap_endpoint_get_session(coap_endpoint_t *endpoint, in coap_endpoint_get_session() argument
519 coap_make_session(coap_proto_t proto, coap_session_type_t type, const coap_addr_hash_t *addr_hash, const coap_address_t *local_addr, const coap_address_t *remote_addr, int ifindex, coap_context_t *context, coap_endpoint_t *endpoint) coap_make_session() argument
2046 coap_endpoint_str(const coap_endpoint_t *endpoint) coap_endpoint_str() argument
[all...]
H A Dcoap_net.c466 return context->endpoint; in coap_context_get_endpoint()
542 coap_endpoint_t *endpoint = coap_new_endpoint(c, listen_addr, COAP_PROTO_UDP); in coap_new_context() local
543 if (endpoint == NULL) { in coap_new_context()
614 LL_FOREACH_SAFE(context->endpoint, ep, tmp) { in coap_free_context()
1983 coap_read_endpoint(coap_context_t *ctx, coap_endpoint_t *endpoint, coap_tick_t now) { in coap_read_endpoint() argument
1996 assert(COAP_PROTO_NOT_RELIABLE(endpoint->proto)); in coap_read_endpoint()
1997 assert(endpoint->sock.flags & COAP_SOCKET_BOUND); in coap_read_endpoint()
2008 coap_address_copy(&packet->addr_info.local, &endpoint->bind_addr); in coap_read_endpoint()
2010 bytes_read = coap_netif_dgrm_read_ep(endpoint, packet); in coap_read_endpoint()
2012 coap_log_warn("* %s: read failed\n", coap_endpoint_str(endpoint)); in coap_read_endpoint()
2030 coap_write_endpoint(coap_context_t *ctx, coap_endpoint_t *endpoint, coap_tick_t now) coap_write_endpoint() argument
2039 coap_accept_endpoint(coap_context_t *ctx, coap_endpoint_t *endpoint, coap_tick_t now) coap_accept_endpoint() argument
4119 coap_endpoint_t *endpoint; coap_join_mcast_group_intf() local
[all...]
H A Dcoap_io.c240 if (sock->endpoint &&
490 sock->endpoint ? sock->endpoint->context : NULL;
508 if (sock->endpoint &&
509 sock->endpoint->bind_addr.addr.sa.sa_family == AF_UNIX) {
510 /* Clean up Unix endpoint */
511 unlink(sock->endpoint->bind_addr.addr.cun.sun_path);
514 sock->endpoint = NULL;
520 /* Clean up Unix endpoint */
551 sock->endpoint
[all...]
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dusb.h182 /* Whenever Linux references an USB endpoint:
183 * a) to initialize "urb->endpoint"
186 * Then it uses one of the following macros. The "endpoint" argument
187 * is the physical endpoint value masked by 0xF. The "dev" argument
190 #define usb_sndctrlpipe(dev,endpoint) \
191 usb_find_host_endpoint(dev, PIPE_CONTROL, (endpoint) | USB_DIR_OUT)
193 #define usb_rcvctrlpipe(dev,endpoint) \
194 usb_find_host_endpoint(dev, PIPE_CONTROL, (endpoint) | USB_DIR_IN)
196 #define usb_sndisocpipe(dev,endpoint) \
197 usb_find_host_endpoint(dev, PIPE_ISOCHRONOUS, (endpoint) | USB_DIR_OU
240 struct usb_host_endpoint *endpoint; /* (in) pipe pointer */ global() member
[all...]
/third_party/libcoap/include/coap3/
H A Dcoap_netif_internal.h40 * Function interface to check whether netif for endpoint is still available.
42 * @param endpoint Endpoint to check against.
46 int coap_netif_available_ep(coap_endpoint_t *endpoint);
51 * @param endpoint Endpoint to do the listen on.
56 int coap_netif_dgrm_listen(coap_endpoint_t *endpoint,
90 * @param endpoint Endpoint to receive data on.
97 ssize_t coap_netif_dgrm_read_ep(coap_endpoint_t *endpoint,
118 * @param endpoint Endpoint to do the listen on.
123 int coap_netif_strm_listen(coap_endpoint_t *endpoint,
129 * @param endpoint Endpoin
[all...]
H A Dcoap_session.h386 * Create a new endpoint for communicating with peers.
388 * @param context The coap context that will own the new endpoint,
389 * @param listen_addr Address the endpoint will listen for incoming requests
392 * use a random endpoint.
393 * @param proto Protocol used on this endpoint,
395 * @return The new endpoint or @c NULL on failure.
401 * Set the endpoint's default MTU. This is the maximum message size that can be
404 * @param endpoint The CoAP endpoint.
407 void coap_endpoint_set_default_mtu(coap_endpoint_t *endpoint, unsigne
[all...]
/third_party/pulseaudio/src/modules/bluetooth/
H A Dbluez5-util.c452 const char *endpoint; in pa_bluetooth_device_switch_codec() local
470 pa_assert_se(endpoint = endpoint_conf->choose_remote_endpoint(capabilities_hashmap, &device->discovery->core->default_sample_spec, is_a2dp_sink)); in pa_bluetooth_device_switch_codec()
471 pa_assert_se(capabilities = pa_hashmap_get(all_endpoints, endpoint)); in pa_bluetooth_device_switch_codec()
481 pa_assert_se(m = dbus_message_new_method_call(BLUEZ_SERVICE, endpoint, in pa_bluetooth_device_switch_codec()
1146 pa_log_debug("Remote endpoint %s was removed", path); in remote_endpoint_remove()
1733 char *endpoint; in register_legacy_sbc_endpoint_reply() local
1738 pa_assert_se(endpoint = p->call_data); in register_legacy_sbc_endpoint_reply()
1742 pa_log_info("Couldn't register endpoint %s because it is disabled in BlueZ", endpoint); in register_legacy_sbc_endpoint_reply()
1758 pa_xfree(endpoint); in register_legacy_sbc_endpoint_reply()
1761 register_legacy_sbc_endpoint(pa_bluetooth_discovery *y, const pa_a2dp_endpoint_conf *endpoint_conf, const char *path, const char *endpoint, const char *uuid) register_legacy_sbc_endpoint() argument
1878 parse_remote_endpoint_properties(pa_bluetooth_discovery *y, const char *endpoint, DBusMessageIter *i) parse_remote_endpoint_properties() argument
2420 a2dp_sep_to_a2dp_endpoint_conf(const char *endpoint) a2dp_sep_to_a2dp_endpoint_conf() argument
2717 endpoint_init(pa_bluetooth_discovery *y, const char *endpoint) endpoint_init() argument
2729 endpoint_done(pa_bluetooth_discovery *y, const char *endpoint) endpoint_done() argument
2736 append_a2dp_object(DBusMessageIter *iter, const char *endpoint, const char *uuid, uint8_t codec_id, uint8_t *capabilities, uint8_t capabilities_size) append_a2dp_object() argument
2820 char *endpoint; object_manager_handler() local
2877 char *endpoint; pa_bluetooth_discovery_get() local
2976 char *endpoint; pa_bluetooth_discovery_unref() local
[all...]
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_transfer.c47 /* This transfer is used for generic control endpoint transfers */
51 .endpoint = 0x00, /* Control endpoint */
63 .endpoint = 0x00, /* Control pipe */
74 /* This transfer is used for generic control endpoint transfers */
78 .endpoint = 0x00, /* Control endpoint */
89 .endpoint = 0x00, /* Control pipe */
352 edesc = xfer->endpoint->edesc; in usbd_transfer_setup_sub()
353 ecomp = xfer->endpoint in usbd_transfer_setup_sub()
[all...]
H A Dusb_hub.c119 .endpoint = UE_ADDR_ANY,
130 .endpoint = 0x00, /* Control pipe */
248 * This function queues a TT reset for the given USB device and endpoint.
1583 /* Start the interrupt endpoint, if any */ in uhub_attach()
1873 * The best Transaction Translation slot for an interrupt endpoint.
1994 xfer->endpoint->refcount_bw++; in usb_hs_bandwidth_alloc()
1995 if (xfer->endpoint->refcount_bw != 1) in usb_hs_bandwidth_alloc()
2000 switch (xfer->endpoint->edesc->bmAttributes & UE_XFERTYPE) { in usb_hs_bandwidth_alloc()
2008 xfer->endpoint->usb_uframe = slot; in usb_hs_bandwidth_alloc()
2009 xfer->endpoint in usb_hs_bandwidth_alloc()
[all...]
H A Dusb_debug.c86 * This function dumps the USB transfer that are queued up on an USB endpoint.
94 PRINTK("usb_dump_queue: endpoint=%p xfer: ", ep); in usb_dump_queue()
105 * This function dumps information about an USB endpoint.
111 PRINTK("usb_dump_endpoint: endpoint=%p", ep); in usb_dump_endpoint()
123 PRINTK("usb_dump_endpoint: endpoint=NULL\n"); in usb_dump_endpoint()
140 if (xfer->endpoint == NULL) { in usb_dump_xfer()
141 PRINTK("xfer %p: endpoint=NULL\n", in usb_dump_xfer()
147 "endpoint=%p ep=0x%02x attr=0x%02x\n", in usb_dump_xfer()
151 udev->address, xfer->endpoint, in usb_dump_xfer()
152 xfer->endpoint in usb_dump_xfer()
[all...]
/third_party/node/deps/npm/test/lib/commands/
H A Dhook.js19 return { id: 1, name: pkg, type: pkgTypes[pkg], endpoint: uri }
32 endpoint: 'https://google.com',
43 endpoint: 'https://google.com',
49 return { id, name: pkg, type: pkgTypes[pkg], endpoint: uri }
173 endpoint: 'https://google.com',
203 ['id', 'name', 'type', 'endpoint'],
278 endpoint: 'https://google.com',
326 endpoint: 'https://google.com',
332 endpoint: 'https://google.com',
338 endpoint
[all...]
/third_party/backends/include/sane/
H A Dusb_manager.h69 * \ref usb_manager_endpoint_descriptor::bEndpointAddress "endpoint address" scheme.
237 /** Maximum packet size for endpoint 0 */
263 * A structure representing the standard USB endpoint descriptor. This
276 /** The address of the endpoint described by this descriptor. Bits 0:3 are
277 * the endpoint number. Bits 4:6 are reserved. Bit 7 indicates direction,
281 /** Attributes which apply to the endpoint when it is configured using
289 /** Maximum packet size this endpoint is capable of sending/receiving. */
292 /** Interval for polling endpoint for data transfers. */
299 /** For audio devices only: the address if the synch endpoint */
324 * endpoint)
343 struct usb_manager_endpoint_descriptor *endpoint; global() member
[all...]
/third_party/backends/sanei/
H A Dusb_manager.cpp198 retAltsetting[j].endpoint = new (std::nothrow) usb_manager_endpoint_descriptor[endPointsNum]{}; in SetInterfaceDescriptor()
199 if (retAltsetting[j].endpoint == nullptr) { in SetInterfaceDescriptor()
205 retAltsetting[j].endpoint[k].bmAttributes = bmAttr; in SetInterfaceDescriptor()
206 retAltsetting[j].endpoint[k].bEndpointAddress = bEndpointAddress; in SetInterfaceDescriptor()
447 auto endpoints = altsetting[j].endpoint; in usb_manager_free_config_descriptor()
449 // release endpoint array in usb_manager_free_config_descriptor()
538 int usb_manager_bulk_transfer(usb_manager_device_handle *dev_handle, unsigned char endpoint, in usb_manager_bulk_transfer() argument
549 usbEndpoint.SetAddr(endpoint); in usb_manager_bulk_transfer()
551 if (endpoint & USB_MANAGER_ENDPOINT_IN) { in usb_manager_bulk_transfer()
649 int usb_manager_interrupt_transfer(usb_manager_device_handle *dev_handle, unsigned char endpoint, in usb_manager_interrupt_transfer() argument
658 usb_manager_clear_halt(usb_manager_device_handle *dev_handle, unsigned char endpoint) usb_manager_clear_halt() argument
[all...]
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A Dlinux_usb.c405 if (urb->endpoint == NULL) { in usb_submit_urb()
421 uhe = urb->endpoint; in usb_submit_urb()
501 if (urb->endpoint == NULL) { in usb_unlink_urb_sub()
505 uhe = urb->endpoint; in usb_unlink_urb_sub()
546 * an USB endpoint returns a stall message to the USB host controller.
566 cfg[0].endpoint = addr & UE_ADDR; in usb_clear_halt()
636 * control, bulk or interrupt endpoint, specified by "uhe". A control
677 * transfers on control endpoint zero: in usb_control_msg()
706 urb->endpoint = uhe; in usb_control_msg()
762 * allows you to set a maximum buffer size for a given USB endpoint
[all...]
/third_party/FreeBSD/sys/dev/usb/controller/
H A Dehci.c1035 xfer->endpoint->toggle_next ^= dt; in ehci_data_toggle_update()
1141 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", xfer, xfer->endpoint); in ehci_non_isoc_done()
1194 const struct usb_pipe_methods *methods = xfer->endpoint->methods; in ehci_check_transfer()
1721 if (xfer->endpoint->toggle_next) { in ehci_setup_standard_chain()
1741 xfer->endpoint->toggle_next = 0; in ehci_setup_standard_chain()
1805 /* set endpoint direction */ in ehci_setup_standard_chain()
1822 * Send a DATA1 message and invert the current endpoint in ehci_setup_standard_chain()
1862 xfer->endpoint->toggle_next); in ehci_setup_standard_chain()
1868 methods = xfer->endpoint in ehci_setup_standard_chain()
[all...]
H A Dxhci.c772 DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n", in xhci_generic_done()
773 xfer, xfer->endpoint); in xhci_generic_done()
894 DPRINTF("Invalid endpoint.\n"); in xhci_check_transfer()
1376 /* configure input endpoint context structure */ in xhci_set_address()
1393 /* ensure the control endpoint is setup again */ in xhci_set_address()
1404 DPRINTF("Could not configure default endpoint\n"); in xhci_set_address()
1908 * CHAIN-BIT: Ensure that a multi-TRB IN-endpoint in xhci_setup_generic_chain_sub()
2004 mult = xfer->endpoint->ecomp ? in xhci_setup_generic_chain()
2005 UE_GET_SS_ISO_MULT(xfer->endpoint->ecomp->bmAttributes) in xhci_setup_generic_chain()
2009 mult = (xfer->endpoint in xhci_setup_generic_chain()
[all...]
/third_party/protobuf/python/google/protobuf/internal/
H A Ddecoder.py220 (endpoint, pos) = local_DecodeVarint(buffer, pos)
221 endpoint += pos
222 if endpoint > end:
224 while pos < endpoint:
227 if pos > endpoint:
412 (endpoint, pos) = local_DecodeVarint(buffer, pos)
413 endpoint += pos
414 if endpoint > end:
416 while pos < endpoint:
435 if pos > endpoint
[all...]
/third_party/node/test/node-api/test_make_callback/
H A Dtest.js80 function endpoint($Object) { function
86 assert.strictEqual(makeCallback(resource, process, forward, endpoint), Object);
/third_party/node/test/addons/make-callback/
H A Dtest.js60 function endpoint($Object) { function
65 assert.strictEqual(makeCallback(process, forward, endpoint), Object);
/third_party/node/src/
H A Dnode_report_utils.cc21 uv_getnameinfo_t endpoint; in ReportEndpoint() local
29 if (uv_getnameinfo(h->loop, &endpoint, nullptr, addr, NI_NUMERICSERV) == 0) { in ReportEndpoint()
30 host = endpoint.host; in ReportEndpoint()
31 DCHECK_EQ(port, std::stoi(endpoint.service)); in ReportEndpoint()
/third_party/lwip/src/netif/ppp/
H A Dlcp.c94 bool noendpoint = 0; /* don't send/accept endpoint discriminator */
203 { "endpoint", o_special, (void *) setendpoint,
209 "Don't send or accept multilink endpoint discriminator", 1 },
342 if (str_to_epdisc(&lcp_wantoptions[0].endpoint, *argv)) {
346 option_error("Can't parse '%s' as an endpoint discriminator", *argv);
356 printer(arg, "%s", epdisc_to_str(&lcp_wantoptions[0].endpoint));
827 (go->neg_endpoint? CILEN_CHAR + go->endpoint.length: 0)); in lcp_cilen()
929 ADDCIENDP(CI_EPDISC, go->neg_endpoint, go->endpoint.class_, in lcp_addci()
930 go->endpoint.value, go->endpoint in lcp_addci()
[all...]
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
H A Dssl_pm.c123 int endpoint; in ssl_pm_new() local
162 if (method->endpoint) { in ssl_pm_new()
163 endpoint = MBEDTLS_SSL_IS_SERVER; in ssl_pm_new()
165 endpoint = MBEDTLS_SSL_IS_CLIENT; in ssl_pm_new()
167 ret = mbedtls_ssl_config_defaults(&ssl_pm->conf, endpoint, MBEDTLS_SSL_TRANSPORT_STREAM, MBEDTLS_SSL_PRESET_DEFAULT); in ssl_pm_new()

Completed in 31 milliseconds

1234