Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/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/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/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/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c173 static int create_listening_socket(int port_num) in create_listening_socket() argument
182 svaddr.sin_port = htons(port_num); in create_listening_socket()
219 int port_num = PORT_NUM; in main() local
224 port_num = atoi(opt_port); in main()
231 conn_addr.sin_port = htons(port_num); in main()
233 lfd = create_listening_socket(port_num); in main()
/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/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/kernel-headers/original/uapi/rdma/
Drdma_netlink.h57 __u8 port_num; member
177 __u8 port_num; member
Dib_user_verbs.h254 __u8 port_num; member
438 __u8 port_num; member
480 __u8 port_num; member
513 __u8 port_num; member
628 __u8 port_num; member
661 __u8 port_num; member
692 __u8 port_num; member
Drdma_user_cm.h156 __u8 port_num; member
162 __u8 port_num; member
Drdma_user_rxe.h55 __u8 port_num; member
Dvmw_pvrdma-abi.h284 __u8 port_num; member
/external/selinux/libsemanage/src/
Dport_record.c120 void semanage_port_set_port(semanage_port_t * port, int port_num) in hidden_def()
123 sepol_port_set_port(port, port_num); in hidden_def()
/external/chromium-trace/catapult/devil/devil/utils/
Dfind_usb_devices.py282 port_num = int(match.group('port')) + 1
298 port_num, new_device)
300 tree[bus_num].AddChild(port_num, new_device)
/external/libmojo/third_party/catapult/devil/devil/utils/
Dfind_usb_devices.py276 port_num = int(match.group('port')) + 1
292 port_num, new_device)
294 tree[bus_num].AddChild(port_num, new_device)
/external/toybox/toys/pending/
Dtelnetd.c68 in_port_t port_num = htons(TT.port); in get_sockaddr() local
95 port_num = htons(p); in get_sockaddr()
108 if (af == AF_INET) ((struct sockaddr_in*)buf)->sin_port = port_num; in get_sockaddr()
109 else ((struct sockaddr_in6*)buf)->sin6_port = port_num; in get_sockaddr()
/external/selinux/libsemanage/include/semanage/
Dport_record.h49 extern void semanage_port_set_port(semanage_port_t * port, int port_num);
/external/selinux/libsepol/include/sepol/
Dport_record.h52 extern void sepol_port_set_port(sepol_port_t * port, int port_num);
/external/syslinux/gpxe/src/drivers/net/
Dmtnic.h629 u8 port_num; member
/external/webrtc/webrtc/p2p/base/
Dp2ptransportchannel_unittest.cc1783 int port_num) { in WaitForConnectionTo() argument
1784 EXPECT_TRUE_WAIT(GetConnectionTo(ch, ip, port_num) != nullptr, 3000); in WaitForConnectionTo()
1785 return GetConnectionTo(ch, ip, port_num); in WaitForConnectionTo()
1797 int port_num) { in GetConnectionTo() argument
1802 return port->GetConnection(rtc::SocketAddress(ip, port_num)); in GetConnectionTo()