/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 | 38 private final File tempDir; field in FileByFileV1DeltaApplier 55 public FileByFileV1DeltaApplier(File tempDir) { in FileByFileV1DeltaApplier() argument 56 if (tempDir == null) { in FileByFileV1DeltaApplier() 57 tempDir = new File(System.getProperty("java.io.tmpdir")); in FileByFileV1DeltaApplier() 59 this.tempDir = tempDir; in FileByFileV1DeltaApplier() 65 if (!tempDir.exists()) { in applyDelta() 68 tempDir.mkdirs(); in applyDelta() 70 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/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/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/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/syzkaller/pkg/build/ |
D | linux.go | 81 tempDir, err := ioutil.TempDir("", "syz-build") 85 defer os.RemoveAll(tempDir) 86 scriptFile := filepath.Join(tempDir, "create.sh") 92 cmd.Dir = tempDir 104 if err := osutil.CopyFile(filepath.Join(tempDir, "disk.raw"), imageFile); err != nil { 108 if err := osutil.CopyFile(filepath.Join(tempDir, "key"), keyFile); err != nil {
|
/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/cldr/tools/c/genldml/ |
D | txt2ldml.pl | 43 my $tempDir = $destDir."/temp"; 44 mkpath($tempDir); 126 …cmd("$prefix $genldmlExec --sourcedir $tempDir --destdir $destDir --package $tempPackage $base $ba… 168 …cmd("$prefix $genrbExec --sourcedir $sourceDir --package-name $tempPackage --destdir $tempDir --en…
|
/external/fonttools/Tests/ufoLib/ |
D | UFOConversion_test.py | 157 self.tempDir = tempfile.mktemp() 158 os.mkdir(self.tempDir) 159 self.ufoPath = os.path.join(self.tempDir, "test.ufo") 162 shutil.rmtree(self.tempDir) 322 self.tempDir = tempfile.mktemp() 323 os.mkdir(self.tempDir) 324 self.dstDir = os.path.join(self.tempDir, "test.ufo") 327 shutil.rmtree(self.tempDir)
|
D | UFO1_test.py | 91 self.tempDir = tempfile.mktemp() 92 os.mkdir(self.tempDir) 93 self.dstDir = os.path.join(self.tempDir, "test.ufo") 96 shutil.rmtree(self.tempDir)
|
/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/util/ |
D | SQLiteLibraryLoader.java | 49 File tempDir = Files.createTempDir(); in doLoad() local 50 tempDir.deleteOnExit(); in doLoad() 51 File extractedLibraryPath = new File(tempDir, getLibName()); in doLoad() 57 loadFromDirectory(tempDir); in doLoad()
|
/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 __anona05ae6730111::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 __anon41e8e6300111::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/integrationtest/src/test/java/com/google/archivepatcher/integrationtest/ |
D | FileByFileV1IntegrationTest.java | 44 private File tempDir = null; field in FileByFileV1IntegrationTest 123 tempDir = oldFile.getParentFile(); in setUp() 188 FileByFileV1DeltaApplier applier = new FileByFileV1DeltaApplier(tempDir); in testPatchAndApply()
|
/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/archive-patcher/tools/src/main/java/com/google/archivepatcher/tools/ |
D | FileByFileTool.java | 216 File tempDir = tempFile.getParentFile(); in applyPatch() local 218 FileByFileV1DeltaApplier applier = new FileByFileV1DeltaApplier(tempDir); in applyPatch()
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/ |
D | SdkStore.java | 123 private static File tempDir; field in SdkStore.Sdk 270 if (tempDir == null){ in copyResourceToFile() 273 tempDir = tempFile.getParentFile(); in copyResourceToFile() 276 File outFile = new File(tempDir, new File(resourcePath).getName()); in copyResourceToFile()
|
/external/toolchain-utils/go/patch/ |
D | go2.patch | 225 - pkg := filepath.Join(t.tempDir, "pkg.a") 230 - exe := filepath.Join(t.tempDir, "test.exe") 273 tfile := filepath.Join(t.tempDir, "tmp__.go") 306 tfile := filepath.Join(t.tempDir, "tmp__.go") 358 t.tempDir, err = ioutil.TempDir("", "")
|
/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()
|