Lines Matching refs:dst
509 bool CompressionParser::CheckAndTranscode(const string &src, string &dst, string &output,
523 dst = output;
538 dst = output;
549 dst = output;
553 bool CompressionParser::CopyForTrans(const string &src, const string &originDst, const string &dst)
558 auto dstIndex = dst.find_last_of(".");
561 dstSuffix = dst.substr(dstIndex + 1);
565 ret = ResourceUtil::CopyFileInner(src, dst);
568 string dstPath = outPath_ + SEPARATOR_FILE + RESOURCES_DIR + dst.substr(startIndex);
569 ret = ResourceUtil::CopyFileInner(dst, dstPath);
574 bool CompressionParser::CopyAndTranscode(const string &src, string &dst, const bool extAppend)
578 auto res = ResourceUtil::CopyFileInner(src, dst);
583 auto index = dst.find_last_of(SEPARATOR_FILE);
585 cerr << "Error: invalid output path." << NEW_LINE_PATH << dst << endl;
589 string endStr = dst.substr(startIndex, index - startIndex);
591 string originDst = dst;
597 if (!CheckAndTranscode(src, dst, output, compressFilter, extAppend)) {
603 auto ret = CopyForTrans(src, originDst, dst);