Home
last modified time | relevance | path

Searched refs:dstPath (Results 1 - 19 of 19) sorted by relevance

/third_party/astc-encoder/Test/
H A Dastc_test_image_dl.py35 def download(testSet, index, srcUrl, dstPath):
43 dstPath (str): The destination path.
45 dirName = os.path.dirname(dstPath)
50 if not os.path.exists(dstPath):
52 urllib.request.urlretrieve(srcUrl, dstPath)
70 def make_mixed_image(imgPathA, imgPathB, dstPath):
77 dstPath: The path of the destination.
84 dirs = os.path.dirname(dstPath)
88 imgA.save(dstPath)
91 def make_montage(imageDir, dstPath)
[all...]
/third_party/vk-gl-cts/external/vulkancts/scripts/
H A Dbuild_spirv_binaries.py56 def cleanDstDir (dstPath):
57 binFiles = [f for f in os.listdir(dstPath) if os.path.isfile(os.path.join(dstPath, f)) and fnmatch.fnmatch(f, "*.spv")]
60 print("Removing %s" % os.path.join(dstPath, binFile))
61 os.remove(os.path.join(dstPath, binFile))
63 def execBuildPrograms (buildCfg, generator, module, dstPath, vulkanVersion):
64 fullDstPath = os.path.realpath(dstPath)
95 dest="dstPath",
115 if not os.path.exists(args.dstPath):
116 os.makedirs(args.dstPath)
[all...]
H A Damber_verify.py84 dest="dstPath",
98 if not os.path.exists(args.dstPath):
99 os.makedirs(args.dstPath)
/third_party/astc-encoder/Test/testlib/
H A Dencoder.py272 dstPath = image.outFilePath + self.OUTPUTS[image.colorProfile]
273 dstDir = os.path.dirname(dstPath)
274 dstFile = os.path.basename(dstPath)
275 dstPath = os.path.join(dstDir, self.name, preset[1:], blockSize, dstFile)
277 dstDir = os.path.dirname(dstPath)
280 dstPath = "nul"
282 dstPath = "/dev/null"
285 self.binary, opmode, srcPath, dstPath,
377 dstPath = image.outFilePath + self.OUTPUTS[image.colorProfile]
378 dstDir = os.path.dirname(dstPath)
[all...]
/third_party/vk-gl-cts/scripts/android/
H A Dbuild_apk.py613 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "base.apk"]
626 return [self.dstPath]
630 dstPath = resolvePath(config, self.dstPath)
632 if not os.path.exists(os.path.dirname(dstPath)):
633 os.makedirs(os.path.dirname(dstPath))
643 "-F", dstPath,
687 self.dstPath = [BuildRoot(), self.package.getAppDirName(), "tmp", "with-java.apk"]
696 return [self.dstPath]
700 dstPath
[all...]
/third_party/vk-gl-cts/external/
H A Dfetch_sources.py137 dstPath = os.path.join(EXTERNAL_DIR, self.baseDir, self.archiveDir, self.filename)
142 if not os.path.exists(os.path.dirname(dstPath)):
143 os.makedirs(os.path.dirname(dstPath))
145 writeBinaryFile(dstPath, data)
152 dstPath = os.path.join(EXTERNAL_DIR, self.baseDir, self.extractDir)
173 if not os.path.exists(dstPath):
174 os.mkdir(dstPath)
177 if os.path.exists(os.path.join(dstPath, entry)):
180 shutil.move(os.path.join(topLevelPath, entry), dstPath)
185 self.postExtract(dstPath)
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkBinaryRegistry.cpp109 void writeBinary (const ProgramBinary& binary, const std::string& dstPath) in writeBinary() argument
111 const de::FilePath filePath(dstPath); in writeBinary()
117 std::ofstream out (dstPath.c_str(), std::ios_base::binary); in writeBinary()
120 throw tcu::Exception("Failed to open " + dstPath); in writeBinary()
417 BinaryRegistryWriter::BinaryRegistryWriter (const std::string& dstPath) in BinaryRegistryWriter() argument
418 : m_dstPath(dstPath) in BinaryRegistryWriter()
420 if (de::FilePath(dstPath).exists()) in BinaryRegistryWriter()
421 initFromPath(dstPath); in BinaryRegistryWriter()
515 void BinaryRegistryWriter::writeToPath (const std::string& dstPath) const in writeToPath()
517 if (!de::FilePath(dstPath) in writeToPath()
[all...]
H A DvkBinaryRegistry.hpp224 BinaryRegistryWriter (const std::string& dstPath);
232 void writeToPath (const std::string& dstPath) const;
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DDeprecator.java32 String dstPath = null; in main()
44 dstPath = args[++i]; in main()
73 if (dstPath == null) { in main()
76 dstDir = new File(dstPath); in main()
79 err.append("\nunable to create dst: '" + dstPath + "'"); in main()
82 err.append("\ndst exists but is not directory: '" + dstPath + "'"); in main()
/third_party/node/test/parallel/
H A Dtest-fs-link.js12 const dstPath = path.join(tmpdir.path, 'link1.js');
17 const dstContent = fs.readFileSync(dstPath, 'utf8');
21 fs.link(srcPath, dstPath, common.mustCall(callback));
/third_party/skia/src/utils/
H A DSkDashPath.cpp156 // If cull_path() returns true, dstPath is the new smaller path,
157 // otherwise dstPath may have been changed but you should ignore it.
159 const SkRect* cullRect, SkScalar intervalLength, SkPath* dstPath) {
164 dstPath->moveTo(pts[0]);
165 dstPath->lineTo(pts[1]);
179 dstPath->moveTo(pts[0]);
180 dstPath->lineTo(pts[1]);
204 if (!dstPath->getLastPt(&last) || last != pts[0]) {
205 dstPath->moveTo(pts[0]);
207 dstPath
[all...]
/third_party/vk-gl-cts/scripts/khr_util/
H A Dregistry_cache.py112 def fetchFile (dstPath, repository, revision, filename, checksum, cacheDir):
118 if not os.path.exists(os.path.dirname(dstPath)):
119 os.makedirs(os.path.dirname(dstPath))
128 writeFile(dstPath, data)
/third_party/vk-gl-cts/executor/tools/
H A DxeBatchResultToXml.cpp232 ResultToXmlFilesLogHandler (vector<xe::TestCaseResultHeader>& resultHeaders, const char* dstPath) in ResultToXmlFilesLogHandler() argument
234 , m_dstPath (dstPath) in ResultToXmlFilesLogHandler()
334 static void batchResultToSeparateXmlFiles (const char* batchResultFilename, const char* dstPath) in batchResultToSeparateXmlFiles() argument
341 if (!de::FilePath(dstPath).exists()) in batchResultToSeparateXmlFiles()
342 de::createDirectoryAndParents(dstPath); in batchResultToSeparateXmlFiles()
344 XE_CHECK_MSG(de::FilePath(dstPath).getType() == de::FilePath::TYPE_DIRECTORY, "Destination is not directory"); in batchResultToSeparateXmlFiles()
348 ResultToXmlFilesLogHandler handler (shortResults, dstPath); in batchResultToSeparateXmlFiles()
367 de::FilePath indexPath = de::FilePath::join(dstPath, "caselist.xml"); in batchResultToSeparateXmlFiles()
H A DxeExtractShaderPrograms.cpp50 string dstPath; member
79 const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de::toString(programNdx); in writeShaderProgram()
223 else if (cmdLine.dstPath.empty()) in parseCommandLine()
224 cmdLine.dstPath = arg; in parseCommandLine()
/third_party/vk-gl-cts/external/openglcts/scripts/
H A Dbuild_caselists.py139 dstPath = os.path.join(dstDir, caseListFile)
149 shutil.copyfile(srcPath, dstPath)
/third_party/vk-gl-cts/scripts/
H A Dbuild_caselists.py101 dstPath = os.path.join(dstDir, caseListFile)
111 shutil.copyfile(srcPath, dstPath)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
H A DvktBuildPrograms.cpp393 const std::string& dstPath, in buildPrograms()
522 vk::BinaryRegistryWriter registryWriter (dstPath); in buildPrograms()
392 buildPrograms(tcu::TestContext& testCtx, const std::string& dstPath, const bool validateBinaries, const deUint32 usedVulkanVersion, const vk::SpirvVersion baselineSpirvVersion, const vk::SpirvVersion maxSpirvVersion, const bool allowSpirV14) buildPrograms() argument
/third_party/skia/tools/skqp/src/
H A Dskqp.cpp198 static void print_backend_info(const char* dstPath, in print_backend_info() argument
201 SkFILEWStream out(dstPath); in print_backend_info()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
H A DvktBuildPrograms.cpp393 const std::string& dstPath, in buildPrograms()
519 vk::BinaryRegistryWriter registryWriter (dstPath); in buildPrograms()
392 buildPrograms(tcu::TestContext& testCtx, const std::string& dstPath, const bool validateBinaries, const deUint32 usedVulkanVersion, const vk::SpirvVersion baselineSpirvVersion, const vk::SpirvVersion maxSpirvVersion, const bool allowSpirV14) buildPrograms() argument

Completed in 11 milliseconds