Searched refs:dir (Results 1 - 25 of 1103) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/codesign/
H A Dsignproto.sh41 dir=`dirname $0`
42 dir=`[[ $dir = /* ]] && print $dir || print $PWD/$dir`
44 findcrypto $1 | $dir/signit -i $ROOT -l ${CODESIGN_USER:-${LOGNAME}}
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.basename.d38 dir[i++] = "/foo/bar/baz";
39 dir[i++] = "/foo/bar///baz/";
40 dir[i++] = "/foo/bar/baz/";
41 dir[i++] = "/foo/bar/baz//";
42 dir[i++] = "/foo/bar/baz/.";
43 dir[i++] = "/foo/bar/baz/./";
44 dir[i++] = "/foo/bar/baz/.//";
45 dir[i++] = "foo/bar/baz/";
46 dir[i++] = "/";
47 dir[
[all...]
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dofmt.awk33 dir = ""
44 if (dir != "") {
46 print dir, highest, lowest
48 print dir, "-", "-"
50 dir = substr($0, 1, length($0)-3) # trim off /.:
H A Dofmtbig.awk93 print dir, highest, lowest
94 dir = $0
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dmount.c31 mount(spec, dir, rdonly)
33 char *dir;
38 if ((ret = _mount(spec, dir, rdonly)) != 0) {
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathtmp.c35 pathtmp(char* buf, const char* dir, const char* pfx, int* fdp) argument
39 len = !buf ? 0 : !dir ? L_tmpnam : (strlen(dir) + 14);
40 return pathtemp(buf, len, dir, pfx, fdp);
H A Dpathtemp.c28 * [<dir>/][<pfx>]<bas>.<suf>
46 * dir and pfx may be 0
59 * /cycle dir specifies TMPPATH cycle control
61 * manual cycled by application with dir=(nil)
63 * /prefix dir specifies the default prefix (default ast)
64 * /private private file/dir modes
65 * /public public file/dir modes
66 * /seed dir specifies pseudo-random generator seed
68 * /TMPPATH dir overrides the env value
69 * /TMPDIR dir override
90 char** dir; member in struct:__anon2774
102 pathtemp(char* buf, size_t len, const char* dir, const char* pfx, int* fdp) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mount/
H A Dcleanup.ksh36 for dir in $TESTDIRS; do
37 rm -rf $dir
H A Dsetup.ksh38 dir=$TESTDIR.$i
42 log_must mkdir -p $dir
43 log_must zfs set mountpoint=$dir $fs
/illumos-gate/usr/src/cmd/eqn/
H A Dmove.c21 move(int dir, int amt, int p) argument
32 if (dir == FWD || dir == BACK) /* fwd, back */
33 printf("\\h'%s%du'\\*(%d\n", (dir == BACK) ? "-" : "", a, p);
34 else if (dir == UP)
36 else if (dir == DOWN)
39 printf(".\tmove %d dir %d amt %d; h=%d b=%d\n",
40 p, dir, a, eht[yyval], ebase[yyval]);
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dsrc2texi7 dir=$1
15 ${dir}/${src} | expand > ${texi}.new
16 mv -f ${texi}.new ${dir}/${texi}
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dgetdents.c64 struct dirent *dir; local
86 dir = (struct dirent *)buf;
89 while ((((int)(((char *)dir) + sizeof(struct n_dirent) +
93 dir->d_off = ndir->d_off;
94 dir->d_fileno = ndir->d_ino; /* NOT VALID */
95 dir->d_namlen = strlen(ndir->d_name);
96 dir->d_reclen = (short)((sizeof(struct dirent) - MAXNAMLEN +
97 dir->d_namlen + ALIGN) & -ALIGN);
98 strncpy(dir->d_name, ndir->d_name, dir
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Dtempnam.c31 char *tempnam(dir, pfx)
32 char *dir, *pfx;
40 len = strlen(dir) + strlen(pfx) + 10;
42 sprintf(tnm, "%s", dir);
46 sprintf(tnm, "%s/%s%d%d", dir, pfx, pid, seq++);
/illumos-gate/usr/src/test/libc-tests/tests/common/
H A Drun_arch_tests.ksh18 # First we set $dir to dirname $0, and $prog to basename $0 .ksh,
22 dir=${0%/*}
26 dir=.
48 ${dir}/${prog}.${f} \
49 ${dir}/${f}/${prog}.${f} \
50 ${dir}/${f}/${prog}
/illumos-gate/usr/src/cmd/sh/
H A Dpwd.c64 cwd(unsigned char *dir) argument
71 rmslash(dir);
75 pdir = dir;
76 if (*dir == SLASH)
90 if (*(--pdir) == DOT && pdir > dir && *(--pdir) == SLASH) {
91 if (pdir > dir) {
101 rmslash(dir);
103 /* Now that the dir is canonicalized, process it */
105 if (*dir == DOT && *(dir
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_pathca.c54 * dir == NULL
56 * dir is an invalid pathname
57 * strlen(dir) + strlen(file) +2 > maximum allowable pathlength
59 * note: if PATH_MAX has to be retrieved by m_pathmax(dir),
60 * we may return error if the dir name has problems,
64 m_pathcat(dir, file)
65 const char *dir;
74 if ((dir == NULL) || (file == NULL))
80 l = m_pathmax(dir);
85 dir_len = strlen(dir);
[all...]
/illumos-gate/usr/src/lib/libdll/common/
H A Ddllopen.c48 char* dir;
62 dir = (char*)name;
63 len = ++base - dir;
67 dir = "./";
71 path = sfprints("%-.*s%s%c%s=%-.*s%s%s", len, dir, base, 0, info->env, len, dir, olibpath ? ":" : "", olibpath ? olibpath : "");
/illumos-gate/usr/src/cmd/dtrace/test/cmd/scripts/
H A Ddtfailures.ksh32 dir=failure.$failure
33 tst=`cat $dir/README | head -1 | nawk '{ print $2 }'`
37 details=`tail -1 $dir/*.err | cut -c1-$cols`
/illumos-gate/usr/src/lib/libast/common/preroot/
H A Dsetpreroot.c25 * force current command to run under dir preroot
36 setpreroot(register char** argv, const char* dir) argument
45 if ((argv || (argv = opt_info.argv)) && (dir || (dir = getenv(PR_BASE)) && *dir) && !ispreroot(dir) && (*(cmd = *argv++) == '/' || (cmd = pathpath(buf, cmd, NiL, PATH_ABSOLUTE|PATH_REGULAR|PATH_EXECUTE))))
53 *ap++ = dir;
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dcd_pwd.c54 register char *dir; local
81 dir = argv[0];
88 dir = sh_substitute(oldpwd,dir,argv[1]);
89 else if(!dir || *dir==0)
90 dir = nv_getval(HOME);
91 else if(*dir == '-' && dir[1]==0)
92 dir
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dreaddir.c36 static struct dirent dir; /* XXX not thread safe */ local
47 errno = (f->f_ops->fo_readdir)(f, &dir);
50 return (&dir);
/illumos-gate/usr/src/lib/libproc/common/
H A DPisprocdir.c35 * Return TRUE iff dir is the /proc directory.
38 Pisprocdir(struct ps_prochandle *Pr, const char *dir) argument
44 if (*dir == '/')
46 procfs_path, (int)Pr->pid, dir);
49 procfs_path, (int)Pr->pid, dir);
/illumos-gate/usr/src/cmd/lp/lib/access/
H A Dfiles.c49 char * dir,
55 getaccessfile (dir, name, prefix, base)
56 char *dir,
70 parent = makepath(dir, name, (char *)0);
48 getaccessfile( char * dir, char * name, char * prefix, char * base ) argument
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsfind/
H A Dnfsfind.sh44 for dir in $DIRS
46 find $dir -type f -name .nfs\* -mtime +7 -mount -exec rm -f {} \;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmap/
H A Dmmap_read_001_pos.ksh53 typeset dir=$(get_device_dir $DISKS)
54 verify_filesys "$TESTPOOL" "$TESTPOOL/$TESTFS" "$dir"

Completed in 233 milliseconds

1234567891011>>