Lines Matching refs:dep

235 	struct dirent *dep;	/* directory entry pointer */
261 while (dep = readdir(dirp)) {
263 if (strncmp(dep->d_name, "rst", SIZE_OF_RST) &&
264 strncmp(dep->d_name, "nrst", SIZE_OF_NRST))
275 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1);
279 (void) strcat(nm, dep->d_name);
320 while (dep = readdir(dirp)) {
322 if (strncmp(dep->d_name, ".", 1) == NULL)
333 nm = (char *)malloc(SIZE_OF_RMT + 1 + strlen(dep->d_name) + 1);
337 (void) strcat(nm, dep->d_name);
341 nm = (char *)malloc(SIZE_OF_TMP + strlen(dep->d_name) + 1);
345 (void) strcat(nm, dep->d_name);
348 (void) sscanf(dep->d_name, "%d", &tape[i].number);
445 struct dirent *dep; /* directory entry pointer */
469 while (dep = readdir(dirp)) {
470 if (strcmp(dep->d_name, "audio") &&
471 strcmp(dep->d_name, "audioctl"))
482 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1);
486 (void) strcat(nm, dep->d_name);
521 while (dep = readdir(dirp)) {
523 if (strncmp(dep->d_name, ".", 1) == NULL)
535 strlen(dep->d_name) + 1);
539 (void) strcat(nm, dep->d_name);
543 strlen(dep->d_name) + 1);
547 (void) strcat(nm, dep->d_name);
550 (void) sscanf(dep->d_name, "%d", &audio[i].number);
649 struct dirent *dep; /* directory entry pointer */
675 while (dep = readdir(dirp)) {
677 if (strncmp(dep->d_name, "fd0", SIZE_OF_FD0) &&
678 strncmp(dep->d_name, "rfd0", SIZE_OF_RFD0) &&
679 strncmp(dep->d_name, "fd1", SIZE_OF_FD0) &&
680 strncmp(dep->d_name, "rfd0", SIZE_OF_RFD0))
690 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1);
694 (void) strcat(nm, dep->d_name);
816 struct dirent *dep; /* directory entry pointer */
844 while (dep = readdir(dirp)) {
846 if (strncmp(dep->d_name, "sr", SIZE_OF_SR) &&
847 strncmp(dep->d_name, "rsr", SIZE_OF_RSR))
857 nm = (char *)malloc(SIZE_OF_TMP + 1 + strlen(dep->d_name) + 1);
861 (void) strcat(nm, dep->d_name);
904 while (dep = readdir(dirp)) {
906 if (strncmp(dep->d_name, ".", 1) == NULL)
910 if (sscanf(dep->d_name, "c%dt%d", &ctrl, &id) != 2)
928 nm = (char *)malloc(SIZE_OF_DSK + 1 + strlen(dep->d_name) + 1);
932 (void) strcat(nm, dep->d_name);
955 while (dep = readdir(dirp)) {
957 if (strncmp(dep->d_name, ".", 1) == NULL)
961 if (sscanf(dep->d_name, "c%dt%d", &ctrl, &id) != 2)
979 nm = (char *)malloc(SIZE_OF_RDSK + 1 + strlen(dep->d_name) + 1);
983 (void) strcat(nm, dep->d_name);
1082 struct dirent *dep; /* directory entry pointer */
1109 while (dep = readdir(dirp)) {
1114 if (strncmp(dep->d_name, ".", 1) == NULL)
1118 if (sscanf(dep->d_name, "c%dt%d", &ctrl, &id) != 2)
1125 (strcmp(dep->d_name, rmdisk[j].name) == 0)) {
1150 dep->d_name);
1170 nm = (char *)malloc(SIZE_OF_DSK + 1 + strlen(dep->d_name) + 1);
1174 (void) strcat(nm, dep->d_name);