| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-cygwin/ |
| exe-export.exp | 104 set tmpdir tmpdir
107 set MYLDFLAGS "-Wl,--out-implib,$tmpdir/testexe.lib -nostartfiles -nostdlib"
110 if ![run_dlltool $tmpdir/testdll.lib $srcdir/$subdir/testdll.def] {
116 if ![ld_compile "$CC $CFLAGS" $srcdir/$subdir/testexe.c $tmpdir/testexe.o] {
121 if ![ld_special_link "$CC $LDFLAGS $MYLDFLAGS -e _testexe_main@16" $tmpdir/testexe.exe "$tmpdir/testexe.o $srcdir/$subdir/testexe.def $tmpdir/testdll.lib -lkernel32"] {
127 if ![ld_compile "$CC $CFLAGS" $srcdir/$subdir/testdll.c $tmpdir/testdll.o] {
132 if ![ld_special_link "$CC $LDFLAGS -nostartfiles -nostdlib -e _testdll_main@12" $tmpdir/testdll.dll "$tmpdir/testdll.o $srcdir/$subdir/testdll.def $tmpdir/testexe.lib"] { [all...] |
| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-pe/ |
| pe-compile.exp | 43 if ![ld_compile "$CC $CFLAGS" $srcdir/$subdir/basefile1.s tmpdir/basefile1.o] { 56 --base-file=tmpdir/$testname.base \ 57 --export-all-symbols" tmpdir/$testname.dll \ 58 "tmpdir/basefile1.o"] { 63 if { $verbose > 2 } then { verbose "output is [file_contents tmpdir/$testname.base]" 3 } 65 catch "exec wc -c tmpdir/$testname.base" err 67 if ![string match "0 tmpdir/$testname.base" [string trim $err]] then { 84 if ![ld_compile "$CC $CFLAGS -shared" $srcdir/$subdir/vers-script-dll.c tmpdir/vers-script-dll.o] { 97 -Wl,--output-def,tmpdir/$testname.def" tmpdir/$testname.dll [all...] |
| /external/autotest/client/bin/ |
| local_host_unittest.py | 15 self.tmpdir = autotemp.tempdir(unique_id='localhost_unittest') 16 self.addCleanup(self.tmpdir.clean) 147 files = (os.path.join(self.tmpdir.name, 'file1'), 148 os.path.join(self.tmpdir.name, 'file2')) 150 # create some files in tmpdir 156 host.list_files_glob(os.path.join(self.tmpdir.name, '*'))) 163 fname = os.path.join(self.tmpdir.name, 'file') 164 sname = os.path.join(self.tmpdir.name, 'sym') 179 fname = os.path.join(self.tmpdir.name, 'file') 180 sname = os.path.join(self.tmpdir.name, 'sym' [all...] |
| profilers.py | 27 newprofiler.tmpdir = os.path.join(self.tmpdir, profiler)
|
| /prebuilts/go/darwin-x86/src/path/filepath/ |
| match_test.go | 180 tmpDir, err := ioutil.TempDir("", "globsymlink") 184 defer os.RemoveAll(tmpDir) 187 path := Join(tmpDir, tt.path) 188 dest := Join(tmpDir, tt.dest) 266 tmpDir, err := ioutil.TempDir("", "TestWindowsGlob") 270 defer os.RemoveAll(tmpDir) 273 tmpDir, err = EvalSymlinks(tmpDir) 278 if len(tmpDir) < 3 { 279 t.Fatalf("tmpDir path %q is too short", tmpDir [all...] |
| /prebuilts/go/linux-x86/src/path/filepath/ |
| match_test.go | 180 tmpDir, err := ioutil.TempDir("", "globsymlink") 184 defer os.RemoveAll(tmpDir) 187 path := Join(tmpDir, tt.path) 188 dest := Join(tmpDir, tt.dest) 266 tmpDir, err := ioutil.TempDir("", "TestWindowsGlob") 270 defer os.RemoveAll(tmpDir) 273 tmpDir, err = EvalSymlinks(tmpDir) 278 if len(tmpDir) < 3 { 279 t.Fatalf("tmpDir path %q is too short", tmpDir [all...] |
| /toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/hppa/ |
| objdump.exp | 44 if {![binutils_assemble $srcdir/$subdir/addendbug.s tmpdir/addendbug.o]} then { 49 set objfile [remote_download host tmpdir/addendbug.o] 51 set objfile tmpdir/addendbug.o 75 if {![binutils_assemble $srcdir/$subdir/freg.s tmpdir/freg.o]} then { 80 set objfile [remote_download host tmpdir/freg.o] 82 set objfile tmpdir/freg.o
|
| /toolchain/binutils/binutils-2.27/binutils/testsuite/binutils-all/m68k/ |
| objdump.exp | 32 if {![binutils_assemble $srcdir/$subdir/movem.s tmpdir/movem.o]} then { 37 set objfile [remote_download host tmpdir/movem.o] 39 set objfile tmpdir/movem.o 58 if {![binutils_assemble $srcdir/$subdir/fnop.s tmpdir/fnop.o]} then { 63 set objfile [remote_download host tmpdir/fnop.o] 65 set objfile tmpdir/fnop.o
|
| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-elf/ |
| audit.exp | 40 "-Wl,--audit=tmpdir/audit.so" "" 46 "-Wl,--depaudit=tmpdir/audit.so" "" 49 "-shared -Wl,--audit=tmpdir/audit.so" "-fPIC" 52 "-shared -Wl,--audit=tmpdir/audit.so -Wl,--audit=tmpdir/audit2.so \ 53 -Wl,--audit=tmpdir/audit3.so"
|
| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-scripts/ |
| weak.exp | 39 if {! [ld_assemble $as $srcdir/$subdir/weak1.s tmpdir/weak1.o] 40 || ! [ld_assemble $as $srcdir/$subdir/weak2.s tmpdir/weak2.o]} then { 58 if {! [ld_simple_link $ld tmpdir/weak "$flags -T $srcdir/$subdir/weak.t tmpdir/weak1.o tmpdir/weak2.o"] } then { 67 set exec_output [run_host_cmd "$objdump" "-s tmpdir/weak"]
|
| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-tic6x/ |
| tic6x.exp | 48 "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtest.so" "" 63 "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtestr.so" "" 78 "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtestb.so" "" 93 "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtestrb.so" "" 145 if { ![ld_assemble_flags $as "-mpic -mpid=near" $srcdir/$subdir/shlib-1.s tmpdir/shlib-1.o] 146 || ![ld_assemble_flags $as "-mpic -mpid=near" $srcdir/$subdir/shlib-2.s tmpdir/shlib-2.o] 147 || ![ld_assemble $as $srcdir/$subdir/shlib-app-1.s tmpdir/shlib-app-1.o] 148 || ![ld_assemble_flags $as "-mpic -mpid=near -mbig-endian" $srcdir/$subdir/shlib-1.s tmpdir/shlib-1b.o] 149 || ![ld_assemble_flags $as "-mpic -mpid=near -mbig-endian" $srcdir/$subdir/shlib-2.s tmpdir/shlib-2b.o] 150 || ![ld_assemble_flags $as -mbig-endian $srcdir/$subdir/shlib-app-1.s tmpdir/shlib-app-1b.o [all...] |
| /external/tensorflow/tensorflow/core/platform/s3/ |
| s3_file_system_test.cc | 32 string TmpDir(const string& path) { 37 return "s3://" + io::JoinPath(testing::TmpDir(), path); 71 const string fname = TmpDir("RandomAccessFile"); 96 const string fname = TmpDir("WritableFile"); 112 const string fname = TmpDir("AppendableFile"); 121 const string fname = TmpDir("MemoryFile"); 132 const string fname = TmpDir("FileExists"); 141 const string base = TmpDir("GetChildren"); 161 const string fname = TmpDir("DeleteFile"); 167 const string fname = TmpDir("GetFileSize") [all...] |
| /external/vogar/src/vogar/target/ |
| TestEnvironment.java | 68 private final String tmpDir; 71 this.tmpDir = System.getProperty("java.io.tmpdir"); 72 if (tmpDir == null || tmpDir.length() == 0) { 73 throw new AssertionError("tmpDir is null or empty: " + tmpDir); 77 // On android, behaviour around clearing "java.io.tmpdir" is inconsistent. 81 // should be correct on the host and on the jvm too, since tmpdir is assumed 83 System.setProperty("java.io.tmpdir", tmpDir) [all...] |
| /toolchain/binutils/binutils-2.27/ld/testsuite/ld-gc/ |
| gc.exp | 27 set objfile "tmpdir/gc.o" 55 set outfile "tmpdir/$filename" 114 if {![ld_assemble_flags $as $gasopt $srcdir/$subdir/libpersonality.s tmpdir/libpersonality.o] 115 || ![ld_simple_link $ld tmpdir/libpersonality.so "-shared tmpdir/libpersonality.o"] } then { 127 ld_compile "$CC -fPIC $CFLAGS $cflags" $srcdir/$subdir/pr11218-1.c tmpdir/pr11218-1.o 128 ld_simple_link $ld tmpdir/pr11218-1.so "-shared tmpdir/pr11218-1.o" 129 ld_compile "$CC -c $CFLAGS $cflags" $srcdir/$subdir/pr11218-2.c tmpdir/pr11218-2.o 135 ld_compile "$CC $CFLAGS $cflags" $srcdir/$subdir/pr13683.c tmpdir/pr13683. [all...] |
| /tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
| ConfigurationUtilTest.java | 129 File tmpDir = null; 131 tmpDir = FileUtil.createTempDir("test_configs_dir"); 133 File config1 = FileUtil.createTempFile("config", ".config", tmpDir); 135 File subDir = FileUtil.getFileForPath(tmpDir, "sub"); 141 ConfigurationUtil.getConfigNamesFromDirs("sub", Arrays.asList(tmpDir)); 146 configs = ConfigurationUtil.getConfigNamesFromDirs("", Arrays.asList(tmpDir)); 151 FileUtil.recursiveDelete(tmpDir); 161 File tmpDir = null; 163 tmpDir = FileUtil.createTempDir("test_configs_dir"); 165 FileUtil.createTempFile("whatevername", ".whateverextension", tmpDir); [all...] |
| /tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
| SuiteApkInstallerTest.java | 88 File tmpDir = FileUtil.createTempDir("suite-apk-installer"); 91 attributes.put("ROOT_DIR", tmpDir.getAbsolutePath()); 95 assertEquals(tmpDir.getAbsolutePath(), res.getAbsolutePath()); 97 FileUtil.recursiveDelete(tmpDir); 134 File tmpDir = FileUtil.createTempDir("suite-apk-installer"); 135 File apkFile = FileUtil.createTempFile("apk-test", ".apk", tmpDir); 146 attributes.put("ROOT_DIR", tmpDir.getAbsolutePath()); 155 FileUtil.recursiveDelete(tmpDir); 221 File tmpDir = null; 223 tmpDir = FileUtil.createTempDir("test") [all...] |
| /external/ltp/testcases/kernel/syscalls/mkdir/ |
| mkdir09.c | 136 char tmpdir[MAXPATHLEN]; local 141 sprintf(tmpdir, DIR_NAME, j); 142 TEST(mkdir(tmpdir, MODE_RWX)); 150 if (rmdir(tmpdir) < 0) { 250 sprintf(tmpdir, DIR_NAME, j); 251 if (rmdir(tmpdir) < 0) { 330 char tmpdir[MAXPATHLEN]; local 334 sprintf(tmpdir, DIR_NAME, j); 335 TEST(mkdir(tmpdir, MODE_RWX)); 342 tmpdir, TEST_ERRNO) 366 char tmpdir[MAXPATHLEN]; local 400 char tmpdir[MAXPATHLEN]; local [all...] |
| /external/autotest/client/samples/ |
| filesystem | 3 # fs = job.partition('/dev/hda2', job.tmpdir) 6 part = job.partition('/tmp/looped', 1024, job.tmpdir)
|
| /external/autotest/client/tests/interbench/ |
| interbench.py | 14 tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir) 22 os.chdir(self.tmpdir)
|
| /external/e2fsprogs/po/ |
| Rules-quot | 18 tmpdir=`pwd`; \ 23 if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ 24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ 25 rm -f $$tmpdir/$$lang.new.po; \ 27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ 30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ 36 rm -f $$tmpdir/$$lang.new.po; \
|
| /external/elfutils/po/ |
| Rules-quot | 18 tmpdir=`pwd`; \ 23 if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ 24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ 25 rm -f $$tmpdir/$$lang.new.po; \ 27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ 30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ 36 rm -f $$tmpdir/$$lang.new.po; \
|
| /external/libexif/po/ |
| Rules-quot | 18 tmpdir=`pwd`; \ 23 if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ 24 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ 25 rm -f $$tmpdir/$$lang.new.po; \ 27 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ 30 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ 36 rm -f $$tmpdir/$$lang.new.po; \
|
| /external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
| JavaIOTempDirExistTest.java | 52 String tmpdir = System.getProperty("java.io.tmpdir"); local 56 Assert.assertEquals(tempFileBackRef.getParentFile(), new File(tmpdir)); 72 final String tmpdir = System.getProperty("java.io.tmpdir"); local 76 System.setProperty("java.io.tmpdir", newDir.getAbsolutePath()); 82 System.setProperty("java.io.tmpdir", tmpdir);
|
| /external/python/cpython3/Lib/distutils/tests/ |
| test_archive_util.py | 67 tmpdir = self._create_files() 68 self._make_tarball(tmpdir, name, '.tar.gz') 70 self._make_tarball(tmpdir, name, '.tar', compress=None) 74 tmpdir = self._create_files() 75 self._make_tarball(tmpdir, 'archive', '.tar.gz', compress='gzip') 79 tmpdir = self._create_files() 80 self._make_tarball(tmpdir, 'archive', '.tar.bz2', compress='bzip2') 84 tmpdir = self._create_files() 85 self._make_tarball(tmpdir, 'archive', '.tar.xz', compress='xz') 104 def _make_tarball(self, tmpdir, target_name, suffix, **kwargs) [all...] |
| /external/python/cpython3/Lib/test/test_tools/ |
| test_gprof2html.py | 26 tempfile.TemporaryDirectory() as tmpdir: 27 fn = os.path.join(tmpdir, 'abc')
|