Home
last modified time | relevance | path

Searched refs:port_index (Results 1 – 25 of 33) sorted by relevance

12

/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_server_posix.cc242 acceptor->port_index = sp->port_index; in on_read()
268 unsigned port_index, in add_wildcard_addrs_to_server() argument
282 return grpc_tcp_server_add_all_local_addrs(s, port_index, requested_port, in add_wildcard_addrs_to_server()
288 if ((v6_err = grpc_tcp_server_add_addr(s, &wild6, port_index, fd_index, in add_wildcard_addrs_to_server()
298 if ((v4_err = grpc_tcp_server_add_addr(s, &wild4, port_index, fd_index, in add_wildcard_addrs_to_server()
368 sp->port_index = listener->port_index; in clone_port()
388 unsigned port_index = 0; in tcp_server_add_port() local
393 port_index = s->tail->port_index + 1; in tcp_server_add_port()
419 return add_wildcard_addrs_to_server(s, port_index, requested_port, in tcp_server_add_port()
425 if ((err = grpc_tcp_server_add_addr(s, addr, port_index, 0, &dsmode, &sp)) == in tcp_server_add_port()
[all …]
Dtcp_server.h38 unsigned port_index; member
57 unsigned (*port_fd_count)(grpc_tcp_server* s, unsigned port_index);
58 int (*port_fd)(grpc_tcp_server* s, unsigned port_index, unsigned fd_index);
93 unsigned grpc_tcp_server_port_fd_count(grpc_tcp_server* s, unsigned port_index);
99 int grpc_tcp_server_port_fd(grpc_tcp_server* s, unsigned port_index,
Dtcp_server.cc45 unsigned port_index) { in grpc_tcp_server_port_fd_count() argument
46 return grpc_tcp_server_impl->port_fd_count(s, port_index); in grpc_tcp_server_port_fd_count()
49 int grpc_tcp_server_port_fd(grpc_tcp_server* s, unsigned port_index, in grpc_tcp_server_port_fd() argument
51 return grpc_tcp_server_impl->port_fd(s, port_index, fd_index); in grpc_tcp_server_port_fd()
Dtcp_server_custom.cc44 unsigned port_index; member
234 acceptor->port_index = sp->port_index; in finish_accept()
273 unsigned port_index, in add_socket_to_server() argument
314 sp->port_index = port_index; in add_socket_to_server()
332 unsigned port_index = 0; in tcp_server_add_port() local
339 port_index = s->tail->port_index + 1; in tcp_server_add_port()
396 error = add_socket_to_server(s, socket, addr, port_index, &sp); in tcp_server_add_port()
441 unsigned port_index) { in tcp_server_port_fd_count() argument
445 static int tcp_server_port_fd(grpc_tcp_server* s, unsigned port_index, in tcp_server_port_fd() argument
Dtcp_server_windows.cc60 unsigned port_index; member
373 acceptor->port_index = sp->port_index; in on_accept()
390 unsigned port_index, in add_socket_to_server() argument
437 sp->port_index = port_index; in add_socket_to_server()
455 unsigned port_index = 0; in tcp_server_add_port() local
459 port_index = s->tail->port_index + 1; in tcp_server_add_port()
502 error = add_socket_to_server(s, sock, addr, port_index, &sp); in tcp_server_add_port()
539 unsigned port_index) { in tcp_server_port_fd_count() argument
543 static int tcp_server_port_fd(grpc_tcp_server* s, unsigned port_index, in tcp_server_port_fd() argument
Dtcp_server_utils_posix.h36 unsigned port_index; member
101 unsigned port_index, unsigned fd_index,
111 unsigned port_index,
Dtcp_server_utils_posix_common.cc82 unsigned port_index, unsigned fd_index, in add_socket_to_server() argument
111 sp->port_index = port_index; in add_socket_to_server()
129 unsigned port_index, unsigned fd_index, in grpc_tcp_server_add_addr() argument
143 return add_socket_to_server(s, fd, addr, port_index, fd_index, listener); in grpc_tcp_server_add_addr()
Dtcp_server_utils_posix_ifaddrs.cc90 unsigned port_index, in grpc_tcp_server_add_all_local_addrs() argument
148 if ((err = grpc_tcp_server_add_addr(s, &addr, port_index, fd_index, &dsmode, in grpc_tcp_server_add_all_local_addrs()
Dtcp_server_utils_posix_noifaddrs.cc28 unsigned port_index, in grpc_tcp_server_add_all_local_addrs() argument
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtcp_server_posix.cc261 acceptor->port_index = sp->port_index; in on_read()
285 unsigned port_index, in add_wildcard_addrs_to_server() argument
299 return grpc_tcp_server_add_all_local_addrs(s, port_index, requested_port, in add_wildcard_addrs_to_server()
305 if ((v6_err = grpc_tcp_server_add_addr(s, &wild6, port_index, fd_index, in add_wildcard_addrs_to_server()
315 if ((v4_err = grpc_tcp_server_add_addr(s, &wild4, port_index, fd_index, in add_wildcard_addrs_to_server()
387 sp->port_index = listener->port_index; in clone_port()
405 unsigned port_index = 0; in tcp_server_add_port() local
410 port_index = s->tail->port_index + 1; in tcp_server_add_port()
436 return add_wildcard_addrs_to_server(s, port_index, requested_port, in tcp_server_add_port()
442 if ((err = grpc_tcp_server_add_addr(s, addr, port_index, 0, &dsmode, &sp)) == in tcp_server_add_port()
[all …]
Dtcp_server.h41 unsigned port_index; member
75 unsigned (*port_fd_count)(grpc_tcp_server* s, unsigned port_index);
76 int (*port_fd)(grpc_tcp_server* s, unsigned port_index, unsigned fd_index);
116 unsigned grpc_tcp_server_port_fd_count(grpc_tcp_server* s, unsigned port_index);
122 int grpc_tcp_server_port_fd(grpc_tcp_server* s, unsigned port_index,
Dtcp_server.cc49 unsigned port_index) { in grpc_tcp_server_port_fd_count() argument
50 return grpc_tcp_server_impl->port_fd_count(s, port_index); in grpc_tcp_server_port_fd_count()
53 int grpc_tcp_server_port_fd(grpc_tcp_server* s, unsigned port_index, in grpc_tcp_server_port_fd() argument
55 return grpc_tcp_server_impl->port_fd(s, port_index, fd_index); in grpc_tcp_server_port_fd()
Dtcp_server_windows.cc65 unsigned port_index; member
375 acceptor->port_index = sp->port_index; in on_accept()
393 unsigned port_index, in add_socket_to_server() argument
440 sp->port_index = port_index; in add_socket_to_server()
458 unsigned port_index = 0; in tcp_server_add_port() local
462 port_index = s->tail->port_index + 1; in tcp_server_add_port()
505 error = add_socket_to_server(s, sock, addr, port_index, &sp); in tcp_server_add_port()
542 unsigned port_index) { in tcp_server_port_fd_count() argument
546 static int tcp_server_port_fd(grpc_tcp_server* s, unsigned port_index, in tcp_server_port_fd() argument
Dtcp_server_custom.cc47 unsigned port_index; member
241 acceptor->port_index = sp->port_index; in finish_accept()
281 unsigned port_index, in add_socket_to_server() argument
330 sp->port_index = port_index; in add_socket_to_server()
348 unsigned port_index = 0; in tcp_server_add_port() local
355 port_index = s->tail->port_index + 1; in tcp_server_add_port()
408 error = add_socket_to_server(s, socket, addr, port_index, &sp); in tcp_server_add_port()
Dtcp_server_utils_posix.h36 unsigned port_index; member
103 unsigned port_index, unsigned fd_index,
113 unsigned port_index,
Dtcp_server_utils_posix_common.cc85 unsigned port_index, unsigned fd_index, in add_socket_to_server() argument
112 sp->port_index = port_index; in add_socket_to_server()
128 unsigned port_index, unsigned fd_index, in grpc_tcp_server_add_addr() argument
142 return add_socket_to_server(s, fd, addr, port_index, fd_index, listener); in grpc_tcp_server_add_addr()
Dtcp_server_utils_posix_ifaddrs.cc93 unsigned port_index, in grpc_tcp_server_add_all_local_addrs() argument
147 if ((err = grpc_tcp_server_add_addr(s, &addr, port_index, fd_index, &dsmode, in grpc_tcp_server_add_all_local_addrs()
Dtcp_server_utils_posix_noifaddrs.cc28 unsigned port_index, in grpc_tcp_server_add_all_local_addrs() argument
Dudp_server.h81 int grpc_udp_server_get_fd(grpc_udp_server* s, unsigned port_index);
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view.h48 FaninView(GraphView* graph_view, int node_index, int port_index) in FaninView() argument
49 : NodeIndexAndPortIndex(graph_view, node_index, port_index) {} in FaninView()
65 FanoutView(GraphView* graph_view, int node_index, int port_index) in FanoutView() argument
66 : NodeIndexAndPortIndex(graph_view, node_index, port_index) {} in FanoutView()
143 MutableFaninView(MutableGraphView* graph_view, int node_index, int port_index) in MutableFaninView() argument
144 : NodeIndexAndPortIndex(graph_view, node_index, port_index) {} in MutableFaninView()
147 int port_index, int fanin_index) in MutableFaninView() argument
148 : NodeIndexAndPortIndex(graph_view, node_index, port_index), in MutableFaninView()
151 DCHECK(port_index < 0 || port_index == fanin_index); in MutableFaninView()
179 int port_index) in MutableFanoutView() argument
[all …]
/external/grpc-grpc/test/core/iomgr/
Dtcp_server_uv_test.cc51 unsigned port_index; member
66 result->port_index = 0; in on_connect_result_init()
73 result->port_index = acceptor->port_index; in on_connect_result_set()
257 GPR_ASSERT(result.port_index == 0); in test_connect()
267 GPR_ASSERT(result.port_index == 1); in test_connect()
Dtcp_server_posix_test.cc57 unsigned port_index; member
99 result->port_index = 0; in on_connect_result_init()
107 result->port_index = acceptor->port_index; in on_connect_result_set()
110 result->server, acceptor->port_index, acceptor->fd_index); in on_connect_result_set()
273 gpr_log(GPR_INFO, "Result (%d, %d) fd %d", result->port_index, in tcp_connect()
403 GPR_ASSERT(result.port_index == port_num); in test_connect()
407 grpc_tcp_server_port_fd(s, result.port_index, result.fd_index) == in test_connect()
/external/iproute2/devlink/
Ddevlink.c128 uint32_t port_index; member
134 uint32_t port_index, in ifname_map_alloc() argument
144 ifname_map->port_index = port_index; in ifname_map_alloc()
186 uint32_t port_index; member
218 uint32_t port_index; member
427 *p_port_index = ifname_map->port_index; in ifname_map_lookup()
435 const char *dev_name, uint32_t port_index, in ifname_map_rev_lookup() argument
443 port_index == ifname_map->port_index) { in ifname_map_rev_lookup()
794 &opts->port_index, &handle_bit); in dl_argv_parse()
805 &opts->port_index); in dl_argv_parse()
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_in_netns.sh19 local port_index=$1
22 ".[][\"$DL_HANDLE/$port_index\"].netdev" "-e"
/external/libchrome/mojo/core/
Duser_message_impl.cc210 size_t port_index = original_num_ports; in CreateOrExtendSerializedEventMessage() local
229 event->ports() + port_index, in CreateOrExtendSerializedEventMessage()
236 port_index += info.num_ports; in CreateOrExtendSerializedEventMessage()
585 size_t port_index = 0; in ExtractSerializedHandles() local
605 base::CheckedNumeric<size_t> next_port_index = port_index; in ExtractSerializedHandles()
625 message_event_->ports() + port_index, dh.num_ports, out_handles, in ExtractSerializedHandles()
634 port_index = next_port_index.ValueOrDie(); in ExtractSerializedHandles()

12