Home
last modified time | relevance | path

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

/external/jetty/src/java/org/eclipse/jetty/webapp/
DWebInfConfiguration.java214 …File tmpDir=File.createTempFile(WebInfConfiguration.getCanonicalNameForWebAppTmpDir(context),"",te… in cloneConfigure() local
215 if (tmpDir.exists()) in cloneConfigure()
217 IO.delete(tmpDir); in cloneConfigure()
219 tmpDir.mkdir(); in cloneConfigure()
220 tmpDir.deleteOnExit(); in cloneConfigure()
221 context.setTempDirectory(tmpDir); in cloneConfigure()
264 File tmpDir = context.getTempDirectory(); in resolveTempDirectory() local
265 if (tmpDir != null && tmpDir.isDirectory() && tmpDir.canWrite()) in resolveTempDirectory()
278 tmpDir = servletTmpDir; in resolveTempDirectory()
280 context.setAttribute(WebAppContext.TEMPDIR,tmpDir); in resolveTempDirectory()
[all …]
/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/skia/tests/
DPDFDocumentTest.cpp40 SkString tmpDir = skiatest::GetTmpDir(); in test_abortWithFile() local
42 if (tmpDir.isEmpty()) { in test_abortWithFile()
48 SkString path = SkOSPath::Join(tmpDir.c_str(), "aborted.pdf"); in test_abortWithFile()
69 SkString tmpDir = skiatest::GetTmpDir(); in test_file() local
70 if (tmpDir.isEmpty()) { in test_file()
76 SkString path = SkOSPath::Join(tmpDir.c_str(), "file.pdf"); in test_file()
DTest.cpp15 DEFINE_string2(tmpDir, t, nullptr, "Temp directory to use.");
36 const char* tmpDir = FLAGS_tmpDir.isEmpty() ? nullptr : FLAGS_tmpDir[0]; in GetTmpDir() local
37 return SkString(tmpDir); in GetTmpDir()
Dskia_test.cpp141 SkString tmpDir = skiatest::GetTmpDir(); in test_main() local
142 if (!tmpDir.isEmpty()) { in test_main()
143 header.appendf(" --tmpDir %s", tmpDir.c_str()); in test_main()
DStreamTest.cpp42 static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) { in test_filestreams() argument
43 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.cpp177 SkString tmpDir = skiatest::GetTmpDir(); in test_files() local
178 if (tmpDir.isEmpty()) { in test_files()
182 SkString path = SkOSPath::Join(tmpDir.c_str(), "data_test"); in test_files()
/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/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/llvm/utils/lit/lit/
DTestRunner.py422 tmpDir = os.path.join(execdir, 'Output')
423 tmpBase = os.path.join(tmpDir, execbase)
424 return tmpDir, tmpBase
426 def getDefaultSubstitutions(test, tmpDir, tmpBase, normalize_slashes=False): argument
434 tmpDir = tmpDir.replace('\\', '/')
446 ('%T', tmpDir),
455 ('%/T', tmpDir.replace('\\', '/')),
606 tmpDir, tmpBase = getTempPaths(test)
608 substitutions += getDefaultSubstitutions(test, tmpDir, tmpBase,
/external/testng/src/test/java/test/failures/
DBaseFailuresTest.java87 File tmpDir = new File(outputDir); in verify() local
88 tmpDir.delete(); in verify()
/external/icu/icu4c/source/tools/pkgdata/
Dpkgdata.cpp430 o.tmpDir = options[TEMPDIR].value; in main()
432 o.tmpDir = o.targetDir; in main()
556 char tmpDir[SMALL_BUFFER_MAX_SIZE] = ""; in pkg_executeOptions() local
584 uprv_strcpy(tmpDir, o->tmpDir); in pkg_executeOptions()
585 uprv_strcat(tmpDir, PKGDATA_FILE_SEP_STRING); in pkg_executeOptions()
587 uprv_strcpy(datFileNamePath, tmpDir); in pkg_executeOptions()
713 writeAssemblyCode(datFileNamePath, o->tmpDir, o->entryName, NULL, gencFilePath); in pkg_executeOptions()
748 …writeObjectCode(datFileNamePath, o->tmpDir, o->entryName, (optMatchArch[0] == 0 ? NULL : optMatchA… in pkg_executeOptions()
1580 o->tmpDir, in pkg_createWithoutAssemblyCode()
1617 …createCommonDataFile(o->tmpDir, o->shortName, o->entryName, NULL, o->srcDir, o->comment, o->fileLi… in pkg_createWithoutAssemblyCode()
[all …]
Dpkgtypes.h116 const char *tmpDir; member
/external/google-breakpad/src/client/mac/sender/
Duploader.mm281 char *tmpDir = mkdtemp(tmpDirTemplate);
318 sprintf(tmpFilenameTemplate,"%s/%s-XXXX", tmpDir,
340 [tarTask setCurrentDirectoryPath:[NSString stringWithUTF8String:tmpDir]];
354 NSString *logTarFile = [NSString stringWithFormat:@"%s/log.tar.bz2",tmpDir];