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

/external/chromium_org/third_party/libusb/src/libusb/
H A Ddescriptor.c41 /* set host_endian if the w values are already in host endian format,
44 void *dest, int host_endian)
60 if (host_endian) {
72 if (host_endian) {
101 int size, int host_endian)
127 usbi_parse_descriptor(buffer, "bbbbwbbb", endpoint, host_endian);
129 usbi_parse_descriptor(buffer, "bbbbwb", endpoint, host_endian);
216 int host_endian)
335 host_endian);
378 int size, int host_endian)
43 usbi_parse_descriptor(const unsigned char *source, const char *descriptor, void *dest, int host_endian) argument
99 parse_endpoint(struct libusb_context *ctx, struct libusb_endpoint_descriptor *endpoint, unsigned char *buffer, int size, int host_endian) argument
214 parse_interface(libusb_context *ctx, struct libusb_interface *usb_interface, unsigned char *buffer, int size, int host_endian) argument
376 parse_configuration(struct libusb_context *ctx, struct libusb_config_descriptor *config, unsigned char *buffer, int size, int host_endian) argument
497 raw_desc_to_config(struct libusb_context *ctx, unsigned char *buf, int size, int host_endian, struct libusb_config_descriptor **config) argument
522 int r, host_endian = 0; local
580 int host_endian = 0; local
629 int host_endian = 0; local
673 int host_endian; local
710 int r, idx, host_endian; local
812 parse_bos(struct libusb_context *ctx, struct libusb_bos_descriptor **bos, unsigned char *buffer, int size, int host_endian) argument
908 const int host_endian = 0; local
982 const int host_endian = 0; local
1040 const int host_endian = 0; local
1097 const int host_endian = 0; local
[all...]
H A Dlibusbi.h429 void *dest, int host_endian);
645 * set the host_endian output parameter to "1".
650 unsigned char *buffer, int *host_endian);
665 * set the host_endian output parameter to "1".
673 unsigned char *buffer, size_t len, int *host_endian);
692 * set the host_endian output parameter to "1".
698 int *host_endian);
714 int *host_endian);
/external/libusb/libusb/
H A Ddescriptor.c39 /* set host_endian if the w values are already in host endian format,
42 int host_endian)
56 if (host_endian) {
79 int size, int host_endian)
103 usbi_parse_descriptor(buffer, "bbbbwbbb", endpoint, host_endian);
105 usbi_parse_descriptor(buffer, "bbbbwb", endpoint, host_endian);
184 int host_endian)
292 host_endian);
331 int host_endian)
340 usbi_parse_descriptor(buffer, "bbwbbbbb", config, host_endian);
41 usbi_parse_descriptor(unsigned char *source, char *descriptor, void *dest, int host_endian) argument
77 parse_endpoint(struct libusb_context *ctx, struct libusb_endpoint_descriptor *endpoint, unsigned char *buffer, int size, int host_endian) argument
182 parse_interface(libusb_context *ctx, struct libusb_interface *interface, unsigned char *buffer, int size, int host_endian) argument
329 parse_configuration(struct libusb_context *ctx, struct libusb_config_descriptor *config, unsigned char *buffer, int host_endian) argument
436 int host_endian = 0; local
474 int host_endian = 0; local
539 int host_endian = 0; local
600 int host_endian; local
[all...]
H A Dlibusbi.h308 int host_endian);
472 * set the host_endian output parameter to "1".
477 unsigned char *buffer, int *host_endian);
492 * set the host_endian output parameter to "1".
500 unsigned char *buffer, size_t len, int *host_endian);
519 * set the host_endian output parameter to "1".
525 int *host_endian);
H A Dcore.c532 int host_endian; local
534 r = usbi_backend->get_device_descriptor(dev, raw_desc, &host_endian);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dsymbol-minimal.c14 int host_endian; local
17 host_endian = ELFDATA2LSB;
19 host_endian = ELFDATA2MSB;
21 return host_endian != file_endian;
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dopenbsd_usb.c286 int *host_endian)
294 *host_endian = 0;
301 unsigned char *buf, size_t len, int *host_endian)
312 *host_endian = 0;
319 unsigned char *buf, size_t len, int *host_endian)
342 *host_endian = 0;
285 obsd_get_device_descriptor(struct libusb_device *dev, unsigned char *buf, int *host_endian) argument
300 obsd_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buf, size_t len, int *host_endian) argument
318 obsd_get_config_descriptor(struct libusb_device *dev, uint8_t idx, unsigned char *buf, size_t len, int *host_endian) argument
H A Dwince_usb.c428 unsigned char *buffer, int *host_endian)
432 *host_endian = 1;
439 unsigned char *buffer, size_t len, int *host_endian)
443 *host_endian = 0;
453 unsigned char *buffer, size_t len, int *host_endian)
457 *host_endian = 0;
426 wince_get_device_descriptor( struct libusb_device *device, unsigned char *buffer, int *host_endian) argument
437 wince_get_active_config_descriptor( struct libusb_device *device, unsigned char *buffer, size_t len, int *host_endian) argument
450 wince_get_config_descriptor( struct libusb_device *device, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) argument
H A Dlinux_usbfs.c553 unsigned char *buffer, int *host_endian)
557 *host_endian = sysfs_has_descriptors ? 0 : 1;
733 uint8_t value, unsigned char **buffer, int *host_endian)
743 *host_endian = 0;
765 unsigned char *buffer, size_t len, int *host_endian)
783 host_endian);
793 uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian)
800 *host_endian = 0;
552 op_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) argument
732 op_get_config_descriptor_by_value(struct libusb_device *dev, uint8_t value, unsigned char **buffer, int *host_endian) argument
764 op_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) argument
792 op_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) argument
H A Ddarwin_usb.c63 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian);
456 static int darwin_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) { argument
462 *host_endian = 0;
489 static int darwin_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) { argument
500 return darwin_get_config_descriptor (dev, config_index, buffer, len, host_endian);
503 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) { argument
521 *host_endian = 0;
H A Dwindows_usb.c46 static int windows_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian);
1739 static int windows_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) argument
1744 *host_endian = 0;
1749 static int windows_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) argument
1766 *host_endian = 0;
1774 static int windows_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) argument
1782 return windows_get_config_descriptor(dev, (uint8_t)(priv->active_config-1), buffer, len, host_endian);
/external/libusb/libusb/os/
H A Ddarwin_usb.c52 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian);
349 static int darwin_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) { argument
355 *host_endian = 0;
382 static int darwin_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) { argument
396 return darwin_get_config_descriptor (dev, config_index, buffer, len, host_endian);
399 static int darwin_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) { argument
429 *host_endian = 0;
H A Dlinux_usbfs.c324 unsigned char *buffer, int *host_endian)
329 *host_endian = 1;
392 int host_endian)
410 usbi_parse_descriptor(tmp, "bbwbb", &config, host_endian);
516 unsigned char *buffer, size_t len, int *host_endian)
562 uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian)
323 op_get_device_descriptor(struct libusb_device *dev, unsigned char *buffer, int *host_endian) argument
391 seek_to_next_config(struct libusb_context *ctx, int fd, int host_endian) argument
515 op_get_active_config_descriptor(struct libusb_device *dev, unsigned char *buffer, size_t len, int *host_endian) argument
561 op_get_config_descriptor(struct libusb_device *dev, uint8_t config_index, unsigned char *buffer, size_t len, int *host_endian) argument
/external/libvorbis/lib/
H A Dvorbisfile.c1850 int host_endian = host_is_big_endian(); local
1907 if(host_endian==bigendianp){

Completed in 2508 milliseconds