Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/telemetry/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/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/telemetry/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/chromium-trace/catapult/telemetry/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.c3049 char portstr[PORT_MAX]; local
3067 snprintf(portstr, PORT_MAX, "%d", ntohs(sin->sin_port));
3074 if (script_env_append(&envp, &envc, "LOCAL_PORT", portstr) != 0) {
3083 snprintf(portstr, PORT_MAX, "%d", ntohs(sin->sin_port));
3093 "REMOTE_PORT", portstr) != 0) {