/external/smali/util/src/test/java/org/jf/util/ |
D | ClassFileNameHandlerTest.java | 121 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/ |
D | FileByFileV1DeltaApplier.java | 39 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/ |
D | WorkDir.cpp | 52 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/ |
D | FontObject.cpp | 29 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()
|
D | PortableFontInstance.cpp | 100 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/ |
D | FontObject.cpp | 33 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()
|
D | PortableFontInstance.cpp | 104 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/ |
D | heat_map.py | 33 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/ |
D | TempDirectoryTest.java | 16 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/ |
D | ParsedOptionsTest.java | 45 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/ |
D | IoTestCase.java | 52 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/ |
D | exception_handler_test.cc | 68 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()
|
D | minidump_generator_test.cc | 78 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/ |
D | FileByFileV1DeltaApplierTest.java | 74 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/ |
D | SfxSetup.cpp | 206 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/ |
D | DiskLruCacheTest.java | 52 @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/ |
D | Files.java | 418 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/ |
D | TurbineOptions.java | 240 public Builder setTempDir(String tempDir) { in setTempDir() argument
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 67 @Rule public final TemporaryFolder tempDir = new TemporaryFolder(); field in HttpOverSpdyTest 89 cache = new Cache(tempDir.getRoot(), Integer.MAX_VALUE); in setUp()
|
/external/trappy/doc/ |
D | InteractivePlotter.ipynb | 67 " tDir = tempfile.mkdtemp(dir=\"/tmp\", prefix=\"trappy_doc\", suffix = \".tempDir\")\n", 72 " tDir = tempfile.mkdtemp(dir=\"/tmp\", prefix=\"trappy_doc\", suffix = \".tempDir\")\n",
|
D | Plotter.ipynb | 57 " 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/ |
D | saver_test.py | 1447 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/ |
D | URLConnectionTest.java | 106 @Rule public final TemporaryFolder tempDir = new TemporaryFolder(); field in URLConnectionTest 901 cache = new Cache(tempDir.getRoot(), Integer.MAX_VALUE); in initResponseCache()
|