/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | getcwd.pl | 16 local($dotdots, $cwd, @pst, @cst, $dir, @tst); 42 $dir = ''; 48 unless (defined ($dir = readdir(getcwd'PARENT))) #')) 54 unless (@tst = lstat("$dotdots/$dir")) 56 # warn "lstat($dotdots/$dir): $!"; 61 while ($dir eq '.' || $dir eq '..' || $tst[$[] != $pst[$[] || 64 $cwd = "$dir/$cwd"; 66 } while ($dir ne '');
|
H A D | blib.pm | 11 perl -Mblib=dir script [args...] 16 I<dir> (or current directory) and working back up to five levels of '..'. 49 my $dir = getcwd; 50 if ($^O eq 'VMS') { ($dir = VMS::Filespec::unixify($dir)) =~ s-/\z--; } 53 $dir = shift; 54 $dir =~ s/blib\z//; 55 $dir =~ s,/+\z,,; 56 $dir = File::Spec->curdir unless ($dir); [all...] |
H A D | SelfLoader.t | 5 $dir = "self-$$"; 9 $dir = ":" . $dir; 13 @INC = $dir; 19 mkdir $dir, 0755 or die "Can't mkdir $dir: $!"; 21 open(FOO, ">$dir${sep}Foo.pm") or die; 50 open(BAR, ">$dir${sep}Bar.pm") or die; 205 return unless $dir && -d $dir; [all...] |
H A D | find.pl | 7 # where wanted does whatever you want. $dir contains the 9 # that directory. $name contains "$dir/$_". You are cd'ed 10 # to $dir when the function is called. The function may 36 *dir = *File::Find::dir;
|
/osnet-11/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:__anon1176 102 pathtemp(char* buf, size_t len, const char* dir, const char* pfx, int* fdp) argument [all...] |
H A D | pathfind.c | 40 char dir[1]; /* directory path */ member in struct:Dir_s 50 * append dir to pathfind() include list 54 pathinclude(const char* dir) argument 59 if (dir && *dir && !streq(dir, ".") && directory(dir, &st)) 62 if (streq(dir, dp->dir)) 64 if (!(dp = oldof(0, Dir_t, 1, strlen(dir)))) [all...] |
/osnet-11/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}
|
/osnet-11/usr/src/grub/grub2/util/grub.d/ |
H A D | 10_windows.in | 59 dir=`cygpath "$drv"` 60 test -n "$dir" || continue 65 if [ -f "$dir"/bootmgr -a -f "$dir"/boot/bcd ] ; then 69 elif [ -f "$dir"/ntldr -a -f "$dir"/ntdetect.com -a -f "$dir"/boot.ini ] ; then 70 OS=`get_os_name_from_boot_ini "$dir"/boot.ini` || OS="Windows NT/2000/XP loader" 78 dev=`${grub_probe} -t device "$dir" 2>/dev/null` || continue
|
/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | dirname-lgpl.c | 78 char *dir = malloc (length + append_dot + 1); local 79 if (!dir) 81 memcpy (dir, file, length); 83 dir[length++] = '.'; 84 dir[length] = '\0'; 85 return dir;
|
/osnet-11/usr/src/lib/libdll/common/ |
H A D | dllopen.c | 46 char* dir; 60 dir = (char*)name; 61 len = ++base - dir; 65 dir = "./"; 69 path = sfprints("%-.*s%s%c%s=%-.*s%s%s", len, dir, base, 0, info->env, len, dir, olibpath ? ":" : "", olibpath ? olibpath : "");
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | dirname-lgpl.c | 78 char *dir = malloc (length + append_dot + 1); local 79 if (!dir) 81 memcpy (dir, file, length); 83 dir[length++] = '.'; 84 dir[length] = '\0'; 85 return dir;
|
/osnet-11/usr/src/lib/libxcurses/src/libc/mks/ |
H A D | m_pathca.c | 50 * dir == NULL 52 * dir is an invalid pathname 53 * strlen(dir) + strlen(file) +2 > maximum allowable pathlength 55 * note: if PATH_MAX has to be retrieved by m_pathmax(dir), 56 * we may return error if the dir name has problems, 60 m_pathcat(dir, file) 61 const char *dir; 70 if ((dir == NULL) || (file == NULL)) 76 l = m_pathmax(dir); 81 dir_len = strlen(dir); [all...] |
/osnet-11/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);
|
/osnet-11/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) 90 dir = nv_getval(HOME); 91 else if(*dir == '-' && dir[1]==0) 92 dir = nv_getval(opwdnod); 93 if(!dir || *di [all...] |
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | mktemp.c | 76 char* dir = ""; local 96 dir = 0; 98 dir = opt_info.arg; 104 dir = 0; 133 if (dir && !*dir) 134 dir = 0; 139 dir = fmtbuf(i); 140 memcpy(dir, pfx, i); 141 dir[ [all...] |
H A D | rmdir.c | 59 register char* dir; local 94 while (dir = *argv++) 96 end = dir; 97 if (pflag) end += strlen(dir); 101 if (rmdir(dir) < 0) 112 error(ERROR_system(0), "%s: cannot remove", dir); 118 do if (end <= dir) goto next; while (*--end != '/'); 119 do if (end <= dir) goto next; while (*(end - 1) == '/' && end--);
|
/osnet-11/usr/src/cmd/perl/5.8.4/ |
H A D | get_no_keywords.sh | 22 dir=${dirfile%/*} 29 if [[ ! -d $dir ]]; then 30 printf 'Invalid directory: %s\n' $dir 33 cd $dir || exit 1
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/lib/MakeMaker/Test/Setup/ |
H A D | Recurs.pm | 36 my $dir = dirname($file); 37 mkpath $dir; 48 my $dir = dirname($file); 49 if( -e $dir ) { 50 rmtree($dir) || return;
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | ckvolseq.c | 46 ckvolseq(char *dir, int part, int nparts) argument 59 (void) snprintf(path, sizeof (path), "%s/pkginfo", dir); 65 (void) snprintf(path, sizeof (path), "%s/pkgmap", dir); 75 (void) snprintf(path, sizeof (path), "%s/pkginfo", dir); 91 (void) snprintf(path, sizeof (path), "%s/root.%d", dir, part); 94 (void) snprintf(path, sizeof (path), "%s/reloc.%d", dir, part); 99 dir, part);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | addr_order.c | 44 int dir; local 51 dir = addr1->length - addr2->length; 63 return dir;
|
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/t/ |
H A D | randtest.c | 65 static void logmsg(const char *msg, char dir, ea_file_t *f, ea_object_t *obj) argument 84 log_op, dir, pos, fi->ef_ndeep, posbuf, fi->ef_advance, msg); 129 do_reads(ea_file_t *f, char dir, int sz) argument 140 if (dir == 'B') { 141 logmsg("> ea_previous_object", dir, f, NULL); 144 logmsg("! SOF", dir, f, NULL); 150 logmsg("< ea_previous_object", dir, f, NULL); 155 logmsg("> ea_next_object", dir, f, NULL); 158 logmsg("! EOF", dir, f, NULL); 159 return (dir 203 char dir; local [all...] |
/osnet-11/usr/src/lib/libsmbrp/i386/ |
H A D | Makefile | 28 $(INS.dir)
|
/osnet-11/usr/src/lib/libsmbrp/sparc/ |
H A D | Makefile | 28 $(INS.dir)
|
/osnet-11/usr/src/grub/grub2/include/grub/emu/ |
H A D | getroot.h | 32 char *grub_find_device (const char *dir, dev_t dev); 33 char *grub_guess_root_device (const char *dir);
|