Lines Matching refs:de
283 struct dirent *de; in print_hid_descriptor() local
293 while((de = readdir(dir))) { in print_hid_descriptor()
294 if (strstr(de->d_name, prefix) == de->d_name) { in print_hid_descriptor()
295 snprintf(filename, sizeof(filename), "%s/%s/rdesc", dirname, de->d_name); in print_hid_descriptor()
299 printf(" HID descriptor: %s\n\n", de->d_name); in print_hid_descriptor()
478 struct dirent *de; in scan_dir() local
485 while((de = readdir(dir))) { in scan_dir()
486 if(de->d_name[0] == '.' && in scan_dir()
487 (de->d_name[1] == '\0' || in scan_dir()
488 (de->d_name[1] == '.' && de->d_name[2] == '\0'))) in scan_dir()
490 strcpy(filename, de->d_name); in scan_dir()