/third_party/alsa-lib/src/pcm/ |
H A D | pcm_ladspa.c | 92 LADSPA_PortDescriptor pdesc; /* port description */ 94 unsigned int *port_bindings; /* index = channel number, value = LADSPA port */ 97 LADSPA_Data *controls; /* index = LADSPA control port index */ 161 unsigned int port) in snd_pcm_ladspa_find_port_idx() 166 if (port >= lplug->desc->PortCount) in snd_pcm_ladspa_find_port_idx() 168 for (idx = 0; idx < port; idx++) in snd_pcm_ladspa_find_port_idx() 410 unsigned int port, channels, idx, idx1; in snd_pcm_ladspa_connect_plugin1() local 419 port = io->port_bindings[idx]; in snd_pcm_ladspa_connect_plugin1() 421 err = snd_pcm_ladspa_find_port(&port, plugin, io->pdesc | LADSPA_PORT_AUDIO, idx); in snd_pcm_ladspa_connect_plugin1() 423 SNDERR("unable to find audio %s port in snd_pcm_ladspa_connect_plugin1() 158 snd_pcm_ladspa_find_port_idx(unsigned int *res, snd_pcm_ladspa_plugin_t *lplug, LADSPA_PortDescriptor pdesc, unsigned int port) snd_pcm_ladspa_find_port_idx() argument 463 unsigned int port; snd_pcm_ladspa_connect_plugin_duplicate1() local 506 snd_pcm_ladspa_get_default_cvalue(const LADSPA_Descriptor * desc, unsigned int port, LADSPA_Data *val) snd_pcm_ladspa_get_default_cvalue() argument 1267 unsigned int port, uval; snd_pcm_ladspa_parse_controls() local 1338 long channel, port; snd_pcm_ladspa_parse_bindings() local [all...] |
/third_party/curl/lib/ |
H A D | altsvc.c | 138 as->src.port = curlx_ultous(srcport); in altsvc_createid() 139 as->dst.port = curlx_ultous(dstport); in altsvc_createid() 284 as->src.port, in altsvc_out() 288 as->dst.port, in altsvc_out() 457 (srcport == as->src.port) && in altsvc_flush() 492 * Invalid host name, port number will result in the specific alternative 527 /* [protocol]="[host][:port]" */ in Curl_altsvc_parse() 574 unsigned long port = 0; in Curl_altsvc_parse() local 577 /* a port number */ in Curl_altsvc_parse() 578 port in Curl_altsvc_parse() [all...] |
/third_party/libcoap/src/ |
H A D | coap_uri.c | 76 uri->port = COAP_DEFAULT_PORT; in coap_split_uri_sub() 81 /* no scheme, host or port */ in coap_split_uri_sub() 109 uri->port = coap_uri_scheme[i].port; in coap_split_uri_sub() 187 uri->port = 0; in coap_split_uri_sub() 217 if (p < q) { /* explicit port number given */ in coap_split_uri_sub() 223 /* check if port number is in allowed range */ in coap_split_uri_sub() 229 uri->port = (uint16_t)uri_port; in coap_split_uri_sub() 323 if (uri->port != 80) in coap_uri_into_options() 328 if (uri->port ! in coap_uri_into_options() [all...] |
H A D | coap_io_lwip.c | 148 const ip_addr_t *addr, u16_t port) { in coap_recvc() 154 (void)port; in coap_recvc() 215 const ip_addr_t *addr, u16_t port) { in coap_recvs() 237 packet->addr_info.remote.port = port; in coap_recvs() 239 packet->addr_info.local.port = upcb->local_port; in coap_recvs() 308 session->addr_info.remote.port); in coap_socket_send_pdu() 336 session->addr_info.remote.port); in coap_socket_send() 364 err = udp_bind(sock->pcb, &l_listen.addr, l_listen.port); in coap_socket_bind_udp() 401 ("coap_socket_connect_udp: port bin in coap_socket_connect_udp() 147 coap_recvc(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) coap_recvc() argument 214 coap_recvs(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) coap_recvs() argument [all...] |
/third_party/toybox/toys/pending/ |
H A D | tftp.c | 69 int port = 69, sd = xsocket(TT.af, SOCK_DGRAM, IPPROTO_UDP); in init_tftp() local 74 if(toys.optc == 2) port = atolx_range(toys.optargs[1], 1, 65535); in init_tftp() 80 ((struct sockaddr_in6 *)server)->sin6_port = htons(port); in init_tftp() 86 ((struct sockaddr_in *)server)->sin_port = htons(port); in init_tftp() 214 uint16_t *port, uint16_t *blockno) in read_ack() 230 if (!*port) { in read_ack() 231 *port = ((struct sockaddr_in *)&from)->sin_port; in read_ack() 240 if (*port != ((struct sockaddr_in *)server)->sin_port) { in read_ack() 241 error_msg("Invalid port in DATA."); in read_ack() 311 error_msg("Invalid port i in file_get() 213 read_ack(int sd, uint8_t *packet, struct sockaddr_storage *server, uint16_t *port, uint16_t *blockno) read_ack() argument 387 uint16_t blockno = 1, rblockno, port = 0; file_put() local [all...] |
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_request.c | 36 static uint32_t usb_reset_port_flag[8]; /* 256 bits for reset port flag refer to USB_MAX_PORTS */ 753 * on the specified port number. 757 * Else: Failure. No USB device is present and the USB port should be 761 usbd_req_reset_port(struct usb_device *udev, struct mtx *mtx, uint8_t port) in usbd_req_reset_port() argument 771 /* clear any leftover port reset changes first */ in usbd_req_reset_port() 773 udev, mtx, port, UHF_C_PORT_RESET); in usbd_req_reset_port() 775 /* assert port reset on the given port */ in usbd_req_reset_port() 777 udev, mtx, port, UHF_PORT_RESET); in usbd_req_reset_port() 787 err = usbd_req_get_port_status(udev, mtx, &ps, port); in usbd_req_reset_port() 864 usbd_req_warm_reset_port(struct usb_device *udev, struct mtx *mtx, uint8_t port) usbd_req_warm_reset_port() argument 1562 usbd_req_get_port_status(struct usb_device *udev, struct mtx *mtx, struct usb_port_status *ps, uint8_t port) usbd_req_get_port_status() argument 1626 usbd_req_set_hub_u1_timeout(struct usb_device *udev, struct mtx *mtx, uint8_t port, uint8_t timeout) usbd_req_set_hub_u1_timeout() argument 1648 usbd_req_set_hub_u2_timeout(struct usb_device *udev, struct mtx *mtx, uint8_t port, uint8_t timeout) usbd_req_set_hub_u2_timeout() argument 1691 usbd_req_clear_port_feature(struct usb_device *udev, struct mtx *mtx, uint8_t port, uint16_t sel) usbd_req_clear_port_feature() argument 1713 usbd_req_set_port_feature(struct usb_device *udev, struct mtx *mtx, uint8_t port, uint16_t sel) usbd_req_set_port_feature() argument 2167 usbd_req_reset_tt(struct usb_device *udev, struct mtx *mtx, uint8_t port) usbd_req_reset_tt() argument 2197 usbd_req_clear_tt_buffer(struct usb_device *udev, struct mtx *mtx, uint8_t port, uint8_t addr, uint8_t type, uint8_t endpoint) usbd_req_clear_tt_buffer() argument 2231 usbd_req_set_port_link_state(struct usb_device *udev, struct mtx *mtx, uint8_t port, uint8_t link_state) usbd_req_set_port_link_state() argument 2258 usbd_req_set_lpm_info(struct usb_device *udev, struct mtx *mtx, uint8_t port, uint8_t besl, uint8_t addr, uint8_t rwe) usbd_req_set_lpm_info() argument [all...] |
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-netcat/ |
H A D | minimal-raw-netcat.c | 142 const char *server = "libwebsockets.org", *port = "80"; in main() local 156 lwsl_user("LWS minimal raw netcat [--server ip] [--port port] [-w ms]\n"); in main() 167 info.port = CONTEXT_PORT_NO_LISTEN_SERVER; in main() 190 if ((p = lws_cmdline_option(argc, argv, "--port"))) in main() 191 port = p; in main() 199 n = getaddrinfo(server, port, &h, &r); in main() 219 lwsl_user("Starting connect to %s:%s...\n", server, port); in main()
|
/third_party/node/test/parallel/ |
H A D | test-cluster-basic.js | 149 const port = arguments[0].port; 150 assert(Number.isInteger(port)); 151 assert(port >= 1); 152 assert(port <= 65535);
|
/third_party/ltp/testcases/network/stress/dns/ |
H A D | dns-stress.sh | 165 port=$(tst_get_unused_port ipv${TST_IPVER} dgram) 167 tst_resm TINFO "Start named daemon, port $port" 168 named -$TST_IPVER -c named.conf -p $port || \ 182 tst_rhost_run -s -c "dns-stress01-rmt.sh $TST_IPVER $(tst_ipaddr) $port \ 192 tst_rhost_run -s -c "dns-stress02-rmt.sh $TST_IPVER $(tst_ipaddr) $port $net \
|
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-post/ |
H A D | minimal-http-client-post.c | 205 info.port = CONTEXT_PORT_NO_LISTEN; /* we do not run any server */ in main() 236 i.port = 7681; in main() 241 i.port = 443; in main() 249 if ((p = lws_cmdline_option(argc, argv, "--port"))) in main() 250 i.port = atoi(p); in main() 265 i.address, i.port); in main()
|
/third_party/lwip/src/include/lwip/priv/ |
H A D | altcp_priv.h | 61 typedef err_t (*altcp_bind_fn)(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port); 62 typedef err_t (*altcp_connect_fn)(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port, altcp_connected_fn connected); 84 typedef err_t (*altcp_get_tcp_addrinfo_fn)(struct altcp_pcb *conn, int local, ip_addr_t *addr, u16_t *port); 130 err_t altcp_default_bind(struct altcp_pcb *conn, const ip_addr_t *ipaddr, u16_t port); 142 err_t altcp_default_get_tcp_addrinfo(struct altcp_pcb *conn, int local, ip_addr_t *addr, u16_t *port);
|
/third_party/node/deps/undici/src/lib/core/ |
H A D | connect.js | 85 return function connect ({ hostname, host, protocol, port, servername, localAddress, httpSocket }, callback) { 107 port: port || 443, 122 port: port || 80,
|
/third_party/toybox/lib/ |
H A D | net.c | 19 struct addrinfo *xgetaddrinfo(char *host, char *port, int family, int socktype, in xgetaddrinfo() argument 32 rc = getaddrinfo(host, port, &info, &ai); in xgetaddrinfo() 34 error_exit("%s%s%s: %s", host ? host : "*", port ? ":" : "", in xgetaddrinfo() 35 port ? port : "", rc ? gai_strerror(rc) : "not found"); in xgetaddrinfo()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | hdi_codec_manager.cpp | 140 outcapBuilder.SetVideoPixelFormatList(GetCodecFormats(hdiCap.port.video)); in AddHdiCap() 143 incapBuilder.SetVideoPixelFormatList(GetCodecFormats(hdiCap.port.video)); in AddHdiCap() 167 std::vector<VideoPixelFormat> HdiCodecManager::GetCodecFormats(const CodecVideoPortCap& port) in GetCodecFormats() argument 171 while (index < PIX_FORMAT_NUM && port.supportPixFmts[index] > 0) { in GetCodecFormats() 172 switch (port.supportPixFmts[index]) { in GetCodecFormats() 189 MEDIA_LOG_W("Unknown Format" PUBLIC_LOG_D32, port.supportPixFmts[index]); in GetCodecFormats()
|
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/core/ |
H A D | filter_base.cpp | 79 for (auto &&port : inPorts_) { in UnlinkPrevFilters() 80 auto peerPort = port->GetPeerPort(); in UnlinkPrevFilters() 81 port->Disconnect(); in UnlinkPrevFilters() 92 for (auto &&port : outPorts_) { in GetNextFilters() 93 auto peerPort = port->GetPeerPort(); in GetNextFilters() 95 EFFECT_LOGI("Filter %{public}s outport %{public}s has no peer port (%{public}zu).", name_.c_str(), in GetNextFilters() 96 port->GetName().c_str(), outPorts_.size()); in GetNextFilters() 114 EFFECT_LOGI("Filter %{public}s inport %{public}s has no peer port (%{public}zu).", name_.c_str(), in GetPreFilters() 143 // Receive event from port and pass it to pipeline. in OnEvent() 160 EFFECT_LOGE("Find port( in FindPort() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | sapdec.c | 68 int port; in sap_read_header() local 74 av_url_split(NULL, 0, NULL, 0, host, sizeof(host), &port, in sap_read_header() 76 if (port < 0) in sap_read_header() 77 port = 9875; in sap_read_header() 84 ff_url_join(url, sizeof(url), "udp", NULL, host, port, "?localport=%d", in sap_read_header() 85 port); in sap_read_header()
|
/third_party/libwebsockets/lib/core-net/client/ |
H A D | connect2.c | 146 int n, port = 0; local 307 port = (int)wsi->a.vhost->http.http_proxy_port; 319 port = (int)wsi->a.vhost->socks_proxy_port; 326 port = wsi->c_port; 335 lwsl_wsi_info(wsi, "lookup %s:%u", adsin, port); 336 wsi->conn_port = (uint16_t)port;
|
/third_party/jerryscript/jerry-ext/debugger/ |
H A D | debugger-tcp.c | 243 * * Bind the socket to the given port 251 uint16_t port) /** < port number to be used for the socket */ in jerryx_debugger_tcp_configure_socket() 256 addr.sin_port = htons (port); in jerryx_debugger_tcp_configure_socket() 290 jerryx_debugger_tcp_create (uint16_t port) /**< listening port */ in jerryx_debugger_tcp_create() argument 309 if (!jerryx_debugger_tcp_configure_socket (server_socket, port)) in jerryx_debugger_tcp_create() 392 jerryx_debugger_tcp_create (uint16_t port) in jerryx_debugger_tcp_create() argument 394 JERRYX_UNUSED (port); in jerryx_debugger_tcp_create() 250 jerryx_debugger_tcp_configure_socket(jerryx_socket server_socket, uint16_t port) jerryx_debugger_tcp_configure_socket() argument
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/ |
H A D | protocol_lws_minimal_client_echo.c | 53 int *port; member 64 lws_snprintf(host, sizeof(host), "%s:%u", *vhd->ads, *vhd->port); in sul_connect_attempt() 69 i.port = *vhd->port; in sul_connect_attempt() 82 lwsl_user("connecting to %s:%d/%s\n", i.address, i.port, i.path); in sul_connect_attempt() 128 vhd->port = (int *)lws_pvo_search( in callback_minimal_client_echo() 130 "port")->value; in callback_minimal_client_echo()
|
/third_party/node/deps/npm/node_modules/https-proxy-agent/dist/ |
H A D | index.js | 59 const port = this.proxy.port 60 ? parseInt(this.proxy.port, 10) 69 port, 99 let payload = `CONNECT ${host}:${opts.port} HTTP/1.1\r\n`; 105 headers.Host = `${host}:${opts.port}`; 127 ...omit(opts, 'host', 'path', 'port'),
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam/ |
H A D | minimal-ws-client-spam.c | 38 static int interrupted, port = 443, ssl_connection = LCCSCF_USE_SSL; variable 60 i.port = port; in connect_client() 73 lwsl_notice("%s: connection %s:%d\n", __func__, i.address, i.port); in connect_client() 218 info.port = CONTEXT_PORT_NO_LISTEN; /* we do not run any server */ in main() 234 if ((p = lws_cmdline_option(argc, argv, "--port"))) in main() 235 port = atoi(p); in main()
|
/third_party/libcoap/examples/lwip/ |
H A D | client-coap.c | 83 uint16_t port = service ? atoi(service) : 0; in resolve_address() local 89 addr_info = coap_resolve_address_info(&str_host, port, port, port, port, in resolve_address() 164 snprintf(portbuf, sizeof(portbuf), "%d", uri.port); in client_coap_init()
|
/third_party/libcoap/examples/riot/examples_libcoap_client/ |
H A D | client-coap.c | 98 uint16_t port = service ? atoi(service) : 0; in resolve_address() local 105 addr_info = coap_resolve_address_info(&str_host, port, port, port, port, in resolve_address() 147 snprintf(portbuf, sizeof(portbuf), "%d", uri.port); in client_coap_init()
|
/third_party/alsa-utils/seq/aplaymidi/ |
H A D | aplaymidi.c | 2 * aplaymidi.c - play Standard MIDI Files to sequencer port(s) 52 unsigned char port; /* port index */ member 139 /* parses one or more port addresses from the string */ 162 fatal("Invalid port %s - %s", port_name, snd_strerror(err)); in parse_ports() 175 /* the first created port is 0 anyway, but let's make sure ... */ in create_source_port() 187 check_snd("create port", err); in create_source_port() 205 * we're playing - otherwise, ALSA would reset the port after every in connect_ports() 209 err = snd_seq_connect_to(seq, 0, ports[i].client, ports[i].port); in connect_ports() 211 fatal("Cannot connect to port in connect_ports() 309 unsigned char port = 0; read_track() local [all...] |
/third_party/python/Lib/ |
H A D | nntplib.py | 129 # Standard port used by NNTP servers 315 def __init__(self, host, port=NNTP_PORT, user=None, password=None, 320 - port: port to connect to (default the standard NNTP port) 336 self.port = port 401 sys.audit("nntplib.connect", self, self.host, self.port) 402 return socket.create_connection((self.host, self.port), timeout) 1020 def __init__(self, host, port 1062 port = args.port global() variable in NNTP [all...] |