/external/curl/lib/ |
hostip6.c | 155 * Returns name information about the given hostname and port number. If 162 int port, 213 if(port) { 214 snprintf(sbuf, sizeof(sbuf), "%d", port); 220 infof(data, "getaddrinfo(3) failed for %s:%d\n", hostname, port); 224 if(port) { 225 Curl_addrinfo_set_port(res, port);
|
asyn-thread.c | 149 const char *hostname, int port, 160 int port; member in struct:thread_sync_data 204 int port, 212 tsd->port = port; 277 snprintf(service, sizeof(service), "%d", tsd->port); 287 Curl_addrinfo_set_port(tsd->res, tsd->port); 315 tsd->res = Curl_ipv4_resolve_r(tsd->hostname, tsd->port); 383 const char *hostname, int port, 393 conn->async.port = port [all...] |
/external/curl/tests/ |
rtspserver.pl | 38 my $port = 8990; # just a default 75 elsif($ARGV[0] eq '--port') { 77 $port = $1; 107 $flags .= "--ipv$ipvnum --port $port --srcdir \"$srcdir\"";
|
tftpserver.pl | 38 my $port = 8997; # just a default 76 elsif($ARGV[0] eq '--port') { 78 $port = $1; 108 $flags .= "--ipv$ipvnum --port $port --srcdir \"$srcdir\"";
|
/external/ipsec-tools/src/racoon/ |
privsep.c | 509 int port; local 522 memcpy(&port, bufs[0], sizeof(port)); 526 memcpy(&inout, bufs[3], sizeof(port)); 528 if (port_check(port) != 0) 533 port, saddr2str(raddr), bufs[2]); 536 if (isakmp_cfg_accounting_system(port, 569 int port; local 580 memcpy(&port, bufs[0], sizeof(port)); 606 int port; local 651 int port; local [all...] |
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/ |
DumpTest.java | 63 int port = startMockServer(); local 65 execute("dump", "--destfile", execfile.getAbsolutePath(), "--port", 66 String.valueOf(port)); 80 int port = unusedPort(); local 83 execute("dump", "--destfile", execfile.getAbsolutePath(), "--port", 84 String.valueOf(port), "--retry", "1"); 126 final int port = serverSocket.getLocalPort(); local 128 return port;
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
PortCommandHandler.java | 32 * CommandHandler for the PORT command. Send back a reply code of 200.
37 * <li>{@link #PORT_KEY} ("port") - the port number (Integer) submitted on the invocation (from parameter 5-6)
47 public static final String PORT_KEY = "port";
64 int port = parsePortNumber(command.getParameters());
local 65 LOG.debug("host=" + host + " port=" + port);
67 session.setClientDataPort(port);
69 invocationRecord.set(PORT_KEY, new Integer(port));
77 * of a 32-bit internet host address and a 16-bit TCP port address. This address 127 int port = (port1 << 8) + port2; local [all...] |
/external/python/cpython2/Demo/sockets/ |
ftp.py | 11 # user never needs to send a PORT command. Rather, the client opens a 12 # port right away and sends the appropriate PORT command to the server. 13 # When a response code 150 is received, this port is used to receive 15 # data is exhausted, a new port is opened and a corresponding PORT 27 # Default port numbers used by the FTP protocol. 32 # Change the data port to something not needing root permissions. 71 # Create a new data port and send a PORT command to the server for it [all...] |
/external/python/cpython3/Tools/scripts/ |
get-remote-certificate.py | 5 # args are HOST:PORT [, HOST:PORT...] 15 def fetch_server_certificate (host, port): 58 (host, port, tfile)) 64 (host, port)) 71 (host, port)) 82 host, port = arg.split(":") 83 sys.stdout.buffer.write(fetch_server_certificate(host, int(port)))
|
/external/selinux/libsemanage/src/ |
ibendports_file.c | 29 int port = semanage_ibendport_get_port(ibendport); local 39 if (fprintf(str, "%d ", port) < 0) 53 ibdev_name_str, port); 63 int port; local 86 /* Port */ 89 if (parse_fetch_int(handle, info, &port, ' ') < 0) 91 semanage_ibendport_set_port(ibendport, port);
|
/external/tensorflow/tensorflow/contrib/gdr/ |
gdr_server_lib.cc | 30 string port; local 39 port = hostname_port[1]; 45 CreateRemoteMemoryManager(host, port)); 119 alloc_fns.malloc_fn = port::Malloc; 120 alloc_fns.realloc_fn = port::Realloc; 121 alloc_fns.free_fn = port::Free;
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
utils.cc | 42 device.set_vendor(port::CPUVendorIDString()); 45 strings::StrCat((port::CPUFamily() << 4) + port::CPUModelNum())); 46 device.set_frequency(port::NominalCPUFrequency() * 1e-6); 47 device.set_num_cores(port::NumSchedulableCPUs()); 52 int64 free_mem = port::AvailableRam();
|
/external/tensorflow/tensorflow/stream_executor/ |
platform.cc | 18 #include "tensorflow/stream_executor/platform/port.h" 39 return port::StrCat("InvalidPlatformKind(", static_cast<int>(kind), ")"); 88 port::Status Platform::ForceExecutorShutdown() { 89 return port::Status(port::error::UNIMPLEMENTED, 108 port::Status Platform::EnablePeerAccess() { 124 return port::Status::OK();
|
plugin_registry.h | 65 port::Status RegisterFactory(Platform::Id platform_id, PluginId plugin_id, 71 port::Status RegisterFactoryForAllPlatforms(PluginId plugin_id, 93 // or a port::Status on error. 95 port::StatusOr<FactoryT> GetFactory(Platform::Id platform_id, 101 port::StatusOr<FactoryT> GetFactory(PlatformKind platform_kind, 124 port::Status RegisterFactoryInternal(PluginId plugin_id, 131 port::StatusOr<FactoryT> GetFactoryInternal(
|
/system/bt/stack/rfcomm/ |
port_utils.cc | 21 * Port Emulation entity utilities 55 * Description Look through the Port Control Blocks for a free one. Note 60 * Returns Pointer to the PORT or NULL if not found 64 tPORT* p_port = &rfc_cb.port.port[0]; 70 p_port = &rfc_cb.port.port[yy]; 77 /* During the open set default state for the port connection */ 86 RFCOMM_TRACE_DEBUG("rfc_cb.port.port[%d]:%p allocated, last_port:%d", yy [all...] |
/system/extras/multinetwork/ |
common.cpp | 125 char port[sizeof("65535")]; local 128 port, sizeof(port), 131 if (port[0] == '0' || port[0] == '\0') { 134 return (is_ipv6 ? "[" : "") + std::string(host) + (is_ipv6 ? "]:" : ":") + std::string(port);
|
/external/mesa3d/src/gallium/state_trackers/omx/ |
vid_enc.c | 86 static OMX_ERRORTYPE vid_enc_AllocateInBuffer(omx_base_PortType *port, OMX_INOUT OMX_BUFFERHEADERTYPE **buf, 88 static OMX_ERRORTYPE vid_enc_UseInBuffer(omx_base_PortType *port, OMX_BUFFERHEADERTYPE **buf, OMX_U32 idx, 90 static OMX_ERRORTYPE vid_enc_FreeInBuffer(omx_base_PortType *port, OMX_U32 idx, OMX_BUFFERHEADERTYPE *buf); 91 static OMX_ERRORTYPE vid_enc_EncodeFrame(omx_base_PortType *port, OMX_BUFFERHEADERTYPE *buf); 94 static OMX_ERRORTYPE vid_enc_FreeOutBuffer(omx_base_PortType *port, OMX_U32 idx, OMX_BUFFERHEADERTYPE *buf); 150 omx_base_video_PortType *port; local 218 port = (omx_base_video_PortType *)priv->ports[OMX_BASE_FILTER_INPUTPORT_INDEX]; 219 port->sPortParam.format.video.nFrameWidth = 176; 220 port->sPortParam.format.video.nFrameHeight = 144; 221 port->sPortParam.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar 359 omx_base_video_PortType *port; local 468 omx_base_video_PortType *port; local 685 omx_base_video_PortType *port; local [all...] |
/external/tensorflow/tensorflow/stream_executor/cuda/ |
cuda_gpu_executor.h | 34 #include "tensorflow/stream_executor/platform/port.h" 61 port::Status Init(int device_ordinal, DeviceOptions device_options) override; 101 port::Status SynchronousMemcpy(DeviceMemoryBase *gpu_dst, 104 port::Status SynchronousMemcpy(void *host_dst, 108 port::Status SynchronousMemcpyDeviceToDevice(DeviceMemoryBase *gpu_dst, 145 port::Status AllocateEvent(Event *event) override; 147 port::Status DeallocateEvent(Event *event) override; 149 port::Status RecordEvent(Stream *stream, Event *event) override; 151 port::Status WaitForEvent(Stream *stream, Event *event) override; 155 port::Status BlockHostUntilDone(Stream *stream) override [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
CropFilter.java | 62 public void onInputPortOpen(InputPort port) { 63 if (port.getName().equals("cropRect")) { 64 port.bindToFieldNamed("mCropRect"); 65 port.setAutoPullEnabled(true); 66 } else if (port.getName().equals("outputWidth")) { 67 port.bindToFieldNamed("mOutputWidth"); 68 port.setAutoPullEnabled(true); 69 } else if (port.getName().equals("outputHeight")) { 70 port.bindToFieldNamed("mOutputHeight"); 71 port.setAutoPullEnabled(true) [all...] |
/device/google/contexthub/firmware/os/platform/stm32/ |
usart.c | 85 void usartOpen(struct usart* __restrict usart, UsartPort port, 95 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit = --port]; 101 gpioConfigAlt(usart->rx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); 103 gpioConfigAlt(usart->tx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); 106 pwrUnitClock(mUsartBusses[port], mUsartPeriphs[port], true); 109 if (!mUsartHasFlowControl[port]) 118 baseClk = pwrGetBusSpeed(mUsartBusses[port]);
|
/device/google/cuttlefish_common/host/frontend/vnc_server/ |
vnc_server.cpp | 30 VncServer::VncServer(int port, bool aggressive) 31 : server_(port), frame_buffer_watcher_{&bb_}, aggressive_{aggressive} {}
|
/external/adhd/cras/src/server/ |
cras_dsp_ini.h | 31 struct port { struct 35 /* This is only used if there is a flow connects to this port, 36 -1 otherwise (i.e. the port has a constant input/output) */ 43 DECLARE_ARRAY_TYPE(struct port, port_array)
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
JDWPSyncTestCase.java | 46 int port = synchronizer.bindServer(); local 47 debuggeeWrapper.savedVMOptions = "-Djpda.settings.syncPort=" + port;
|
/external/autotest/client/cros/cellular/ |
ether_io_rf_switch.py | 31 def __init__(self, hostname, port=2424): 34 self.destination = (hostname, port) 91 """Connects port n to the RF generator.""" 99 """Returns (binary port status, selected port, port direction).""" 107 port = self.port_mapping.index(status) 109 port = None 111 return status, port, direction 121 (raw_status, port, direction) = switch.Query( [all...] |
/external/autotest/client/cros/faft/ |
rpc_server.py | 22 parser.add_option('--port', type='int', dest='port', default=9990, 23 help='port number of XMLRPC server') 28 server = SimpleXMLRPCServer(('localhost', options.port), allow_none=True, 32 print '[%s] XMLRPC Server: Serving FAFT functions on port %s' % ( 33 str(datetime.now()), options.port)
|