Searched refs:descriptorHeader (Results 1 – 1 of 1) sorted by relevance
152 if (descriptorHeader.bLength > (length - cursor)) { in ParseConfigDescriptors()156 switch (descriptorHeader.bDescriptorType) { in ParseConfigDescriptors()158 if (descriptorHeader.bLength != sizeof(UsbdConfigDescriptor)) { in ParseConfigDescriptors()172 if (descriptorHeader.bLength != NORMAL_ENDPOINT_DESCRIPTOR in ParseConfigDescriptors()186 cursor += descriptorHeader.bLength; in ParseConfigDescriptors()262 if (descriptorHeader.bLength > length) { in ParseInterfaceDescriptor()269 cursor += descriptorHeader.bLength; in ParseInterfaceDescriptor()271 descriptorHeader.bLength); in ParseInterfaceDescriptor()317 if (descriptorHeader.bLength > length) { in ParseEndpointDescriptor()324 cursor += descriptorHeader.bLength; in ParseEndpointDescriptor()[all …]