/external/tensorflow/tensorflow/core/grappler/ |
D | graph_view.cc | 32 string fanin_name = ParseNodeName(node.input(i), &fanin.port_id); in GraphView() 37 if (fanin.port_id < 0) { in GraphView() 38 input.port_id = -1; in GraphView() 40 input.port_id = i; in GraphView() 42 std::max(num_regular_outputs_[fanin.node], fanin.port_id); in GraphView() 59 int port_id) const { in GetInputPort() 63 result.port_id = port_id; in GetInputPort() 68 int port_id) const { in GetOutputPort() 72 result.port_id = port_id; in GetOutputPort() 88 if (port.port_id >= 0) { in GetFanin() [all …]
|
D | graph_view_test.cc | 37 EXPECT_EQ(0, input.port_id); in TEST_F() 40 EXPECT_EQ(0, fanin.port_id); in TEST_F() 44 EXPECT_EQ(1, input.port_id); in TEST_F() 47 EXPECT_EQ(0, fanin.port_id); in TEST_F() 51 EXPECT_EQ(0, output.port_id); in TEST_F() 55 EXPECT_EQ(0, fanout.port_id); in TEST_F() 67 strings::StrCat(fo.node->name(), ":", fo.port_id, " ")); in TEST_F() 74 strings::StrCat(fi.node->name(), ":", fi.port_id, " ")); in TEST_F() 92 EXPECT_EQ(-1, output.port_id); in TEST_F() 96 EXPECT_EQ(-1, (*fanout.begin()).port_id); in TEST_F() [all …]
|
D | graph_view.h | 33 int port_id = -1; member 36 return node == other.node && port_id == other.port_id; 44 return reinterpret_cast<std::size_t>(port.node) + port.port_id; in operator() 54 InputPort GetInputPort(const string& node_name, int port_id) const; 58 OutputPort GetOutputPort(const string& node_name, int port_id) const;
|
/external/autotest/client/cros/chameleon/ |
D | chameleon.py | 383 def __init__(self, chameleond_proxy, port_id): argument 390 self.port_id = port_id 398 return self.port_id 406 return self.chameleond_proxy.GetConnectorType(self.port_id) 414 return self.chameleond_proxy.HasAudioSupport(self.port_id) 422 return self.chameleond_proxy.HasVideoSupport(self.port_id) 427 logging.info('Plug Chameleon port %d', self.port_id) 428 self.chameleond_proxy.Plug(self.port_id) 433 logging.info('Unplug Chameleon port %d', self.port_id) 434 self.chameleond_proxy.Unplug(self.port_id) [all …]
|
D | chameleon_audio_ids.py | 145 def get_host(port_id): argument 156 host = port_id.split()[0] 158 raise ValueError('Not a valid port id: %r' % port_id) 162 def get_interface(port_id): argument 174 return port_id.split(' ', 1)[1] 176 raise ValueError('Not a valid port id: %r' % port_id) 179 def get_role(port_id): argument 190 if port_id in SOURCE_PORTS: 192 if port_id in SINK_PORTS: 194 if port_id in SOURCE_PORTS and port_id in SINK_PORTS: [all …]
|
D | chameleon_audio_helper.py | 36 def __init__(self, port_id): argument 42 logging.debug('Creating AudioPort with port_id: %s', port_id) 43 self.port_id = port_id 44 self.host = ids.get_host(port_id) 45 self.interface = ids.get_interface(port_id) 46 self.role = ids.get_role(port_id) 155 link_type = self.LINK_TABLE.get((source.port_id, sink.port_id), None) 159 source.port_id, sink.port_id)) 253 def create_widget(self, port_id, use_arc=False): argument 274 if audio_port.port_id == ids.ChameleonIds.HDMI: [all …]
|
D | audio_board.py | 120 def _get_endpoint_name(self, port_id): argument 129 return self._PORT_ID_AUDIO_BUS_ENDPOINT_MAP[port_id] 158 def connect(self, port_id): argument 165 endpoint = self._get_endpoint_name(port_id) 169 def disconnect(self, port_id): argument 176 endpoint = self._get_endpoint_name(port_id)
|
D | audio_widget_link.py | 135 def _check_widget_id(self, port_id, widget): argument 143 if widget.audio_port.port_id != port_id: 146 self.name, port_id, widget.audio_port.port_id)) 207 self._audio_bus.connect(widget.audio_port.port_id) 223 self._audio_bus.disconnect(widget.audio_port.port_id) 239 self._audio_bus.connect(widget.audio_port.port_id) 255 self._audio_bus.disconnect(widget.audio_port.port_id)
|
D | audio_test_utils.py | 39 def cros_port_id_to_cras_node_type(port_id): argument 47 return CHAMELEON_AUDIO_IDS_TO_CRAS_NODE_TYPES[port_id] 50 def check_output_port(audio_facade, port_id): argument 56 output_node_type = cros_port_id_to_cras_node_type(port_id) 60 def check_input_port(audio_facade, port_id): argument 66 input_node_type = cros_port_id_to_cras_node_type(port_id)
|
D | audio_level.py | 88 source_level = _SOURCE_LEVEL_TABLE[self._source.port_id] 89 sink_level = _SINK_LEVEL_TABLE[self._sink.port_id]
|
D | audio_widget.py | 47 def port_id(self): member in AudioWidget 53 return self.audio_port.port_id 179 if self.port_id in [ids.ChameleonIds.MIC, ids.CrosIds.INTERNAL_MIC]:
|
D | usb_controller.py | 42 def set_capture_configs(self, port_id, capture_data_foramt): argument
|
/external/syslinux/gpxe/src/net/infiniband/ |
D | ib_srp.c | 167 struct ib_srp_initiator_port_id *port_id = in ib_srp_parse_initiator_id_ext() local 170 return ib_srp_parse_byte_string ( rp_comp, port_id->id_ext.u.bytes, in ib_srp_parse_initiator_id_ext() 171 ( sizeof ( port_id->id_ext ) | in ib_srp_parse_initiator_id_ext() 184 struct ib_srp_initiator_port_id *port_id = in ib_srp_parse_initiator_hca_guid() local 188 memcpy ( &port_id->hca_guid, &rp->ib->sgid.u.half[1], in ib_srp_parse_initiator_hca_guid() 189 sizeof ( port_id->hca_guid ) ); in ib_srp_parse_initiator_hca_guid() 191 return ib_srp_parse_byte_string ( rp_comp, port_id->hca_guid.u.bytes, in ib_srp_parse_initiator_hca_guid() 192 ( sizeof ( port_id->hca_guid ) | in ib_srp_parse_initiator_hca_guid() 262 struct ib_srp_target_port_id *port_id = in ib_srp_parse_target_id_ext() local 265 return ib_srp_parse_byte_string ( rp_comp, port_id->id_ext.u.bytes, in ib_srp_parse_target_id_ext() [all …]
|
/external/autotest/client/common_lib/cros/cfm/usb/ |
D | usb_port_manager.py | 25 def _get_gpio_index(board, port_id): argument 26 return _PORT_ID_TO_GPIO_INDEX_DICT[board][port_id] 51 for port_id in port_ids: 52 gpio_index = _get_gpio_index(self._get_board(), port_id)
|
/external/kernel-headers/original/uapi/scsi/ |
D | scsi_bsg_fc.h | 87 uint8_t port_id[3]; member 108 uint8_t port_id[3]; member 132 uint8_t port_id[3]; member 195 uint8_t port_id[3]; member
|
/external/iproute2/tipc/ |
D | nametable.c | 29 char port_id[PORTID_STR_LEN]; in nametable_show_cb() local 54 snprintf(port_id, sizeof(port_id), "<%u.%u.%u:%u>", in nametable_show_cb() 64 port_id, in nametable_show_cb()
|
/external/tcpdump/ |
D | print-stp.c | 37 uint8_t port_id[2]; member 109 ND_TCHECK(stp_bpdu->port_id); in stp_print_config_bpdu() 112 EXTRACT_16BITS(&stp_bpdu->port_id), length)); in stp_print_config_bpdu() 273 ND_TCHECK(stp_bpdu->port_id); in stp_print_mstp_bpdu() 274 ND_PRINT((ndo, "CIST port-id %04x,", EXTRACT_16BITS(&stp_bpdu->port_id))); in stp_print_mstp_bpdu()
|
/external/autotest/server/site_tests/audio_AudioBasicBluetoothPlaybackRecord/ |
D | audio_AudioBasicBluetoothPlaybackRecord.py | 304 source_id=playback_source.port_id, 305 recorder_id=playback_recorder.port_id, 308 source_id=record_source.port_id, 309 recorder_id=record_recorder.port_id,
|
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
D | testlib.c | 51 XvPortID *port_id, in GetPort() argument 94 *port_id = adaptor_info[i].base_id + l; in GetPort()
|
D | testlib.h | 59 XvPortID *port_id,
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 372 int port_id; in wpa_ctrl_open() local 391 port_id = atoi(&port[1]); in wpa_ctrl_open() 394 port_id = WPA_CTRL_IFACE_PORT; in wpa_ctrl_open() 417 ctrl->dest.sin6_port = htons(port_id); in wpa_ctrl_open() 420 ctrl->dest.sin_port = htons(port_id); in wpa_ctrl_open()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | memory_optimizer.cc | 508 strings::StrCat(input.node->name(), ":", input.port_id); in SchedulingPass() 862 if (!OutputTypeForNode(node, *op_def, output.port_id, &dtype).ok()) { in IsSwappable() 877 input.port_id = 0; in IsSwappable() 893 swap.port_id = input_id; in FindSwapOutTrigger() 927 if (!InputTypeForNode(node, *op_def, input.port_id, &dtype).ok()) { in IsSwappable() 1051 strings::StrCat(input.node->name(), ":", input.port_id); in IdentifySwappingCandidates() 1086 << fanout_to_swap.port_id << " of tensor " in IdentifySwappingCandidates() 1087 << mem_info.port.node->name() << ":" << mem_info.port.port_id in IdentifySwappingCandidates() 1091 fanout_to_swap.port_id); in IdentifySwappingCandidates()
|
/external/tensorflow/tensorflow/core/grappler/costs/ |
D | graph_properties.cc | 410 int port_id; member 412 return node == other.node && port_id == other.port_id; in operator ==() 417 return std::hash<const Node*>{}(shp.node) + shp.port_id; in operator ()() 423 int port_id; member 426 return node == other.node && port_id == other.port_id && in operator ==() 433 return std::hash<const Node*>{}(dim.node) + dim.port_id + dim.dim_index; in operator ()()
|
D | graph_memory.cc | 205 for (int port_id : val.list().i()) { in InferFromTrace() local 206 swapped_inputs.insert(port_id); in InferFromTrace()
|
/external/autotest/server/site_tests/audio_AudioBasicBluetoothRecord/ |
D | audio_AudioBasicBluetoothRecord.py | 131 source_id=source.port_id, recorder_id=recorder.port_id, is_hsp=True)
|