Home
last modified time | relevance | path

Searched refs:portstr (Results 1 – 19 of 19) 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()))
Drfc2217.py383 self._socket.connect(self.fromURL(self.portstr))
387 raise SerialException("Could not open port %s: %s" % (self.portstr, msg))
Dserialposix.py289 self.fd = os.open(self.portstr, os.O_RDWR|os.O_NOCTTY|os.O_NONBLOCK)
/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/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/dnsmasq/src/
Dutil.c366 char portstr[strlen("65535")]; in prettyprint_addr() local
368 portstr, sizeof(portstr), NI_NUMERICHOST | NI_NUMERICSERV); in prettyprint_addr()
369 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/cpython2/Lib/
Dtelnetlib.py779 portstr = sys.argv[2]
781 port = int(portstr)
783 port = socket.getservbyname(portstr, 'tcp')
/external/openssh/
Dssh.c516 char thishost[NI_MAXHOST], shorthost[NI_MAXHOST], portstr[NI_MAXSERV]; in main() local
1185 snprintf(portstr, sizeof(portstr), "%d", options.port); in main()
1191 ssh_digest_update(md, portstr, strlen(portstr)) < 0 || in main()
1208 "p", portstr, in main()
1226 "p", portstr, in main()
Dreadconf.c555 char thishost[NI_MAXHOST], shorthost[NI_MAXHOST], portstr[NI_MAXSERV]; in match_cfg_line() local
635 snprintf(portstr, sizeof(portstr), "%d", port); in match_cfg_line()
643 "p", portstr, in match_cfg_line()
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dminiterm.py216 self.serial.portstr,
657 miniterm.serial.portstr,
/external/netperf/src/
Dnettest_bsd.h623 char *portstr,
Dnettest_omni.c4958 set_hostname_and_port_2(void *addr, char *hostname, char *portstr, int family, int port) in set_hostname_and_port_2() argument
4963 sprintf(portstr, "%u", port); in set_hostname_and_port_2()
Dnettest_bsd.c939 set_hostname_and_port(char *hostname, char *portstr, int family, int port) in set_hostname_and_port() argument
948 sprintf(portstr, "%u", port); in set_hostname_and_port()
/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/libcups/cups/
Ddest.c611 char portstr[16]; /* Port number string */ in cupsConnectDest() local
703 snprintf(portstr, sizeof(portstr), "%d", port); in cupsConnectDest()
705 if ((addrlist = httpAddrGetList(hostname, AF_UNSPEC, portstr)) == NULL) in cupsConnectDest()