/third_party/mesa3d/src/gallium/frontends/xvmc/tests/ |
D | test_context.c | 41 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 …]
|
D | test_surface.c | 41 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()
|
D | test_blocks.c | 42 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()
|
D | test_subpicture.c | 64 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()
|
D | test_rendering.c | 141 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()
|
D | xvmc_bench.c | 185 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()
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_msg.c | 87 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 …]
|
/third_party/grpc/src/core/ext/filters/client_channel/ |
D | parse_address.cc | 100 int port_num; in grpc_parse_ipv4_hostport() local 101 if (sscanf(port.c_str(), "%d", &port_num) != 1 || port_num < 0 || in grpc_parse_ipv4_hostport() 102 port_num > 65535) { in grpc_parse_ipv4_hostport() 106 in->sin_port = grpc_htons(static_cast<uint16_t>(port_num)); in grpc_parse_ipv4_hostport() 195 int port_num; in grpc_parse_ipv6_hostport() local 196 if (sscanf(port.c_str(), "%d", &port_num) != 1 || port_num < 0 || in grpc_parse_ipv6_hostport() 197 port_num > 65535) { in grpc_parse_ipv6_hostport() 201 in6->sin6_port = grpc_htons(static_cast<uint16_t>(port_num)); in grpc_parse_ipv6_hostport()
|
/third_party/FreeBSD/sys/dev/usb/implementation/ |
D | usb_btree.c | 146 usbd_pre_order_hub_node(usbd_bt_node *node, char *devname, uint8_t *port_num) in usbd_pre_order_hub_node() argument 155 BT_DEBUG("[Hub Node] %p %s %d %d\n", node, node->info.nameunit, node->info.port_no, *port_num); in usbd_pre_order_hub_node() 157 (*port_num)--; in usbd_pre_order_hub_node() 160 (*port_num)--; in usbd_pre_order_hub_node() 161 if (*port_num == 0) in usbd_pre_order_hub_node() 165 if (*port_num == 0) { in usbd_pre_order_hub_node() 170 l_node = usbd_pre_order_hub_node(node->lbt_node, devname, port_num); in usbd_pre_order_hub_node() 174 r_node = usbd_pre_order_hub_node(node->rbt_node, devname, port_num); in usbd_pre_order_hub_node() 213 usbd_per_order_probe(usbd_bt_tree tree, char *devname, uint8_t *port_num) in usbd_per_order_probe() argument 215 usbd_bt_node *node = usbd_pre_order_hub_node(tree, devname, port_num); in usbd_per_order_probe()
|
/third_party/grpc/test/cpp/qps/ |
D | server_callback.cc | 102 auto port_num = port(); in CallbackServer() local 104 if (port_num >= 0) { in CallbackServer() 105 std::string server_address = grpc_core::JoinHostPort("::", port_num); in CallbackServer() 108 &port_num); in CallbackServer() 117 gpr_log(GPR_ERROR, "Server: Fail to BuildAndStart(port=%d)", port_num); in CallbackServer() 119 gpr_log(GPR_INFO, "Server: BuildAndStart(port=%d)", port_num); in CallbackServer()
|
D | server_sync.cc | 160 auto port_num = port(); in SynchronousServer() local 162 if (port_num >= 0) { in SynchronousServer() 163 std::string server_address = grpc_core::JoinHostPort("::", port_num); in SynchronousServer() 166 &port_num); in SynchronousServer() 175 gpr_log(GPR_ERROR, "Server: Fail to BuildAndStart(port=%d)", port_num); in SynchronousServer() 177 gpr_log(GPR_INFO, "Server: BuildAndStart(port=%d)", port_num); in SynchronousServer()
|
D | server_async.cc | 80 auto port_num = port(); in AsyncQpsServerTest() local 82 if (port_num >= 0) { in AsyncQpsServerTest() 83 std::string server_address = grpc_core::JoinHostPort("::", port_num); in AsyncQpsServerTest() 86 &port_num); in AsyncQpsServerTest() 110 gpr_log(GPR_ERROR, "Server: Fail to BuildAndStart(port=%d)", port_num); in AsyncQpsServerTest() 112 gpr_log(GPR_INFO, "Server: BuildAndStart(port=%d)", port_num); in AsyncQpsServerTest()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | parse_address.cc | 179 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()
|
/third_party/boost/libs/asio/include/boost/asio/ip/ |
D | basic_endpoint.hpp | 90 port_type port_num) BOOST_ASIO_NOEXCEPT in basic_endpoint() argument 91 : impl_(internet_protocol.family(), port_num) in basic_endpoint() 99 port_type port_num) BOOST_ASIO_NOEXCEPT in basic_endpoint() argument 100 : impl_(addr, port_num) in basic_endpoint() 181 void port(port_type port_num) BOOST_ASIO_NOEXCEPT in port() argument 183 impl_.port(port_num); in port()
|
/third_party/boost/boost/asio/ip/ |
D | basic_endpoint.hpp | 90 port_type port_num) BOOST_ASIO_NOEXCEPT in basic_endpoint() argument 91 : impl_(internet_protocol.family(), port_num) in basic_endpoint() 99 port_type port_num) BOOST_ASIO_NOEXCEPT in basic_endpoint() argument 100 : impl_(addr, port_num) in basic_endpoint() 181 void port(port_type port_num) BOOST_ASIO_NOEXCEPT in port() argument 183 impl_.port(port_num); in port()
|
/third_party/grpc/test/core/iomgr/ |
D | tcp_server_posix_test.cc | 304 unsigned port_num; in test_connect() local 355 for (port_num = 0; port_num < num_ports; ++port_num) { in test_connect() 367 GPR_ASSERT(grpc_sockaddr_set_port(&dst.addr, ports[port_num])); in test_connect() 384 for (port_num = 0; port_num < num_ports; ++port_num) { in test_connect() 385 const unsigned num_fds = grpc_tcp_server_port_fd_count(s, port_num); in test_connect() 388 int fd = grpc_tcp_server_port_fd(s, port_num, fd_num); in test_connect() 397 gpr_log(GPR_INFO, "(%d, %d) fd %d family %s listening on %s", port_num, in test_connect() 405 GPR_ASSERT(result.port_index == port_num); in test_connect()
|
/third_party/boost/libs/asio/include/boost/asio/ip/detail/impl/ |
D | endpoint.ipp | 43 endpoint::endpoint(int family, unsigned short port_num) BOOST_ASIO_NOEXCEPT 51 boost::asio::detail::socket_ops::host_to_network_short(port_num); 58 boost::asio::detail::socket_ops::host_to_network_short(port_num); 73 unsigned short port_num) BOOST_ASIO_NOEXCEPT 81 boost::asio::detail::socket_ops::host_to_network_short(port_num); 90 boost::asio::detail::socket_ops::host_to_network_short(port_num); 124 void endpoint::port(unsigned short port_num) BOOST_ASIO_NOEXCEPT 129 = boost::asio::detail::socket_ops::host_to_network_short(port_num); 134 = boost::asio::detail::socket_ops::host_to_network_short(port_num);
|
/third_party/boost/boost/asio/ip/detail/impl/ |
D | endpoint.ipp | 43 endpoint::endpoint(int family, unsigned short port_num) BOOST_ASIO_NOEXCEPT 51 boost::asio::detail::socket_ops::host_to_network_short(port_num); 58 boost::asio::detail::socket_ops::host_to_network_short(port_num); 73 unsigned short port_num) BOOST_ASIO_NOEXCEPT 81 boost::asio::detail::socket_ops::host_to_network_short(port_num); 90 boost::asio::detail::socket_ops::host_to_network_short(port_num); 124 void endpoint::port(unsigned short port_num) BOOST_ASIO_NOEXCEPT 129 = boost::asio::detail::socket_ops::host_to_network_short(port_num); 134 = boost::asio::detail::socket_ops::host_to_network_short(port_num);
|
/third_party/grpc/src/core/ext/transport/chttp2/server/insecure/ |
D | server_chttp2.cc | 41 int port_num = 0; in grpc_server_add_insecure_http2_port() local 47 ModifyArgsForConnection, &port_num); in grpc_server_add_insecure_http2_port() 54 return port_num; in grpc_server_add_insecure_http2_port()
|
/third_party/grpc/src/core/ext/transport/chttp2/server/ |
D | chttp2_server.cc | 67 int* port_num); 343 int* port_num) { in Create() argument 358 error = grpc_tcp_server_add_port(listener->tcp_server_, addr, port_num); in Create() 541 int* port_num) { in Chttp2ServerAddPort() argument 546 *port_num = -1; in Chttp2ServerAddPort() 565 if (*port_num != -1 && grpc_sockaddr_get_port(&resolved->addrs[i]) == 0) { in Chttp2ServerAddPort() 566 grpc_sockaddr_set_port(&resolved->addrs[i], *port_num); in Chttp2ServerAddPort() 575 if (*port_num == -1) { in Chttp2ServerAddPort() 576 *port_num = port_temp; in Chttp2ServerAddPort() 578 GPR_ASSERT(*port_num == port_temp); in Chttp2ServerAddPort() [all …]
|
/third_party/grpc/src/core/ext/transport/chttp2/server/secure/ |
D | server_secure_chttp2.cc | 74 int port_num = 0; in grpc_server_add_secure_http2_port() local 120 ModifyArgsForConnection, &port_num); in grpc_server_add_secure_http2_port() 129 return port_num; in grpc_server_add_secure_http2_port()
|
/third_party/boost/libs/asio/include/boost/asio/ip/detail/ |
D | endpoint.hpp | 41 unsigned short port_num) BOOST_ASIO_NOEXCEPT; 45 unsigned short port_num) BOOST_ASIO_NOEXCEPT; 94 BOOST_ASIO_DECL void port(unsigned short port_num) BOOST_ASIO_NOEXCEPT;
|
/third_party/boost/boost/asio/ip/detail/ |
D | endpoint.hpp | 41 unsigned short port_num) BOOST_ASIO_NOEXCEPT; 45 unsigned short port_num) BOOST_ASIO_NOEXCEPT; 94 BOOST_ASIO_DECL void port(unsigned short port_num) BOOST_ASIO_NOEXCEPT;
|
/third_party/selinux/libsepol/src/ |
D | port_record.c | 150 void sepol_port_set_port(sepol_port_t * port, int port_num) in sepol_port_set_port() argument 153 port->low = port_num; in sepol_port_set_port() 154 port->high = port_num; in sepol_port_set_port()
|
/third_party/glib/gio/ |
D | gdbusserver.c | 839 gint port_num; in try_tcp() local 864 port_num = strtol (port, NULL, 10); in try_tcp() 881 socket_address = g_inet_socket_address_new (address, port_num); in try_tcp() 893 if (port_num == 0) in try_tcp() 895 port_num = g_inet_socket_address_get_port (G_INET_SOCKET_ADDRESS (effective_address)); in try_tcp() 952 port_num, in try_tcp() 959 server->client_address = g_strdup_printf ("tcp:host=%s,port=%d", host, port_num); in try_tcp()
|