/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | BuildDependencyGenerator.java | 99 File outputDir = tool.getOutputDirectory(grammarFileName); in getGeneratedFileList() local 100 if (outputDir.getName().equals(".")) { in getGeneratedFileList() 101 outputDir = outputDir.getParentFile(); in getGeneratedFileList() 102 } else if (outputDir.getName().indexOf(' ') >= 0) { // has spaces? in getGeneratedFileList() 103 String escSpaces = Utils.replace(outputDir.toString(), in getGeneratedFileList() 106 outputDir = new File(escSpaces); in getGeneratedFileList() 111 files.add(new File(outputDir, recognizer)); in getGeneratedFileList() 123 files.add(new File(outputDir, fileName)); in getGeneratedFileList() 131 files.add(new File(outputDir, lexer)); in getGeneratedFileList() 136 files.add(new File(outputDir, header)); in getGeneratedFileList() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | NewLdml2IcuConverter.java | 311 private void writeIcuData(IcuData icuData, String outputDir) { in writeIcuData() argument 319 IcuTextWriter.writeToFile(icuData, outputDir); in writeIcuData() 321 String fallbackDir = new File(outputDir).getName(); in writeIcuData() 324 IcuTextWriter.writeToFile(splitData.get(dir), outputDir + "/../" + dir); in writeIcuData() 363 File outputDir = new File(destinationDir, "../" + dir); in generateMakefile() local 364 aliases = writeSyntheticFiles(splitter.getDirSources(dir), outputDir.getAbsolutePath()); in generateMakefile() 365 makefile = splitter.generateMakefile(aliases, outputDir.getName()); in generateMakefile() 366 writeMakefile(makefile, outputDir.getAbsolutePath(), makefileName); in generateMakefile() 376 private Set<String> writeSyntheticFiles(Set<String> sources, String outputDir) { in writeSyntheticFiles() argument 384 writeIcuData(icuData, outputDir); in writeSyntheticFiles() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | FileRemapper.cpp | 31 void FileRemapper::clear(StringRef outputDir) { in clear() argument 37 if (!outputDir.empty()) { in clear() 38 std::string infoFile = getRemapInfoFile(outputDir); in clear() 43 std::string FileRemapper::getRemapInfoFile(StringRef outputDir) { in getRemapInfoFile() argument 44 assert(!outputDir.empty()); in getRemapInfoFile() 45 SmallString<128> InfoFile = outputDir; in getRemapInfoFile() 50 bool FileRemapper::initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag, in initFromDisk() argument 52 std::string infoFile = getRemapInfoFile(outputDir); in initFromDisk() 110 bool FileRemapper::flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag) { in flushToDisk() argument 113 if (fs::create_directory(outputDir)) in flushToDisk() [all …]
|
D | ARCMT.cpp | 342 DiagnosticConsumer *DiagClient, StringRef outputDir, in applyTransforms() argument 360 MigrationProcess migration(CInvok, PCHContainerOps, DiagClient, outputDir); in applyTransforms() 377 if (outputDir.empty()) { in applyTransforms() 381 return migration.getRemapper().flushToDisk(outputDir, *Diags); in applyTransforms() 396 DiagnosticConsumer *DiagClient, StringRef outputDir, in migrateWithTemporaryFiles() argument 398 assert(!outputDir.empty() && "Expected output directory path"); in migrateWithTemporaryFiles() 399 return applyTransforms(origCI, Input, PCHContainerOps, DiagClient, outputDir, in migrateWithTemporaryFiles() 405 StringRef outputDir, in getFileRemappings() argument 407 assert(!outputDir.empty()); in getFileRemappings() 415 bool err = remapper.initFromDisk(outputDir, *Diags, in getFileRemappings() [all …]
|
/external/syzkaller/pkg/build/ |
D | linux.go | 27 func (linux linux) build(targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir, 29 if err := linux.buildKernel(kernelDir, outputDir, compiler, config); err != nil { 32 …if err := linux.createImage(vmType, kernelDir, outputDir, userspaceDir, cmdlineFile, sysctlFile); … 38 func (linux) buildKernel(kernelDir, outputDir, compiler string, config []byte) error { 58 outputConfig := filepath.Join(outputDir, "kernel.config") 73 outputVmlinux := filepath.Join(outputDir, "obj", "vmlinux") 80 func (linux) createImage(vmType, kernelDir, outputDir, userspaceDir, cmdlineFile, sysctlFile string… 103 imageFile := filepath.Join(outputDir, "image") 107 keyFile := filepath.Join(outputDir, "key")
|
D | gvisor.go | 17 func (gvisor gvisor) build(targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir, 27 if err := gvisor.copyBinary(kernelDir, outputDir); err != nil { 31 if err := osutil.WriteFile(filepath.Join(outputDir, "kernel.config"), config); err != nil { 39 func (gvisor) copyBinary(kernelDir, outputDir string) error { 50 return osutil.CopyFile(runsc, filepath.Join(outputDir, "image"))
|
D | build.go | 27 func Image(targetOS, targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir, argument 33 if err := osutil.MkdirAll(filepath.Join(outputDir, "obj")); err != nil { 38 if err := osutil.WriteFile(filepath.Join(outputDir, "kernel.config"), config); err != nil { 42 …return builder.build(targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir, cmdlineFile… 58 build(targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir, argument
|
/external/deqp-deps/glslang/StandAlone/ |
D | spirv-remap.cpp | 158 void execute(const std::vector<std::string>& inputFile, const std::string& outputDir, in execute() argument 167 const std::string outfile = outputDir + path_sep_char() + basename(filename); in execute() 178 std::string& outputDir, in parseCmdLine() argument 198 if (!outputDir.empty()) in parseCmdLine() 201 outputDir = argv[a++]; in parseCmdLine() 204 while (!outputDir.empty() && outputDir.back() == path_sep_char()) in parseCmdLine() 205 outputDir.pop_back(); in parseCmdLine() 317 std::string outputDir; in main() local 332 parseCmdLine(argc, argv, inputFile, outputDir, opts, verbosity); in main() 334 if (outputDir.empty()) in main() [all …]
|
/external/testng/src/test/java/test/reports/ |
D | ReportTest.java | 23 File outputDir = TestHelper.createRandomDirectory(); in verifyIndex() local 29 TestNG tng = TestHelper.createTestNG(suite, outputDir.getAbsolutePath()); in verifyIndex() 31 File f = getHtmlReportFile(outputDir, suiteName, testName); in verifyIndex() 92 private static File getHtmlReportFile(File outputDir, String suiteName, String testName) { in getHtmlReportFile() argument 93 File f = new File(outputDir.getAbsolutePath() + File.separatorChar + suiteName in getHtmlReportFile() 105 String outputDir = testng.getOutputDirectory(); in shouldHonorSuiteName() local 107 String dirA = outputDir + File.separatorChar + "SuiteA-JDK5"; in shouldHonorSuiteName() 109 String dirB = outputDir + File.separatorChar + "SuiteB-JDK5"; in shouldHonorSuiteName()
|
/external/testng/src/test/java/test/ |
D | TestHelper.java | 37 public static TestNG createTestNG(String outputDir) { in createTestNG() argument 38 return createTestNG(null, outputDir); in createTestNG() 49 public static TestNG createTestNG(XmlSuite suite, String outputDir) { in createTestNG() argument 56 if (outputDir == null) { in createTestNG() 57 outputDir = createRandomDirectory().getAbsolutePath(); in createTestNG() 59 result.setOutputDirectory(outputDir); in createTestNG()
|
/external/clang/include/clang/ARCMigrate/ |
D | FileRemapper.h | 45 bool initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag, 49 bool flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag); 53 StringRef outputDir = StringRef()); 59 void clear(StringRef outputDir = StringRef()); 70 std::string getRemapInfoFile(StringRef outputDir);
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/util/ |
D | Class2HTMLTestCase.java | 31 final File outputDir = new File("target/test-output/html"); in testConvertJavaUtil() local 32 if (!outputDir.mkdirs()) { // either was not created or already existed in testConvertJavaUtil() 33 Assert.assertTrue(outputDir.isDirectory()); // fail if missing in testConvertJavaUtil() 40 new Class2HTML(parser.parse(), outputDir.getAbsolutePath() + "/"); in testConvertJavaUtil()
|
/external/icu/icu4c/source/tools/genrb/ |
D | genrb.cpp | 34 void processFile(const char *filename, const char* cp, const char *inputDir, const char *outputDir, 37 static char *make_res_filename(const char *filename, const char *outputDir, 122 const char *outputDir = NULL; /* NULL = no output directory, use current */ in main() local 254 outputDir = options[DESTDIR].value; in main() 527 processFile(arg, encoding, inputDir, outputDir, NULL, in main() 536 newPoolBundle->write(outputDir, NULL, outputFileName, sizeof(outputFileName), status); in main() 555 const char *inputDir, const char *outputDir, const char *packageName, in processFile() argument 664 data.adoptInstead(parse(ucbuf, inputDir, outputDir, filename, in processFile() 695 rbname = make_res_filename(filename, outputDir, packageName, status); in processFile() 702 bundle_write_java(data.getAlias(), outputDir, outputEnc, in processFile() [all …]
|
/external/opencensus-java/examples/ |
D | build.gradle | 91 outputDir = new File(project.buildDir, 'tmp') 98 outputDir = new File(project.buildDir, 'tmp') 105 outputDir = new File(project.buildDir, 'tmp') 112 outputDir = new File(project.buildDir, 'tmp') 119 outputDir = new File(project.buildDir, 'tmp') 126 outputDir = new File(project.buildDir, 'tmp') 133 outputDir = new File(project.buildDir, 'tmp') 140 outputDir = new File(project.buildDir, 'tmp')
|
/external/testng/src/test/java/test/failures/ |
D | BaseFailuresTest.java | 24 protected TestNG run(TestNG result, Class[] classes, String outputDir) { in run() argument 26 result.setOutputDirectory(outputDir); in run() 80 protected void verify(String outputDir, String[] expected) { in verify() argument 81 File f = new File(outputDir + in verify() 87 File tmpDir = new File(outputDir); in verify()
|
/external/skia/tools/skdiff/ |
D | skdiff_html.cpp | 229 const SkString& outputDir) { in print_diff_page() argument 233 SkASSERT(!outputDir.isEmpty()); in print_diff_page() 235 SkString outputPath(outputDir); in print_diff_page() 245 if (outputDir.size() > 0 && PATH_DIV_CHAR == outputDir[0]) { in print_diff_page() 251 if (outputDir.size() > 1 && ':' == outputDir[1]) { in print_diff_page() 259 for (ui = 0; ui < outputDir.size(); ui++) { in print_diff_page() 260 if (outputDir[ui] == PATH_DIV_CHAR) { in print_diff_page()
|
D | skdiff_main.cpp | 382 const SkString& outputDir, in create_diff_images() argument 408 if (!outputDir.isEmpty()) { in create_diff_images() 409 sk_mkdir(outputDir.c_str()); in create_diff_images() 505 outputDir, drp->fBase.fFilename); in create_diff_images() 624 SkString outputDir; in main() local 756 outputDir.set(argv[i]); in main() 775 outputDir = comparisonDir; in main() 795 if (!outputDir.endsWith(PATH_DIV_STR)) { in main() 796 outputDir.append(PATH_DIV_STR); in main() 800 printf("writing diffs to outputDir is [%s]\n", outputDir.c_str()); in main() [all …]
|
/external/skqp/tools/skdiff/ |
D | skdiff_html.cpp | 229 const SkString& outputDir) { in print_diff_page() argument 233 SkASSERT(!outputDir.isEmpty()); in print_diff_page() 235 SkString outputPath(outputDir); in print_diff_page() 245 if (outputDir.size() > 0 && PATH_DIV_CHAR == outputDir[0]) { in print_diff_page() 251 if (outputDir.size() > 1 && ':' == outputDir[1]) { in print_diff_page() 259 for (ui = 0; ui < outputDir.size(); ui++) { in print_diff_page() 260 if (outputDir[ui] == PATH_DIV_CHAR) { in print_diff_page()
|
D | skdiff_main.cpp | 382 const SkString& outputDir, in create_diff_images() argument 408 if (!outputDir.isEmpty()) { in create_diff_images() 409 sk_mkdir(outputDir.c_str()); in create_diff_images() 505 outputDir, drp->fBase.fFilename); in create_diff_images() 624 SkString outputDir; in main() local 756 outputDir.set(argv[i]); in main() 775 outputDir = comparisonDir; in main() 795 if (!outputDir.endsWith(PATH_DIV_STR)) { in main() 796 outputDir.append(PATH_DIV_STR); in main() 800 printf("writing diffs to outputDir is [%s]\n", outputDir.c_str()); in main() [all …]
|
/external/grpc-grpc-java/examples/ |
D | build.gradle | 80 outputDir = new File(project.buildDir, 'tmp') 87 outputDir = new File(project.buildDir, 'tmp') 94 outputDir = new File(project.buildDir, 'tmp') 101 outputDir = new File(project.buildDir, 'tmp') 108 outputDir = new File(project.buildDir, 'tmp') 115 outputDir = new File(project.buildDir, 'tmp') 122 outputDir = new File(project.buildDir, 'tmp') 129 outputDir = new File(project.buildDir, 'tmp') 136 outputDir = new File(project.buildDir, 'tmp')
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
D | Icu4jTransformRules.java | 52 File outputDir = new File(outputDirName); in createOutputFileGenerator() local 53 if (!isValidDir(outputDir)) { in createOutputFileGenerator() 54 throw new IllegalArgumentException("Output dir [" + outputDir + "] does not exist."); in createOutputFileGenerator() 56 return new BasicOutputSourceFileGenerator(outputDir); in createOutputFileGenerator()
|
/external/cldr/tools/java/org/unicode/cldr/json/ |
D | Ldml2JsonConverter.java | 127 private String outputDir; field in Ldml2JsonConverter 158 …public Ldml2JsonConverter(String cldrDir, String outputDir, String runType, boolean fullNumbers, b… in Ldml2JsonConverter() argument 161 this.outputDir = outputDir; in Ldml2JsonConverter() 440 StringBuilder outputDirname = new StringBuilder(outputDir); in convertCldrItems() 495 for (String outputDir : outputDirs) { in convertCldrItems() 500 PrintWriter outf = FileUtilities.openUTF8Writer(outputDir, outFilename); in convertCldrItems() 647 public void writePackagingFiles(String outputDir, String packageName) throws IOException { in writePackagingFiles() argument 648 writePackageJson(outputDir, packageName); in writePackagingFiles() 649 writeBowerJson(outputDir, packageName); in writePackagingFiles() 682 public void writePackageJson(String outputDir, String packageName) throws IOException { in writePackageJson() argument [all …]
|
/external/lzma/CPP/7zip/UI/GUI/ |
D | ExtractGUI.cpp | 181 FString outputDir = options.OutputDir; in ExtractGUI() local 183 if (outputDir.IsEmpty()) in ExtractGUI() 184 GetCurrentDir(outputDir); in ExtractGUI() 190 if (!MyGetFullPathName(outputDir, outputDirFull)) in ExtractGUI() 219 outputDir = us2fs(dialog.DirPath); in ExtractGUI() 232 if (!MyGetFullPathName(outputDir, options.OutputDir)) in ExtractGUI()
|
/external/pdfium/testing/tools/ |
D | gold.py | 180 def __init__(self, source_type, outputDir, propertiesStr, keyStr, argument 198 self._outputDir = outputDir 201 if os.path.exists(outputDir): 202 shutil.rmtree(outputDir, ignore_errors=True) 203 os.makedirs(outputDir)
|
/external/fonttools/Lib/fontTools/misc/ |
D | cliTools.py | 11 def makeOutputFileName(input, outputDir=None, extension=None, overWrite=False): argument 14 if outputDir: 15 dirName = outputDir
|