Lines Matching refs:devDir
635 DIR * devDir; in FindTransportDevice() local
665 devDir = opendir(fullLinkPath.c_str()); in FindTransportDevice()
666 if (!devDir) { in FindTransportDevice()
671 while ((devDirEntry = readdir(devDir)) != NULL) { in FindTransportDevice()
678 closedir(devDir); in FindTransportDevice()
692 DIR * devDir; in LookupHidDeviceName() local
697 devDir = opendir("/sys/bus/hid/devices"); in LookupHidDeviceName()
698 if (!devDir) in LookupHidDeviceName()
701 while ((devDirEntry = readdir(devDir)) != NULL) { in LookupHidDeviceName()
708 closedir(devDir); in LookupHidDeviceName()
718 DIR * devDir; in FindHidRawFile() local
722 devDir = opendir(hidrawDir); in FindHidRawFile()
723 if (!devDir) in FindHidRawFile()
726 while ((devDirEntry = readdir(devDir)) != NULL) { in FindHidRawFile()
733 closedir(devDir); in FindHidRawFile()