Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 4 of 4) sorted by relevance

/device/google/bonito/usb/
DUsb.cpp353 DIR *dp; in getTypeCPortNamesHelper() local
355 dp = opendir("/sys/class/typec"); in getTypeCPortNamesHelper()
356 if (dp != NULL) { in getTypeCPortNamesHelper()
359 while ((ep = readdir(dp))) { in getTypeCPortNamesHelper()
372 closedir(dp); in getTypeCPortNamesHelper()
569 DIR *dp = opendir(std::string("/sys/class/typec/" in uevent_event() local
572 if (dp == NULL) { in uevent_event()
576 closedir(dp); in uevent_event()
/device/google/wahoo/usb/
DUsb.cpp379 DIR *dp; in getTypeCPortNamesHelper() local
381 dp = opendir("/sys/class/typec"); in getTypeCPortNamesHelper()
382 if (dp != NULL) { in getTypeCPortNamesHelper()
385 while ((ep = readdir(dp))) { in getTypeCPortNamesHelper()
398 closedir(dp); in getTypeCPortNamesHelper()
596 DIR *dp = opendir(std::string("/sys/class/typec/" in uevent_event() local
599 if (dp == NULL) { in uevent_event()
603 closedir(dp); in uevent_event()
/device/google/crosshatch/usb/
DUsb.cpp355 DIR *dp; in getTypeCPortNamesHelper() local
357 dp = opendir("/sys/class/typec"); in getTypeCPortNamesHelper()
358 if (dp != NULL) { in getTypeCPortNamesHelper()
361 while ((ep = readdir(dp))) { in getTypeCPortNamesHelper()
374 closedir(dp); in getTypeCPortNamesHelper()
573 DIR *dp = opendir(std::string("/sys/class/typec/" in uevent_event() local
576 if (dp == NULL) { in uevent_event()
580 closedir(dp); in uevent_event()
/device/google/coral/usb/
DUsb.cpp434 DIR *dp; in getTypeCPortNamesHelper() local
436 dp = opendir("/sys/class/typec"); in getTypeCPortNamesHelper()
437 if (dp != NULL) { in getTypeCPortNamesHelper()
440 while ((ep = readdir(dp))) { in getTypeCPortNamesHelper()
453 closedir(dp); in getTypeCPortNamesHelper()
640 DIR *dp = in uevent_event() local
646 if (dp == NULL) { in uevent_event()
650 closedir(dp); in uevent_event()