Home
last modified time | relevance | path

Searched refs:tmpDir (Results 1 – 25 of 31) sorted by relevance

12

/external/vogar/src/vogar/target/
DTestEnvironment.java68 private final String tmpDir; field in TestEnvironment
71 this.tmpDir = System.getProperty("java.io.tmpdir"); in TestEnvironment()
72 if (tmpDir == null || tmpDir.length() == 0) { in TestEnvironment()
73 throw new AssertionError("tmpDir is null or empty: " + tmpDir); in TestEnvironment()
83 System.setProperty("java.io.tmpdir", tmpDir); in TestEnvironment()
99 String dirName = tmpDir + "/" + subDirName; in createTempDirectory()
114 System.setProperty("java.io.tmpdir", tmpDir); in reset()
140 userHome = tmpDir + "/user.home"; in reset()
/external/deqp/scripts/
Dcheck_build_sanity.py34 def __init__ (self, srcDir, tmpDir): argument
36 self.tmpDir = tmpDir
112 buildDir = os.path.join(env.tmpDir, self.buildDir)
201 lambda env: ["--build-dir", os.path.join(env.tmpDir, "android-mustpass")]),
205 lambda env: ["--build-dir", os.path.join(env.tmpDir, "vulkan-mustpass")]),
210 "--build-dir", os.path.join(env.tmpDir, "spirv-binaries"),
211 "--dst-path", os.path.join(env.tmpDir, "spirv-binaries")]),
272 env = Environment(args.srcDir, args.tmpDir)
/external/llvm-project/libcxx/utils/libcxx/test/
Dformat.py38 tmpDir, _ = lit.TestRunner.getTempPaths(test)
40 tmpDir = os.path.join(tmpDir, testName + '.dir')
41 tmpBase = os.path.join(tmpDir, 't')
42 return tmpDir, tmpBase
66 tmpDir, tmpBase = _getTempPaths(test)
68 substitutions = lit.TestRunner.getDefaultSubstitutions(test, tmpDir, tmpBase,
/external/llvm-project/llvm/test/tools/llvm-ar/
Derror-opening-directory.test8 # RUN: mkdir -p %t/tmpDir
9 # RUN: not llvm-ar p %t/tmpDir 2>&1 | \
10 # RUN: FileCheck %s --check-prefix=IS-DIR -DARCHIVE=%t/tmpDir
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DFileClientSessionCacheTest.java27 String tmpDir = System.getProperty("java.io.tmpdir"); in testMaxSize() local
28 if (tmpDir == null) { in testMaxSize()
31 File cacheDir = new File(tmpDir in testMaxSize()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DFileClientSessionCacheTest.java31 String tmpDir = System.getProperty("java.io.tmpdir"); in testMaxSize() local
32 if (tmpDir == null) { in testMaxSize()
35 File cacheDir = new File(tmpDir in testMaxSize()
/external/shflags/
Dshflags_test_helpers65 tmpDir=${SHUNIT_TMPDIR}; export tmpDir
66 stdoutF="${tmpDir}/stdout" && touch "${stdoutF}"
67 stderrF="${tmpDir}/stderr" && touch "${stderrF}"
68 returnF="${tmpDir}/return" && touch "${returnF}"
69 expectedF="${tmpDir}/expected" && touch "${expectedF}"
/external/skqp/tests/
DPDFDocumentTest.cpp44 SkString tmpDir = skiatest::GetTmpDir(); in test_abortWithFile() local
46 if (tmpDir.isEmpty()) { in test_abortWithFile()
51 SkString path = SkOSPath::Join(tmpDir.c_str(), "aborted.pdf"); in test_abortWithFile()
77 SkString tmpDir = skiatest::GetTmpDir(); in test_file() local
78 if (tmpDir.isEmpty()) { in test_file()
83 SkString path = SkOSPath::Join(tmpDir.c_str(), "file.pdf"); in test_file()
DStreamBufferTest.cpp80 SkString tmpDir = skiatest::GetTmpDir(); in DEF_TEST() local
84 if (!tmpDir.isEmpty()) { in DEF_TEST()
85 path = SkOSPath::Join(tmpDir.c_str(), subdir); in DEF_TEST()
106 if (tmpDir.isEmpty() && f.skipIfNoTmpDir) { in DEF_TEST()
Dskia_test.cpp157 SkString tmpDir = skiatest::GetTmpDir(); in main() local
158 if (!tmpDir.isEmpty()) { in main()
159 header.appendf(" --tmpDir %s", tmpDir.c_str()); in main()
DTest.cpp16 DEFINE_string2(tmpDir, t, nullptr, "Temp directory to use.");
DStreamTest.cpp48 static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) { in test_filestreams() argument
49 SkString path = SkOSPath::Join(tmpDir, "wstream_test"); in test_filestreams()
136 SkString tmpDir = skiatest::GetTmpDir(); in TestWStream() local
137 if (!tmpDir.isEmpty()) { in TestWStream()
138 test_filestreams(reporter, tmpDir.c_str()); in TestWStream()
/external/skia/tests/
DPDFDocumentTest.cpp45 SkString tmpDir = skiatest::GetTmpDir(); in test_abortWithFile() local
47 if (tmpDir.isEmpty()) { in test_abortWithFile()
52 SkString path = SkOSPath::Join(tmpDir.c_str(), "aborted.pdf"); in test_abortWithFile()
78 SkString tmpDir = skiatest::GetTmpDir(); in test_file() local
79 if (tmpDir.isEmpty()) { in test_file()
84 SkString path = SkOSPath::Join(tmpDir.c_str(), "file.pdf"); in test_file()
DStreamBufferTest.cpp79 SkString tmpDir = skiatest::GetTmpDir(); in DEF_TEST() local
83 if (!tmpDir.isEmpty()) { in DEF_TEST()
84 path = SkOSPath::Join(tmpDir.c_str(), subdir); in DEF_TEST()
107 if (tmpDir.isEmpty() && f.skipIfNoTmpDir) { in DEF_TEST()
Dskia_test.cpp174 SkString tmpDir = skiatest::GetTmpDir(); in main() local
175 if (!tmpDir.isEmpty()) { in main()
176 header.appendf(" --tmpDir %s", tmpDir.c_str()); in main()
DDataRefTest.cpp154 SkString tmpDir = skiatest::GetTmpDir(); in test_files() local
155 if (tmpDir.isEmpty()) { in test_files()
159 SkString path = SkOSPath::Join(tmpDir.c_str(), "data_test"); in test_files()
DStreamTest.cpp53 static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) { in test_filestreams() argument
54 SkString path = SkOSPath::Join(tmpDir, "wstream_test"); in test_filestreams()
141 SkString tmpDir = skiatest::GetTmpDir(); in TestWStream() local
142 if (!tmpDir.isEmpty()) { in TestWStream()
143 test_filestreams(reporter, tmpDir.c_str()); in TestWStream()
/external/boringssl/src/util/
Drun_android_tests.go296 tmpDir, err := ioutil.TempDir("", "boringssl-android")
301 defer os.RemoveAll(tmpDir)
331 …if err := goTool("build", "-o", filepath.Join(tmpDir, "util/all_tests"), "util/all_tests.go"); err…
362 …if err := goTool("test", "-c", "-o", filepath.Join(tmpDir, "ssl/test/runner/runner"), "./ssl/test/…
383 …if err := copyFile(filepath.Join(tmpDir, "build", binary), filepath.Join(*buildDir, binary)); err …
395 …if err := copyFile(filepath.Join(tmpDir, "build", "lib", filepath.Base(library)), filepath.Join(*b…
405 if err := copyFile(filepath.Join(tmpDir, file), file); err != nil {
412 if err := adb("push", "-p", tmpDir, "/data/local/tmp/boringssl-tmp"); err != nil {
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DAbstractTestCase.java378 final File tmpDir = createTempDir(); in createTempDirAndFile() local
379 final File tmpFile = File.createTempFile("testfile", "", tmpDir); in createTempDirAndFile()
383 return new File[] { tmpDir, tmpFile }; in createTempDirAndFile()
388 final File tmpDir = mkdir("testdir"); in createTempDir() local
389 tmpDir.deleteOnExit(); in createTempDir()
390 return tmpDir; in createTempDir()
/external/llvm/utils/lit/lit/
DTestRunner.py603 tmpDir = os.path.join(execdir, 'Output')
604 tmpBase = os.path.join(tmpDir, execbase)
605 return tmpDir, tmpBase
607 def getDefaultSubstitutions(test, tmpDir, tmpBase, normalize_slashes=False): argument
615 tmpDir = tmpDir.replace('\\', '/')
627 ('%T', tmpDir),
636 ('%/T', tmpDir.replace('\\', '/')),
646 ('%:T', re.sub(r'^(.):', r'\1', tmpDir)),
654 ('%:T', tmpDir),
929 tmpDir, tmpBase = getTempPaths(test)
[all …]
/external/testng/src/test/java/test/failures/
DBaseFailuresTest.java87 File tmpDir = new File(outputDir); in verify() local
88 tmpDir.delete(); in verify()
/external/llvm-project/llvm/utils/lit/lit/
DTestRunner.py1062 tmpDir = os.path.join(execdir, 'Output')
1063 tmpBase = os.path.join(tmpDir, execbase)
1064 return tmpDir, tmpBase
1073 def getDefaultSubstitutions(test, tmpDir, tmpBase, normalize_slashes=False): argument
1081 tmpDir = tmpDir.replace('\\', '/')
1094 ('%T', tmpDir)])
1102 ('%/T', tmpDir.replace('\\', '/')),
1121 regex_escape(tmpDir.replace('\\', '/'))),
1131 ('%:T', colonNormalizePath(tmpDir)),
1574 tmpDir, tmpBase = getTempPaths(test)
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DX5455_ExtendedTimestampTest.java66 private File tmpDir; field in X5455_ExtendedTimestampTest
75 if (tmpDir != null) { in removeTempFiles()
76 rmdir(tmpDir); in removeTempFiles()
423 tmpDir = mkdir("X5455"); in testWriteReadRoundtrip()
424 final File output = new File(tmpDir, "write_rewrite.zip"); in testWriteReadRoundtrip()
/external/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp444 o.tmpDir = options[TEMPDIR].value; in main()
446 o.tmpDir = o.targetDir; in main()
574 char tmpDir[SMALL_BUFFER_MAX_SIZE] = ""; in pkg_executeOptions() local
602 uprv_strcpy(tmpDir, o->tmpDir); in pkg_executeOptions()
603 uprv_strcat(tmpDir, PKGDATA_FILE_SEP_STRING); in pkg_executeOptions()
605 uprv_strcpy(datFileNamePath, tmpDir); in pkg_executeOptions()
733 o->tmpDir, in pkg_executeOptions()
774 o->tmpDir, in pkg_executeOptions()
1618 o->tmpDir, in pkg_createWithoutAssemblyCode()
1655 …createCommonDataFile(o->tmpDir, o->shortName, o->entryName, NULL, o->srcDir, o->comment, o->fileLi… in pkg_createWithoutAssemblyCode()
[all …]
/external/auto/common/src/test/java/com/google/auto/common/
DOverridesTest.java535 File tmpDir = File.createTempFile("OverridesTest", "dir"); in evaluate() local
536 tmpDir.delete(); in evaluate()
537 tmpDir.mkdir(); in evaluate()
538 File dummySourceFile = new File(tmpDir, "Dummy.java"); in evaluate()
544 tmpDir.delete(); in evaluate()

12