Searched refs:Dir (Results 1 - 25 of 231) sorted by relevance

12345678910

/macosx-10.10/gnutar-453/gnutar/lib/
H A Dchdir-long.h32 # define chdir_long(Dir) chdir (Dir)
H A Dsave-cwd.c45 # define chdir_long(Dir) chdir (Dir)
/macosx-10.10/ruby-106/ruby/test/ruby/
H A Dtest_dir.rb12 @root = Pathname.new(Dir.mktmpdir('__test_dir__')).realpath.to_s
29 dir = Dir.open(@root)
48 d = Dir.open('.')
56 assert_raise(Errno::ENOENT) { Dir.open(@nodir) }
60 d = Dir.open(@root)
61 assert_match(/^#<Dir:#{ Regexp.quote(@root) }>$/, d.inspect)
62 assert_match(/^#<Dir:.*>$/, Dir.allocate.inspect)
68 d = Dir.open(@root)
70 assert_nil(Dir
[all...]
H A Dtest_dir_m17n.rb7 Dir.mktmpdir {|dir|
8 Dir.chdir(dir) {
20 ents = Dir.entries(".", opts)
28 ents = Dir.entries(".", opts)
33 exit Dir.entries(".", {:encoding => Encoding.find("filesystem")}).include?(expected_filename)
49 ents = Dir.entries(".", opts)
61 ents = Dir.entries(".", opts)
68 ents = Dir.entries(".", opts)
80 ents = Dir.entries(".", opts)
121 ents = Dir
[all...]
/macosx-10.10/ruby-106/ruby/test/
H A Dtest_tmpdir.rb7 Dir.mktmpdir do |tmpdir|
11 assert_equal(tmpdir, Dir.tmpdir)
13 assert_not_equal(tmpdir, Dir.tmpdir)
15 assert_equal(tmpdir, Dir.tmpdir)
26 break Dir.mktmpdir("~")
31 Dir.rmdir(dir) if dir
H A Dtest_find.rb7 Dir.mktmpdir {|d|
15 Dir.mktmpdir {|d|
17 Dir.mkdir("#{d}/b")
20 Dir.mkdir("#{d}/c")
28 Dir.mktmpdir {|d|
30 Dir.mkdir("#{d}/b")
33 Dir.mkdir("#{d}/c")
35 Dir.chdir(d) {
43 Dir.mktmpdir {|d|
45 Dir
[all...]
/macosx-10.10/ruby-106/ruby/test/rdoc/
H A Dtest_rdoc_markup_include.rb8 @include = @RM::Include.new 'file', [Dir.tmpdir]
12 assert_equal @include, @RM::Include.new('file', [Dir.tmpdir])
14 refute_equal @include, @RM::Include.new('other', [Dir.tmpdir])
/macosx-10.10/ruby-106/ruby/sample/
H A Ddir.rb3 dirp = Dir.open(".")
H A Dtrojan.rb7 for f in d = Dir.open(dir)
/macosx-10.10/tcl-105/tcl/tcl/unix/
H A DinstallManPage41 Dir=$2
46 if test -d $Dir ; then : ; else
50 test -z "$SymOrLoc" && SymOrLoc="$Dir/"
103 rm -f $Dir/$Target $Dir/$Target.*
107 $ManPage > $Dir/$First
108 chmod 444 $Dir/$First
109 $Gzip $Dir/$First
111 ln $SymOrLoc$First$Gz $Dir/$Target$Gz
/macosx-10.10/tcl-105/tk/tk/unix/
H A DinstallManPage41 Dir=$2
46 if test -d $Dir ; then : ; else
50 test -z "$SymOrLoc" && SymOrLoc="$Dir/"
103 rm -f $Dir/$Target $Dir/$Target.*
107 $ManPage > $Dir/$First
108 chmod 444 $Dir/$First
109 $Gzip $Dir/$First
111 ln $SymOrLoc$First$Gz $Dir/$Target$Gz
/macosx-10.10/ruby-106/ruby/ext/-test-/debug/
H A Dextconf.rb1 $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
/macosx-10.10/ruby-106/ruby/ext/-test-/exception/
H A Dextconf.rb1 $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
/macosx-10.10/ruby-106/ruby/ext/-test-/method/
H A Dextconf.rb1 $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
/macosx-10.10/ruby-106/ruby/ext/-test-/path_to_class/
H A Dextconf.rb1 $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
/macosx-10.10/ruby-106/ruby/ext/-test-/string/
H A Dextconf.rb1 $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
/macosx-10.10/ruby-106/ruby/ext/-test-/symbol/
H A Dextconf.rb1 $srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
/macosx-10.10/ruby-106/ruby/test/fileutils/
H A Dclobber.rb24 @prevdir = Dir.pwd
28 tmproot = "#{Dir.tmpdir}/fileutils.rb.#{$$}"
29 Dir.mkdir tmproot unless File.directory?(tmproot)
30 Dir.chdir tmproot
31 my_rm_rf 'data'; Dir.mkdir 'data'
32 my_rm_rf 'tmp'; Dir.mkdir 'tmp'
38 tmproot = Dir.pwd
39 Dir.chdir @prevdir
H A Dtest_fileutils.rb10 TMPROOT = "#{Dir.tmpdir}/fileutils.rb.#{$$}"
14 prevdir = Dir.pwd
16 Dir.mkdir tmproot unless File.directory?(tmproot)
17 Dir.chdir tmproot
62 Dir.mkdir("\n")
63 Dir.rmdir("\n")
73 Dir.chdir prevdir
74 Dir.rmdir tmproot
93 Dir.mkdir path
98 @prevdir = Dir
[all...]
/macosx-10.10/ruby-106/ruby/ext/tk/sample/tkextlib/iwidgets/sample/
H A Dhierarchy.rb7 Dir.chdir(dir) rescue return ''
8 Dir['*'].sort.collect{|f|
/macosx-10.10/ruby-106/ruby/bootstraptest/
H A Dtest_load.rb7 $:.unshift Dir.pwd
18 %w[a a/foo b].each {|d| Dir.mkdir(d)}
/macosx-10.10/ruby-106/ruby/test/rubygems/
H A Dtest_gem_ext_ext_conf_builder.rb29 Dir.chdir @ext do
40 assert_empty Dir.glob(File.join(@ext, 'siteconf*.rb'))
52 Dir.chdir @ext do
75 Dir.chdir @ext do
101 Dir.chdir @ext do
141 Dir.chdir @ext do
147 assert_empty Dir.glob(File.join(@ext, 'siteconf*.rb'))
165 Dir.chdir @ext do
175 Dir.chdir @ext do
H A Dtest_gem_ext_rake_builder.rb28 Dir.chdir @ext do
29 realdir = Dir.pwd
54 Dir.chdir @ext do
H A Dtest_gem_commands_fetch_command.rb26 Dir.chdir @tempdir do
52 Dir.chdir @tempdir do
77 Dir.chdir @tempdir do
101 Dir.chdir @tempdir do
121 Dir.chdir @tempdir do
/macosx-10.10/ruby-106/ruby/ext/psych/
H A Dextconf.rb15 $srcs = Dir.glob("#{$srcdir}/{,yaml/}*.c").map {|n| File.basename(n)}

Completed in 172 milliseconds

12345678910