Searched refs:direntry (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dxf86pciBus.c1200 struct dirent *direntry; local in function:matchDriverFromFiles
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
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86pciBus.c1302 struct dirent *direntry; local in function:xf86MatchDriverFromFiles
1317 direntry = readdir(idsdir);
1319 while (direntry) {
1320 if (direntry->d_name[0] == '.') {
1321 direntry = readdir(idsdir);
1324 len = strlen(direntry->d_name);
1326 if (strncmp(&(direntry->d_name[len - 4]), ".ids", 4) == 0) {
1329 PCI_TXT_IDS_PATH, direntry->d_name);
1365 strlen(direntry->d_name) - 3);
1374 for (j = 0; j < (strlen(direntry
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/loader/
H A Dloadmod.c385 struct dirent *direntry = NULL; local in function:FindModuleInSubdir
394 while ((direntry = readdir(dir))) {
395 if (direntry->d_name[0] == '.')
397 snprintf(tmpBuf, PATH_MAX, "%s%s/", dirpath, direntry->d_name);
408 if (strcmp(direntry->d_name, tmpBuf) == 0) {
415 if (strcmp(direntry->d_name, tmpBuf) == 0) {
422 if (strcmp(direntry->d_name, tmpBuf) == 0) {
/xsrc/external/mit/xorg-server/dist/hw/xfree86/loader/
H A Dloadmod.c268 struct dirent *direntry = NULL; local in function:FindModuleInSubdir
277 while ((direntry = readdir(dir))) {
278 if (direntry->d_name[0] == '.')
280 snprintf(tmpBuf, PATH_MAX, "%s%s/", dirpath, direntry->d_name);
295 if (strcmp(direntry->d_name, tmpBuf) == 0) {
306 if (strcmp(direntry->d_name, tmpBuf) == 0) {
317 if (strcmp(direntry->d_name, tmpBuf) == 0) {

Completed in 7 milliseconds