Home
last modified time | relevance | path

Searched refs:tmpDir (Results 1 – 25 of 28) 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)
203 lambda env: ["--build-dir", os.path.join(env.tmpDir, "android-mustpass")]),
207 lambda env: ["--build-dir", os.path.join(env.tmpDir, "vulkan-mustpass")]),
211 lambda env: ["--build-dir", os.path.join(env.tmpDir, "spirv-binaries"),
212 "--dst-path", os.path.join(env.tmpDir, "spirv-binaries")]),
273 env = Environment(args.srcDir, args.tmpDir)
/external/boringssl/src/util/
Drun_android_tests.go213 tmpDir, err := ioutil.TempDir("", "boringssl-android")
218 defer os.RemoveAll(tmpDir)
248 …if err := goTool("build", "-o", filepath.Join(tmpDir, "util/all_tests"), "util/all_tests.go"); err…
279 …if err := goTool("test", "-c", "-o", filepath.Join(tmpDir, "ssl/test/runner/runner"), "./ssl/test/…
300 …if err := copyFile(filepath.Join(tmpDir, "build", binary), filepath.Join(*buildDir, binary)); err …
312 …if err := copyFile(filepath.Join(tmpDir, "build", "lib", filepath.Base(library)), filepath.Join(*b…
322 if err := copyFile(filepath.Join(tmpDir, file), file); err != nil {
329 if err := adb("push", "-p", tmpDir, "/data/local/tmp/boringssl-tmp"); err != nil {
/external/shflags/src/
Dshflags_test_helpers48 tmpDir=${SHUNIT_TMPDIR}
49 stdoutF="${tmpDir}/stdout"
50 stderrF="${tmpDir}/stderr"
51 returnF="${tmpDir}/return"
52 expectedF="${tmpDir}/expected"
/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/skia/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.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()
105 if (tmpDir.isEmpty() && f.skipIfNoTmpDir) { in DEF_TEST()
Dskia_test.cpp175 SkString tmpDir = skiatest::GetTmpDir(); in main() local
176 if (!tmpDir.isEmpty()) { in main()
177 header.appendf(" --tmpDir %s", tmpDir.c_str()); in main()
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()
DTest.cpp16 static DEFINE_string2(tmpDir, t, nullptr, "Temp directory to use.");
DDataRefTest.cpp155 SkString tmpDir = skiatest::GetTmpDir(); in test_files() local
156 if (tmpDir.isEmpty()) { in test_files()
160 SkString path = SkOSPath::Join(tmpDir.c_str(), "data_test"); in test_files()
/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()
DDataRefTest.cpp156 SkString tmpDir = skiatest::GetTmpDir(); in test_files() local
157 if (tmpDir.isEmpty()) { in test_files()
161 SkString path = SkOSPath::Join(tmpDir.c_str(), "data_test"); in test_files()
/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/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.cpp443 o.tmpDir = options[TEMPDIR].value; in main()
445 o.tmpDir = o.targetDir; in main()
573 char tmpDir[SMALL_BUFFER_MAX_SIZE] = ""; in pkg_executeOptions() local
601 uprv_strcpy(tmpDir, o->tmpDir); in pkg_executeOptions()
602 uprv_strcat(tmpDir, PKGDATA_FILE_SEP_STRING); in pkg_executeOptions()
604 uprv_strcpy(datFileNamePath, tmpDir); in pkg_executeOptions()
732 o->tmpDir, in pkg_executeOptions()
773 o->tmpDir, in pkg_executeOptions()
1609 o->tmpDir, in pkg_createWithoutAssemblyCode()
1646 …createCommonDataFile(o->tmpDir, o->shortName, o->entryName, NULL, o->srcDir, o->comment, o->fileLi… in pkg_createWithoutAssemblyCode()
[all …]
Dpkgtypes.h118 const char *tmpDir; member
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/
DTestRunner.py1187 tmpDir = os.path.join(execdir, 'Output')
1188 tmpBase = os.path.join(tmpDir, execbase)
1189 return tmpDir, tmpBase
1198 def getDefaultSubstitutions(test, tmpDir, tmpBase, normalize_slashes=False): argument
1206 tmpDir = tmpDir.replace('\\', '/')
1221 ('%T', tmpDir),
1230 ('%/T', tmpDir.replace('\\', '/')),
1240 ('%:T', colonNormalizePath(tmpDir)),
1565 tmpDir, tmpBase = getTempPaths(test)
1567 substitutions += getDefaultSubstitutions(test, tmpDir, tmpBase,

12