Home
last modified time | relevance | path

Searched refs:config_index (Results 1 – 16 of 16) sorted by relevance

/external/libusb/libusb/os/
Dhaiku_usb_raw.h74 uint32 config_index; member
80 uint32 config_index; member
87 uint32 config_index; member
94 uint32 config_index; member
102 uint32 config_index; member
110 uint32 config_index; member
119 uint32 config_index; member
128 uint32 config_index; member
Dhaiku_usb_backend.cpp274 int config_index = fUSBDevice->CheckInterfacesFree(config); in SetConfiguration() local
275 if(config_index == LIBUSB_ERROR_BUSY || config_index == LIBUSB_ERROR_NOT_FOUND) in SetConfiguration()
276 return config_index; in SetConfiguration()
278 command.config.config_index = config_index; in SetConfiguration()
283 fUSBDevice->SetActiveConfiguration(config_index); in SetConfiguration()
291 command.alternate.config_index = fUSBDevice->ActiveConfigurationIndex(); in SetAltSetting()
414 USBDevice::SetActiveConfiguration(int config_index) in SetActiveConfiguration() argument
416 fActiveConfiguration = config_index; in SetActiveConfiguration()
452 command.config.config_index = i; in Initialise()
474 command.alternate.config_index = i; in Initialise()
[all …]
Dhaiku_usb_raw.cpp94 haiku_get_config_descriptor(struct libusb_device *device, uint8_t config_index, unsigned char *buff… in haiku_get_config_descriptor() argument
97 const usb_configuration_descriptor *config = dev->ConfigurationDescriptor(config_index); in haiku_get_config_descriptor()
Dsunos_usb.h45 uint8_t config_index; member
Ddarwin_usb.c83 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned c…
598 int config_index; in darwin_get_active_config_descriptor() local
603 config_index = get_configuration_index (dev, priv->active_config); in darwin_get_active_config_descriptor()
604 if (config_index < 0) in darwin_get_active_config_descriptor()
605 return config_index; in darwin_get_active_config_descriptor()
607 return darwin_get_config_descriptor (dev, config_index, buffer, len, host_endian); in darwin_get_active_config_descriptor()
610 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned c… in darwin_get_config_descriptor() argument
619 kresult = (*priv->device)->GetConfigurationDescriptorPtr (priv->device, config_index, &desc); in darwin_get_config_descriptor()
Dwindows_usbdk.c393 static int usbdk_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned ch… in usbdk_get_config_descriptor() argument
399 if (config_index >= dev->num_configurations) in usbdk_get_config_descriptor()
402 config_header = (PUSB_CONFIGURATION_DESCRIPTOR)priv->config_descriptors[config_index]; in usbdk_get_config_descriptor()
Dsunos_usb.c503 if (hpriv->config_index > 0) { in sunos_check_device_and_status_open()
505 hpriv->config_index + 1); in sunos_check_device_and_status_open()
730 hpriv->config_index = config - 1; in sunos_set_configuration()
Dwince_usb.c390 uint8_t config_index, in wince_get_config_descriptor() argument
397 if (!UkwGetConfigDescriptor(priv->dev, config_index, buffer, len, &actualSize)) in wince_get_config_descriptor()
Dwindows_winusb.c1698 static int windows_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned … in windows_get_config_descriptor() argument
1705 if (config_index >= dev->num_configurations) in windows_get_config_descriptor()
1708 if ((priv->config_descriptor == NULL) || (priv->config_descriptor[config_index] == NULL)) in windows_get_config_descriptor()
1711 config_header = (PUSB_CONFIGURATION_DESCRIPTOR)priv->config_descriptor[config_index]; in windows_get_config_descriptor()
1714 memcpy(buffer, priv->config_descriptor[config_index], size); in windows_get_config_descriptor()
Dlinux_usbfs.c815 uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) in op_get_config_descriptor() argument
833 if (i == config_index) in op_get_config_descriptor()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc495 const PresizedCuckooMap<std::pair<size_t, Type>>& config_index, in FastParseSerializedExample() argument
522 if (!config_index.Find(h, &d_and_type)) continue; in FastParseSerializedExample()
883 PresizedCuckooMap<std::pair<size_t, Type>> config_index(config_size); in FastParseExample() local
887 ok &= config_index.InsertUnique(hasher(config.dense[d].feature_name), in FastParseExample()
891 ok &= config_index.InsertUnique(hasher(config.sparse[d].feature_name), in FastParseExample()
898 config_index.Clear(config_size); in FastParseExample()
968 config_index, hasher, &fixed_dense_values, in FastParseExample()
1145 PresizedCuckooMap<std::pair<size_t, Type>> config_index(config_size); in FastParseSingleExample() local
1149 ok &= config_index.InsertUnique(hasher(config.dense[d].feature_name), in FastParseSingleExample()
1153 ok &= config_index.InsertUnique(hasher(config.sparse[d].feature_name), in FastParseSingleExample()
[all …]
/external/libusb/libusb/
Ddescriptor.c616 uint8_t config_index, struct libusb_config_descriptor **config) in libusb_get_config_descriptor() argument
624 usbi_dbg("index %d", config_index); in libusb_get_config_descriptor()
625 if (config_index >= dev->num_configurations) in libusb_get_config_descriptor()
628 r = usbi_backend->get_config_descriptor(dev, config_index, tmp, in libusb_get_config_descriptor()
643 r = usbi_backend->get_config_descriptor(dev, config_index, buf, in libusb_get_config_descriptor()
Dlibusbi.h794 uint8_t config_index, unsigned char *buffer, size_t len,
Dlibusb.h1329 uint8_t config_index, struct libusb_config_descriptor **config);
/external/libusb/include/libusb/
Dlibusbi.h794 uint8_t config_index, unsigned char *buffer, size_t len,
Dlibusb.h1329 uint8_t config_index, struct libusb_config_descriptor **config);