Lines Matching refs:devDirEntry
634 struct dirent * devDirEntry; in FindTransportDevice() local
671 while ((devDirEntry = readdir(devDir)) != NULL) { in FindTransportDevice()
672 if (!strcmp(devDirEntry->d_name, hidDeviceName.c_str())) { in FindTransportDevice()
691 struct dirent * devDirEntry; in LookupHidDeviceName() local
701 while ((devDirEntry = readdir(devDir)) != NULL) { in LookupHidDeviceName()
702 if (!strncmp(devDirEntry->d_name, devicePrefix, 14)) { in LookupHidDeviceName()
703 deviceName = devDirEntry->d_name; in LookupHidDeviceName()
717 struct dirent * devDirEntry; in FindHidRawFile() local
726 while ((devDirEntry = readdir(devDir)) != NULL) { in FindHidRawFile()
727 if (!strncmp(devDirEntry->d_name, "hidraw", 6)) { in FindHidRawFile()
728 hidrawFile = std::string("/dev/") + devDirEntry->d_name; in FindHidRawFile()