Searched refs:direntp (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dnext.c62 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)))
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_xftw.c146 struct dirent *direntp; local
206 while (direntp = readdir(dirp)) {
209 if (strcmp(direntp->d_name, ".") == 0 ||
210 strcmp(direntp->d_name, "..") == 0)
215 subpath = malloc(n + strlen(direntp->d_name) + 2);
226 (void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN);
H A Dttyname.c484 struct dirent64 *direntp; local
521 while ((!found) && ((direntp = readdir64(dirp)) != NULL)) {
525 if (direntp->d_name[0] == '.' &&
526 (strcmp(direntp->d_name, ".") == 0 ||
527 strcmp(direntp->d_name, "..") == 0))
534 if ((path_len + strlen(direntp->d_name) + 2) > MAX_DEV_PATH)
537 (void) strcpy(last_comp, direntp->d_name);
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_utils.c154 struct dirent *direntp; local
164 while ((direntp = readdir(dirp)) != NULL) {
167 (void) strcat(file_name, direntp->d_name);
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c607 struct dirent *direntp; local
641 while ((direntp = readdir(dirp)) != NULL) {
644 (void) strcpy(p, direntp->d_name);
651 (direntp->d_name[0] != '.') &&
653 strcmp(direntp->d_name, "POSIX") != 0) {
654 check_loc(direntp->d_name);
658 direntp->d_name[0] != '.') {
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dio.c437 struct dirent *direntp; local
455 while ((direntp = readdir(dirp)) != NULL) {
456 if (strstr(direntp->d_name, device) != NULL) {
458 direntp->d_name);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c707 struct dirent *direntp; local
722 while ((direntp = readdir(dirp)) != NULL) {
723 if (strstr(direntp->d_name, device) != NULL) {
725 direntp->d_name);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c710 struct dirent *direntp; local
725 while ((direntp = readdir(dirp)) != NULL) {
726 if (strstr(direntp->d_name, device) != NULL) {
728 direntp->d_name);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/
H A Dsunfire.c758 struct dirent *direntp; local
773 while ((direntp = readdir(dirp)) != NULL) {
774 if (strstr(direntp->d_name, device) != NULL) {
776 direntp->d_name);
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.c908 dirent_t *direntp; local
922 for (rewinddir(procdir); (direntp = readdir(procdir)); ) {
923 pidstr = direntp->d_name;
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c2128 struct dirent *direntp; local
2166 while ((direntp = readdir(dirp)) != NULL) {
2167 if (strstr(direntp->d_name, devp) != NULL) {
2169 (void) strcat(dev_path, direntp->d_name);

Completed in 92 milliseconds