Home
last modified time | relevance | path

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

12

/external/syzkaller/pkg/vcs/
Dfuchsia.go46 tmpDir := ctx.dir + ".tmp"
47 if err := osutil.MkdirAll(tmpDir); err != nil {
50 defer os.RemoveAll(tmpDir)
51 if err := osutil.SandboxChown(tmpDir); err != nil {
56 if _, err := runSandboxed(tmpDir, "bash", "-c", cmd); err != nil {
59 return os.Rename(filepath.Join(tmpDir, "fuchsia"), ctx.dir)
/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.go199 tmpDir, err := ioutil.TempDir("", "boringssl-android")
204 defer os.RemoveAll(tmpDir)
234 …if err := goTool("build", "-o", filepath.Join(tmpDir, "util/all_tests"), "util/all_tests.go"); err…
265 …if err := goTool("test", "-c", "-o", filepath.Join(tmpDir, "ssl/test/runner/runner"), "./ssl/test/…
273 …if err := copyFile(filepath.Join(tmpDir, "build", binary), filepath.Join(*buildDir, binary)); err …
281 if err := copyFile(filepath.Join(tmpDir, file), file); err != nil {
288 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/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.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()
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/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()
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 DEFINE_string2(tmpDir, t, nullptr, "Temp directory to use.");
/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/syzkaller/pkg/osutil/
Dosutil.go138 tmpDir := dstDir + ".tmp"
139 if err := os.RemoveAll(tmpDir); err != nil {
142 if err := MkdirAll(tmpDir); err != nil {
150 dst := filepath.Join(tmpDir, filepath.FromSlash(f))
161 return os.Rename(tmpDir, dstDir)
/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/syzkaller/syz-ci/
Dmanager.go270 tmpDir := mgr.latestDir + ".tmp"
271 if err := os.RemoveAll(tmpDir); err != nil {
274 if err := osutil.MkdirAll(tmpDir); err != nil {
277 if err := config.SaveFile(filepath.Join(tmpDir, "tag"), info); err != nil {
281 mgr.kernelDir, tmpDir, mgr.mgrcfg.Compiler, mgr.mgrcfg.Userspace,
288 if err := mgr.reportBuildError(rep, info, tmpDir); err != nil {
295 if err := mgr.testImage(tmpDir, info); err != nil {
303 return os.Rename(tmpDir, mgr.latestDir)
/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/swiftshader/third_party/LLVM/utils/lit/lit/
DTestRunner.py400 tmpDir = os.path.join(execdir, 'Output')
401 tmpBase = os.path.join(tmpDir, execbase)
409 tmpDir = tmpDir.replace('\\', '/')
419 ('%T', tmpDir),
/external/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp438 o.tmpDir = options[TEMPDIR].value; in main()
440 o.tmpDir = o.targetDir; in main()
564 char tmpDir[SMALL_BUFFER_MAX_SIZE] = ""; in pkg_executeOptions() local
592 uprv_strcpy(tmpDir, o->tmpDir); in pkg_executeOptions()
593 uprv_strcat(tmpDir, PKGDATA_FILE_SEP_STRING); in pkg_executeOptions()
595 uprv_strcpy(datFileNamePath, tmpDir); in pkg_executeOptions()
721 writeAssemblyCode(datFileNamePath, o->tmpDir, o->entryName, NULL, gencFilePath); in pkg_executeOptions()
756 …writeObjectCode(datFileNamePath, o->tmpDir, o->entryName, (optMatchArch[0] == 0 ? NULL : optMatchA… in pkg_executeOptions()
1589 o->tmpDir, in pkg_createWithoutAssemblyCode()
1626 …createCommonDataFile(o->tmpDir, o->shortName, o->entryName, NULL, o->srcDir, o->comment, o->fileLi… in pkg_createWithoutAssemblyCode()
[all …]
/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