Lines Matching refs:direntry
1200 struct dirent *direntry;
1213 direntry = readdir(idsdir);
1215 while (direntry) {
1216 if (direntry->d_name[0] == '.') {
1217 direntry = readdir(idsdir);
1220 len = strlen(direntry->d_name);
1222 if (strncmp(&(direntry->d_name[len-4]), ".ids", 4) == 0) {
1226 strncat(path_name, direntry->d_name, (256 - strlen(path_name) - 1));
1263 matches[i] = (char*)malloc(sizeof(char) * strlen(direntry->d_name) - 3);
1271 for (j = 0; j < (strlen(direntry->d_name) - 3) ; j++) {
1272 if (direntry->d_name[j] == '.') {
1276 matches[i][j] = direntry->d_name[j];
1279 xf86Msg(X_INFO, "Matched %s from file name %s\n", matches[i], direntry->d_name);
1287 direntry = readdir(idsdir);