Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dhaiku_usb_raw.h75 uint32 config_index; member
81 uint32 config_index; member
88 uint32 config_index; member
95 uint32 config_index; member
102 uint32 config_index; member
110 uint32 config_index; member
118 uint32 config_index; member
127 uint32 config_index; member
136 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((uint8)config_index); in SetConfiguration()
291 command.alternate.config_index = fUSBDevice->ActiveConfigurationIndex(); in SetAltSetting()
431 USBDevice::SetActiveConfiguration(uint8 config_index) in SetActiveConfiguration() argument
433 fActiveConfiguration = config_index; in SetActiveConfiguration()
468 command.config.config_index = i; in Initialise()
480 command.config_etc.config_index = i; in Initialise()
[all …]
Dhaiku_usb_raw.cpp86 haiku_get_config_descriptor(struct libusb_device *device, uint8_t config_index, void *buffer, size_… in haiku_get_config_descriptor() argument
89 const usb_configuration_descriptor *config = dev->ConfigurationDescriptor(config_index); in haiku_get_config_descriptor()
Dsunos_usb.h44 uint8_t config_index; member
Ddarwin_usb.c77 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, void *buff…
690 int config_index; in darwin_get_active_config_descriptor() local
695 config_index = get_configuration_index (dev, priv->active_config); in darwin_get_active_config_descriptor()
696 if (config_index < 0) in darwin_get_active_config_descriptor()
697 return config_index; in darwin_get_active_config_descriptor()
699 assert(config_index >= 0 && config_index <= UINT8_MAX); in darwin_get_active_config_descriptor()
700 return darwin_get_config_descriptor (dev, (UInt8)config_index, buffer, len); in darwin_get_active_config_descriptor()
703 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, void *buff… in darwin_get_config_descriptor() argument
712 kresult = (*priv->device)->GetConfigurationDescriptorPtr (priv->device, config_index, &desc); in darwin_get_config_descriptor()
Dwindows_common.c634 uint8_t config_index, void *buffer, size_t len) in windows_get_config_descriptor() argument
637 return priv->backend->get_config_descriptor(dev, config_index, buffer, len); in windows_get_config_descriptor()
Dwindows_common.h309 uint8_t config_index, void *buffer, size_t len);
Dwindows_usbdk.c363 static int usbdk_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, void *buffe… in usbdk_get_config_descriptor() argument
369 config_header = (PUSB_CONFIGURATION_DESCRIPTOR)priv->config_descriptors[config_index]; in usbdk_get_config_descriptor()
Dsunos_usb.c859 if (hpriv->config_index > 0) { in sunos_check_device_and_status_open()
861 hpriv->config_index + 1); in sunos_check_device_and_status_open()
1085 hpriv->config_index = config - 1; in sunos_set_configuration()
Dlinux_usbfs.c815 uint8_t config_index, void *buffer, size_t len) in op_get_config_descriptor() argument
820 if (config_index >= dev->device_descriptor.bNumConfigurations) in op_get_config_descriptor()
823 config = &priv->config_descriptors[config_index]; in op_get_config_descriptor()
Dwindows_winusb.c1794 static int winusb_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, void *buff… in winusb_get_config_descriptor() argument
1799 if ((priv->config_descriptor == NULL) || (priv->config_descriptor[config_index] == NULL)) in winusb_get_config_descriptor()
1802 config_header = priv->config_descriptor[config_index]; in winusb_get_config_descriptor()
/external/openscreen/cast/streaming/
Dsender_session.h131 int config_index);
135 int config_index);
Dsender_session.cc241 int config_index) { in SpawnAudioSender() argument
243 current_negotiation_->audio_configs[config_index]; in SpawnAudioSender()
259 int config_index) { in SpawnVideoSender() argument
261 current_negotiation_->video_configs[config_index]; in SpawnVideoSender()
/external/tensorflow/tensorflow/lite/kernels/parse_example/
Dparse_example.cc121 const std::unique_ptr<ConfigIndex>& config_index, int config_index_size, in FastParseSerializedExample() argument
148 if (!config_index->Find(h, &d_and_type)) { in FastParseSerializedExample()
456 int quick_filter_size, const std::unique_ptr<ConfigIndex>& config_index, in FastParseExampleLite() argument
471 quick_filter, quick_filter_size, config_index, config_index_size, in FastParseExampleLite()
657 std::unique_ptr<ConfigIndex> config_index; member
909 auto config_index = std::make_unique<ConfigIndex>(config_size); in EvalParseExample() local
938 ok &= config_index->InsertUnique( in EvalParseExample()
942 ok &= config_index->InsertUnique( in EvalParseExample()
950 config_index->Clear(config_size); in EvalParseExample()
956 data->config_index = std::move(config_index); in EvalParseExample()
[all …]
/external/libusb/libusb/
Ddescriptor.c597 uint8_t config_index, struct libusb_config_descriptor **config) in libusb_get_config_descriptor() argument
604 usbi_dbg("index %u", config_index); in libusb_get_config_descriptor()
605 if (config_index >= dev->device_descriptor.bNumConfigurations) in libusb_get_config_descriptor()
608 r = get_config_descriptor(dev, config_index, _config.buf, sizeof(_config.buf)); in libusb_get_config_descriptor()
617 r = get_config_descriptor(dev, config_index, buf, config_len); in libusb_get_config_descriptor()
Dlibusbi.h998 uint8_t config_index, void *buffer, size_t len);
Dlibusb.h1374 uint8_t config_index, struct libusb_config_descriptor **config);
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc574 const PresizedCuckooMap<std::pair<size_t, Type>>& config_index, in FastParseSerializedExample() argument
613 if (!config_index.Find(h, &d_and_type)) continue; in FastParseSerializedExample()
1130 PresizedCuckooMap<std::pair<size_t, Type>> config_index(config_size); in FastParseExample() local
1134 ok &= config_index.InsertUnique(hasher(config.dense[d].feature_name), in FastParseExample()
1138 ok &= config_index.InsertUnique(hasher(config.sparse[d].feature_name), in FastParseExample()
1142 ok &= config_index.InsertUnique(hasher(config.ragged[d].feature_name), in FastParseExample()
1149 config_index.Clear(config_size); in FastParseExample()
1226 config_index, hasher, &fixed_dense_values, in FastParseExample()
1445 PresizedCuckooMap<std::pair<size_t, Type>> config_index(config_size); in FastParseSingleExample() local
1449 ok &= config_index.InsertUnique(hasher(config.dense[d].feature_name), in FastParseSingleExample()
[all …]
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_encoder.cc913 const size_t config_index = vpx_configs_.size() - 1 - stream_index; in UpdateVpxConfiguration() local
915 RTC_DCHECK_LT(config_index, config_overrides_.size()); in UpdateVpxConfiguration()
916 Vp8EncoderConfig* config = &config_overrides_[config_index]; in UpdateVpxConfiguration()
929 RTC_DCHECK_LT(config_index, vpx_configs_.size()); in UpdateVpxConfiguration()
930 vpx_codec_enc_cfg_t* vpx_config = &vpx_configs_[config_index]; in UpdateVpxConfiguration()
/external/libusb/include/libusb/
Dlibusbi.h998 uint8_t config_index, void *buffer, size_t len);
Dlibusb.h1374 uint8_t config_index, struct libusb_config_descriptor **config);