Home
last modified time | relevance | path

Searched refs:port (Results 126 - 150 of 2185) sorted by relevance

12345678910>>...88

/third_party/alsa-lib/test/
H A Dseq-decoder.c124 ev->source.port, in decode_event()
126 ev->dest.port, in decode_event()
222 printf("; client=%i, port = %i\n", ev->data.addr.client, ev->data.addr.port); in decode_event()
228 ev->data.connect.sender.client, ev->data.connect.sender.port, in decode_event()
229 ev->data.connect.dest.client, ev->data.connect.dest.port); in decode_event()
250 int port ATTRIBUTE_UNUSED) in event_decoder_start_timer()
266 int client, port, queue, max, err, v1, v2; in event_decoder() local
293 fprintf(stderr, "Cannot create input port: %s\n", snd_strerror(err)); in event_decoder()
296 port in event_decoder()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/pwm/
H A Dpwm_drv.h42 hi_u32 pwm_check_port(hi_pwm_port port);
43 hi_bool pwm_is_init(hi_pwm_port port);
44 hi_u32 pwm_lock(hi_pwm_port port);
45 hi_u32 pwm_unlock(hi_pwm_port port);
46 pwm_ctl *pwm_get_ctl(hi_pwm_port port);
/third_party/rust/crates/clap/examples/tutorial_builder/
H A D04_02_validate.rs9 .help("Network port to use") in main()
15 let port: u16 = *matches in main()
18 println!("PORT = {}", port); in main()
24 let port: usize = s in port_in_range()
26 .map_err(|_| format!("`{}` isn't a port number", s))?; in port_in_range()
27 if PORT_RANGE.contains(&port) { in port_in_range()
28 Ok(port as u16) in port_in_range()
31 "port not in range {}-{}", in port_in_range()
/third_party/rust/crates/clap/examples/tutorial_derive/
H A D04_02_validate.rs8 /// Network port to use
10 port: u16,
16 println!("PORT = {}", cli.port); in main()
22 let port: usize = s in port_in_range()
24 .map_err(|_| format!("`{s}` isn't a port number"))?; in port_in_range()
25 if PORT_RANGE.contains(&port) { in port_in_range()
26 Ok(port as u16) in port_in_range()
29 "port not in range {}-{}", in port_in_range()
/device/soc/hisilicon/common/platform/hieth-sf/include/internal/
H A Dhieth_pri.h186 #define UD_REG_NAME(name) ((ld->port == UP_PORT) ? U_##name : D_##name)
187 #define UD_BIT_NAME(name) ((ld->port == UP_PORT) ? name##_U : name##_D)
188 #define UD_PHY_NAME(name) ((ld->port == UP_PORT) ? name##_U : name##_D)
190 #define UD_BIT(port, name) (((port) == UP_PORT) ? name##_U : name##_D)
192 #define GLB_MAC_H16(port, reg) ((((port) == UP_PORT) ? GLB_MAC_H16_BASE : GLB_MAC_H16_BASE_D) + (reg * 0x8))
193 #define GLB_MAC_L32(port, reg) ((((port) == UP_PORT) ? GLB_MAC_L32_BASE : GLB_MAC_L32_BASE_D) + (reg * 0x8))
/third_party/libcoap/src/
H A Dcoap_io_contiki.c100 udp_bind(sock->udp_conn, listen_addr->port); in coap_socket_bind_udp()
102 bound_addr->port = sock->udp_conn->lport; in coap_socket_bind_udp()
124 sock->udp_conn = udp_new(&server->addr, server->port ? server->port : default_port, sock); in coap_socket_connect_udp()
131 local_addr->port = sock->udp_conn->lport; in coap_socket_connect_udp()
133 remote_addr->port = sock->udp_conn->rport; in coap_socket_connect_udp()
169 &session->addr_info.remote.addr, session->addr_info.remote.port); in coap_socket_send()
200 packet->addr_info.remote.port = UIP_UDP_BUF->srcport; in coap_socket_recv()
202 packet->addr_info.local.port = UIP_UDP_BUF->destport; in coap_socket_recv()
/third_party/backends/backend/
H A Dcanon_pp.c159 DBG(1,"sane_init: Error trying to get port list\n"); in sane_init()
170 DBG(10,"sane_init: %i parallel port(s) found.\n", pl.portc); in sane_init()
171 /* Setup data structures for each port */ in sane_init()
174 DBG(10,"sane_init: port %s\n", pl.portv[i]->name); in sane_init()
189 * port. in sane_init()
213 * Assume first port */ in sane_init()
216 "a port argument.\n", in sane_init()
221 * parallel port above */ in sane_init()
234 DBG(100, "sane_init: Finding scanner on port " in sane_init()
238 if (!strcmp(s_tmp->params.port in sane_init()
[all...]
/third_party/python/Lib/test/
H A Dtest_urllib2_localnet.py68 self.port = self.httpd.server_port
296 self.server_url = 'http://127.0.0.1:%s' % self.server.port
352 proxy_url = "http://127.0.0.1:%d" % self.server.port
408 port = 80 variable in GetRequestHandler.FakeHTTPRequestHandler
430 self.send_header(header, value % {'port':self.port})
493 port = self.server.port
494 handler.port = port
[all...]
/third_party/python/Modules/
H A Dgetaddrinfo.c171 #define GET_AI(ai, gai_afd, addr, port) {\
181 ((struct sockinet *)(ai)->ai_addr)->si_port = port;\
186 #define GET_AI(ai, gai_afd, addr, port) {\
196 ((struct sockinet *)(ai)->ai_addr)->si_port = port;\
249 u_short port; in getaddrinfo() local
277 port = GAI_ANY; in getaddrinfo()
336 * service port in getaddrinfo()
345 port = htons((u_short)atoi(servname)); in getaddrinfo()
367 port = sp->s_port; in getaddrinfo()
396 GET_AI(cur->ai_next, gai_afd, gai_afd->a_addrany, port); in getaddrinfo()
495 u_short port = port0 & 0xffff; global() local
540 u_short port = port0 & 0xffff; global() local
[all...]
/third_party/ltp/include/
H A Dtst_net.h24 * Initialize AF_INET/AF_INET6 socket address structure with address and port
26 void tst_init_sockaddr_inet(struct sockaddr_in *sa, const char *ip_str, uint16_t port);
27 void tst_init_sockaddr_inet_bin(struct sockaddr_in *sa, uint32_t ip_val, uint16_t port);
28 void tst_init_sockaddr_inet6(struct sockaddr_in6 *sa, const char *ip_str, uint16_t port);
29 void tst_init_sockaddr_inet6_bin(struct sockaddr_in6 *sa, const struct in6_addr *ip_val, uint16_t port);
32 const char *port, const struct addrinfo *hints,
/test/testfwk/xdevice/plugins/devicetest/utils/
H A Dutil.py107 # clear reverse port first Example: 'tcp:8011 tcp:9963' [Reverse]
124 def is_port_idle(host: str = "127.0.0.1", port: int = None) -> bool:
131 s.connect((host, port))
141 def get_forward_port(self, host: str = None, port: int = None, filter_ports: list = None):
147 port = 9999 - secrets.randbelow(99)
149 while cnt < 10 and port > 1024:
150 if port not in filter_ports and port not in ports_list and is_port_idle(host, port):
154 port
[all...]
/third_party/node/test/report/
H A Dtest-report-uv-handles.js77 http.get({ port: server.address().port });
90 connectedUdpSocket.connect(udpSocket.address().port);
236 const port = child_data.tcp_address.port;
237 if (handle.localEndpoint.port === port) {
243 } else if (handle.remoteEndpoint.port === port) {
254 assert.strictEqual(handle.localEndpoint.port,
[all...]
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
H A Dmain.cc42 %s -s [-p port-number] in ShowUsage()
45 %s [-p port-number] [server-address] shader-file-path in ShowUsage()
272 bool RunServer(std::string port);
273 bool RunClient(std::string address, std::string port, std::string file);
277 std::string port = "19000"; in main() local
286 if (arg == "-p" || arg == "--port") { in main()
289 port = argv[i]; in main()
291 printf("expected port number"); in main()
318 success = RunServer(port); in main()
337 success = RunClient(address, port, fil in main()
347 RunServer(std::string port) RunServer() argument
403 RunClient(std::string address, std::string port, std::string file) RunClient() argument
[all...]
/third_party/curl/lib/
H A Dhostip6.c93 * Returns name information about the given hostname and port number. If
100 int port, in Curl_getaddrinfo()
136 if(port) { in Curl_getaddrinfo()
137 msnprintf(sbuf, sizeof(sbuf), "%d", port); in Curl_getaddrinfo()
143 infof(data, "getaddrinfo(3) failed for %s:%d", hostname, port); in Curl_getaddrinfo()
147 if(port) { in Curl_getaddrinfo()
148 Curl_addrinfo_set_port(res, port); in Curl_getaddrinfo()
98 Curl_getaddrinfo(struct Curl_easy *data, const char *hostname, int port, int *waitp) Curl_getaddrinfo() argument
/third_party/node/test/parallel/
H A Dtest-http-content-length.js53 port: this.address().port,
66 port: this.address().port,
78 port: this.address().port,
H A Dtest-http-content-length-mismatch.js23 port: server.address().port,
43 port: server.address().port,
69 port: server.address().port,
H A Dtest-https-client-reject.js47 port: server.address().port,
62 port: server.address().port
74 port: server.address().port,
H A Dtest-tls-getcipher.js49 port: this.address().port,
64 port: this.address().port,
87 port: this.address().port,
/third_party/node/src/
H A Dnode_win32_etw_provider.h60 node_dtrace_connection_t* conn, const char* remote, int port,
63 const char* remote, int port, int fd);
65 node_dtrace_connection_t* conn, const char* remote, int port,
68 const char* remote, int port, int fd);
70 const char* remote, int port, int fd);
72 const char* remote, int port, int fd);
H A Dtcp_wrap.cc244 std::function<int(const char* ip_address, int port, T* addr)> uv_ip_addr) { in Bind()
251 int port; in Bind() local
253 if (!args[1]->Int32Value(env->context()).To(&port)) return; in Bind()
260 int err = uv_ip_addr(*ip_address, port, &addr); in Bind()
298 int port = static_cast<int>(args[2].As<Uint32>()->Value()); in Connect() local
300 [port](const char* ip_address, sockaddr_in* addr) { in Connect()
301 return uv_ip4_addr(ip_address, port, addr); in Connect()
309 int port; in Connect6() local
310 if (!args[2]->Int32Value(env->context()).To(&port)) return; in Connect6()
312 [port](cons in Connect6()
241 Bind( const FunctionCallbackInfo<Value>& args, int family, std::function<int(const char* ip_address, int port, T* addr)> uv_ip_addr) Bind() argument
348 int port = args[2]->Uint32Value(env->context()).FromJust(); Connect() local
355 port); Connect() local
394 int port; AddressToJS() local
[all...]
/device/qemu/drivers/uart/
H A Duart.c309 static int32_t UartGetConfigFromHcs(struct UartPl011Port *port, const struct DeviceResourceNode *node) in UartGetConfigFromHcs() argument
312 struct UartDriverData *udd = port->udd; in UartGetConfigFromHcs()
348 port->physBase = (unsigned long)OsalIoRemap(regPbase, iomemCount); in UartGetConfigFromHcs()
349 if (iface->GetUint32(node, "interrupt", &port->irqNum, 0) != HDF_SUCCESS) { in UartGetConfigFromHcs()
360 struct UartPl011Port *port = NULL; in Hi35xxAttach() local
371 port = (struct UartPl011Port *)OsalMemCalloc(sizeof(struct UartPl011Port)); in Hi35xxAttach()
372 if (port == NULL) { in Hi35xxAttach()
373 HDF_LOGE("%s: OsalMemCalloc port error", __func__); in Hi35xxAttach()
380 port->udd = udd; in Hi35xxAttach()
381 ret = UartGetConfigFromHcs(port, devic in Hi35xxAttach()
397 struct UartPl011Port *port = NULL; Hi35xxDetach() local
[all...]
/third_party/skia/third_party/externals/oboe/src/flowgraph/
H A DFlowGraphNode.h110 void addInputPort(FlowGraphPort &port) { in addInputPort() argument
111 mInputPorts.push_back(port); in addInputPort()
189 * This port contains a 32-bit float buffer that can contain several frames of data.
210 * @return buffer internal to the port or from a connected port
237 * An input port can only have one connection.
238 * An output port can have multiple connections.
239 * If you connect a second output port to an input port
243 * Also do not delete a module while it is connected to another port i
310 connect(FlowGraphPortFloatOutput *port) connect() argument
315 disconnect(FlowGraphPortFloatOutput *port) disconnect() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/http/
H A Dhttp_client.c55 char *port; /* Optional server port */ member
132 OPENSSL_free(rctx->port); in OSSL_HTTP_REQ_CTX_free()
167 * Server name (and optional port) must be given if and only if
171 const char *server, const char *port, in OSSL_HTTP_REQ_CTX_set_request_line()
193 if (port != NULL && BIO_printf(rctx->mem, ":%s", port) <= 0) in OSSL_HTTP_REQ_CTX_set_request_line()
375 const char *server, const char *port, in http_req_ctx_new()
392 if (port != NULL in http_req_ctx_new()
393 && (rctx->port in http_req_ctx_new()
170 OSSL_HTTP_REQ_CTX_set_request_line(OSSL_HTTP_REQ_CTX *rctx, int method_POST, const char *server, const char *port, const char *path) OSSL_HTTP_REQ_CTX_set_request_line() argument
371 http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int use_ssl, const char *proxy, const char *server, const char *port, int buf_size, int overall_timeout) http_req_ctx_new() argument
862 const char *port = server_port; http_new_bio() local
927 OSSL_HTTP_open(const char *server, const char *port, const char *proxy, const char *no_proxy, int use_ssl, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, int overall_timeout) OSSL_HTTP_open() argument
1133 char *port; OSSL_HTTP_get() local
1212 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
1296 OSSL_HTTP_proxy_connect(BIO *bio, const char *server, const char *port, const char *proxyuser, const char *proxypass, int timeout, BIO *bio_err, const char *prog) OSSL_HTTP_proxy_connect() argument
[all...]
/third_party/openssl/crypto/http/
H A Dhttp_client.c55 char *port; /* Optional server port */ member
132 OPENSSL_free(rctx->port); in OSSL_HTTP_REQ_CTX_free()
167 * Server name (and port) must be given if and only if plain HTTP proxy is used.
170 const char *server, const char *port, in OSSL_HTTP_REQ_CTX_set_request_line()
192 if (port != NULL && BIO_printf(rctx->mem, ":%s", port) <= 0) in OSSL_HTTP_REQ_CTX_set_request_line()
368 const char *server, const char *port, in http_req_ctx_new()
385 if (port != NULL in http_req_ctx_new()
386 && (rctx->port in http_req_ctx_new()
169 OSSL_HTTP_REQ_CTX_set_request_line(OSSL_HTTP_REQ_CTX *rctx, int method_POST, const char *server, const char *port, const char *path) OSSL_HTTP_REQ_CTX_set_request_line() argument
364 http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int use_ssl, const char *proxy, const char *server, const char *port, int buf_size, int overall_timeout) http_req_ctx_new() argument
851 const char *port = server_port; http_new_bio() local
916 OSSL_HTTP_open(const char *server, const char *port, const char *proxy, const char *no_proxy, int use_ssl, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, int overall_timeout) OSSL_HTTP_open() argument
1122 char *port; OSSL_HTTP_get() local
1201 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
1285 OSSL_HTTP_proxy_connect(BIO *bio, const char *server, const char *port, const char *proxyuser, const char *proxypass, int timeout, BIO *bio_err, const char *prog) OSSL_HTTP_proxy_connect() argument
[all...]
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
H A Dtest_notls.c100 uint16_t port; member
103 /* This is the concatenation of host and port with ":" in
115 uint16_t port; member
463 * Connects to the host |host| and port |port|. This function returns
466 static int connect_to(const char *host, uint16_t port) in connect_to() argument
473 snprintf(service, sizeof(service), "%u", port); in connect_to()
587 req->port = uri->port; in request_init()
621 fd = connect_to(req.host, req.port); in fetch_uri()
710 int port = 0; parse_uri() local
840 childproc(int port) childproc() argument
868 parentproc( int port) parentproc() argument
949 int port = get_port(12123); main() local
[all...]

Completed in 14 milliseconds

12345678910>>...88