/illumos-gate/usr/src/tools/codesign/ |
H A D | signproto.sh | 41 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 D | tst.basename.d | 38 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/lib/libbc/libc/sys/sys5/ |
H A D | mount.c | 31 mount(spec, dir, rdonly) 33 char *dir; 38 if ((ret = _mount(spec, dir, rdonly)) != 0) {
|
/illumos-gate/usr/src/cmd/sgs/tools/ |
H A D | lint_hdr.pl | 62 use vars qw($script $usage $dir $argc $target $elfclass); 93 # Clip the path up through ..sgs/, leaving the path from sgs to current dir 94 $dir = getcwd(); 95 $dir = "$1" if $dir =~ /\/sgs\/(.*)$/; 98 # target [dir] 99 # However, if this is the special case where $dir is equal to 101 # and prog matches our target name, then just show dir without brackets. 102 if (($dir =~ /^([^\/]+)\/[^\/]+$/) && ($1 eq $target)) { 105 $dir [all...] |
/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathtmp.c | 35 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 D | pathtemp.c | 28 * [<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:__anon2659 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 D | cleanup.ksh | 36 for dir in $TESTDIRS; do 37 rm -rf $dir
|
H A D | setup.ksh | 38 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 D | move.c | 21 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 D | src2texi | 7 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 D | getdents.c | 64 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 D | tempnam.c | 31 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 D | run_arch_tests.ksh | 18 # 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 D | pwd.c | 64 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/libdll/common/ |
H A D | dllopen.c | 48 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/lib/libxcurses/src/libc/mks/ |
H A D | m_pathca.c | 54 * 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/cmd/dtrace/test/cmd/scripts/ |
H A D | dtfailures.ksh | 32 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 D | setpreroot.c | 25 * 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 D | cd_pwd.c | 54 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 D | readdir.c | 36 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 D | Pisprocdir.c | 35 * 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/fs.d/nfs/nfsfind/ |
H A D | nfsfind.sh | 44 for dir in $DIRS 46 find $dir -type f -name .nfs\* -mtime +7 -mount -exec rm -f {} \;
|
/illumos-gate/usr/src/cmd/lp/lib/access/ |
H A D | files.c | 49 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/test/zfs-tests/tests/functional/mmap/ |
H A D | mmap_read_001_pos.ksh | 53 typeset dir=$(get_device_dir $DISKS) 54 verify_filesys "$TESTPOOL" "$TESTPOOL/$TESTFS" "$dir"
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | mktemp.c | 76 char* dir = ""; local 98 dir = 0; 100 dir = opt_info.arg; 106 dir = 0; 135 if (dir && !*dir) 136 dir = 0; 141 dir = fmtbuf(i); 142 memcpy(dir, pfx, i); 143 dir[ [all...] |