/external/tensorflow/tensorflow/compiler/xla/service/interpreter/ |
platform.cc | 48 port::StatusOr<StreamExecutor*> InterpreterPlatform::ExecutorForDevice( 57 port::StatusOr<StreamExecutor*> 67 port::StatusOr<StreamExecutor*> InterpreterPlatform::GetExecutor( 73 port::StatusOr<std::unique_ptr<StreamExecutor>> 75 auto executor = port::MakeUnique<StreamExecutor>( 76 this, port::MakeUnique<InterpreterExecutor>(config.plugin_config)); 79 return port::Status{ 80 port::error::INTERNAL, 81 port::Printf(
|
executor.h | 58 port::Status Init(int device_ordinal, DeviceOptions device_options) override { 59 return port::Status::OK(); 118 port::Status SynchronousMemcpy(DeviceMemoryBase *pop_dst, 120 port::Status SynchronousMemcpy(void *host_dst, 123 port::Status SynchronousMemcpyDeviceToDevice(DeviceMemoryBase *pop_dst, 126 return port::Status{port::error::UNIMPLEMENTED, ""}; 131 port::Status AllocateEvent(Event *event) override { 132 return port::Status{port::error::UNIMPLEMENTED, ""} [all...] |
/external/tensorflow/tensorflow/stream_executor/host/ |
host_platform.cc | 47 port::StatusOr<StreamExecutor*> HostPlatform::ExecutorForDevice(int ordinal) { 55 port::StatusOr<StreamExecutor*> HostPlatform::ExecutorForDeviceWithPluginConfig( 64 port::StatusOr<StreamExecutor*> HostPlatform::GetExecutor( 70 port::StatusOr<std::unique_ptr<StreamExecutor>> 72 auto executor = port::MakeUnique<StreamExecutor>( 73 this, port::MakeUnique<HostExecutor>(config.plugin_config)); 76 return port::Status{ 77 port::error::INTERNAL, 78 port::Printf(
|
host_stream.cc | 25 : host_executor_(new port::ThreadPool(port::Env::Default(), 26 port::ThreadOptions(),
|
/libcore/ojluni/src/main/java/java/util/logging/ |
SocketHandler.java | 61 * <li> <handler-name>.port 62 * specifies the target TCP port to use (no default). </li> 86 private int port; field in class:SocketHandler 108 port = manager.getIntProperty(cname + ".port", 0); 116 * @throws IllegalArgumentException if the host or port are invalid or 119 * host and port. 129 System.err.println("SocketHandler: connect failed to " + host + ":" + port); 136 * Construct a <tt>SocketHandler</tt> using a specified host and port. 140 * and port arguments are used. If the host argument is empty, but no [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/multicast/ |
MulticastAddress.java | 52 private final int port; field in class:MulticastAddress 55 private MulticastAddress(InetAddress group, int port, NetworkInterface interf) { 57 this.port = port; 65 int port() { method in class:MulticastAddress 66 return port; 77 * Parses a string of the form "group:port[@interface]", returning 85 // get group and port 90 throw new IllegalArgumentException("group:port expected"); 92 int port = -1 local [all...] |
/prebuilts/jdk/jdk8/linux-x86/sample/nio/multicast/ |
MulticastAddress.java | 52 private final int port; field in class:MulticastAddress 55 private MulticastAddress(InetAddress group, int port, NetworkInterface interf) { 57 this.port = port; 65 int port() { method in class:MulticastAddress 66 return port; 77 * Parses a string of the form "group:port[@interface]", returning 85 // get group and port 90 throw new IllegalArgumentException("group:port expected"); 92 int port = -1 local [all...] |
/development/tools/axl/ |
udpEater.py | 27 port = 9001 31 svrsocket.bind(('', port)) 36 print 'Listening for requests on port %s ...' % port
|
udpServer.py | 6 port = 9001 11 svrsocket.bind(('', port)) 17 print 'Listening for requests on port %s ...' % port
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
echosvr.py | 10 # The standard echo port isn't very useful, it requires root permissions!
17 port = int(eval(sys.argv[1]))
19 port = ECHO_PORT
21 s.bind(('', port))
|
rpython.py | 10 PORT = 4127
18 port = PORT
21 port = string.atoi(port[i+1:])
25 s.connect((host, port))
|
/external/autotest/tko/ |
db_mysql.py | 9 def connect(self, host, database, user, password, port): 17 if port: 18 connection_args['port'] = int(port)
|
/external/libmicrohttpd/src/testspdy/ |
common.c | 53 uint16_t port = min + (tv.tv_usec+10) % ((1 << 16) - min); local 55 //port = 12345; 56 printf("Port used: %i\n", port); 58 return port;
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
EpsvCommandHandler.java | 29 * of 229, along with response text including: "<i>(|||PORT|)</i>", where <i>PORT</i> is the 16-bit
30 * TCP port address of the data connection on the server to which the client must connect.</li>
41 int port = session.switchToPassiveMode();
local 43 LOG.debug("server=" + server + " port=" + port);
44 sendReply(session, ReplyCodes.EPSV_OK, "epsv", list(Integer.toString(port)));
|
/external/python/cpython2/Demo/sockets/ |
echosvr.py | 10 # The standard echo port isn't very useful, it requires root permissions! 17 port = int(eval(sys.argv[1])) 19 port = ECHO_PORT 21 s.bind(('', port))
|
/external/tensorflow/tensorflow/stream_executor/ |
executor_cache.h | 39 typedef port::StatusOr<std::unique_ptr<StreamExecutor>> ExecutorFactory(); 40 port::StatusOr<StreamExecutor*> GetOrCreate( 46 port::StatusOr<StreamExecutor*> Get(const StreamExecutorConfig& config);
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
human_readable.h | 23 #include "tensorflow/stream_executor/platform/port.h" 27 namespace port { namespace in namespace:perftools::gputools 42 return port::Printf("%s%lldB", neg_str, num_bytes); 53 return port::Printf(((*unit == 'K') ? "%s%.1f%c" : "%s%.2f%c"), neg_str, 69 } // namespace port
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioCollections.cpp | 30 for (const auto& port : *this) { 31 if (port->getTagName() == tagName) { 32 return port;
|
/frameworks/av/media/libstagefright/omx/ |
SimpleSoftOMXComponent.cpp | 152 const PortInfo *port = local 155 memcpy(defParams, &port->mDef, sizeof(port->mDef)); 184 PortInfo *port = 188 if (defParams->nBufferSize > port->mDef.nBufferSize) { 189 port->mDef.nBufferSize = defParams->nBufferSize; 192 if (defParams->nBufferCountActual < port->mDef.nBufferCountMin) { 194 port->mDef.nBufferCountMin, defParams->nBufferCountActual); 198 port->mDef.nBufferCountActual = defParams->nBufferCountActual; 216 PortInfo *port = &mPorts.editItemAt(portIndex) [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
ClientSessionContext.java | 24 * Caches client sessions. Indexes by host and port. Users are typically 25 * looking to reuse any session for a given host and port. 32 * Sessions indexed by host and port. Protect from concurrent 55 NativeSslSession getCachedSession(String hostName, int port, SSLParametersImpl sslParameters) { 60 NativeSslSession session = getSession(hostName, port); 97 * Finds a cached session for the given host name and port. 100 * @param port of server 103 private NativeSslSession getSession(String host, int port) { 108 HostAndPort key = new HostAndPort(host, port); 119 byte[] data = persistentCache.getSessionData(host, port); 137 int port = session.getPeerPort(); local 162 int port = session.getPeerPort(); local 177 final int port; field in class:ClientSessionContext.HostAndPort [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/gpio/ |
rk3399_gpio.c | 66 uint32_t port = GET_GPIO_PORT(gpio_number); local 69 assert(port < 5); 71 switch (port) { 122 uint32_t port = GET_GPIO_PORT(gpio_number); local 124 switch (port) { 158 uint32_t port = GET_GPIO_PORT(gpio); local 163 assert((port < 5) && (bank < 4)); 167 if (port == PMU_GPIO_PORT0 || port == PMU_GPIO_PORT1) { 169 port * 16 + bank * 4) 200 uint32_t port = GET_GPIO_PORT(gpio); local 240 uint32_t port = GET_GPIO_PORT(gpio); local 261 uint32_t port = GET_GPIO_PORT(gpio); local 285 uint32_t port = GET_GPIO_PORT(gpio); local 300 uint32_t port = GET_GPIO_PORT(gpio); local [all...] |
/external/tensorflow/tensorflow/contrib/lite/toco/ |
tensorflow_util.cc | 50 toco::port::AppendF(&dump, R"MSG( 57 toco::port::AppendF(&dump, " %s\n", op); 63 toco::port::AppendF(&dump, R"MSG( 70 toco::port::AppendF(&dump, " %s\n", input); 74 toco::port::AppendF(&dump, " ATTR: name = %s\n", attr.first); 78 toco::port::AppendF(&dump, " placeholder: %s\n", 87 toco::port::AppendF(&dump, " %s\n", line); 93 toco::port::AppendF(&dump, " int: %lld\n", attr.second.i()); 95 toco::port::AppendF(&dump, " float: %g\n", attr.second.f()); 97 toco::port::AppendF(&dump, " bool: %s\n" [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_ServerSocket.java | 31 public void setPort(int port);
|
/external/autotest/site_utils/ |
log_socket_server.py | 5 # receiver. The receiver listens to default logging port (9020) and save log to 85 def __init__(self, host='localhost', port=None, 87 if not port: 88 port = utils.get_unused_port() 89 SocketServer.ThreadingTCPServer.__init__(self, (host, port), handler) 93 self.port = port 113 port = None variable in class:LogSocketServer 126 port = multiprocessing.Value(ctypes.c_int, 0) 129 args=(server_started, port), [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
WorkerSpec.java | 43 public final int port; field in class:WorkerSpec 51 int port) { 57 this.port = port;
|