Home
last modified time | relevance | path

Searched refs:port_idx (Results 1 – 5 of 5) sorted by relevance

/external/autotest/client/common_lib/cros/
Dpower_cycle_usb_util.py116 bus_idx, port_idx = get_port_number_from_vidpid(dut, vid, pid)
117 if port_idx is None:
119 logging.info('found device bus {} port {}'.format(bus_idx, port_idx))
122 port_id = [usb_port_manager.PortId(bus=bus_idx, port_number=port_idx)]
303 (bus_idx, port_idx) = get_all_port_number_from_vidpid(dut, vid, pid)
304 if port_idx is None:
307 for bus, port in zip(bus_idx, port_idx):
/external/iproute2/rdma/
Dlink.c260 mnl_attr_put_u32(rd->nlh, RDMA_NLDEV_ATTR_PORT_INDEX, rd->port_idx); in link_no_args()
295 rd->port_idx = port; in link_show()
312 rd->port_idx = port ? : 1; in link_show()
313 for (; rd->port_idx < dev_map->num_ports + 1; rd->port_idx++) { in link_show()
Drdma.h46 uint32_t port_idx; member
/external/selinux/libsemanage/tests/
Dtest_port.c176 static void add_local_port(int port_idx) in add_local_port() argument
181 CU_ASSERT_FATAL(port_idx != I_NULL); in add_local_port()
183 port = get_port_nth(port_idx); in add_local_port()
195 static void delete_local_port(int port_idx) in delete_local_port() argument
199 CU_ASSERT_FATAL(port_idx != I_NULL); in delete_local_port()
201 key = get_port_key_nth(port_idx); in delete_local_port()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc501 for (int port_idx = 0, idx_limit = output.size(); port_idx < idx_limit; in MaterializeShapes() local
502 ++port_idx) { in MaterializeShapes()
503 const DataType type = output[port_idx].dtype(); in MaterializeShapes()
505 const PartialTensorShape shape(input[port_idx].shape()); in MaterializeShapes()
526 if (node_name == shape_n_node->name() && port == port_idx) { in MaterializeShapes()
529 *shape_n_node, strings::StrCat("-matshapes-", port_idx)); in MaterializeShapes()
551 if (node_name == shape_n_node->name() && port != port_idx) { in MaterializeShapes()