Searched refs:languages (Results 1 - 4 of 4) sorted by relevance

/system/core/adb/
H A Dusb_libusb.c490 uint16_t languages[128] = {0}; local
493 memset(languages, 0, sizeof(languages));
497 0, (uint8_t *)languages, sizeof(languages), 0);
500 D("check_device(): Failed to get languages count\n");
512 languages[i], (uint8_t *)buffer, sizeof(buffer), 0);
H A Dusb_osx.c208 UInt16 languages[128]; local
210 memset(languages, 0, sizeof(languages));
217 req.pData = languages;
218 req.wLength = sizeof(languages);
234 req.wIndex = languages[lang];
H A Dusb_linux.c619 __u16 languages[128]; local
623 memset(languages, 0, sizeof(languages));
626 // read list of supported languages
631 ctrl.wLength = sizeof(languages);
632 ctrl.data = languages;
646 ctrl.wIndex = __le16_to_cpu(languages[i]);
/system/core/libusbhost/
H A Dusbhost.c393 __u16 languages[128]; local
398 memset(languages, 0, sizeof(languages));
400 // read list of supported languages
403 (USB_DT_STRING << 8) | 0, 0, languages, sizeof(languages), 0);
412 (USB_DT_STRING << 8) | id, languages[i], buffer, sizeof(buffer), 0);

Completed in 53 milliseconds