Searched refs:num_configurations (Results 1 – 5 of 5) sorted by relevance
348 for (uint8 i = 0; i < fDeviceDescriptor.num_configurations; i++) { in ~USBDevice()375 return fDeviceDescriptor.num_configurations; in CountConfigurations()462 …fConfigurationDescriptors = new(std::nothrow) unsigned char *[fDeviceDescriptor.num_configurations… in Initialise()463 fEndpointToIndex = new(std::nothrow) map<uint8,uint8> [fDeviceDescriptor.num_configurations]; in Initialise()464 fEndpointToInterface = new(std::nothrow) map<uint8,uint8> [fDeviceDescriptor.num_configurations]; in Initialise()465 for (uint8 i = 0; i < fDeviceDescriptor.num_configurations; i++) { in Initialise()
691 uint8_t i, num_configurations; in cache_config_descriptors() local697 num_configurations = dev->device_descriptor.bNumConfigurations; in cache_config_descriptors()698 if (num_configurations == 0) in cache_config_descriptors()703 priv->config_descriptor = calloc(num_configurations, sizeof(PUSB_CONFIGURATION_DESCRIPTOR)); in cache_config_descriptors()709 for (i = 0; i <= num_configurations; i++) { in cache_config_descriptors()712 if (i == num_configurations) in cache_config_descriptors()
765 uint8_t num_configurations; in usbi_sanitize_device() local773 num_configurations = dev->device_descriptor.bNumConfigurations; in usbi_sanitize_device()774 if (num_configurations > USB_MAXCONFIG) { in usbi_sanitize_device()777 } else if (0 == num_configurations) { in usbi_sanitize_device()
2964 num_configurations = len(spec['configurations'])2991 if len(conditions) == num_configurations:
3266 num_configurations = len(spec["configurations"])3301 if len(conditions) == num_configurations: