Home
last modified time | relevance | path

Searched refs:port_num (Results 1 – 25 of 48) sorted by relevance

12

/external/mesa3d/src/gallium/frontends/xvmc/tests/
Dtest_context.c41 XvPortID port_num; in main() local
57 &port_num, in main()
71 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main()
76 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, NULL) == … in main()
81 assert(XvMCCreateContext(display, port_num, -1, width, height, XVMC_DIRECT, &context) == BadMatch); in main()
83 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, -1, &context) == BadVa… in main()
85 …assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, height, XVMC_DIRECT, &context)… in main()
87 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, 16384, XVMC_DIRECT, &context) … in main()
89 …assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, 16384, XVMC_DIRECT, &context) … in main()
91 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context)… in main()
[all …]
Dtest_surface.c41 XvPortID port_num; in main() local
58 &port_num, in main()
72 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main()
75 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context)… in main()
98 XvUngrabPort(display, port_num, CurrentTime); in main()
Dtest_blocks.c42 XvPortID port_num; in main() local
61 &port_num, in main()
75 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main()
78 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context)… in main()
111 XvUngrabPort(display, port_num, CurrentTime); in main()
Dtest_subpicture.c64 XvPortID port_num; in main() local
84 &port_num, in main()
98 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main()
101 …assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context)… in main()
103 subpics = XvMCListSubpictureTypes(display, port_num, surface_type_id, &num_subpics); in main()
185 XvUngrabPort(display, port_num, CurrentTime); in main()
Dtest_rendering.c141 XvPortID port_num; in main() local
166 &port_num, in main()
180 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main()
186 …assert(XvMCCreateContext(display, port_num, surface_type_id, INPUT_WIDTH, INPUT_HEIGHT, XVMC_DIREC… in main()
325 XvUngrabPort(display, port_num, CurrentTime); in main()
Dxvmc_bench.c185 XvPortID port_num; in main() local
214 &port_num, in main()
228 XvGetPortAttribute(display, port_num, xv_colorkey, &colorkey); in main()
238 …assert(XvMCCreateContext(display, port_num, surface_type_id, config.input_width, config.input_heig… in main()
304 XvUngrabPort(display, port_num, CurrentTime); in main()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_msg.c87 port_num, magic, \ argument
100 "d"(port_num), \
132 port_num, magic, bp, \ argument
148 "d"(port_num), \
156 port_num, magic, bp, \ argument
172 "d"(port_num), \
191 port_num, magic, bp, \ argument
209 "d"(port_num), \
218 port_num, magic, bp, \ argument
236 "d"(port_num), \
[all …]
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dparse_address.cc113 int port_num; in grpc_parse_ipv4_hostport() local
114 if (sscanf(port, "%d", &port_num) != 1 || port_num < 0 || port_num > 65535) { in grpc_parse_ipv4_hostport()
118 in->sin_port = grpc_htons(static_cast<uint16_t>(port_num)); in grpc_parse_ipv4_hostport()
197 int port_num; in grpc_parse_ipv6_hostport() local
198 if (sscanf(port, "%d", &port_num) != 1 || port_num < 0 || port_num > 65535) { in grpc_parse_ipv6_hostport()
202 in6->sin6_port = grpc_htons(static_cast<uint16_t>(port_num)); in grpc_parse_ipv6_hostport()
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_endpoint.hpp71 unsigned short port_num) in basic_endpoint() argument
72 : impl_(internet_protocol.family(), port_num) in basic_endpoint()
79 basic_endpoint(const asio::ip::address& addr, unsigned short port_num) in basic_endpoint() argument
80 : impl_(addr, port_num) in basic_endpoint()
157 void port(unsigned short port_num) in port() argument
159 impl_.port(port_num); in port()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dparse_address.cc179 int port_num; in grpc_parse_ipv4_hostport() local
180 if (sscanf(port.c_str(), "%d", &port_num) != 1 || port_num < 0 || in grpc_parse_ipv4_hostport()
181 port_num > 65535) { in grpc_parse_ipv4_hostport()
185 in->sin_port = grpc_htons(static_cast<uint16_t>(port_num)); in grpc_parse_ipv4_hostport()
274 int port_num; in grpc_parse_ipv6_hostport() local
275 if (sscanf(port.c_str(), "%d", &port_num) != 1 || port_num < 0 || in grpc_parse_ipv6_hostport()
276 port_num > 65535) { in grpc_parse_ipv6_hostport()
280 in6->sin6_port = grpc_htons(static_cast<uint16_t>(port_num)); in grpc_parse_ipv6_hostport()
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/impl/
Dendpoint.ipp36 endpoint::endpoint(int family, unsigned short port_num)
44 asio::detail::socket_ops::host_to_network_short(port_num);
51 asio::detail::socket_ops::host_to_network_short(port_num);
66 unsigned short port_num)
74 asio::detail::socket_ops::host_to_network_short(port_num);
84 asio::detail::socket_ops::host_to_network_short(port_num);
118 void endpoint::port(unsigned short port_num)
123 = asio::detail::socket_ops::host_to_network_short(port_num);
128 = asio::detail::socket_ops::host_to_network_short(port_num);
/external/libpcap/
Dpcap-rdmasniff.c60 unsigned long port_num; member
243 qp_attr.port_num = priv->port_num; in rdmasniff_activate()
261 flow_attr.port = priv->port_num; in rdmasniff_activate()
296 if (!ibv_query_port(priv->context, priv->port_num, &port_attr) && in rdmasniff_activate()
364 unsigned long port_num; in rdmasniff_create() local
383 port_num = strtoul(port + 1, NULL, 10); in rdmasniff_create()
384 if (port_num > 0) { in rdmasniff_create()
387 port_num = 1; in rdmasniff_create()
390 port_num = 1; in rdmasniff_create()
403 priv->port_num = port_num; in rdmasniff_create()
/external/grpc-grpc/src/core/ext/transport/chttp2/server/insecure/
Dserver_chttp2.cc32 int port_num = 0; in grpc_server_add_insecure_http2_port() local
37 grpc_channel_args_copy(grpc_server_get_channel_args(server)), &port_num); in grpc_server_add_insecure_http2_port()
44 return port_num; in grpc_server_add_insecure_http2_port()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/server/insecure/
Dserver_chttp2.cc32 int port_num = 0; in grpc_server_add_insecure_http2_port() local
37 grpc_channel_args_copy(server->core_server->channel_args()), &port_num); in grpc_server_add_insecure_http2_port()
44 return port_num; in grpc_server_add_insecure_http2_port()
/external/grpc-grpc/test/core/iomgr/
Dtcp_server_posix_test.cc304 unsigned port_num; in test_connect() local
353 for (port_num = 0; port_num < num_ports; ++port_num) { in test_connect()
365 GPR_ASSERT(grpc_sockaddr_set_port(&dst.addr, ports[port_num])); in test_connect()
382 for (port_num = 0; port_num < num_ports; ++port_num) { in test_connect()
383 const unsigned num_fds = grpc_tcp_server_port_fd_count(s, port_num); in test_connect()
386 int fd = grpc_tcp_server_port_fd(s, port_num, fd_num); in test_connect()
395 gpr_log(GPR_INFO, "(%d, %d) fd %d family %s listening on %s", port_num, in test_connect()
403 GPR_ASSERT(result.port_index == port_num); in test_connect()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/server/secure/
Dserver_secure_chttp2.cc46 int port_num = 0; in grpc_server_add_secure_http2_port() local
75 &port_num); in grpc_server_add_secure_http2_port()
85 return port_num; in grpc_server_add_secure_http2_port()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/server/
Dchttp2_server.cc65 grpc_channel_args* args, int* port_num);
331 int* port_num) { in Create() argument
346 error = grpc_tcp_server_add_port(listener->tcp_server_, addr, port_num); in Create()
516 grpc_channel_args* args, int* port_num) { in Chttp2ServerAddPort() argument
521 *port_num = -1; in Chttp2ServerAddPort()
540 if (*port_num != -1 && grpc_sockaddr_get_port(&resolved->addrs[i]) == 0) { in Chttp2ServerAddPort()
541 grpc_sockaddr_set_port(&resolved->addrs[i], *port_num); in Chttp2ServerAddPort()
550 if (*port_num == -1) { in Chttp2ServerAddPort()
551 *port_num = port_temp; in Chttp2ServerAddPort()
553 GPR_ASSERT(*port_num == port_temp); in Chttp2ServerAddPort()
[all …]
/external/grpc-grpc/src/core/ext/transport/chttp2/server/secure/
Dserver_secure_chttp2.cc44 int port_num = 0; in grpc_server_add_secure_http2_port() local
76 err = grpc_chttp2_server_add_port(server, addr, args, &port_num); in grpc_server_add_secure_http2_port()
88 return port_num; in grpc_server_add_secure_http2_port()
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/
Dendpoint.hpp36 ASIO_DECL endpoint(int family, unsigned short port_num);
40 unsigned short port_num);
89 ASIO_DECL void port(unsigned short port_num);
/external/grpc-grpc/src/core/ext/transport/chttp2/server/
Dchttp2_server.cc255 int* port_num) { in grpc_chttp2_server_add_port() argument
266 *port_num = -1; in grpc_chttp2_server_add_port()
295 if (*port_num == -1) { in grpc_chttp2_server_add_port()
296 *port_num = port_temp; in grpc_chttp2_server_add_port()
298 GPR_ASSERT(*port_num == port_temp); in grpc_chttp2_server_add_port()
343 *port_num = 0; in grpc_chttp2_server_add_port()
/external/openscreen/third_party/mozilla/
Durl_parse.cc90 Component* port_num) { in ParseServerInfo() argument
94 port_num->reset(); in ParseServerInfo()
124 *port_num = MakeRange(colon + 1, serverinfo.end()); in ParseServerInfo()
128 port_num->reset(); in ParseServerInfo()
141 Component* port_num) { in DoParseAuthority() argument
147 port_num->reset(); in DoParseAuthority()
162 port_num); in DoParseAuthority()
167 ParseServerInfo(spec, auth, hostname, port_num); in DoParseAuthority()
816 Component* port_num) { in ParseAuthority() argument
817 DoParseAuthority(spec, auth, username, password, hostname, port_num); in ParseAuthority()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.cc70 const int port_num; member
75 : node(node_), port_num(port_num_), device(device_) {} in RecvNodeDescriptor()
81 std::hash<int>()(recv_node.port_num) ^ in operator ()()
89 return a.node == b.node && a.port_num == b.port_num && a.device == b.device; in operator ()()
563 for (int port_num = 0, in Init() local
565 port_num < port_num_end; ++port_num) { in Init()
567 std::make_pair(curr_node, port_num)); in Init()
927 int port_num = port_num_output_pair.first; in MarkNodeExecuted() local
930 if (node_state.outputs[port_num].empty()) { in MarkNodeExecuted()
931 node_state.time_no_references[port_num] = curr_time; in MarkNodeExecuted()
[all …]
/external/grpc-grpc/test/cpp/qps/
Dserver_sync.cc160 auto port_num = port(); in SynchronousServer() local
162 if (port_num >= 0) { in SynchronousServer()
164 gpr_join_host_port(&server_address, "::", port_num); in SynchronousServer()
/external/selinux/libsepol/src/
Dport_record.c154 void sepol_port_set_port(sepol_port_t * port, int port_num) in hidden_def()
157 port->low = port_num; in hidden_def()
158 port->high = port_num; in hidden_def()
/external/iproute2/include/uapi/rdma/
Drdma_netlink.h58 __u8 port_num; member
178 __u8 port_num; member

12