/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/toolchain-utils/compiler_wrapper/ |
D | android_config_test.go | 27 createBisectGoldenInputs(filepath.Join(ctx.tempDir, "clang")), 34 gomaPath := path.Join(ctx.tempDir, "gomacc") 36 defaultPath := filepath.Join(ctx.tempDir, "clang") 37 clangTidyPath := filepath.Join(ctx.tempDir, "clang-tidy") 41 ctx.writeFile(filepath.Join(ctx.tempDir, "/pathenv/clang"), "") 60 WrapperCmd: newGoldenCmd(filepath.Join(ctx.tempDir, "clang++"), mainCc), 81 Env: []string{"PATH=" + filepath.Join(ctx.tempDir, "/pathenv")}, 96 "ANDROID_LLVM_STDERR_REDIRECT=" + filepath.Join(ctx.tempDir, "fallback_stderr"), 99 defaultPath := filepath.Join(ctx.tempDir, "clang")
|
D | testutil_test.go | 36 tempDir string member 50 tempDir, err := ioutil.TempDir("", "compiler_wrapper") 54 defer os.RemoveAll(tempDir) 58 wd: tempDir, 59 tempDir: tempDir, 143 ctx.cfg.newWarningsDir = filepath.Join(ctx.tempDir, "fatal_clang_warnings") 144 ctx.cfg.triciumNitsDir = filepath.Join(ctx.tempDir, "tricium_nits") 145 ctx.cfg.crashArtifactsDir = filepath.Join(ctx.tempDir, "clang_crash_diagnostics") 160 fullFileName = filepath.Join(ctx.tempDir, fullFileName) 172 oldname = filepath.Join(ctx.tempDir, oldname) [all …]
|
D | env_test.go | 193 tempDir, err := ioutil.TempDir("", "wrapper_env_test") 199 defer os.RemoveAll(tempDir) 201 tempDirLink := tempDir + ".symlink" 202 if err := os.Symlink(tempDir, tempDirLink); err != nil { 203 t.Fatalf("Failed creating symlink %q => %q: %v", tempDirLink, tempDir, err) 206 if err := os.Chdir(tempDir); err != nil { 235 if wd := env.getwd(); wd != tempDir { 236 t.Errorf("Environment setup had a wd of %q; wanted %q", cwdLink, tempDir) 280 fullPath := filepath.Join(ctx.tempDir, cmd.Path)
|
D | print_cmdline_flag_test.go | 46 if ctx.stderrString() != fmt.Sprintf("cd '%s' && '/somepath'\n", ctx.tempDir) { 57 if ctx.stderrString() != fmt.Sprintf("cd '%s' && '%s/somepath'\n", ctx.tempDir, ctx.tempDir) { 69 if ctx.stderrString() != fmt.Sprintf("cd '%s' && env 'a=b' '/somepath'\n", ctx.tempDir) { 81 if ctx.stderrString() != fmt.Sprintf("cd '%s' && '/somepath' '-a'\n", ctx.tempDir) {
|
D | clang_flags_test.go | 51 ctx.newCommand(filepath.Join(ctx.tempDir, clangX86_64), mainCc))) 52 if err := verifyPath(cmd, filepath.Join(ctx.tempDir, "somepath/usr/bin/clang")); err != nil { 83 ctx.env = []string{"PATH=" + filepath.Join(ctx.tempDir, "/pathenv")} 84 ctx.writeFile(filepath.Join(ctx.tempDir, "/pathenv/x86_64-cros-linux-gnu-clang"), "") 87 …if err := verifyPath(cmd, filepath.Join(ctx.tempDir, "pathenv/somepath/usr/bin/clang")); err != ni… 99 if err := verifyPath(cmd, filepath.Join(ctx.tempDir, "clang")); err != nil { 254 linkerPath := filepath.Join(ctx.tempDir, "a/b/c") 267 realLinkerPath := filepath.Join(ctx.tempDir, "a/original/path/somelinker") 269 firstLinkLinkerPath := filepath.Join(ctx.tempDir, "a/first/somelinker") 271 secondLinkLinkerPath := filepath.Join(ctx.tempDir, "a/second/x86_64-cros-linux-gnu-ld")
|
D | sysroot_flag_test.go | 64 "--sysroot="+ctx.tempDir+"/somepath/usr/x86_64-cros-linux-gnu", mainCc); err != nil { 73 linkedWrapperPath := path.Join(ctx.tempDir, "a/linked/path/x86_64-cros-linux-gnu-gcc") 74 ctx.symlink(path.Join(ctx.tempDir, gccX86_64), linkedWrapperPath) 79 "--sysroot="+ctx.tempDir+"/somepath/usr/x86_64-cros-linux-gnu", mainCc); err != nil {
|
D | cros_hardened_config_test.go | 44 gomaPath := path.Join(ctx.tempDir, "gomacc") 69 gomaPath := path.Join(ctx.tempDir, "gomacc") 84 gomaPath := path.Join(ctx.tempDir, "gomacc") 224 ctx.writeFile(filepath.Join(ctx.tempDir, "/pathenv/x86_64-cros-linux-gnu-gcc"), "") 238 WrapperCmd: newGoldenCmd(filepath.Join(ctx.tempDir, "x86_64-cros-linux-gnu-gcc"), mainCc), 250 Env: []string{"PATH=" + filepath.Join(ctx.tempDir, "/pathenv")}, 261 ctx.writeFile(filepath.Join(ctx.tempDir, "/pathenv/x86_64-cros-linux-gnu-clang"), "") 306 WrapperCmd: newGoldenCmd(filepath.Join(ctx.tempDir, "x86_64-cros-linux-gnu-clang"), mainCc), 322 Env: []string{"PATH=" + filepath.Join(ctx.tempDir, "/pathenv")},
|
D | gomacc_flag_test.go | 14 gomaPath := path.Join(ctx.tempDir, "gomacc") 32 gomaPath := path.Join(ctx.tempDir, "gomacc") 44 gomaPath := path.Join(ctx.tempDir, "gomacc") 67 gomaPath := path.Join(ctx.tempDir, "gomacc")
|
D | rusage_flag_test.go | 75 logFileName := filepath.Join(ctx.tempDir, "somedir", "rusage.log") 87 logFileName := filepath.Join(ctx.tempDir, "rusage.log") 113 if logParts[4] != filepath.Join(ctx.tempDir, gccX86_64+".real") { 125 logFileName := filepath.Join(ctx.tempDir, "rusage.log") 167 ctx.env = []string{"GETRUSAGE=" + filepath.Join(ctx.tempDir, "rusage.log")}
|
/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/flatbuffers/reflection/ |
D | generate_code.sh | 18 tempDir="../include/flatbuffers/.tmp" 20 newFile="$tempDir/reflection_generated.h" 22 ../flatc -c --cpp-std c++0x --no-prefix -o $tempDir reflection.fbs 30 rmdir $tempDir
|
/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()
|
/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()
|
/external/kotlinx.atomicfu/gradle/ |
D | interop-as-source-set-klib.gradle | 12 def tempDir = "$buildDir/tmp/${sourceSet.name}UnpackedInteropKlib" 19 into(tempDir) 22 def manifest140 = file("$tempDir/default/manifest") 23 def manifest1371 = file("$tempDir/manifest") 37 from(fileTree(tempDir).builtBy(prepareKlibTaskProvider))
|
/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/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/fonttools/Tests/ufoLib/ |
D | UFOConversion_test.py | 158 self.tempDir = tempfile.mktemp() 159 os.mkdir(self.tempDir) 160 self.ufoPath = os.path.join(self.tempDir, "test.ufo") 163 shutil.rmtree(self.tempDir) 342 self.tempDir = tempfile.mktemp() 343 os.mkdir(self.tempDir) 344 self.dstDir = os.path.join(self.tempDir, "test.ufo") 347 shutil.rmtree(self.tempDir)
|
D | UFO1_test.py | 89 self.tempDir = tempfile.mktemp() 90 os.mkdir(self.tempDir) 91 self.dstDir = os.path.join(self.tempDir, "test.ufo") 94 shutil.rmtree(self.tempDir)
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | IoTestCase.java | 51 private File tempDir; field in IoTestCase 127 if (tempDir == null) { in getTempDir() 128 tempDir = createTempDir(); in getTempDir() 131 return tempDir; in getTempDir()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | IoTestCase.java | 51 private File tempDir; field in IoTestCase 127 if (tempDir == null) { in getTempDir() 128 tempDir = createTempDir(); in getTempDir() 131 return tempDir; in getTempDir()
|
/external/webrtc/test/testsupport/ |
D | ios_file_utils.mm | 50 NSString* tempDir = NSTemporaryDirectory(); 51 if (tempDir == nil) 52 tempDir = @"/tmp"; 53 return [NSString stdStringForString:tempDir];
|
/external/google-breakpad/src/client/mac/tests/ |
D | exception_handler_test.cc | 69 AutoTempDir tempDir; member in __anon229eb6510111::ExceptionHandlerTest 113 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in InProcessCrash() 195 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true, in TEST_F() 214 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true, in TEST_F() 284 tempDir.path(), in TEST_F() 323 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F() 422 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F() 521 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F() 611 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F() 670 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL); in TEST_F()
|