/third_party/node/test/parallel/ |
H A D | test-net-options-lookup.js | 8 // Using port 0 as lookup is emitted before connecting. 12 port: 0, 29 port: 0, 49 port: 0,
|
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/multicast/packet-flood/ |
H A D | mcast-pktfld01.sh | 23 local port=$(tst_get_unused_port ipv${TST_IPVER} dgram) 24 [ $? -ne 0 ] && tst_brk TBROK "no free udp port available" 27 ROD $MCAST_LCMD -f $TST_IPVER -I $(tst_iface lhost) -m $addr -p $port -b 30 tst_rhost_run -s -c "$MCAST_RCMD -D $addr -f $TST_IPVER -p $port -s 32767 -m -I $(tst_iface rhost) -t $NS_DURATION"
|
/third_party/python/Tools/demo/ |
H A D | rpython.py | 19 port = PORT 22 port = int(host[i+1:]) 26 s.connect((host, port))
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | common.c | 53 uint16_t port = min + (tv.tv_usec+10) % ((1 << 16) - min); in get_port() local 55 //port = 12345; in get_port() 56 printf("Port used: %i\n", port); in get_port() 58 return port; in get_port()
|
/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...] |
/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/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/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()
|
/third_party/backends/backend/ |
H A D | mustek_pp.c | 131 static SANE_Status sane_attach(SANE_String_Const port, SANE_String_Const name, 135 SANE_String *port, SANE_String *option_ta); 321 sane_attach (SANE_String_Const port, SANE_String_Const name, SANE_Int driver, SANE_Int info) in sane_attach() argument 325 DBG (3, "sane_attach: attaching device ``%s'' to port %s (driver %s v%s by %s)\n", in sane_attach() 326 name, port, Mustek_pp_Drivers[driver].driver, in sane_attach() 344 dev->port = strdup (port); in sane_attach() 622 SANE_String *port, SANE_String *option_ta) in attach_device() 627 if (!strcmp (*port, "*")) in attach_device() 630 DBG (3, "sanei_init: auto probing port\ in attach_device() 621 attach_device(SANE_String *driver, SANE_String *name, SANE_String *port, SANE_String *option_ta) attach_device() argument 705 char *driver = 0, *port = 0, *name = 0, *option_ta = 0; sane_init() local [all...] |
/third_party/backends/backend/pixma/ |
H A D | pixma_bjnp.c | 298 get_address_info ( const bjnp_sockaddr_t *addr, char * addr_string, int *port) in get_address_info() argument 304 *port = ntohs (addr->ipv4.sin_port); in get_address_info() 314 *port = ntohs (addr->ipv6.sin6_port); in get_address_info() 321 *port = 0; in get_address_info() 464 split_uri (const char *devname, char *method, char *host, char *port, in split_uri() argument 538 * retrieve port number in split_uri() 542 strcpy(port, ""); in split_uri() 557 PDBG (bjnp_dbg (LOG_NOTICE, "split_uri: ERROR - Can not find port in %s (have \"%s\")\n", devname, start)); in split_uri() 560 strcpy(port, start); in split_uri() 631 int port; in bjnp_setup_udp_socket() local 808 int port; get_scanner_name() local 1060 bjnp_send_broadcast(int sockfd, const bjnp_sockaddr_t * broadcast_addr, int port, struct BJNP_command cmd, int size) bjnp_send_broadcast() argument 1651 int port; bjnp_open_tcp() local 1740 char port[BJNP_PORT_MAX] = ""; bjnp_allocate_device() local 1952 int port; add_timeout_to_uri() local 2033 int port; sanei_bjnp_find_devices() local [all...] |
/third_party/jerryscript/jerry-debugger/ |
H A D | jerry_client_serial.py | 26 port = config[0] if config_size > 0 else "/dev/ttyUSB0" 32 self.ser = serial.Serial(port=port, baudrate=baudrate, parity=parity, 36 """ Connect to the server, write a 'c' to the serial port """ 40 """" close the serial port. """ 48 """ Write data to the serial port. """
|
/third_party/node/lib/internal/cluster/ |
H A D | shared_handle.js | 9 function SharedHandle(key, address, { port, addressType, fd, flags }) { 17 rval = dgram._createSocketHandle(address, port, addressType, fd, flags); 19 rval = net._createServerHandle(address, port, addressType, fd, flags);
|