Home
last modified time | relevance | path

Searched refs:host_endian (Results 1 – 14 of 14) sorted by relevance

/external/libusb/libusb/
Ddescriptor.c42 int host_endian) in usbi_parse_descriptor() argument
56 if (host_endian) { in usbi_parse_descriptor()
79 int size, int host_endian) in parse_endpoint() argument
103 usbi_parse_descriptor(buffer, "bbbbwbbb", endpoint, host_endian); in parse_endpoint()
105 usbi_parse_descriptor(buffer, "bbbbwb", endpoint, host_endian); in parse_endpoint()
184 int host_endian) in parse_interface() argument
292 host_endian); in parse_interface()
331 int host_endian) in parse_configuration() argument
340 usbi_parse_descriptor(buffer, "bbwbbbbb", config, host_endian); in parse_configuration()
408 r = parse_interface(ctx, interface + i, buffer, size, host_endian); in parse_configuration()
[all …]
Dlibusbi.h308 int host_endian);
477 unsigned char *buffer, int *host_endian);
500 unsigned char *buffer, size_t len, int *host_endian);
525 int *host_endian);
Dcore.c532 int host_endian; in usbi_sanitize_device() local
534 r = usbi_backend->get_device_descriptor(dev, raw_desc, &host_endian); in usbi_sanitize_device()
/external/libusb_aah/libusb/
Ddescriptor.c43 void *dest, int host_endian) in usbi_parse_descriptor() argument
57 if (host_endian) { in usbi_parse_descriptor()
80 int size, int host_endian) in parse_endpoint() argument
104 usbi_parse_descriptor(buffer, "bbbbwbbb", endpoint, host_endian); in parse_endpoint()
106 usbi_parse_descriptor(buffer, "bbbbwb", endpoint, host_endian); in parse_endpoint()
185 int host_endian) in parse_interface() argument
295 host_endian); in parse_interface()
334 int host_endian) in parse_configuration() argument
343 usbi_parse_descriptor(buffer, "bbwbbbbb", config, host_endian); in parse_configuration()
411 r = parse_interface(ctx, usb_interface + i, buffer, size, host_endian); in parse_configuration()
[all …]
Dlibusbi.h430 void *dest, int host_endian);
600 unsigned char *buffer, int *host_endian);
623 unsigned char *buffer, size_t len, int *host_endian);
648 int *host_endian);
Dcore.c562 int host_endian; in usbi_sanitize_device() local
564 r = usbi_backend->get_device_descriptor(dev, raw_desc, &host_endian); in usbi_sanitize_device()
/external/libusb_aah/libusb/os/
Dopenbsd_usb.c242 int *host_endian) in obsd_get_device_descriptor() argument
250 *host_endian = 0; in obsd_get_device_descriptor()
257 unsigned char *buf, size_t len, int *host_endian) in obsd_get_active_config_descriptor() argument
269 *host_endian = 0; in obsd_get_active_config_descriptor()
276 unsigned char *buf, size_t len, int *host_endian) in obsd_get_config_descriptor() argument
307 *host_endian = 0; in obsd_get_config_descriptor()
Ddarwin_usb.c64 …uct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian);
419 … darwin_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) { in darwin_get_device_descriptor() argument
425 *host_endian = 0; in darwin_get_device_descriptor()
452 …config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) { in darwin_get_active_config_descriptor() argument
463 return darwin_get_config_descriptor (dev, config_index, buffer, len, host_endian); in darwin_get_active_config_descriptor()
466 …ct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) { in darwin_get_config_descriptor() argument
496 *host_endian = 0; in darwin_get_config_descriptor()
Dlinux_usbfs.c511 unsigned char *buffer, int *host_endian) in op_get_device_descriptor() argument
516 *host_endian = 1; in op_get_device_descriptor()
579 int host_endian) in seek_to_next_config() argument
597 usbi_parse_descriptor(tmp, "bbwbb", &config, host_endian); in seek_to_next_config()
703 unsigned char *buffer, size_t len, int *host_endian) in op_get_active_config_descriptor() argument
749 uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) in op_get_config_descriptor() argument
Dwindows_usb.c52 …_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian);
1567 …t windows_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) in windows_get_device_descriptor() argument
1572 *host_endian = 0; in windows_get_device_descriptor()
1577 …ruct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) in windows_get_config_descriptor() argument
1601 …e_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) in windows_get_active_config_descriptor() argument
1609 …urn windows_get_config_descriptor(dev, (uint8_t)(priv->active_config-1), buffer, len, host_endian); in windows_get_active_config_descriptor()
/external/libusb/libusb/os/
Ddarwin_usb.c52 …uct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian);
349 … darwin_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) { in darwin_get_device_descriptor() argument
355 *host_endian = 0; in darwin_get_device_descriptor()
382 …config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) { in darwin_get_active_config_descriptor() argument
396 return darwin_get_config_descriptor (dev, config_index, buffer, len, host_endian); in darwin_get_active_config_descriptor()
399 …ct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) { in darwin_get_config_descriptor() argument
429 *host_endian = 0; in darwin_get_config_descriptor()
Dlinux_usbfs.c324 unsigned char *buffer, int *host_endian) in op_get_device_descriptor() argument
329 *host_endian = 1; in op_get_device_descriptor()
392 int host_endian) in seek_to_next_config() argument
410 usbi_parse_descriptor(tmp, "bbwbb", &config, host_endian); in seek_to_next_config()
516 unsigned char *buffer, size_t len, int *host_endian) in op_get_active_config_descriptor() argument
562 uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) in op_get_config_descriptor() argument
/external/libvorbis/lib/
Dvorbisfile.c1850 int host_endian = host_is_big_endian(); in ov_read_filter() local
1907 if(host_endian==bigendianp){ in ov_read_filter()
/external/libusb/
DChangeLog68 libusb/os/linux_usbfs.c calls usbi_parse_descriptor with host_endian=1
70 processed with host_endian=0, as they are not translated by the kernel.