Home
last modified time | relevance | path

Searched refs:tempDir (Results 1 – 23 of 23) sorted by relevance

/external/smali/util/src/test/java/org/jf/util/
DClassFileNameHandlerTest.java121 File tempDir = Files.createTempDir(); in testMultipleLongNames() local
122 ClassFileNameHandler handler = new ClassFileNameHandler(tempDir, ".smali"); in testMultipleLongNames()
127 …checkFilename(tempDir, file1, "a", "a", Strings.repeat("a", 124) + "#" + Strings.repeat("a", 118) … in testMultipleLongNames()
130 …checkFilename(tempDir, file2, "a", "a", Strings.repeat("a", 124) + "#" + Strings.repeat("a", 118) … in testMultipleLongNames()
137 File tempDir = Files.createTempDir(); in testBasicFunctionality() local
138 ClassFileNameHandler handler = new ClassFileNameHandler(tempDir, ".smali"); in testBasicFunctionality()
141 checkFilename(tempDir, file, "a", "b", "c", "d.smali"); in testBasicFunctionality()
144 checkFilename(tempDir, file, "a", "b", "c", "e.smali"); in testBasicFunctionality()
147 checkFilename(tempDir, file, "a", "b", "d", "d.smali"); in testBasicFunctionality()
150 checkFilename(tempDir, file, "a", "b.smali"); in testBasicFunctionality()
[all …]
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
DFileByFileV1DeltaApplier.java39 private final File tempDir; field in FileByFileV1DeltaApplier
46 public FileByFileV1DeltaApplier(File tempDir) { in FileByFileV1DeltaApplier() argument
47 this.tempDir = tempDir; in FileByFileV1DeltaApplier()
53 if (!tempDir.exists()) { in applyDelta()
56 tempDir.mkdirs(); in applyDelta()
58 File tempFile = File.createTempFile("gfbfv1", "old", tempDir); in applyDelta()
/external/lzma/CPP/7zip/UI/Common/
DWorkDir.cpp52 FString tempDir = workDirInfo.Path; in GetWorkDir() local
53 NName::NormalizeDirPathPrefix(tempDir); in GetWorkDir()
54 return tempDir; in GetWorkDir()
58 FString tempDir; in GetWorkDir() local
59 if (!MyGetTempPath(tempDir)) in GetWorkDir()
61 return tempDir; in GetWorkDir()
/external/icu/icu4c/source/test/letest/
DFontObject.cpp29 SFNTDirectory tempDir; in FontObject() local
31 fread(&tempDir, sizeof tempDir, 1, file); in FontObject()
33 numTables = SWAPW(tempDir.numTables); in FontObject()
34 searchRange = SWAPW(tempDir.searchRange) >> 4; in FontObject()
35 entrySelector = SWAPW(tempDir.entrySelector); in FontObject()
36 rangeShift = SWAPW(tempDir.rangeShift) >> 4; in FontObject()
38 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry)); in FontObject()
DPortableFontInstance.cpp100 SFNTDirectory tempDir; in PortableFontInstance() local
102 size_t numRead = fread(&tempDir, sizeof tempDir, 1, fFile); in PortableFontInstance()
105 …le_int32 dirSize = sizeof tempDir + ((SWAPW(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEnt… in PortableFontInstance()
/external/icu/icu4c/source/test/perf/leperf/
DFontObject.cpp33 SFNTDirectory tempDir; in FontObject() local
35 fread(&tempDir, sizeof tempDir, 1, file); in FontObject()
37 numTables = SWAPW(tempDir.numTables); in FontObject()
38 searchRange = SWAPW(tempDir.searchRange) >> 4; in FontObject()
39 entrySelector = SWAPW(tempDir.entrySelector); in FontObject()
40 rangeShift = SWAPW(tempDir.rangeShift) >> 4; in FontObject()
42 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry)); in FontObject()
DPortableFontInstance.cpp104 SFNTDirectory tempDir; in PortableFontInstance() local
106 fread(&tempDir, sizeof tempDir, 1, fFile); in PortableFontInstance()
108 …le_int32 dirSize = sizeof tempDir + ((SWAPW(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEnt… in PortableFontInstance()
/external/toolchain-utils/
Dheat_map.py33 self.tempDir = ''
41 self.tempDir = tempfile.mkdtemp(prefix=os.path.join(self.chromeos_root,
43 self.temp_perf = os.path.join(self.tempDir, 'perf.data')
46 os.path.basename(self.tempDir))
54 self.perf_report = os.path.join(self.tempDir, 'perf_report.txt')
76 shutil.rmtree(self.tempDir)
/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/
DTempDirectoryTest.java16 TempDirectory tempDir = new TempDirectory("temp_dir"); in createsDirsWithSameParent() local
17 Path path = tempDir.create("dir1"); in createsDirsWithSameParent()
18 Path path2 = tempDir.create("dir2"); in createsDirsWithSameParent()
/external/caliper/caliper/src/test/java/com/google/caliper/options/
DParsedOptionsTest.java45 private File tempDir; field in ParsedOptionsTest
48 tempDir = Files.createTempDir(); in setUp()
49 makeTestVmTree(tempDir); in setUp()
53 if (tempDir != null) { in tearDown()
54 Runtime.getRuntime().exec(new String[] {"rm", "-rf", tempDir.getCanonicalPath()}); in tearDown()
/external/guava/guava-tests/test/com/google/common/io/
DIoTestCase.java52 private File tempDir; field in IoTestCase
130 if (tempDir == null) { in getTempDir()
131 tempDir = createTempDir(); in getTempDir()
134 return tempDir; in getTempDir()
/external/google-breakpad/src/client/mac/tests/
Dexception_handler_test.cc68 AutoTempDir tempDir; member in __anon4e8ec8670111::ExceptionHandlerTest
112 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in InProcessCrash()
194 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true, in TEST_F()
213 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true, in TEST_F()
283 tempDir.path(), in TEST_F()
322 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
421 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
520 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
610 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
667 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
Dminidump_generator_test.cc78 AutoTempDir tempDir; member in __anonb69906a40111::MinidumpGeneratorTest
92 MinidumpGenerator::UniqueNameInDirectory(tempDir.path(), NULL); in TEST_F()
183 MinidumpGenerator::UniqueNameInDirectory(tempDir.path(), NULL); in TEST_F()
262 MinidumpGenerator::UniqueNameInDirectory(tempDir.path(), NULL); in TEST_F()
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
DFileByFileV1DeltaApplierTest.java74 private File tempDir; field in FileByFileV1DeltaApplierTest
118 tempDir = tempFile.getParentFile(); in setUp()
152 fakeApplier = new FileByFileV1DeltaApplier(tempDir) { in setUp()
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DSfxSetup.cpp206 CTempDir tempDir; in WinMain() local
207 if (!tempDir.Create(kTempDirPrefix)) in WinMain()
225 const FString tempDirPath = tempDir.GetPath(); in WinMain()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java52 @Rule public final TemporaryFolder tempDir = new TemporaryFolder(); field in DiskLruCacheTest
78 cacheDir = tempDir.getRoot(); in setUp()
754 File dir = tempDir.newFolder("testOpenCreatesDirectoryIfNecessary"); in openCreatesDirectoryIfNecessary()
823 fileSystem.deleteContents(tempDir.getRoot()); in aggressiveClearingHandlesWrite()
832 fileSystem.deleteContents(tempDir.getRoot()); in aggressiveClearingHandlesEdit()
849 fileSystem.deleteContents(tempDir.getRoot()); in aggressiveClearingHandlesPartialEdit()
857 fileSystem.deleteContents(tempDir.getRoot()); in aggressiveClearingHandlesRead()
/external/guava/guava/src/com/google/common/io/
DFiles.java418 File tempDir = new File(baseDir, baseName + counter); in createTempDir() local
419 if (tempDir.mkdir()) { in createTempDir()
420 return tempDir; in createTempDir()
/external/turbine/java/com/google/turbine/options/
DTurbineOptions.java240 public Builder setTempDir(String tempDir) { in setTempDir() argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java67 @Rule public final TemporaryFolder tempDir = new TemporaryFolder(); field in HttpOverSpdyTest
89 cache = new Cache(tempDir.getRoot(), Integer.MAX_VALUE); in setUp()
/external/trappy/doc/
DInteractivePlotter.ipynb67 " tDir = tempfile.mkdtemp(dir=\"/tmp\", prefix=\"trappy_doc\", suffix = \".tempDir\")\n",
72 " tDir = tempfile.mkdtemp(dir=\"/tmp\", prefix=\"trappy_doc\", suffix = \".tempDir\")\n",
DPlotter.ipynb57 " tDir = tempfile.mkdtemp(dir=\"/tmp\", prefix=\"trappy_doc\", suffix = \".tempDir\")\n",
62 " tDir = tempfile.mkdtemp(dir=\"/tmp\", prefix=\"trappy_doc\", suffix = \".tempDir\")\n",
/external/tensorflow/tensorflow/python/training/
Dsaver_test.py1447 def tempDir(): member in LatestCheckpointWithRelativePaths
1456 with self.tempDir() as tempdir:
1490 with self.tempDir() as tempdir:
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java106 @Rule public final TemporaryFolder tempDir = new TemporaryFolder(); field in URLConnectionTest
901 cache = new Cache(tempDir.getRoot(), Integer.MAX_VALUE); in initResponseCache()