Home
last modified time | relevance | path

Searched refs:port (Results 251 - 275 of 2185) sorted by relevance

1...<<11121314151617181920>>...88

/third_party/node/benchmark/url/
H A Dwhatwg-url-get-prop.js20 port: obj.port,
33 noDead.port = obj.port;
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/
H A Drpc_pmap_rmtcall_stress.c57 u_long port; in main() local
73 port = pmap_getport(&sin, progNum, VERSNUM, IPPROTO_UDP); in main()
79 printf("port : %lu\n", (unsigned long)port); in main()
86 tv, &port); in main()
/third_party/lwip/src/apps/snmp/
H A Dsnmp_raw.c47 snmp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) in snmp_recv() argument
51 snmp_receive(pcb, p, addr, port); in snmp_recv()
57 snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port) in snmp_sendto() argument
59 return udp_sendto((struct udp_pcb *)handle, p, dst, port); in snmp_sendto()
84 * Allocates UDP pcb and binds it to IP_ANY_TYPE port 161.
/third_party/lwip/src/include/lwip/apps/
H A Dhttp_client.h66 * The default TCP port used for HTTP
142 err_t httpc_get_file(const ip_addr_t* server_addr, u16_t port, const char* uri, const httpc_connection_t *settings,
144 err_t httpc_get_file_dns(const char* server_name, u16_t port, const char* uri, const httpc_connection_t *settings,
148 err_t httpc_get_file_to_disk(const ip_addr_t* server_addr, u16_t port, const char* uri, const httpc_connection_t *settings,
150 err_t httpc_get_file_dns_to_disk(const char* server_name, u16_t port, const char* uri, const httpc_connection_t *settings,
/third_party/node/src/
H A Dnode_messaging.cc176 // is a message port, add it to that list. This is a bit of an odd case in Deserialize()
499 "Transfer list contains source port")); in Serialize()
646 Debug(this, "Created message port"); in MessagePort()
659 Debug(this, "Closing message port, data set = %d", static_cast<int>(!!data_)); in Close()
692 MessagePort* port = new MessagePort(env, context, instance); in New()
693 CHECK_NOT_NULL(port); in New()
694 if (port->IsHandleClosing()) { in New()
701 port->Detach(); in New()
702 port->data_ = std::move(data); in New()
707 Mutex::ScopedLock lock(port in New()
1007 MessagePort* port = Unwrap<MessagePort>(args.This()); PostMessage() local
1036 MessagePort* port; Start() local
1045 MessagePort* port; Stop() local
1061 MessagePort* port; Drain() local
1073 MessagePort* port = Unwrap<MessagePort>(args[0].As<Object>()); ReceiveMessage() local
1095 MessagePort* port = Unwrap<MessagePort>(args[0].As<Object>()); MoveToContext() local
1403 Entangle(MessagePortData* port) Entangle() argument
1471 MessagePort* port = BroadcastChannel() local
[all...]
/third_party/lwip/src/netif/
H A Dbridgeif.c43 * On transmit, the bridge selects the outgoing port(s).
44 * On receive, the port netif calls into the bridge (via its netif->input function) and
45 * the bridge selects the port(s) (and/or its netif->input function) to pass the received pbuf to.
48 * - add the port netifs just like you would when using them as dedicated netif without a bridge
50 * - add the bridge port netifs without IPv4 addresses (i.e. pass 'NULL, NULL, NULL')
51 * - don't add IPv6 addresses to the port netifs!
65 * - When adding a port netif, NETIF_FLAG_ETHARP flag will be removed from a port
66 * to prevent ETHARP working on that port netif (we only want one IP per bridge not per port)
332 bridgeif_port_t *port; bridgeif_input() local
527 bridgeif_port_t *port; bridgeif_add_port() local
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dcard.c37 #include <pulsecore/device-port.h>
121 void pa_card_new_data_set_preferred_port(pa_card_new_data *data, pa_direction_t direction, pa_device_port *port) { in pa_card_new_data_set_preferred_port() argument
125 data->preferred_input_port = port; in pa_card_new_data_set_preferred_port()
127 data->preferred_output_port = port; in pa_card_new_data_set_preferred_port()
151 pa_device_port *port; in pa_card_new() local
188 PA_HASHMAP_FOREACH(port, c->ports, state) in pa_card_new()
189 port->card = c; in pa_card_new()
395 void pa_card_set_preferred_port(pa_card *c, pa_direction_t direction, pa_device_port *port) { in pa_card_set_preferred_port() argument
411 if (port == old_port) in pa_card_set_preferred_port()
414 new_port_str = port in pa_card_set_preferred_port()
[all...]
/third_party/skia/gm/
H A Drasterhandleallocator.cpp276 auto doDraw = [](GraphicsPort* port) { in DEF_SIMPLE_GM()
277 SkAutoCanvasRestore acr(port->peekCanvas(), true); in DEF_SIMPLE_GM()
279 port->drawRect({0, 0, 256, 256}, SK_ColorRED); in DEF_SIMPLE_GM()
280 port->save(); in DEF_SIMPLE_GM()
281 port->translate(30, 30); in DEF_SIMPLE_GM()
282 port->drawRect({0, 0, 30, 30}, SK_ColorBLUE); in DEF_SIMPLE_GM()
283 port->drawOval({10, 10, 20, 20}, SK_ColorWHITE); in DEF_SIMPLE_GM()
284 port->restore(); in DEF_SIMPLE_GM()
286 port->saveLayer({50, 50, 100, 100}, 0x80); in DEF_SIMPLE_GM()
287 port in DEF_SIMPLE_GM()
[all...]
/third_party/curl/lib/
H A Durlapi.c78 char *port; member
95 free(u->port); in free_urlhandle()
230 be the host name "data" with a specified port number. */ in Curl_is_absolute_url()
535 long port; in Curl_parse_port() local
540 use the default port. Firefox, Chrome and Safari all do that. in Curl_parse_port()
553 port = strtol(portptr, &rest, 10); /* Port number must be decimal */ in Curl_parse_port()
555 if(port > 0xffff) in Curl_parse_port()
561 u->portnum = port; in Curl_parse_port()
562 /* generate a new port number string to get rid of leading zeroes etc */ in Curl_parse_port()
563 free(u->port); in Curl_parse_port()
1500 char *port = u->port; curl_url_get() local
1690 long port = 0; curl_url_set() local
[all...]
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-ucm.c91 static void ucm_port_data_init(pa_alsa_ucm_port_data *port, pa_alsa_ucm_config *ucm, pa_device_port *core_port,
93 static void ucm_port_data_free(pa_device_port *port);
94 static void ucm_port_update_available(pa_alsa_ucm_port_data *port);
914 pa_device_port *port; in set_eld_devices() local
921 PA_HASHMAP_FOREACH(port, hash, state) { in set_eld_devices()
922 data = PA_DEVICE_PORT_DATA(port); in set_eld_devices()
943 pa_device_port *port; in update_mixer_paths() local
948 PA_HASHMAP_FOREACH(port, ports, state) { in update_mixer_paths()
949 pa_log_info("Updating mixer path for %s: %s", profile, port->name); in update_mixer_paths()
950 data = PA_DEVICE_PORT_DATA(port); in update_mixer_paths()
956 pa_device_port *port; probe_volumes() local
1017 pa_device_port *port; ucm_add_port_combination() local
1413 pa_alsa_ucm_set_port(pa_alsa_ucm_mapping_context *context, pa_device_port *port, bool is_sink) pa_alsa_ucm_set_port() argument
2255 device_add_ucm_port(pa_alsa_ucm_device *device, pa_alsa_ucm_port_data *port) device_add_ucm_port() argument
2283 pa_alsa_ucm_port_data *port; device_set_available() local
2317 ucm_port_data_init(pa_alsa_ucm_port_data *port, pa_alsa_ucm_config *ucm, pa_device_port *core_port, pa_alsa_ucm_device **devices, unsigned n_devices) ucm_port_data_init() argument
2341 ucm_port_data_free(pa_device_port *port) ucm_port_data_free() argument
2357 ucm_port_update_available(pa_alsa_ucm_port_data *port) ucm_port_update_available() argument
2416 pa_alsa_ucm_set_port(pa_alsa_ucm_mapping_context *context, pa_device_port *port, bool is_sink) pa_alsa_ucm_set_port() argument
[all...]
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dstream_manager.cpp49 local.port, remote.port, protocol); in CreateStreamClientChannel()
68 TRANS_LOGI(TRANS_STREAM, "streamSocket CreateClient success, localPort=%{public}d", local.port); in CreateStreamClientChannel()
69 return local.port; in CreateStreamClientChannel()
79 "Start to create server channel, localPort=%{public}d, protocol=%{public}d", local.port, protocol); in CreateStreamServerChannel()
103 return local.port; in CreateStreamServerChannel()
/third_party/backends/sanei/
H A Dsanei_udp.c87 sanei_udp_connect(int fd, const char *host, int port) in sanei_udp_connect() argument
102 saddr.sin_port = htons(port); in sanei_udp_connect()
114 sanei_udp_open(const char *host, int port, int *fdp) in sanei_udp_open() argument
134 status = sanei_udp_connect(*fdp, host, port); in sanei_udp_open()
174 sanei_udp_write_broadcast(int fd, int port, const u_char * buf, int count) in sanei_udp_write_broadcast() argument
181 saddr.sin_port = htons(port); in sanei_udp_write_broadcast()
/third_party/node/test/parallel/
H A Dtest-http-max-http-headers.js101 const port = server.address().port;
102 const client = http.get({ port: port }, common.mustNotCall());
130 const client = net.connect(server.address().port);
170 const client = net.connect(server.address().port);
H A Dtest-https-autoselectfamily.js55 socket.on('message', common.mustCall((msg, { address, port }) => {
67 }), port, address);
72 resolver.setServers([`127.0.0.1:${socket.address().port}`]);
89 `https://example.org:${ipv4Server.address().port}/`,
132 const port = ipv4Server.address().port;
134 ipv6Server.listen(port, '::1', common.mustCall(() => {
136 `https://example.org:${ipv4Server.address().port}/`,
/third_party/node/deps/npm/node_modules/socks/build/common/
H A Dhelpers.js107 typeof remoteHost.port === 'number' &&
108 remoteHost.port >= 0 &&
109 remoteHost.port <= 65535);
118 typeof proxy.port === 'number' &&
119 proxy.port >= 0 &&
120 proxy.port <= 65535 &&
/third_party/ltp/testcases/network/sctp/
H A Dsctp_big_chunk.c32 static int port; variable
69 port = TST_GETSOCKPORT(sfd); in setup_server()
70 tst_res(TINFO, "sctp server listen on %d", port); in setup_server()
74 srand(port); in setup_server()
106 uint16_t src_port = htons(port - 1); in setup_client()
107 uint16_t dst_port = htons(port); in setup_client()
/third_party/libcoap/src/
H A Dcoap_address.c62 coap_address_set_port(coap_address_t *addr, uint16_t port) { in coap_address_set_port() argument
67 addr->addr.sin.sin_port = htons(port); in coap_address_set_port()
72 addr->addr.sin6.sin6_port = htons(port); in coap_address_set_port()
322 update_port(coap_address_t *addr, uint16_t port, uint16_t default_port, in update_port() argument
324 /* Client target port must be set if default of 0 */ in update_port()
325 if (port == 0 && update_port0) in update_port()
326 port = default_port; in update_port()
328 coap_address_set_port(addr, port); in update_port()
410 uint16_t port, in coap_resolve_address_info()
607 info->addr.port in coap_resolve_address_info()
409 coap_resolve_address_info(const coap_str_const_t *address, uint16_t port, uint16_t secure_port, uint16_t ws_port, uint16_t ws_secure_port, int ai_hints_flags, int scheme_hint_bits, coap_resolve_type_t type) coap_resolve_address_info() argument
[all...]
/third_party/pulseaudio/src/modules/
H A Dmodule-card-restore.c122 static struct port_info *port_info_new(pa_device_port *port) { in port_info_new() argument
125 if (port) { in port_info_new()
127 p_info->name = pa_xstrdup(port->name); in port_info_new()
128 p_info->offset = port->latency_offset; in port_info_new()
129 if (port->preferred_profile) in port_info_new()
130 p_info->profile = pa_xstrdup(port->preferred_profile); in port_info_new()
151 pa_device_port *port; in entry_from_card() local
166 PA_HASHMAP_FOREACH(port, card->ports, state) { in entry_from_card()
167 p_info = port_info_new(port); in entry_from_card()
402 pa_log_info("Storing profile and port latenc in show_full_info()
506 port_offset_change_callback(pa_core *c, pa_device_port *port, struct userdata *u) port_offset_change_callback() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dctrl_iface_udp.c383 int port = WPA_CTRL_IFACE_PORT; local
406 port = atoi(pos);
407 if (port <= 0) {
408 wpa_printf(MSG_ERROR, "Invalid ctrl_iface UDP port: %s",
438 addr.sin6_port = htons(port);
440 addr.sin_port = htons(port);
443 port--;
444 if ((WPA_CTRL_IFACE_PORT - port) < WPA_CTRL_IFACE_PORT_LIMIT)
450 /* Update the ctrl_interface value to match the selected port */
451 os_snprintf(port_str, sizeof(port_str), "udp:%d", port);
728 int port = WPA_GLOBAL_CTRL_IFACE_PORT; global() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dctrl_iface_udp.c399 int port = WPA_CTRL_IFACE_PORT; local
422 port = atoi(pos);
423 if (port <= 0) {
424 wpa_printf(MSG_ERROR, "Invalid ctrl_iface UDP port: %s",
454 addr.sin6_port = htons(port);
456 addr.sin_port = htons(port);
459 port--;
460 if ((WPA_CTRL_IFACE_PORT - port) < WPA_CTRL_IFACE_PORT_LIMIT)
466 /* Update the ctrl_interface value to match the selected port */
467 os_snprintf(port_str, sizeof(port_str), "udp:%d", port);
774 int port = WPA_GLOBAL_CTRL_IFACE_PORT; global() local
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/
H A D8250.h61 unsigned int port; member
115 return up->port.serial_in(&up->port, offset); in serial_in()
120 up->port.serial_out(&up->port, offset, value); in serial_out()
184 int serial8250_em485_config(struct uart_port *port, struct serial_rs485 *rs485);
320 switch (pt->port.mapbase) { in is_omap1_8250()
406 static inline int serial_index(struct uart_port *port) in serial_index() argument
408 return port->minor - 0x40; in serial_index()
/foundation/multimedia/media_foundation/engine/pipeline/core/
H A Dport.cpp18 #include "pipeline/core/port.h"
27 std::shared_ptr<InPort> EmptyInPort::port = std::make_shared<EmptyInPort>(); member in OHOS::Media::Pipeline::EmptyInPort
28 std::shared_ptr<OutPort> EmptyOutPort::port = std::make_shared<EmptyOutPort>(); member in OHOS::Media::Pipeline::EmptyOutPort
45 ErrorCode InPort::Connect(const std::shared_ptr<Port>& port) in Connect() argument
47 prevPort = port; in Connect()
107 ErrorCode OutPort::Connect(const std::shared_ptr<Port>& port) in Connect() argument
109 if (InSamePipeline(port)) { in Connect()
110 nextPort = port; in Connect()
123 bool OutPort::InSamePipeline(const std::shared_ptr<Port>& port) const in InSamePipeline()
127 auto filter2 = port in InSamePipeline()
[all...]
/third_party/python/Lib/test/
H A Dtest_asynchat.py35 self.port = socket_helper.bind_port(self.sock)
125 c = echo_client(term, s.port)
157 c = echo_client(termlen, s.port)
177 c = echo_client(None, s.port)
189 c = echo_client(b'\n', s.port)
200 c = echo_client(b'\n', s.port)
211 c = echo_client(b'\n', s.port)
223 c = echo_client(b'\n', s.port)
246 c = echo_client(b'\n', s.port)
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dhttp_client.c190 char *u, *addr, *port, *path; in http_client_url_parse() local
200 port = os_strchr(addr, ':'); in http_client_url_parse()
205 if (port > path) in http_client_url_parse()
206 port = NULL; in http_client_url_parse()
208 if (port) in http_client_url_parse()
209 *port++ = '\0'; in http_client_url_parse()
214 "(addr='%s' port='%s')", in http_client_url_parse()
215 url, addr, port); in http_client_url_parse()
220 if (port) in http_client_url_parse()
221 dst->sin_port = htons(atoi(port)); in http_client_url_parse()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dhttp_client.c190 char *u, *addr, *port, *path; in http_client_url_parse() local
200 port = os_strchr(addr, ':'); in http_client_url_parse()
205 if (port > path) in http_client_url_parse()
206 port = NULL; in http_client_url_parse()
208 if (port) in http_client_url_parse()
209 *port++ = '\0'; in http_client_url_parse()
214 "(addr='%s' port='%s')", in http_client_url_parse()
215 url, addr, port); in http_client_url_parse()
220 if (port) in http_client_url_parse()
221 dst->sin_port = htons(atoi(port)); in http_client_url_parse()
[all...]

Completed in 17 milliseconds

1...<<11121314151617181920>>...88