/external/syzkaller/pkg/vcs/ |
D | fuchsia.go | 46 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/ |
D | TestEnvironment.java | 68 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/ |
D | check_build_sanity.py | 34 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/ |
D | run_android_tests.go | 199 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/ |
D | shflags_test_helpers | 48 tmpDir=${SHUNIT_TMPDIR} 49 stdoutF="${tmpDir}/stdout" 50 stderrF="${tmpDir}/stderr" 51 returnF="${tmpDir}/return" 52 expectedF="${tmpDir}/expected"
|
/external/skia/tests/ |
D | PDFDocumentTest.cpp | 44 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()
|
D | StreamBufferTest.cpp | 80 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()
|
D | skia_test.cpp | 157 SkString tmpDir = skiatest::GetTmpDir(); in main() local 158 if (!tmpDir.isEmpty()) { in main() 159 header.appendf(" --tmpDir %s", tmpDir.c_str()); in main()
|
D | StreamTest.cpp | 48 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/ |
D | PDFDocumentTest.cpp | 44 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()
|
D | StreamBufferTest.cpp | 80 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()
|
D | skia_test.cpp | 157 SkString tmpDir = skiatest::GetTmpDir(); in main() local 158 if (!tmpDir.isEmpty()) { in main() 159 header.appendf(" --tmpDir %s", tmpDir.c_str()); in main()
|
D | StreamTest.cpp | 48 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()
|
D | Test.cpp | 16 DEFINE_string2(tmpDir, t, nullptr, "Temp directory to use.");
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | FileClientSessionCacheTest.java | 27 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/ |
D | FileClientSessionCacheTest.java | 31 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/ |
D | osutil.go | 138 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/ |
D | AbstractTestCase.java | 378 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/ |
D | TestRunner.py | 603 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/ |
D | manager.go | 270 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/ |
D | BaseFailuresTest.java | 87 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/ |
D | X5455_ExtendedTimestampTest.java | 66 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/ |
D | TestRunner.py | 400 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/ |
D | pkgdata.cpp | 438 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/ |
D | TestRunner.py | 1187 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,
|