/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_test.cpp | 625 .port = 22, in HWTEST_F() 643 int32_t port = 22; in HWTEST_F() local 646 int32_t ret = SocketConnectDevice(ip, port, isBlockMode); in HWTEST_F() 711 int32_t port = 1; in HWTEST_F() local 714 ret = AuthOpenChannel(nullptr, port); in HWTEST_F() 716 port = 0; in HWTEST_F() 717 ret = AuthOpenChannel(ip, port); in HWTEST_F() 1580 int32_t port = 22; in HWTEST_F() local 1583 ret = AuthStartListening(AUTH_LINK_TYPE_WIFI, nullptr, port); in HWTEST_F() 1585 ret = AuthStartListening(AUTH_LINK_TYPE_WIFI, ip, port); in HWTEST_F() 2009 int32_t port = 22; HWTEST_F() local 2158 int32_t port = CLIENT_PORT; HWTEST_F() local [all...] |
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/enc/ |
H A D | Rkvpu_OMX_Venc.c | 189 OMX_ERRORTYPE Rkvpu_ResetPort(ROCKCHIP_OMX_BASEPORT* port, OMX_U32 portIndex) in Rkvpu_ResetPort() argument 191 if (port == NULL) { in Rkvpu_ResetPort() 192 omx_err_f("port is null"); in Rkvpu_ResetPort() 195 port->portDefinition.bEnabled = OMX_TRUE; in Rkvpu_ResetPort() 196 port->portDefinition.format.video.nFrameWidth = DEFAULT_ENC_FRAME_WIDTH; in Rkvpu_ResetPort() 197 port->portDefinition.format.video.nFrameHeight = DEFAULT_ENC_FRAME_HEIGHT; in Rkvpu_ResetPort() 198 port->portDefinition.format.video.nStride = 0; /* DEFAULT_ENC_FRAME_WIDTH; */ in Rkvpu_ResetPort() 199 port->portDefinition.format.video.nSliceHeight = 0; in Rkvpu_ResetPort() 200 port->portDefinition.format.video.pNativeRender = 0; in Rkvpu_ResetPort() 201 port in Rkvpu_ResetPort() 230 ROCKCHIP_OMX_BASEPORT *port = &pRockchipComponent->pRockchipPort[i]; Rkvpu_ResetAllPortConfig() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rtsp.c | 97 { "min_port", "set minimum local UDP port", OFFSET(rtp_port_min), AV_OPT_TYPE_INT, {.i64 = RTSP_RTP_PORT_MIN}, 0, 65535, DEC|ENC }, 98 { "max_port", "set maximum local UDP port", OFFSET(rtp_port_max), AV_OPT_TYPE_INT, {.i64 = RTSP_RTP_PORT_MAX}, 0, 65535, DEC|ENC }, 513 get_word(buf1, sizeof(buf1), &p); /* port */ in sdp_parse_line() 965 if (!strcmp(parameter, "port")) { in rtsp_parse_transport() 1452 int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port, in ff_rtsp_make_setup_request() argument 1473 * port range, to allow for a number of ports to try even if the offset in ff_rtsp_make_setup_request() 1513 port = reply->transports[0].client_port_min; in ff_rtsp_make_setup_request() 1517 /* first try in specified port range */ in ff_rtsp_make_setup_request() 1533 av_log(s, AV_LOG_ERROR, "Unable to open an input RTP port\n"); in ff_rtsp_make_setup_request() 1538 port in ff_rtsp_make_setup_request() 1608 int port; ff_rtsp_make_setup_request() local 1662 int port, ttl; ff_rtsp_make_setup_request() local 1724 int port, err, tcp_fd; ff_rtsp_connect() local 2510 int ret, port; rtp_read_header() local [all...] |
H A D | http.c | 209 int port, use_proxy, err = 0; in http_open_cnx_internal() local 213 hostname, sizeof(hostname), &port, in http_open_cnx_internal() 215 ff_url_join(hoststr, sizeof(hoststr), NULL, NULL, hostname, port, NULL); in http_open_cnx_internal() 228 if (port < 0) in http_open_cnx_internal() 229 port = 443; in http_open_cnx_internal() 237 if (port < 0) in http_open_cnx_internal() 238 port = 80; in http_open_cnx_internal() 256 ff_url_join(urlbuf, sizeof(urlbuf), proto, NULL, hostname, port, "%s", in http_open_cnx_internal() 260 hostname, sizeof(hostname), &port, NULL, 0, proxy_path); in http_open_cnx_internal() 263 ff_url_join(buf, sizeof(buf), lower_proto, NULL, hostname, port, NUL in http_open_cnx_internal() 656 int port; http_listen() local 2050 int port, ret = 0, attempts = 0; http_proxy_open() local [all...] |
/third_party/curl/tests/server/ |
H A D | sws.c | 101 unsigned short connect_port; /* the port number CONNECT used */ 515 logmsg("Invalid CONNECT IPv6 port format"); in ProcessRequest() 527 logmsg("Invalid CONNECT port received"); in ProcessRequest() 1284 static curl_socket_t connect_to(const char *ipaddr, unsigned short port) in connect_to() argument 1304 op_br, ipaddr, cl_br, port); in connect_to() 1329 serveraddr.sa4.sin_port = htons(port); in connect_to() 1342 serveraddr.sa6.sin6_port = htons(port); in connect_to() 1366 logmsg("Error connecting to server port %hu: (%d) %s", in connect_to() 1367 port, error, sstrerror(error)); in connect_to() 1373 op_br, ipaddr, cl_br, port); in connect_to() 1955 unsigned short port = DEFAULT_PORT; main() local [all...] |
/device/soc/hisilicon/common/platform/hieth-sf/src/ |
H A D | ctrl.c | 177 if (ld->port == DOWN_PORT) { in HiethHwSetMacAddress() 182 if (ld->port == UP_PORT) { in HiethHwSetMacAddress() 189 if (ld->port == UP_PORT) { in HiethHwSetMacAddress() 201 if (ld->port == UP_PORT) { in HiethHwGetMacAddress() 209 if (ld->port == UP_PORT) { in HiethHwGetMacAddress()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/deeplink_reserve/ |
H A D | deeplink_reserve_config.cpp | 35 const std::string PORT_NAME = "port"; 123 if (!reservedUri.port.empty()) { in isUriMatched() 124 reservedUriString.append(PORT_SEPARATOR).append(reservedUri.port); in isUriMatched() 127 // with port, config uri is : scheme://host:port in isUriMatched() 129 // 1.scheme://host:port in isUriMatched() 130 // 2.scheme://host:port/path in isUriMatched() 132 // without port, config uri is : scheme://host in isUriMatched() 136 // 3.scheme://host:port scheme://host:port/pat in isUriMatched() [all...] |
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/sink/ |
H A D | player_audio_sink.cpp | 107 for (int port = 0; (desc != nullptr && port < static_cast<int>(desc->portNum)); port++) { in Init() 108 if (desc->ports[port].dir == PORT_OUT && in Init() 112 &desc->ports[port], sizeof(struct AudioPort)) != 0) { in Init()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_reliability.c | 58 (infoItem->link.linkInfo.wlan.connInfo.port == in GetSameLaneDetectInfo() 59 item->link.linkInfo.wlan.connInfo.port)) { in GetSameLaneDetectInfo() 81 .port = infoItem->link.linkInfo.wlan.connInfo.port, in ClientConnectTcp() 190 LNN_LOGE(LNN_LANE, "wlan detect connect fail, port=%{public}d, laneReqId=%{public}u", in WlanDetectReliability() 191 infoItem->link.linkInfo.wlan.connInfo.port, infoItem->laneReqId); in WlanDetectReliability()
|
/test/testfwk/developer_test/local_coverage/resident_service/ |
H A D | init_gcov.py | 354 ip, port, sn = get_config_ip(os.path.join(developer_test_path, "config/user_config.xml")) 355 if not port: 356 port = "8710" variable 361 sn_list = get_sn_list("hdc -s %s:%s list targets" % (ip, port)) 368 system_dict, home_paths, port)
|
/third_party/ffmpeg/libavdevice/ |
H A D | iec61883.c | 253 int port = -1; in iec61883_read_header() local 276 av_log(context, AV_LOG_INFO, "Selecting IEEE1394 port: %d\n", inport); in iec61883_read_header() 281 "\"auto\" for auto-detection, or the port number.\n", context->url); in iec61883_read_header() 293 for (; j < nb_ports && port==-1; ++j) { in iec61883_read_header() 297 av_log(context, AV_LOG_ERROR, "Failed setting IEEE1394 port.\n"); in iec61883_read_header() 308 port = j; in iec61883_read_header() 322 port = j; in iec61883_read_header() 330 if (port == -1) { in iec61883_read_header()
|
/third_party/curl/lib/ |
H A D | conncache.c | 129 long port = conn->remote_port; in hashkey() local 134 port = conn->port; in hashkey() 145 msnprintf(buf, len, "%u/%ld/%s", conn->scope_id, port, hostname); in hashkey() 147 msnprintf(buf, len, "%ld/%s", port, hostname); in hashkey()
|
/third_party/node/lib/internal/modules/esm/ |
H A D | hooks.js | 227 port: insideLoader, 242 port: insidePreload, 623 port: asyncCommChannel.port2, 714 const { code, port } = preloadScripts[i]; 718 ['getBuiltin', 'port', 'setImportMetaCallback'], 746 // Param port 747 port,
|
/third_party/node/src/ |
H A D | inspector_io.cc | 296 int port; in ThreadMain() local 300 port = host_port->port(); in ThreadMain() 305 port, in ThreadMain() local 324 return FormatWsAddress(host_port->host(), host_port->port(), id_, true); in GetWsUrl()
|
H A D | node_options.h | 22 HostPort(const std::string& host_name, int port, int pid = -1) in HostPort() argument 23 : host_name_(host_name), port_(port), pid_(pid) {} in HostPort() 31 void set_port(int port) { port_ = port; } in set_port() argument 35 int port() const { in port() function in node::HostPort 36 // TODO(joyeecheung): make port a uint16_t in port()
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | utils.py | 234 # will return a socket and a tuple (host, port). 278 def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False): 279 yield from _run_test_server(address=(host, port), use_ssl=use_ssl, 295 def run_udp_echo_server(*, host='127.0.0.1', port=0): 296 addr_info = socket.getaddrinfo(host, port, type=socket.SOCK_DGRAM) 299 sock.bind((host, port))
|
/third_party/toybox/toys/net/ |
H A D | netstat.c | 40 static void addr2str(int af, void *addr, unsigned port, char *buf, int len, in addr2str() argument 55 // If there's no port number, it's a local :* binding, nothing to look up. in addr2str() 56 if (!port) { in addr2str() 85 ser = getservbyport(htons(port), cut); in addr2str() 89 count = snprintf(0, 0, ":%u", port); in addr2str() 100 else sprintf(buf+pos, ":%u", port); in addr2str()
|
/third_party/toybox/toys/pending/ |
H A D | syslogd.c | 242 long port = 514; in open_logfiles() local 252 port = strtol(++p, &endptr, 10); in open_logfiles() 253 if (*endptr || endptr == p || port < 0 || port > 65535) in open_logfiles() 254 error_exit("bad port in %s", tfd->filename); in open_logfiles() 263 ((struct sockaddr_in*)info->ai_addr)->sin_port = htons(port); in open_logfiles()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | netbuf.h | 54 /** This netbuf has dest-addr/port set */ 70 u16_t port; member 115 #define netbuf_fromport(buf) ((buf)->port)
|
/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | uart_driver_test.c | 27 if (!HdfSbufWriteUint32(reply, g_config.port)) {
in UartTestDispatch() 28 HDF_LOGE("UartTestDispatch: write port fail!");
in UartTestDispatch() 58 ret = drsOps->GetUint32(node, "port", &config->port, 0);
in UartTestReadConfig() 60 HDF_LOGE("UartTestReadConfig: read port fail, ret: %d!", ret);
in UartTestReadConfig()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/ |
H A D | rtsp_package.h | 42 static std::string EncapSetupRequest(int cseq, const std::string &uri, int port); 43 static std::string EncapPlayRequest(int cseq, const std::string &uri, int port);
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/ |
H A D | rtsp_package.h | 42 static std::string EncapSetupRequest(int cseq, const std::string &uri, int port); 43 static std::string EncapPlayRequest(int cseq, const std::string &uri, int port);
|
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/include/ |
H A D | net_connection_type.h | 149 uint8_t port; member 187 uint16_t port; member
|
/foundation/communication/netmanager_base/test/netsysbpfstats/unittest/bpf_core_test/ |
H A D | BpfTest.cpp | 120 int32_t port = 8888; in HWTEST_F() local 122 context.SetSpecifiedWebsocketProxy(host, port, exclusions); in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/ |
H A D | lnn_ip_network_impl_mock.cpp | 130 int32_t AuthStartListening(AuthLinkType type, const char *ip, int32_t port) in AuthStartListening() argument 132 return GetLnnIpNetworkImplInterface()->AuthStartListening(type, ip, port); in AuthStartListening()
|