/titanic_44/usr/src/cmd/lp/lib/lp/ |
H A D | next.c | 62 struct dirent *direntp; local 72 direntp = Readdir(dirp); 74 direntp 76 STREQU(direntp->d_name, ".") 77 || STREQU(direntp->d_name, "..") 78 || !is(parent, direntp->d_name, what) 82 if (direntp) { 83 if (!(ret = Strdup(direntp->d_name)))
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 146 struct dirent *direntp; in fwalk() local 206 while (direntp = readdir(dirp)) { in fwalk() 209 if (strcmp(direntp->d_name, ".") == 0 || in fwalk() 210 strcmp(direntp->d_name, "..") == 0) in fwalk() 215 subpath = malloc(n + strlen(direntp->d_name) + 2); in fwalk() 226 (void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN); in fwalk()
|
H A D | ttyname.c | 484 struct dirent64 *direntp; in srch_dir() local 521 while ((!found) && ((direntp = readdir64(dirp)) != NULL)) { in srch_dir() 525 if (direntp->d_name[0] == '.' && in srch_dir() 526 (strcmp(direntp->d_name, ".") == 0 || in srch_dir() 527 strcmp(direntp->d_name, "..") == 0)) in srch_dir() 534 if ((path_len + strlen(direntp->d_name) + 2) > MAX_DEV_PATH) in srch_dir() 537 (void) strcpy(last_comp, direntp->d_name); in srch_dir()
|
/titanic_44/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 154 struct dirent *direntp; in srch_dir() local 164 while ((direntp = readdir(dirp)) != NULL) { in srch_dir() 167 (void) strcat(file_name, direntp->d_name); in srch_dir()
|
/titanic_44/usr/src/cmd/locale/ |
H A D | locale.c | 607 struct dirent *direntp; in print_all_info() local 641 while ((direntp = readdir(dirp)) != NULL) { in print_all_info() 644 (void) strcpy(p, direntp->d_name); in print_all_info() 651 (direntp->d_name[0] != '.') && in print_all_info() 653 strcmp(direntp->d_name, "POSIX") != 0) { in print_all_info() 654 check_loc(direntp->d_name); in print_all_info() 658 direntp->d_name[0] != '.') { in print_all_info()
|
/titanic_44/usr/src/lib/libprtdiag/common/ |
H A D | io.c | 437 struct dirent *direntp; in display_ffb() local 455 while ((direntp = readdir(dirp)) != NULL) { in display_ffb() 456 if (strstr(direntp->d_name, device) != NULL) { in display_ffb() 458 direntp->d_name); in display_ffb()
|
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 707 struct dirent *direntp; in display_ffb() local 722 while ((direntp = readdir(dirp)) != NULL) { in display_ffb() 723 if (strstr(direntp->d_name, device) != NULL) { in display_ffb() 725 direntp->d_name); in display_ffb()
|
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 710 struct dirent *direntp; in display_ffb() local 725 while ((direntp = readdir(dirp)) != NULL) { in display_ffb() 726 if (strstr(direntp->d_name, device) != NULL) { in display_ffb() 728 direntp->d_name); in display_ffb()
|
/titanic_44/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/ |
H A D | sunfire.c | 758 struct dirent *direntp; in display_ffb() local 773 while ((direntp = readdir(dirp)) != NULL) { in display_ffb() 774 if (strstr(direntp->d_name, device) != NULL) { in display_ffb() 776 direntp->d_name); in display_ffb()
|
/titanic_44/usr/src/cmd/prstat/ |
H A D | prstat.c | 908 dirent_t *direntp; in prstat_scandir() local 922 for (rewinddir(procdir); (direntp = readdir(procdir)); ) { in prstat_scandir() 923 pidstr = direntp->d_name; in prstat_scandir()
|
/titanic_44/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 2128 struct dirent *direntp; in open_ffb_device() local 2166 while ((direntp = readdir(dirp)) != NULL) { in open_ffb_device() 2167 if (strstr(direntp->d_name, devp) != NULL) { in open_ffb_device() 2169 (void) strcat(dev_path, direntp->d_name); in open_ffb_device()
|