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.py111 bus_idx, port_idx = get_port_number_from_vidpid(dut, vid, pid)
112 if port_idx is None:
114 logging.info('found device bus {} port {}'.format(bus_idx, port_idx))
117 port_id = [usb_port_manager.PortId(bus=bus_idx, port_number=port_idx)]
298 (bus_idx, port_idx) = get_all_port_number_from_vidpid(dut, vid, pid)
299 if port_idx is None:
302 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.c171 void add_local_port(int port_idx) in add_local_port() argument
176 CU_ASSERT_FATAL(port_idx != I_NULL); in add_local_port()
178 port = get_port_nth(port_idx); in add_local_port()
186 void delete_local_port(int port_idx) in delete_local_port() argument
190 CU_ASSERT_FATAL(port_idx != I_NULL); in delete_local_port()
192 key = get_port_key_nth(port_idx); in delete_local_port()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc497 for (int port_idx = 0, idx_limit = output.size(); port_idx < idx_limit; in MaterializeShapes() local
498 ++port_idx) { in MaterializeShapes()
499 const DataType type = output[port_idx].dtype(); in MaterializeShapes()
501 const PartialTensorShape shape(input[port_idx].shape()); in MaterializeShapes()
522 if (node_name == shape_n_node->name() && port == port_idx) { in MaterializeShapes()
525 *shape_n_node, strings::StrCat("-matshapes-", port_idx)); in MaterializeShapes()
547 if (node_name == shape_n_node->name() && port != port_idx) { in MaterializeShapes()