Searched refs:d_name (Results 26 - 50 of 110) sorted by relevance

12345

/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_plugin.c195 if (strncmp(dp->d_name, PLUGIN_LIB_PREFIX,
198 strlen(dp->d_name) + 1 > MAXPATHLEN) {
201 plugin_root, dp->d_name);
205 "%s/%s", plugin_root, dp->d_name);
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_negprot.c76 const char *d_name; member in struct:smb_dialect
167 smbfs_mb_put_astring(mbp, dp->d_name);
201 DPRINT("Dialect %s", dp->d_name);
204 DPRINT("old dialect %s", dp->d_name);
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dbootsect.c201 vol->u.dev->d_name);
214 vol->u.dev->d_name);
223 vol->u.dev->d_name);
249 vol->u.dev->d_name);
/osnet-11/usr/src/lib/libnwam/common/
H A Dlibnwam_events.c241 if (strncmp(dp->d_name, NWAM_EVENT_MSG_FILE,
246 NWAM_EVENT_MSG_DIR, dp->d_name);
345 if (strncmp(dp->d_name, NWAM_EVENT_MSG_FILE,
350 NWAM_EVENT_MSG_DIR, dp->d_name);
/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp_parse.h70 boolean_t d_name; /* Name field */ member in struct:sdp_description
/osnet-11/usr/src/lib/libc/port/gen/
H A D_xftw.c215 if (strcmp(direntp->d_name, ".") == 0 ||
216 strcmp(direntp->d_name, "..") == 0)
221 subpath = malloc(n + strlen(direntp->d_name) + 2);
232 (void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN);
H A Dttyname.c541 if (direntp->d_name[0] == '.' &&
542 (strcmp(direntp->d_name, ".") == 0 ||
543 strcmp(direntp->d_name, "..") == 0))
547 * if the file name (path + "/" + d_name + NULL) would be too
550 if ((path_len + strlen(direntp->d_name) + 2) > MAX_DEV_PATH)
553 (void) strcpy(last_comp, direntp->d_name);
/osnet-11/usr/src/lib/sun_fc/common/
H A DHBAPort.cc229 if (strcmp(dirp->d_name, ".") == 0 ||
230 strcmp(dirp->d_name, "..") == 0) {
233 sprintf(node, "%s/%s", dir, dirp->d_name);
239 cfg_path += dirp->d_name;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dplugins.c93 unsigned short d_reclen; /* length of d_name */
94 char d_name[_MAX_FNAME+1]; /* filename (null terminated) */ member in struct:dirent
154 strncpy(dp->dent.d_name, dp->fileinfo.name, _MAX_FNAME);
156 dp->dent.d_reclen = (unsigned short)strlen(dp->dent.d_name);
427 #define NAMELEN(D) strlen((D)->d_name)
433 #define NAMELEN(D) strlen((D)->d_name)
625 if ((strcmp (d->d_name, ".") == 0) ||
626 (strcmp (d->d_name, "..") == 0)) {
632 if (len < 3 || strcmp(".so", d->d_name + len - 3 ) != 0)
637 if (asprintf(&filepath, "%s/%*s", dirnames[i], len, d->d_name) <
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Cwd/
H A DCwd.xs285 namelen = strlen(dp->d_name);
292 if (PerlLIO_lstat(dp->d_name, &statbuf) < 0) {
320 Move(dp->d_name, SvPVX(sv)+1, namelen, char);
/osnet-11/usr/src/cmd/sendmail/src/
H A Ddaemon.c167 Daemons[idx].d_name,
203 Daemons[idx].d_name,
254 Daemons[idx].d_name);
561 Daemons[curdaemon].d_name);
1054 sm_dprintf("opendaemonsocket(%s)\n", d->d_name);
1078 d->d_name,
1094 d->d_name);
1101 d->d_name);
1110 d->d_name);
1119 d->d_name,
1822 char *d_name; member in struct:dflags
[all...]
/osnet-11/usr/src/lib/libreparse/common/
H A Dfs_reparse_lib.c340 if (rp_is_dot_or_dotdot(dent->d_name))
344 "%s/%s", dirpath, dent->d_name);
361 dent->d_name, dlerror());
371 dent->d_name);
/osnet-11/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c428 if (dp->d_name[0] == '.')
431 if ((ptr = strrchr(dp->d_name, '.')) == NULL ||
436 testdict(argv[1], dp->d_name);
/osnet-11/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c344 if (strcmp(emul_feature_filep->d_name, ".") == 0 ||
345 strcmp(emul_feature_filep->d_name, "..") == 0)
352 bit_index = basename_to_uint(emul_feature_filep->d_name);
/osnet-11/usr/src/lib/libshadowfs/common/
H A Dshadow_migrate.c651 if (strcmp(dp->d_name, ".") == 0 ||
652 strcmp(dp->d_name, "..") == 0)
659 if (strcmp(dp->d_name, VFS_SHADOW_PRIVATE_DIR) == 0)
667 strcmp(dp->d_name, ".zfs") == 0)
671 if (fstatat64(fd, dp->d_name, &statbuf,
686 if (shadow_add_entry(shp, sep->se_path, dp->d_name,
/osnet-11/usr/src/lib/scsi/libses/common/
H A Dses_plugin.c329 if (strcmp(dp->d_name, ".") == 0 ||
330 strcmp(dp->d_name, "..") == 0)
335 isa, dp->d_name);
/osnet-11/usr/src/lib/scsi/libsmp/common/
H A Dsmp_plugin.c285 if (strcmp(dp->d_name, ".") == 0 ||
286 strcmp(dp->d_name, "..") == 0)
291 isa, dp->d_name);
/osnet-11/usr/src/lib/libsmedia/library/common/
H A Dl_misc.c225 if (strncmp("sm_", dp->d_name, 3) != 0) {
226 DPRINTF1("not a library %s\n", dp->d_name);
230 PATHNAME, dp->d_name) >= PATH_MAX) {
248 DPRINTF1("NAME %s\n", dp->d_name);
/osnet-11/usr/src/grub/grub2/util/
H A Dgetroot.c583 if (ent->d_name[0] == '.')
586 if (lstat (ent->d_name, &st) < 0)
597 if (stat (ent->d_name, &st) < 0)
610 res = grub_find_device (ent->d_name, dev);
632 if (ent->d_name[0] == 'd' &&
633 ent->d_name[1] == 'm' &&
634 ent->d_name[2] == '-' &&
635 ent->d_name[3] >= '0' &&
636 ent->d_name[3] <= '9')
652 res = xmalloc (strlen (cwd) + strlen (ent->d_name)
[all...]
/osnet-11/usr/src/lib/libsasl/lib/
H A Ddlopen.c77 # define NAMLEN(dirent) strlen((dirent)->d_name)
669 if (dir->d_name[0] == '.')
672 if (strcmp(dir->d_name + (length - strlen(SO_SUFFIX)),
674 && strcmp(dir->d_name + (length - strlen(LA_SUFFIX)),
679 memcpy(name,dir->d_name,length);
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevfsmap.c1648 if (strcmp(direntry->d_name, ".") == 0 ||
1649 strcmp(direntry->d_name, "..") == 0)
1653 dirpath, direntry->d_name);
1995 if ((strcmp(dp->d_name, ".") == 0) ||
1996 (strcmp(dp->d_name, "..") == 0))
1999 "%s/%s", device_path, dp->d_name);
2080 if ((strcmp(dp->d_name, ".") == 0) ||
2081 (strcmp(dp->d_name, "..") == 0))
2084 "%s/%s", devpath, dp->d_name);
2088 regexec(&regex, dp->d_name,
[all...]
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dgenf.c495 if (strcmp(entp->d_name, ".") == 0 ||
496 strcmp(entp->d_name, "..") == 0)
499 if (entp->d_name[0] != 'c')
506 sprintf(namebuf, "%s/%s", dev_name, entp->d_name);
522 if (strstr(entp->d_name, s) != NULL) {
530 if (atoi(&s[1]) == atoi(&entp->d_name[1])) {
533 s, entp->d_name);
/osnet-11/usr/src/lib/libfstyp/common/
H A Dlibfstyp.c448 if (dp->d_name[0] == '.') {
452 "%s/%s", h->libfs_dir, dp->d_name);
453 (void) fstyp_init_module(h, mdir, dp->d_name, NULL);
/osnet-11/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c497 if (strncmp(dp->d_name, mtype, mtype_len) != 0) {
502 dp->d_name);
520 if (sscanf(dp->d_name + mtype_len, "%d",
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Ddevice.h75 char *d_name; /* Name of device. */ member in struct:ntfs_device

Completed in 131 milliseconds

12345