Searched refs:tempdir (Results 1 - 25 of 66) sorted by relevance

123

/macosx-10.10/xnu-2782.1.97/tools/tests/perf_index/
H A Dperfindex-file_read.c7 char tempdir[MAXPATHLEN]; variable
12 retval = setup_tempdir(tempdir);
14 VERIFY(retval, "tempdir setup failed");
16 printf("tempdir: %s\n", tempdir);
18 return test_file_read_setup(tempdir, num_threads, length, 0L);
22 return test_file_read(tempdir, thread_id, num_threads, length, 0L);
28 retval = test_file_read_cleanup(tempdir, num_threads, length);
31 retval = cleanup_tempdir(tempdir);
H A Dperfindex-file_write.c8 char tempdir[MAXPATHLEN]; variable
13 retval = setup_tempdir(tempdir);
15 VERIFY(retval, "tempdir setup failed");
17 printf("tempdir: %s\n", tempdir);
19 return test_file_write_setup(tempdir, num_threads, length);
24 return test_file_write(tempdir, thread_id, num_threads, length, 0L);
30 retval = test_file_write_cleanup(tempdir, num_threads, length);
33 retval = cleanup_tempdir(tempdir);
H A Dperfindex-file_create.c8 char tempdir[MAXPATHLEN]; variable
13 retval = setup_tempdir(tempdir);
15 VERIFY(retval, "tempdir setup failed");
17 printf("tempdir: %s\n", tempdir);
23 return test_file_create(tempdir, thread_id, num_threads, length);
29 retval = cleanup_tempdir(tempdir);
/macosx-10.10/ruby-106/ruby/test/rubygems/
H A Dtest_gem_path_support.rb9 ENV["GEM_HOME"] = @tempdir
10 ENV["GEM_PATH"] = [@tempdir, "something"].join(File::PATH_SEPARATOR)
23 ps = Gem::PathSupport.new "GEM_HOME" => "#{@tempdir}/foo"
25 assert_equal File.join(@tempdir, "foo"), ps.home
27 expected = util_path + [File.join(@tempdir, 'foo')]
33 alternate = @tempdir.gsub(File::SEPARATOR, File::ALT_SEPARATOR)
36 assert_equal @tempdir, ps.home, "normalize values"
41 ps = Gem::PathSupport.new "GEM_PATH" => %W[#{@tempdir}/foo #{@tempdir}/bar]
46 File.join(@tempdir, 'fo
[all...]
H A Dtest_gem_commands_fetch_command.rb21 refute_path_exists File.join(@tempdir, 'cache'), 'sanity check'
26 Dir.chdir @tempdir do
31 assert_path_exists(File.join(@tempdir, @a2.file_name),
33 refute_path_exists File.join(@tempdir, 'cache'),
46 refute_path_exists File.join(@tempdir, 'cache'), 'sanity check'
52 Dir.chdir @tempdir do
57 assert_path_exists(File.join(@tempdir, @a2.file_name),
59 refute_path_exists File.join(@tempdir, 'cache'),
77 Dir.chdir @tempdir do
82 assert_path_exists(File.join(@tempdir,
[all...]
H A Dtest_gem_commands_unpack_command.rb9 Dir.chdir @tempdir do
60 Dir.chdir @tempdir do
65 assert File.exist?(File.join(@tempdir, 'a-3.a')), 'a should be unpacked'
66 assert File.exist?(File.join(@tempdir, 'b-2')), 'b should be unpacked'
75 gemhome2 = File.join @tempdir, 'gemhome2'
82 Dir.chdir @tempdir do
87 assert File.exist?(File.join(@tempdir, 'a-3.a'))
96 gemhome2 = File.join @tempdir, 'gemhome2'
103 Dir.chdir @tempdir do
128 Dir.chdir @tempdir d
[all...]
H A Dtest_gem_source_local.rb16 FileUtils.mv @a_gem, @tempdir
17 FileUtils.mv @ap_gem, @tempdir
18 FileUtils.mv @b_gem, @tempdir
33 FileUtils.mv a2_gem, @tempdir
45 FileUtils.mv a2_gem, @tempdir
52 FileUtils.mv a2_gem, @tempdir
H A Dtest_gem_indexer.rb27 @tempdir = File.join(@tempdir, 'indexer')
29 gems = File.join(@tempdir, 'gems')
33 @indexer = Gem::Indexer.new(@tempdir)
37 assert_equal @tempdir, @indexer.dest_directory
41 indexer = Gem::Indexer.new @tempdir
44 indexer = Gem::Indexer.new @tempdir, :build_modern => true
93 quickdir = File.join @tempdir, 'quick'
104 assert_indexed @tempdir, "specs.#{@marshal_version}"
105 assert_indexed @tempdir, "spec
[all...]
H A Dtest_gem_dependency_installer.rb10 @gems_dir = File.join @tempdir, 'gems'
96 FileUtils.mv @a1_gem, @tempdir
99 Dir.chdir @tempdir do
173 FileUtils.mv @a1_gem, @tempdir
174 FileUtils.mv @b1_gem, @tempdir
175 FileUtils.mv e1_gem, @tempdir
178 Dir.chdir @tempdir do
183 Dir.chdir @tempdir do
200 FileUtils.mv @a1_gem, @tempdir
201 FileUtils.mv @b1_gem, @tempdir
[all...]
H A Dtest_gem_ext_builder.rb9 @ext = File.join @tempdir, 'ext'
10 @dest_path = File.join @tempdir, 'prefix'
H A Dtest_gem_gem_runner.rb21 temp_conf = File.join @tempdir, '.gemrc'
23 other_gem_path = File.join @tempdir, 'other_gem_path'
24 other_gem_home = File.join @tempdir, 'other_gem_home'
H A Dtest_gem_commands_build_command.rb18 gemspec_file = File.join(@tempdir, @gem.spec_name)
30 gemspec_file = File.join(@tempdir, @gem.spec_name)
69 Dir.chdir @tempdir do
85 gem_file = File.join @tempdir, File.basename(gem.cache_file)
95 gemspec_file = File.join(@tempdir, @gem.spec_name)
H A Dtest_gem_request_set.rb63 installed = rs.install_into @tempdir
65 assert File.exists?(File.join(@tempdir, "specifications", "a-1.gemspec"))
66 assert File.exists?(File.join(@tempdir, "specifications", "b-1.gemspec"))
H A Dtest_gem_ext_configure_builder.rb11 @ext = File.join @tempdir, 'ext'
12 @dest_path = File.join @tempdir, 'prefix'
H A Dtest_gem_ext_rake_builder.rb8 @ext = File.join @tempdir, 'ext'
9 @dest_path = File.join @tempdir, 'prefix'
/macosx-10.10/emacs-93/emacs/
H A Dmake-dist280 tempdir="${tempparent}/${emacsname}"
288 echo "Creating top directory: \`${tempdir}'"
289 mkdir ${tempdir}
296 ln AUTHORS FTP INSTALL README BUGS CONTRIBUTE move-if-change ${tempdir}
297 ln ChangeLog Makefile.in configure configure.in ${tempdir}
298 ln config.bat make-dist update-subdirs vpath.sed ${tempdir}
300 cp mkinstalldirs ${tempdir}
301 cp config.sub ${tempdir}
302 cp config.guess ${tempdir}
303 cp install-sh ${tempdir}
[all...]
/macosx-10.10/apr-32/apr/apr/test/
H A Dtesttemp.c23 const char *tempdir = NULL; local
26 rv = apr_temp_dir_get(&tempdir, p);
28 ABTS_PTR_NOTNULL(tc, tempdir);
34 const char *tempdir = NULL; local
38 rv = apr_temp_dir_get(&tempdir, p);
41 filetemplate = apr_pstrcat(p, tempdir, "/tempfileXXXXXX", NULL);
/macosx-10.10/curl-83.1.2/curl/src/
H A Dtool_dirhie.c96 char *tempdir; local
115 tempdir = strtok(outdup, DIR_CHAR);
117 while(tempdir != NULL) {
124 snprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir);
127 strcpy(dirbuildup, tempdir);
129 snprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir);
139 tempdir = tempdir2;
/macosx-10.10/postfix-255/postfix/
H A Dpostfix-install81 # .IP tempdir
246 rm -f $tempdir/junk || exit 1
247 cp $src $tempdir/junk || exit 1
248 mv -f $tempdir/junk $dst || exit 1
258 rm -f $tempdir/junk || exit 1
275 # ln -s $link $tempdir/junk || exit 1
276 # mv -f $tempdir/junk $2 || {
279 # echo or choose a tempdir that is in the same file system as $2. 1>&2
373 : ${tempdir=`pwd`}
378 test -z "$non_interactive" && for name in install_root tempdir config_director
[all...]
/macosx-10.10/CPANInternal-159.1/File-ExtAttr-1.09/
H A DMakefile.PL5 use File::Temp qw/tempdir/;
59 my $dir = tempdir($template, CLEANUP => 1);
/macosx-10.10/curl-83.1.2/curl/
H A Dmaketgz166 rm -rf $tempdir
167 mkdir $tempdir
168 cd $tempdir
173 rm -rf $tempdir
178 tempdir=".builddir"
/macosx-10.10/ruby-106/ruby/test/rdoc/
H A Dtest_rdoc_ri_paths.rb10 @tempdir = File.join Dir.tmpdir, "test_rdoc_ri_paths_#{$$}"
11 Gem.use_paths @tempdir
12 Gem.ensure_gem_subdirectories @tempdir
41 FileUtils.rm_rf @tempdir
60 Dir.chdir @tempdir do
73 Dir.chdir @tempdir do
86 Dir.chdir @tempdir do
/macosx-10.10/ruby-106/ruby/lib/webrick/httpservlet/
H A Dcgihandler.rb37 @tempdir = server[:TempDir]
48 cgi_out = Tempfile.new("webrick.cgiout.", @tempdir, mode: IO::BINARY)
50 cgi_err = Tempfile.new("webrick.cgierr.", @tempdir, mode: IO::BINARY)
/macosx-10.10/emacs-93/
H A Ddumpemacs.c159 char tempdir[MAXPATHLEN], newpath[MAXPATHLEN]; local
173 snprintf(tempdir, sizeof(tempdir), "%s/emacs.XXXXXX", tmp);
175 if(debugflag) printf("Generating random directory with template %s\n", tempdir);
176 if(NULL == mkdtemp(tempdir))
177 err(1, "mkdtemp(%s) failed", tempdir);
178 chown(tempdir, nobodyUID, 0);
179 if(debugflag) printf("Directory is %s\n", tempdir);
181 snprintf(newpath, sizeof(newpath), "%s/etc", tempdir);
188 snprintf(newpath, sizeof(newpath), "%s/lib-src", tempdir);
[all...]
/macosx-10.10/ruby-106/ruby/test/rake/
H A Dtest_rake.rb37 assert_equal @tempdir, Rake.original_dir

Completed in 397 milliseconds

123