Home
last modified time | relevance | path

Searched refs:outPath (Results 1 – 25 of 28) sorted by relevance

12

/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py90 def _verifyOutput(outPath, tables=None): argument
91 f = TTFont(outPath)
92 f.saveXML(outPath + ".ttx", tables=tables)
93 with open(outPath + ".ttx") as f:
95 refData = strip_VariableItems(getTestData(os.path.basename(outPath) + ".ttx"))
100 outPath = os.path.join(str(tmpdir), "test.ttf")
122 fb.save(outPath)
124 _verifyOutput(outPath)
128 outPath = os.path.join(str(tmpdir), "test.otf")
151 fb.save(outPath)
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DMiscUtils.java21 public static void getPathFromData(ShapeData shapeData, Path outPath) { in getPathFromData() argument
22 outPath.reset(); in getPathFromData()
24 outPath.moveTo(initialPoint.x, initialPoint.y); in getPathFromData()
39 outPath.lineTo(vertex.x, vertex.y); in getPathFromData()
41 outPath.cubicTo(cp1.x, cp1.y, cp2.x, cp2.y, vertex.x, vertex.y); in getPathFromData()
46 outPath.close(); in getPathFromData()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DHttpFacade.java139 @RpcParameter(name="outPath") @RpcOptional String outPath) throws IOException { in httpDownloadFile()
145 if (outPath != null && outPath.trim().length() != 0) { in httpDownloadFile()
147 if (outPath.startsWith("/")) { in httpDownloadFile()
148 outFile = new File(outPath); in httpDownloadFile()
150 outFile = new File(outFile, outPath); in httpDownloadFile()
153 if (outPath.endsWith("/")) { in httpDownloadFile()
155 throw new IOException("Failed to create the path: " + outPath); in httpDownloadFile()
183 Log.d("Downloaded file from " + url + " to " + outPath); in httpDownloadFile()
/external/libxml2/fuzz/
DgenSeed.c188 char outPath[PATH_SIZE]; in processPattern() local
211 size = snprintf(outPath, sizeof(outPath), "seed/%s/%s", in processPattern()
218 out = fopen(outPath, "wb"); in processPattern()
220 fprintf(stderr, "couldn't open %s for writing\n", outPath); in processPattern()
286 char outPath[PATH_SIZE]; in processXPath() local
295 size = snprintf(outPath, sizeof(outPath), "seed/xpath/%s-%d", in processXPath()
301 out = fopen(outPath, "wb"); in processXPath()
/external/perfetto/ui/src/controller/
Dtrace_converter.ts27 const outPath = '/trace.json'; constant
32 args.push('/fs/trace.proto', outPath);
34 const fsNode = module.FS.lookupPath(outPath).node;
38 module.FS.unlink(outPath);
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DTempFileSink.java35 private final String outPath; field in TempFileSink
41 outPath = outFile.getPath(); in TempFileSink()
47 return this.outPath; in getPath()
/external/skqp/tools/fonts/
Dcreate_test_font.cpp50 SkString outPath(SkOSPath::Join(".", "tools")); in font_header() local
51 outPath = SkOSPath::Join(outPath.c_str(), "fonts"); in font_header()
52 outPath = SkOSPath::Join(outPath.c_str(), "test_font_"); in font_header()
61 outPath.append(fam); in font_header()
62 outPath.append(".inc"); in font_header()
63 FILE* out = fopen(outPath.c_str(), "w"); in font_header()
/external/skia/tools/fonts/
Dcreate_test_font.cpp50 SkString outPath(SkOSPath::Join(".", "tools")); in font_header() local
51 outPath = SkOSPath::Join(outPath.c_str(), "fonts"); in font_header()
52 outPath = SkOSPath::Join(outPath.c_str(), "test_font_"); in font_header()
61 outPath.append(fam); in font_header()
62 outPath.append(".inc"); in font_header()
63 FILE* out = fopen(outPath.c_str(), "w"); in font_header()
/external/clang/lib/ARCMigrate/
DPlistReporter.cpp35 void arcmt::writeARCDiagsToPlist(const std::string &outPath, in writeARCDiagsToPlist() argument
60 llvm::raw_fd_ostream o(outPath, EC, llvm::sys::fs::F_Text); in writeARCDiagsToPlist()
62 llvm::errs() << "error: could not create file: " << outPath << '\n'; in writeARCDiagsToPlist()
DInternals.h44 void writeARCDiagsToPlist(const std::string &outPath,
/external/llvm-project/clang/lib/ARCMigrate/
DPlistReporter.cpp34 void arcmt::writeARCDiagsToPlist(const std::string &outPath, in writeARCDiagsToPlist() argument
59 llvm::raw_fd_ostream o(outPath, EC, llvm::sys::fs::OF_Text); in writeARCDiagsToPlist()
61 llvm::errs() << "error: could not create file: " << outPath << '\n'; in writeARCDiagsToPlist()
DInternals.h45 void writeARCDiagsToPlist(const std::string &outPath,
/external/boringssl/src/util/fipstools/inject_hash/
Dinject_hash.go39 func do(outPath, oInput string, arInput string, useSHA256 bool) error { argument
253 return ioutil.WriteFile(outPath, objectBytes, perm & 0777)
259 outPath := flag.String("o", "", "Path to output object")
264 if err := do(*outPath, *oInput, *arInput, *sha256); err != nil {
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DSwatDeprecated.java172 String outPath = dstPrefix + inPath.substring(srcPrefix.length()); in processFile() local
173 File outFile = new File(outPath); in processFile()
178 throw new RuntimeException("no permission to overwrite file: " + outPath); in processFile()
295 pw.println("warning: couldn't rename temp file to: " + outPath); in processFile()
/external/boringssl/src/util/
Ddoc.go573 func generate(outPath string, config *Config) (map[string]string, error) {
657 filename := filepath.Join(outPath, header.Name+".html")
671 func generateIndex(outPath string, config *Config, headerDescriptions map[string]string) error {
708 …file, err := os.OpenFile(filepath.Join(outPath, "headers.html"), os.O_CREATE|os.O_TRUNC|os.O_WRONL…
721 func copyFile(outPath string, inFilePath string) error {
726 return ioutil.WriteFile(filepath.Join(outPath, filepath.Base(inFilePath)), bytes, 0666)
/external/skia/infra/bots/task_drivers/compile_wasm_gm_tests/
Dcompile_wasm_gm_tests.go29 outPath = flag.String("out_path", "", "The directory to put the built wasm/js code.")
45 outAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *outPath, "out_path")
/external/boringssl/src/util/fipstools/
Dbreak-hash.go31 func do(outPath, inPath string) error { argument
134 return ioutil.WriteFile(outPath, objectBytes, 0755)
/external/webrtc/modules/audio_coding/codecs/isac/main/test/
DsimpleKenny.c78 char outPath[500]; in main() local
206 _splitpath(outname, outDrive, outPath, outPrefix, outSuffix); in main()
207 _makepath(bitrateFileName, outDrive, outPath, "bitrate", ".txt"); in main()
/external/zstd/tests/
Ddecodecorpus.c1593 char outPath[MAX_PATH]; in generateCorpus() local
1611 if (snprintf(outPath, MAX_PATH, "%s/z%06u.zst", path, fnum) + 1 > MAX_PATH) { in generateCorpus()
1615 outputBuffer(fr.dataStart, (BYTE*)fr.data - (BYTE*)fr.dataStart, outPath); in generateCorpus()
1618 if (snprintf(outPath, MAX_PATH, "%s/z%06u", origPath, fnum) + 1 > MAX_PATH) { in generateCorpus()
1622 outputBuffer(fr.srcStart, (BYTE*)fr.src - (BYTE*)fr.srcStart, outPath); in generateCorpus()
1635 char outPath[MAX_PATH]; in generateCorpusWithDict() local
1640 if (snprintf(outPath, MAX_PATH, "%s/dictionary", path) + 1 > MAX_PATH) { in generateCorpusWithDict()
1662 if (snprintf(outPath, MAX_PATH, "%s/dictionary", path) + 1 > MAX_PATH) { in generateCorpusWithDict()
1667 outputBuffer(fullDict, dictSize, outPath); in generateCorpusWithDict()
1691 if (snprintf(outPath, MAX_PATH, "%s/z%06u.zst", path, fnum) + 1 > MAX_PATH) { in generateCorpusWithDict()
[all …]
/external/skia/infra/bots/task_drivers/cifuzz/
Dcifuzz.go31outPath = flag.String("out_path", "", "The directory to put any crashes/hangs/outputs found.")
49 outAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *outPath, "out_path")
/external/boringssl/src/util/fipstools/cavp/
Drun_cavp.go468 outPath := filepath.Join(respDir, test.inFile+".rsp")
469 outFile, err := os.OpenFile(outPath, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0644)
/external/python/cpython3/Mac/BuildScript/
Dbuild-installer.py1409 def patchFile(inPath, outPath): argument
1420 fp = open(outPath, 'w')
1424 def patchScript(inPath, outPath): argument
1429 fp = open(outPath, 'w')
1432 os.chmod(outPath, STAT_0o755)
/external/python/cpython2/Mac/BuildScript/
Dbuild-installer.py1318 def patchFile(inPath, outPath): argument
1329 fp = open(outPath, 'w')
1333 def patchScript(inPath, outPath): argument
1338 fp = open(outPath, 'w')
1341 os.chmod(outPath, STAT_0o755)
/external/libcups/scheduler/
Dprinters.c4838 char outPath[HTTP_MAX_URI]; in load_ppd() local
4846 snprintf(outPath, sizeof(outPath), "%s/%s.png", CacheDir, p->name); in load_ppd()
4847 …eFromFileSystemRepresentation(kCFAllocatorDefault, (UInt8 *)outPath, (CFIndex)strlen(outPath), FAL… in load_ppd()
/external/llvm-project/lld/lib/ReaderWriter/YAML/
DReaderWriterYAML.cpp1299 llvm::Error writeFile(const lld::File &file, StringRef outPath) override { in writeFile() argument
1302 llvm::raw_fd_ostream out(outPath, ec, llvm::sys::fs::OF_Text); in writeFile()

12