HomeSort by relevance Sort by last modified time
    Searched defs:tempDir (Results 1 - 25 of 35) sorted by null

1 2

  /external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
TempDirectoryTest.java 16 TempDirectory tempDir = new TempDirectory("temp_dir");
17 Path path = tempDir.create("dir1");
18 Path path2 = tempDir.create("dir2");
  /external/lzma/CPP/7zip/UI/Common/
WorkDir.cpp 52 FString tempDir = workDirInfo.Path;
53 NName::NormalizeDirPathPrefix(tempDir);
54 return tempDir;
58 FString tempDir;
59 if (!MyGetTempPath(tempDir))
61 return tempDir;
  /frameworks/base/cmds/bootanimation/iot/
BootParameters_test.cpp 227 TemporaryDir tempDir;
228 std::string nonExistentFilePath(std::string(tempDir.path) + "/nonexistent");
  /external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
FileByFileV1DeltaApplier.java 38 private final File tempDir;
52 * @param tempDir a temp directory where the delta-friendly old blob can be written during the
55 public FileByFileV1DeltaApplier(File tempDir) {
56 if (tempDir == null) {
57 tempDir = new File(System.getProperty("java.io.tmpdir"));
59 this.tempDir = tempDir;
65 if (!tempDir.exists()) {
68 tempDir.mkdirs();
70 File tempFile = File.createTempFile("gfbfv1", "old", tempDir);
    [all...]
  /external/tensorflow/tensorflow/python/training/
checkpoint_management_test.py 58 def tempDir():
59 tempdir = tempfile.mkdtemp()
61 yield tempdir
63 shutil.rmtree(tempdir)
68 with self.tempDir() as tempdir:
70 with self.tempWorkingDir(tempdir):
106 with self.tempDir() as tempdir:
109 with self.tempWorkingDir(tempdir)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
ReportExporter.java 99 File tempDir = new File(verifierReportsDir, getReportName(suiteName));
100 tempDir.mkdirs();
110 result, tempDir, START_MS, END_MS, REFERENCE_URL, LOG_URL,
114 copyFormattingFiles(tempDir);
117 ZipUtil.createZip(tempDir, reportZipFile);
123 FileUtil.recursiveDelete(tempDir);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/util/
SQLiteLibraryLoader.java 49 File tempDir = Files.createTempDir();
50 tempDir.deleteOnExit();
51 File extractedLibraryPath = new File(tempDir, getLibName());
57 loadFromDirectory(tempDir);
  /art/test/1948-obsolete-const-method-handle/util-src/src/art/constmethodhandle/
TestGenerator.java 102 Path tempDir = Files.createTempDirectory("FinalTestInvoker_Gen");
103 File tempInput = Files.createTempFile(tempDir, "temp_input_class", ".class").toFile();
112 "--output", tempDir.toAbsolutePath().toString(),
129 byte[] out = new FileInputStream(tempDir.resolve("classes.dex").toFile()).readAllBytes();
130 tempDir.resolve("classes.dex").toFile().delete();
134 tempDir.toFile().delete();
  /external/google-breakpad/src/client/mac/tests/
minidump_generator_test.cc 78 AutoTempDir tempDir;
92 MinidumpGenerator::UniqueNameInDirectory(tempDir.path(), NULL);
183 MinidumpGenerator::UniqueNameInDirectory(tempDir.path(), NULL);
262 MinidumpGenerator::UniqueNameInDirectory(tempDir.path(), NULL);
exception_handler_test.cc 68 AutoTempDir tempDir;
112 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
194 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true,
213 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true,
283 tempDir.path(),
322 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
421 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
520 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
610 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
667 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL)
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
IoTestCase.java 52 private File tempDir;
130 if (tempDir == null) {
131 tempDir = createTempDir();
134 return tempDir;
  /external/icu/icu4c/source/test/letest/
FontObject.cpp 29 SFNTDirectory tempDir;
31 fread(&tempDir, sizeof tempDir, 1, file);
33 numTables = SWAPW(tempDir.numTables);
34 searchRange = SWAPW(tempDir.searchRange) >> 4;
35 entrySelector = SWAPW(tempDir.entrySelector);
36 rangeShift = SWAPW(tempDir.rangeShift) >> 4;
38 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry));
PortableFontInstance.cpp 100 SFNTDirectory tempDir;
102 size_t numRead = fread(&tempDir, sizeof tempDir, 1, fFile);
105 le_int32 dirSize = sizeof tempDir + ((SWAPW(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEntry));
  /external/icu/icu4c/source/test/perf/leperf/
FontObject.cpp 33 SFNTDirectory tempDir;
35 fread(&tempDir, sizeof tempDir, 1, file);
37 numTables = SWAPW(tempDir.numTables);
38 searchRange = SWAPW(tempDir.searchRange) >> 4;
39 entrySelector = SWAPW(tempDir.entrySelector);
40 rangeShift = SWAPW(tempDir.rangeShift) >> 4;
42 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry));
PortableFontInstance.cpp 104 SFNTDirectory tempDir;
106 fread(&tempDir, sizeof tempDir, 1, fFile);
108 le_int32 dirSize = sizeof tempDir + ((SWAPW(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEntry));
  /external/smali/util/src/test/java/org/jf/util/
ClassFileNameHandlerTest.java 121 File tempDir = Files.createTempDir();
122 ClassFileNameHandler handler = new ClassFileNameHandler(tempDir, ".smali");
127 checkFilename(tempDir, file1, "a", "a", Strings.repeat("a", 124) + "#" + Strings.repeat("a", 118) + ".smali");
130 checkFilename(tempDir, file2, "a", "a", Strings.repeat("a", 124) + "#" + Strings.repeat("a", 118) + ".1.smali");
137 File tempDir = Files.createTempDir();
138 ClassFileNameHandler handler = new ClassFileNameHandler(tempDir, ".smali");
141 checkFilename(tempDir, file, "a", "b", "c", "d.smali");
144 checkFilename(tempDir, file, "a", "b", "c", "e.smali");
147 checkFilename(tempDir, file, "a", "b", "d", "d.smali");
150 checkFilename(tempDir, file, "a", "b.smali")
    [all...]
  /external/archive-patcher/integrationtest/src/test/java/com/google/archivepatcher/integrationtest/
FileByFileV1IntegrationTest.java 44 private File tempDir = null;
123 tempDir = oldFile.getParentFile();
188 FileByFileV1DeltaApplier applier = new FileByFileV1DeltaApplier(tempDir);
  /external/archive-patcher/tools/src/main/java/com/google/archivepatcher/tools/
FileByFileTool.java 216 File tempDir = tempFile.getParentFile();
218 FileByFileV1DeltaApplier applier = new FileByFileV1DeltaApplier(tempDir);
  /external/caliper/caliper/src/test/java/com/google/caliper/options/
ParsedOptionsTest.java 45 private File tempDir;
48 tempDir = Files.createTempDir();
49 makeTestVmTree(tempDir);
53 if (tempDir != null) {
54 Runtime.getRuntime().exec(new String[] {"rm", "-rf", tempDir.getCanonicalPath()});
  /external/lzma/CPP/7zip/Bundles/SFXSetup/
SfxSetup.cpp 206 CTempDir tempDir;
207 if (!tempDir.Create(kTempDirPrefix))
225 const FString tempDirPath = tempDir.GetPath();
343 NULL, NULL, FALSE, 0, NULL, NULL /*tempDir.GetPath() */,
  /external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
FileByFileV1DeltaApplierTest.java 74 private File tempDir;
118 tempDir = tempFile.getParentFile();
152 fakeApplier = new FileByFileV1DeltaApplier(tempDir) {
  /external/guava/guava/src/com/google/common/io/
Files.java 418 File tempDir = new File(baseDir, baseName + counter);
419 if (tempDir.mkdir()) {
420 return tempDir;
  /external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
SdkStore.java 123 private static File tempDir;
270 if (tempDir == null){
273 tempDir = tempFile.getParentFile();
276 File outFile = new File(tempDir, new File(resourcePath).getName());
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DiskLruCacheTest.java 52 @Rule public final TemporaryFolder tempDir = new TemporaryFolder();
78 cacheDir = tempDir.getRoot();
754 File dir = tempDir.newFolder("testOpenCreatesDirectoryIfNecessary");
823 fileSystem.deleteContents(tempDir.getRoot());
832 fileSystem.deleteContents(tempDir.getRoot());
849 fileSystem.deleteContents(tempDir.getRoot());
857 fileSystem.deleteContents(tempDir.getRoot());
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
HttpOverSpdyTest.java 67 @Rule public final TemporaryFolder tempDir = new TemporaryFolder();
89 cache = new Cache(tempDir.getRoot(), Integer.MAX_VALUE);

Completed in 709 milliseconds

1 2