Home
last modified time | relevance | path

Searched refs:portstr (Results 1 – 24 of 24) sorted by relevance

/external/chromium-trace/catapult/third_party/pyserial/serial/
Dsermsdos.py95 self.portstr = port
98 self.portstr = device(port+1)
118 self._config(self.portstr, self.baud, self.parity,
136 self._config(self.portstr, BAUD_RATES[baudrate],
146 handle = os.open(self.portstr,
154 handle = os.open(self.portstr,
194 return string.join(( "<Serial>: ", self.portstr
Dserialutil.py315 self.portstr = port
317 self.portstr = self.makeDeviceName(port)
319 self.portstr = None
321 self.name = self.portstr
512 self.portstr,
546 sys.stdout.write('port name: %s\n' % s.portstr)
Dserialcli.py40 self._port_handle = System.IO.Ports.SerialPort(self.portstr)
43 raise SerialException("could not open port %s: %s" % (self.portstr, msg))
Dserialwin32.py50 port = self.portstr
66 raise SerialException("could not open port %r: %r" % (self.portstr, ctypes.WinError()))
Dserialposix.py289 self.fd = os.open(self.portstr, os.O_RDWR|os.O_NOCTTY|os.O_NONBLOCK)
Drfc2217.py383 self._socket.connect(self.fromURL(self.portstr))
387 raise SerialException("Could not open port %s: %s" % (self.portstr, msg))
/external/nist-sip/java/gov/nist/javax/sip/stack/
DHopImpl.java105 String portstr; in HopImpl() local
107 portstr = hop.substring(colon+1,slash); in HopImpl()
110 portstr = hop.substring(colon+1); in HopImpl()
114 port = Integer.parseInt(portstr); in HopImpl()
/external/iperf3/src/
Diperf_sctp.c164 char portstr[6]; in iperf_sctp_listen() local
169 snprintf(portstr, 6, "%d", test->server_port); in iperf_sctp_listen()
183 if ((gerror = getaddrinfo(test->bind_address, portstr, &hints, &res)) != 0) { in iperf_sctp_listen()
286 char portstr[6]; in iperf_sctp_connect() local
302 snprintf(portstr, sizeof(portstr), "%d", test->server_port); in iperf_sctp_connect()
303 if ((gerror = getaddrinfo(test->server_hostname, portstr, &hints, &server_res)) != 0) { in iperf_sctp_connect()
557 char portstr[6]; in iperf_sctp_bindx() local
582 snprintf(portstr, 6, "%d", test->server_port); in iperf_sctp_bindx()
583 servname = portstr; in iperf_sctp_bindx()
633 snprintf(portstr, 6, "%d", ntohs(eport)); in iperf_sctp_bindx()
[all …]
Diperf_tcp.c167 char portstr[6]; in iperf_tcp_listen() local
172 snprintf(portstr, 6, "%d", test->server_port); in iperf_tcp_listen()
188 if ((gerror = getaddrinfo(test->bind_address, portstr, &hints, &res)) != 0) { in iperf_tcp_listen()
369 char portstr[6]; in iperf_tcp_connect() local
388 snprintf(portstr, sizeof(portstr), "%d", test->server_port); in iperf_tcp_connect()
389 if ((gerror = getaddrinfo(test->server_hostname, portstr, &hints, &server_res)) != 0) { in iperf_tcp_connect()
Dnet.c224 char portstr[6]; in netannounce() local
227 snprintf(portstr, 6, "%d", port); in netannounce()
249 if ((gerror = getaddrinfo(local, portstr, &hints, &res)) != 0) in netannounce()
/external/ltp/lib/
Dsafe_net.c26 char portstr[8]; in tst_sock_addr() local
37 snprintf(portstr, sizeof(portstr), ":%d", in tst_sock_addr()
39 strcat(res, portstr); in tst_sock_addr()
53 snprintf(portstr, sizeof(portstr), "]:%d", in tst_sock_addr()
55 strcat(res, portstr); in tst_sock_addr()
/external/libcups/cups/
Dipp-vars.c148 return (v->portstr); in _ippVarsGet()
235 snprintf(v->portstr, sizeof(v->portstr), "%d", v->port); in _ippVarsSet()
Dipp-private.h168 portstr[32], /* Port number string */ member
Ddest.c602 char portstr[16]; /* Port number string */ in cupsConnectDest() local
694 snprintf(portstr, sizeof(portstr), "%d", port); in cupsConnectDest()
696 if ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portstr)) == NULL) in cupsConnectDest()
/external/dnsmasq/src/
Dutil.c326 char portstr[strlen("65535")]; in prettyprint_addr() local
327 getnameinfo((const struct sockaddr*) addr, sizeof(*addr), buf, ADDRSTRLEN, portstr, in prettyprint_addr()
328 sizeof(portstr), NI_NUMERICHOST | NI_NUMERICSERV); in prettyprint_addr()
329 port = atoi(portstr); in prettyprint_addr()
/external/chromium-trace/catapult/third_party/pyserial/serial/urlhandler/
Dprotocol_socket.py52 self._socket.connect(self.fromURL(self.portstr))
55 raise SerialException("Could not open port %s: %s" % (self.portstr, msg))
/external/python/cpython3/Lib/
Dtelnetlib.py666 portstr = sys.argv[2]
668 port = int(portstr)
670 port = socket.getservbyname(portstr, 'tcp')
/external/python/cpython2/Lib/
Dtelnetlib.py779 portstr = sys.argv[2]
781 port = int(portstr)
783 port = socket.getservbyname(portstr, 'tcp')
/external/openssh/
Dreadconf.h204 const char *portstr, const char *user);
Dreadconf.c328 ssh_connection_hash(const char *thishost, const char *host, const char *portstr, in ssh_connection_hash() argument
337 ssh_digest_update(md, portstr, strlen(portstr)) < 0 || in ssh_connection_hash()
582 char thishost[NI_MAXHOST], shorthost[NI_MAXHOST], portstr[NI_MAXSERV]; in match_cfg_line() local
673 snprintf(portstr, sizeof(portstr), "%d", port); in match_cfg_line()
677 portstr, ruser); in match_cfg_line()
686 "p", portstr, in match_cfg_line()
Dssh.c177 static char thishost[NI_MAXHOST], shorthost[NI_MAXHOST], portstr[NI_MAXSERV]; variable
240 "p", portstr
1354 snprintf(portstr, sizeof(portstr), "%d", options.port); in main()
1358 conn_hash_hex = ssh_connection_hash(thishost, host, portstr, in main()
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dminiterm.py216 self.serial.portstr,
657 miniterm.serial.portstr,
/external/ipsec-tools/src/racoon/
Disakmp.c3056 char portstr[PORT_MAX]; local
3074 snprintf(portstr, PORT_MAX, "%d", ntohs(sin->sin_port));
3081 if (script_env_append(&envp, &envc, "LOCAL_PORT", portstr) != 0) {
3090 snprintf(portstr, PORT_MAX, "%d", ntohs(sin->sin_port));
3100 "REMOTE_PORT", portstr) != 0) {
/external/iproute2/devlink/
Ddevlink.c531 char *portstr; in __dl_argv_handle_port() local
534 err = strslashrsplit(str, &handlestr, &portstr); in __dl_argv_handle_port()
539 err = strtouint32_t(portstr, p_port_index); in __dl_argv_handle_port()
542 portstr); in __dl_argv_handle_port()