Home
last modified time | relevance | path

Searched refs:link_len (Results 1 – 2 of 2) sorted by relevance

/system/core/fastboot/
Dusb_linux.c188 ssize_t link_len; in filter_usb_device() local
191 link_len = readlink(cdev, link, sizeof(link) - 1); in filter_usb_device()
192 if (link_len > 0) { in filter_usb_device()
193 link[link_len] = '\0'; in filter_usb_device()
/system/core/adb/
Dusb_linux.c275 ssize_t link_len; in find_usb_device() local
278 link_len = readlink(pathbuf, link, sizeof(link) - 1); in find_usb_device()
279 if (link_len > 0) { in find_usb_device()
280 link[link_len] = '\0'; in find_usb_device()