Lines Matching refs:dstPath
109 void writeBinary (const ProgramBinary& binary, const std::string& dstPath)
111 const de::FilePath filePath(dstPath);
117 std::ofstream out (dstPath.c_str(), std::ios_base::binary);
120 throw tcu::Exception("Failed to open " + dstPath);
417 BinaryRegistryWriter::BinaryRegistryWriter (const std::string& dstPath)
418 : m_dstPath(dstPath)
420 if (de::FilePath(dstPath).exists())
421 initFromPath(dstPath);
515 void BinaryRegistryWriter::writeToPath (const std::string& dstPath) const
517 if (!de::FilePath(dstPath).exists())
518 de::createDirectoryAndParents(dstPath.c_str());
528 writeBinary(dstPath, (deUint32)binaryNdx, *slot.binary);
533 const std::string progPath = getProgramPath(dstPath, (deUint32)binaryNdx);
543 const de::FilePath indexPath = getIndexPath(dstPath);