Searched refs:devDirEntry (Results 1 – 3 of 3) sorted by relevance
/external/rmi4utils/f54test/ |
D | main.cpp | 114 struct dirent * devDirEntry; in main() local 165 while ((devDirEntry = readdir(devDir)) != NULL) { in main() 166 if (strstr(devDirEntry->d_name, "hidraw")) { in main() 167 strncpy(rawDevice, devDirEntry->d_name, PATH_MAX); in main() 168 snprintf(deviceFile, PATH_MAX, "/dev/%s", devDirEntry->d_name); in main()
|
/external/rmi4utils/rmi4update/ |
D | main.cpp | 117 struct dirent * devDirEntry; in main() local 189 while ((devDirEntry = readdir(devDir)) != NULL) { in main() 190 if (strstr(devDirEntry->d_name, "hidraw")) { in main() 192 strncpy(rawDevice, devDirEntry->d_name, PATH_MAX); in main() 193 snprintf(deviceFile, PATH_MAX, "/dev/%s", devDirEntry->d_name); in main()
|
/external/rmi4utils/rmidevice/ |
D | hiddevice.cpp | 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() [all …]
|