Home
last modified time | relevance | path

Searched refs:bLength (Results 1 – 25 of 44) sorted by relevance

12

/external/libusb/libusb/
Ddescriptor.c103 } else if (header->bLength < LIBUSB_DT_ENDPOINT_SIZE) { in parse_endpoint()
104 usbi_err(ctx, "invalid endpoint bLength (%u)", header->bLength); in parse_endpoint()
106 } else if (header->bLength > size) { in parse_endpoint()
108 size, header->bLength); in parse_endpoint()
112 if (header->bLength >= LIBUSB_DT_ENDPOINT_AUDIO_SIZE) in parse_endpoint()
117 buffer += header->bLength; in parse_endpoint()
118 size -= header->bLength; in parse_endpoint()
119 parsed += header->bLength; in parse_endpoint()
126 if (header->bLength < DESC_HEADER_LENGTH) { in parse_endpoint()
128 header->bLength); in parse_endpoint()
[all …]
Dlibusb.h536 uint8_t bLength; member
590 uint8_t bLength; member
638 uint8_t bLength; member
701 uint8_t bLength; member
749 uint8_t bLength; member
778 uint8_t bLength; member
799 uint8_t bLength; member
824 uint8_t bLength; member
850 uint8_t bLength; member
892 uint8_t bLength; member
Dlibusbi.h634 uint8_t bLength; member
639 uint8_t bLength; member
656 uint8_t bLength; member
667 uint8_t bLength; member
679 uint8_t bLength; member
685 uint8_t bLength; member
/external/kernel-headers/original/uapi/linux/usb/
Dch9.h281 __u8 bLength; member
290 __u8 bLength; member
350 __u8 bLength; member
376 __u8 bLength; member
390 __u8 bLength; member
408 __u8 bLength; member
678 __u8 bLength; member
690 __u8 bLength; member
728 __u8 bLength; member
745 __u8 bLength; member
[all …]
Dvideo.h188 __u8 bLength; member
195 __u8 bLength; member
212 __u8 bLength; \
224 __u8 bLength; member
237 __u8 bLength; member
251 __u8 bLength; member
269 __u8 bLength; member
285 __u8 bLength; \
296 __u8 bLength; member
312 __u8 bLength; member
[all …]
Daudio.h157 __u8 bLength; /* 8 + n */ member
171 __u8 bLength; \
182 __u8 bLength; /* in bytes: 12 */ member
211 __u8 bLength; /* in bytes: 9 */ member
247 __u8 bLength; \
259 __u8 bLength; member
317 return raw[desc->bLength - 1]; in uac_mixer_unit_iMixer()
322 __u8 bLength; member
333 return raw[desc->bLength - 1]; in uac_selector_unit_iSelector()
338 __u8 bLength; member
[all …]
Dcdc.h64 __u8 bLength; member
73 __u8 bLength; member
86 __u8 bLength; member
102 __u8 bLength; member
113 __u8 bLength; member
124 __u8 bLength; member
136 __u8 bLength; member
158 __u8 bLength; member
168 __u8 bLength; member
179 __u8 bLength; member
[all …]
Dmidi.h39 __u8 bLength; member
50 __u8 bLength; member
67 __u8 bLength; member
82 __u8 bLength; \
94 __u8 bLength; /* 4+n */ member
106 __u8 bLength; \
Dfunctionfs.h31 __u8 bLength; member
/external/autotest/client/cros/cellular/mbim_compliance/
Dusb_descriptors_unittest.py52 self.assertEqual(2, descriptor.bLength)
120 self.assertEqual(3, descriptor.bLength)
135 self.assertEqual(2, descriptor.bLength)
151 self.assertEqual(3, descriptor.bLength)
182 self.assertEquals(9, descriptor.bLength)
197 self.assertEquals(8, descriptor.bLength)
212 self.assertEquals(9, descriptor.bLength)
229 self.assertEquals(5, descriptor.bLength)
240 self.assertEquals(12, descriptor.bLength)
257 self.assertEquals(8, descriptor.bLength)
[all …]
Dusb_descriptors.py154 if data_length != obj.bLength:
157 (data_length, obj.bLength))
487 if (endpoint.bLength == 7 and
491 elif (endpoint.bLength == 7 and
/external/autotest/client/cros/cellular/mbim_compliance/tests/
Ddes_02.py87 header_descriptor.bLength == 5 and
165 if not(union_descriptor.bLength == 5 and
185 if mbim_descriptor.bLength != 12:
234 if mbim_extended_descriptor.bLength != 8:
262 interrupt_endpoint_descriptor.bLength == 7 and
Ddes_01.py104 header_descriptor.bLength == 5 and
199 if not(union_descriptor.bLength == 5 and
/external/clang/test/CodeGen/
D2009-07-22-StructLayout.c11 __u8 bLength; member
24 .bLength = sizeof ecm_desc,
/external/libusb/include/libusb/
Dlibusb.h536 uint8_t bLength; member
590 uint8_t bLength; member
638 uint8_t bLength; member
701 uint8_t bLength; member
749 uint8_t bLength; member
778 uint8_t bLength; member
799 uint8_t bLength; member
824 uint8_t bLength; member
850 uint8_t bLength; member
892 uint8_t bLength; member
Dlibusbi.h634 uint8_t bLength; member
639 uint8_t bLength; member
656 uint8_t bLength; member
667 uint8_t bLength; member
679 uint8_t bLength; member
685 uint8_t bLength; member
/external/libiio/src/iiod/
Dusbd.c265 desc->bLength = sizeof(*desc); in create_header()
275 ep->bLength = sizeof(*ep); in create_header()
284 comp->bLength = USB_DT_SS_EP_COMP_SIZE; in create_header()
290 ep->bLength = sizeof(*ep); in create_header()
299 comp->bLength = USB_DT_SS_EP_COMP_SIZE; in create_header()
/external/icu/icu4c/source/test/cintltst/
Ducsdetst.c476 …int32_t bLength = 0, brLength = 0, cLength = UPRV_LENGTHOF(chars), crLength = UPRV_LENGTHOF(chars_… in TestIBM424() local
478 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength); in TestIBM424()
485 ucsdet_setText(csd, bytes, bLength, &status); in TestIBM424()
554 …int32_t bLength = 0, brLength = 0, cLength = UPRV_LENGTHOF(chars), crLength = UPRV_LENGTHOF(chars_… in TestIBM420() local
556 char *bytes = extractBytes(chars, cLength, "IBM420", &bLength); in TestIBM420()
563 ucsdet_setText(csd, bytes, bLength, &status); in TestIBM420()
/external/cronet/third_party/icu/source/test/cintltst/
Ducsdetst.c476 …int32_t bLength = 0, brLength = 0, cLength = UPRV_LENGTHOF(chars), crLength = UPRV_LENGTHOF(chars_… in TestIBM424() local
478 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength); in TestIBM424()
485 ucsdet_setText(csd, bytes, bLength, &status); in TestIBM424()
554 …int32_t bLength = 0, brLength = 0, cLength = UPRV_LENGTHOF(chars), crLength = UPRV_LENGTHOF(chars_… in TestIBM420() local
556 char *bytes = extractBytes(chars, cLength, "IBM420", &bLength); in TestIBM420()
563 ucsdet_setText(csd, bytes, bLength, &status); in TestIBM420()
/external/pdfium/fxbarcode/common/reedsolomon/
DBC_ReedSolomonGF256Poly.cpp113 size_t bLength = bCoefficients.size(); in Multiply() local
114 std::vector<int32_t> product(aLength + bLength - 1); in Multiply()
117 for (size_t j = 0; j < bLength; j++) { in Multiply()
/external/cronet/third_party/icu/source/test/intltest/
Dcsdetest.cpp620 int32_t bLength = 0, brLength = 0; in IBM424Test() local
625 char *bytes = extractBytes(s1, "IBM424", bLength); in IBM424Test()
639 ucsdet_setText(csd, bytes, bLength, &status); in IBM424Test()
710 int32_t bLength = 0, brLength = 0; in IBM420Test() local
715 char *bytes = extractBytes(s1, "IBM420", bLength); in IBM420Test()
729 ucsdet_setText(csd, bytes, bLength, &status); in IBM420Test()
/external/icu/icu4c/source/test/intltest/
Dcsdetest.cpp620 int32_t bLength = 0, brLength = 0; in IBM424Test() local
625 char *bytes = extractBytes(s1, "IBM424", bLength); in IBM424Test()
639 ucsdet_setText(csd, bytes, bLength, &status); in IBM424Test()
710 int32_t bLength = 0, brLength = 0; in IBM420Test() local
715 char *bytes = extractBytes(s1, "IBM420", bLength); in IBM420Test()
729 ucsdet_setText(csd, bytes, bLength, &status); in IBM420Test()
/external/crosvm/usb_util/src/
Ddescriptor.rs140 if usize::from(hdr.bLength) < size_of::<DescriptorHeader>() + size_of::<T>() { in parse_usbfs_descriptors()
152 *offset += hdr.bLength as usize - size_of::<DescriptorHeader>(); in parse_usbfs_descriptors()
164 if hdr.bLength == 0 { in parse_usbfs_descriptors()
169 *offset += hdr.bLength as usize; in parse_usbfs_descriptors()
/external/libusb/libusb/os/
Dwindows_common.h165 UCHAR bLength; member
182 UCHAR bLength; member
Dlinux_usbfs.c659 if (len < header->bLength) { in seek_to_next_config()
661 (size_t)header->bLength - len); in seek_to_next_config()
665 offset += header->bLength; in seek_to_next_config()
666 buffer += header->bLength; in seek_to_next_config()
667 len -= header->bLength; in seek_to_next_config()
711 } else if (config_desc->bLength < LIBUSB_DT_CONFIG_SIZE) { in parse_config_descriptors()
713 config_desc->bLength); in parse_config_descriptors()

12