/external/chromium-trace/catapult/third_party/pyserial/serial/urlhandler/ |
protocol_hwgrep.py | 3 # Python Serial Port Extension for Win32, Linux, BSD, Jython 6 # This module implements a special URL handler that uses the port listing to 18 """Just inherit the native Serial port implementation and patch the open function.""" 21 """translate port name before storing it""" 28 """extract host and port from an URL string""" 31 for port, desc, hwid in serial.tools.list_ports.grep(url): 32 return port 37 port = property(serial.Serial.getPort, setPort, doc="Port setting") variable in class:Serial 43 s.port = 'hwgrep://ttyS0 [all...] |
/external/cmockery/cmockery_0_1_2/src/example/ |
product_database_test.c | 28 const unsigned int port) { 30 check_expected(port); 36 expect_value(connect_to_database, port, 322); 45 expect_value(connect_to_database, port, 322); 51 * retrieve a value for the parameter port which isn't specified by this
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
SSLClientSessionCache.java | 37 * Gets data from a pre-existing session for a given server host and port. 40 * @param port from {@link javax.net.ssl.SSLSession#getPeerPort()} 44 byte[] getSessionData(String host, int port);
|
AbstractConscryptSocket.java | 36 AbstractConscryptSocket(String hostname, int port) throws IOException { 37 super(hostname, port); 40 AbstractConscryptSocket(InetAddress address, int port) throws IOException { 41 super(address, port); 44 AbstractConscryptSocket(String hostname, int port, InetAddress clientAddress, int clientPort) 46 super(hostname, port, clientAddress, clientPort); 49 AbstractConscryptSocket(InetAddress address, int port, InetAddress clientAddress, 51 super(address, port, clientAddress, clientPort);
|
PeerInfoProvider.java | 19 * A provider for the peer host and port information. 52 * Gets the port of the peer. 60 static PeerInfoProvider forHostAndPort(final String host, final int port) { 74 return port;
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/socket/ |
ServerSocketFactory.java | 32 * Create a new ServerSocket for the specified port
33 * @param port - the port
37 public ServerSocket createServerSocket(int port) throws IOException;
|
SocketFactory.java | 33 * Create a new Socket instance for the specified host and port.
35 * @param port - the port number of the enpoint to which the socket is connected
39 public Socket createSocket(InetAddress host, int port) throws IOException;
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/socket/ |
ServerSocketFactory.java | 32 * Create a new ServerSocket for the specified port
33 * @param port - the port
37 public ServerSocket createServerSocket(int port) throws IOException;
|
SocketFactory.java | 33 * Create a new Socket instance for the specified host and port.
35 * @param port - the port number of the enpoint to which the socket is connected
39 public Socket createSocket(InetAddress host, int port) throws IOException;
|
/external/python/cpython2/Demo/sockets/ |
rpython.py | 10 PORT = 4127 18 port = PORT 21 port = string.atoi(port[i+1:]) 25 s.connect((host, port))
|
/external/python/cpython3/Tools/demo/ |
rpython.py | 11 PORT = 4127 19 port = PORT 22 port = int(port[i+1:]) 26 s.connect((host, port))
|
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/ |
platform.h | 41 port::StatusOr<StreamExecutor*> ExecutorForDevice(int ordinal) override; 43 port::StatusOr<StreamExecutor*> ExecutorForDeviceWithPluginConfig( 46 port::StatusOr<StreamExecutor*> GetExecutor( 49 port::StatusOr<std::unique_ptr<StreamExecutor>> GetUncachedExecutor(
|
/external/tensorflow/tensorflow/core/platform/ |
setround.cc | 19 namespace port { namespace in namespace:tensorflow 32 } // namespace port
|
variant_coding.h | 27 namespace port { namespace in namespace:tensorflow 37 } // end namespace port
|
/external/tensorflow/tensorflow/stream_executor/host/ |
host_platform.h | 31 #include "tensorflow/stream_executor/platform/port.h" 56 port::StatusOr<StreamExecutor*> ExecutorForDevice(int ordinal) override; 58 port::StatusOr<StreamExecutor*> ExecutorForDeviceWithPluginConfig( 61 port::StatusOr<StreamExecutor*> GetExecutor( 64 port::StatusOr<std::unique_ptr<StreamExecutor>> GetUncachedExecutor(
|
/external/webrtc/webrtc/examples/peerconnection/client/ |
flagdefs.h | 27 DEFINE_int(port, kDefaultServerPort, 28 "The port on which the server is listening.");
|
/frameworks/base/core/java/android/hardware/hdmi/ |
HdmiHotplugEvent.java | 24 * A class that describes the HDMI port hotplug event. 41 public HdmiHotplugEvent(int port, boolean connected) { 42 mPort = port; 47 * Returns the port number for which the event occurred. 49 * @return port number 97 int port = p.readInt(); 99 return new HdmiHotplugEvent(port, connected);
|
/system/core/base/include/android-base/ |
parsenetaddress.h | 25 // Parses |address| into |host| and |port|. 27 // If |address| doesn't contain a port number, the default value is taken from 28 // |port|. If |canonical_address| is non-null it will be set to "host:port" or 29 // "[host]:port" as appropriate. 32 bool ParseNetAddress(const std::string& address, std::string* host, int* port,
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mt/ |
relocs1.s | 2 ;; by the mrisc port. (Ok, so there's only one so far. :P)
|
/tools/test/connectivity/acts/framework/tests/ |
acts_host_utils_test.py | 31 port = test_s.getsockname()[1] 33 self.assertFalse(host_utils.is_port_available(port)) 40 port = test_s.getsockname()[1] 42 self.assertFalse(host_utils.is_port_available(port))
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
ioperm.c | 55 static bool try_outb(unsigned short port) 61 asm volatile ("outb %%al, %w[port]" 62 : : [port] "Nd" (port), "a" (0)); 68 static void expect_ok(unsigned short port) 70 if (!try_outb(port)) { 71 printf("[FAIL]\toutb to 0x%02hx failed\n", port); 75 printf("[OK]\toutb to 0x%02hx worked\n", port); 78 static void expect_gp(unsigned short port) 80 if (try_outb(port)) { [all...] |
/external/tensorflow/tensorflow/contrib/lite/toco/ |
toco.cc | 44 port::CheckInitGoogleIsDone("InitGoogle is not done yet"); 47 QCHECK_OK(port::file::Exists(parsed_toco_flags.input_file.value(), 48 port::file::Defaults())) 51 QCHECK_OK(port::file::Readable(parsed_toco_flags.input_file.value(), 52 port::file::Defaults())) 57 QCHECK_OK(port::file::Writable(parsed_toco_flags.output_file.value())) 73 CHECK_OK(port::file::GetContents(parsed_toco_flags.input_file.value(), 75 port::file::Defaults())); 82 CHECK_OK(port::file::SetContents(parsed_toco_flags.output_file.value(), 84 port::file::Defaults())) [all...] |
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/ |
IRemoteSocketFactory.aidl | 22 ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs);
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
TcpStream.cpp | 31 static int _socket_loopback_server(int port, int type) 37 addr.sin_port = htons(port); 82 int TcpStream::listen(unsigned short port) 84 m_sock = _socket_loopback_server(port, SOCK_STREAM); 113 int TcpStream::connect(unsigned short port) 115 return connect("127.0.0.1",port); 118 int TcpStream::connect(const char* hostname, unsigned short port) 120 m_sock = socket_network_client(hostname, port, SOCK_STREAM);
|
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/ |
DumpTask.java | 36 private int port = AgentOptions.DEFAULT_PORT; field in class:DumpTask 63 * Port number to connect to. Default is <code>6300</code> 65 * @param port 66 * Port to connect to 68 public void setPort(final int port) { 69 this.port = port; 120 if (port <= 0) { 121 throw new BuildException("Invalid port value", getLocation()); 132 final int port) { [all...] |