Searched refs:dir (Results 201 - 225 of 1085) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dfork.t231 my $dir;
233 $dir = "f$$.tst";
234 mkdir $dir, 0755;
235 chdir $dir;
236 print cwd() =~ /\Q$dir/i ? "ok 1 parent" : "not ok 1 parent";
238 rmdir $dir;
242 $dir = "f$$.tst";
243 mkdir $dir, 0755;
244 chdir $dir;
245 print cwd() =~ /\Q$dir/
[all...]
/openbsd-current/games/bs/
H A Dbs.c57 unsigned char dir; /* direction of `bow' */ member in struct:__anon1
346 int newx = ss->x + l * xincr[ss->dir];
347 int newy = ss->y + l * yincr[ss->dir];
370 ss->dir = rnd(2) ? E : S;
371 ss->x = rnd(BWIDTH - (ss->dir == E ? ss->length : 0));
372 ss->y = rnd(BDEPTH - (ss->dir == S ? ss->length : 0));
400 ss->x = ss->y = ss->dir = ss->hits = 0;
403 ss->x = ss->y = ss->dir = ss->hits = 0;
537 case 'k': case '8': case KEY_UP: ss->dir = N; break;
538 case 'j': case '2': case KEY_DOWN: ss->dir
[all...]
/openbsd-current/games/atc/
H A Dupdate.c110 dir_diff = pp->new_dir - pp->dir;
124 pp->dir += dir_diff;
125 if (pp->dir >= MAXDIR)
126 pp->dir -= MAXDIR;
127 else if (pp->dir < 0)
128 pp->dir += MAXDIR;
130 pp->xpos += displacement[pp->dir].dx;
131 pp->ypos += displacement[pp->dir].dy;
145 if (pp->dir != sp->airport[pp->dest_no].dir)
[all...]
/openbsd-current/gnu/usr.sbin/mkhybrid/src/libhfs_iso/
H A Dhfs.c933 vol->cwd = data.u.dir.dirDirID;
998 hfsdir *dir; local
1006 dir = ALLOC(hfsdir, 1);
1007 if (dir == 0)
1013 dir->vol = vol;
1019 dir->dirid = 0;
1020 dir->vptr = hfs_mounts;
1026 FREE(dir);
1032 FREE(dir);
1037 dir
1065 hfs_readdir(hfsdir *dir, hfsdirent *ent) argument
1166 hfs_closedir(hfsdir *dir) argument
[all...]
/openbsd-current/usr.sbin/pkg_add/OpenBSD/
H A DPkgCheck.pm227 for my $i (qw(fonts.alias fonts.scale fonts.dir)) {
238 $state->{known}{$name}{'dir'} = 1;
572 my $dir = installed_info($name);
574 if (-e $dir.$i) {
576 $state->say("unlink(#1)", $dir.$i);
579 unlink($dir.$i) or
581 $name, $dir.$i, $!);
585 if (-f $dir) {
587 $state->say("unlink(#1)", $dir);
590 unlink($dir) o
[all...]
/openbsd-current/lib/libcrypto/aes/asm/
H A Daesni-x86_64.pl170 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
171 ( $xlate="${dir}x86_64-xlate.pl" and -f $xlate ) or
172 ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or
284 my $dir=shift;
288 .type _aesni_${dir}rypt3,\@abi-omnipotent
290 _aesni_${dir}rypt3:
301 .L${dir}_loop3:
302 aes${dir} $rndkey1,$inout0
303 aes${dir} $rndkey1,$inout1
305 aes${dir}
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/consistency.vlad/
H A Dvlad.exp259 foreach dir [lsort [glob -nocomplain $srcdir/$subdir/\[a-z\]*]] {
260 if [file isdirectory $dir] {
261 set all_sources [concat [glob -nocomplain $dir/*.c] [glob -nocomplain $dir/*.cpp]]
/openbsd-current/gnu/usr.bin/perl/cpan/Win32API-File/t/
H A Dfile.t43 $dir= "W32ApiF.tmp";
49 $tempdir = File::Spec->catdir($temp,$dir);
50 if( -d $dir ) {
51 print "# deleting ",File::Spec->catdir($temp,$dir,'*'),"\n" if glob "$dir/*";
53 for (glob "$dir/*") {
57 rmdir $dir or die "Could not rmdir $dir: $!";
59 mkdir( $dir, 0777 )
60 or die "# Can't create temp dir,
[all...]
/openbsd-current/gnu/usr.bin/cvs/diff/
H A DMakefile.am21 context.c ed.c normal.c ifdef.c util.c dir.c version.c diff.h \
/openbsd-current/regress/sys/ffs/tests/rmdir/
H A D00.t10 expect dir lstat ${n0} type
/openbsd-current/usr.sbin/adduser/
H A Drmuser.perl132 # Get owner of user's home directory; don't remove home dir if not
156 print STDERR "${whoami}: Home dir ${real_home_dir} is not owned by ${login_name} (uid ${dir_owner})\n";
364 local($dir) = @_;
367 if (-l $dir) {
368 $linkdir = &resolvelink($dir);
370 unlink($dir) ||
371 warn "${whoami}: Warning: could not unlink symlink $dir: $!\n";
377 # Set dir to be the resolved pathname
378 $dir = $linkdir;
380 if (!(-d $dir)) {
[all...]
/openbsd-current/usr.sbin/amd/amd/
H A Dufs_ops.c72 mount_ufs(char *dir, char *fs_name, char *opts) argument
88 mnt.mnt_dir = dir;
/openbsd-current/gnu/usr.bin/cc/cc/
H A DMakefile20 .for dir in /usr/lib/gcc-lib /usr/lib/gcc-lib/${GCC_TARGET} ${SPECDIR}
21 ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${DIRMODE} ${DESTDIR}${dir}
/openbsd-current/usr.sbin/rmt/
H A Drmt.c82 char *dir = NULL; local
92 dir = optarg;
93 if (*dir != '/')
120 if (dir) {
121 if (chdir(dir) != 0)
123 dirlen = strlen(dir);
144 if (dir) {
146 if (strncmp(dir, devp, dirlen) == 0 &&
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dsource.t13 my $dir = 't/source_tests';
132 my $test = File::Spec->catfile( $dir, 'source.t' );
157 ok( delete $file->{dir}, '... file->dir set' );
184 # dir test
186 my $test = $dir;
210 ok( delete $file->{dir}, '... file->dir set' );
241 my $test = File::Spec->catfile( $dir, 'source.t' );
242 my $symlink = File::Spec->catfile( $dir, 'source_lin
[all...]
H A Dsource_handler.t24 my $dir = File::Spec->catdir(
31 my %file = map { $_ => File::Spec->catfile( $dir, $_ ) }
146 file => { lc_ext => '.t', dir => '' }
153 file => { lc_ext => '.pl', dir => '' }
160 file => { lc_ext => '', dir => 't' }
168 lc_ext => '', dir => '', shebang => '#!/usr/bin/perl'
176 file => { lc_ext => '', dir => '' }
/openbsd-current/gnu/usr.bin/texinfo/
H A DMakefile.bsd-wrapper61 sh ${.CURDIR}/util/gen-dir-node ${DESTDIR}/usr/share/info > \
62 ${DESTDIR}/usr/share/info/dir
63 chown ${MANOWN}:${MANGRP} ${DESTDIR}/usr/share/info/dir
64 chmod ${MANMODE} ${DESTDIR}/usr/share/info/dir
/openbsd-current/gnu/llvm/llvm/utils/lit/lit/
H A DLitConfig.py150 def getToolsPath(self, dir, paths, tools):
151 if dir is not None and os.path.isabs(dir) and os.path.isdir(dir):
152 if not lit.util.checkToolsPath(dir, tools):
155 dir = lit.util.whichTools(tools, paths)
158 self.bashPath = lit.util.which('bash', dir)
162 return dir
/openbsd-current/usr.sbin/nsd/
H A Ddbcreate.c160 /** create directories above this file, .../dir/dir/dir/file */
164 char dir[4096]; local
166 strlcpy(dir, path, sizeof(dir));
168 if(dir[0] == PATHSEP)
169 p = strchr(dir+1, PATHSEP);
170 else p = strchr(dir, PATHSEP);
175 if(mkdir(dir
[all...]
/openbsd-current/sys/dev/pci/drm/include/linux/
H A Ddma-mapping.h48 size_t size, enum dma_data_direction dir)
55 enum dma_data_direction dir)
47 dma_map_page(void *dev, struct vm_page *page, size_t offset, size_t size, enum dma_data_direction dir) argument
54 dma_unmap_page(void *dev, dma_addr_t addr, size_t size, enum dma_data_direction dir) argument
/openbsd-current/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/
H A DVMS.pm157 my(@dirs,@libs,$dir,$lib,%found,@fndlibs,$ldlib);
185 foreach $dir (@dirs) {
186 unless (-d $dir) {
187 warn "Skipping nonexistent Directory $dir\n" if $verbose > 1;
188 $dir = '';
191 warn "Resolving directory $dir\n" if $verbose;
192 if (!File::Spec->file_name_is_absolute($dir)) {
193 $dir = catdir($cwd,$dir);
221 foreach $dir (
[all...]
/openbsd-current/gnu/usr.bin/perl/ext/File-Find/t/lib/
H A DTesting.pm28 my ($dir, $mask) = @_[0..1];
29 my $msg = $_[2] || "able to mkdir: $dir";
30 ok( mkdir($dir, $mask), $msg )
31 or die("Unable to mkdir $!: $dir");
42 # $File::Find::dir (%Expect_Dir). Also use it in file operations like
50 # as first argument, to create a directory path like "./fa/dir". If there is
/openbsd-current/lib/libcrypto/arch/amd64/
H A DMakefile.inc71 .for dir f in ${SSLASM}
74 ${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl ${EXTRA_PL}
75 (cd ${LCRYPTO_SRC}/${dir} ; \
84 (cd ${LCRYPTO_SRC}/${dir} ; \
/openbsd-current/gnu/usr.bin/texinfo/lib/
H A Dsystem.h201 # define HAVE_LONG_FILENAMES(dir) (pathconf (dir, _PC_NAME_MAX) > 12)
209 # define HAVE_LONG_FILENAMES(dir) (0)
216 # define HAVE_LONG_FILENAMES(dir) (1)
247 # define HAVE_LONG_FILENAMES(dir) (1)
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/
H A Dwrappers.t190 my $dir = "./HiC_$$";
191 is(-e $dir, undef, "$dir does not exist");
193 is(POSIX::mkdir($dir, 0755), 1, 'mkdir');
194 is(-d $dir, 1, "$dir now exists");
196 my $dh = POSIX::opendir($dir);
207 is(POSIX::rmdir($dir), 1, 'rmdir');
208 is(-e $dir, undef, "$dir doe
[all...]

Completed in 196 milliseconds

1234567891011>>