Searched refs:strPath (Results 1 – 7 of 7) sorted by relevance
30 bool MmsAttachment::SetAttachmentFilePath(std::string strPath, bool isSmil) in SetAttachmentFilePath() argument32 if (strPath.empty()) { in SetAttachmentFilePath()36 strPathName_ = strPath; in SetAttachmentFilePath()
535 std::string strPath = path; in RemoveDir() local536 if (strPath.at(strPath.length() - 1) != '/') { in RemoveDir()537 strPath.append("/"); in RemoveDir()539 DIR *d = opendir(strPath.c_str()); in RemoveDir()549 auto file_name = strPath + std::string(dt->d_name); in RemoveDir()560 return rmdir(strPath.c_str()) == 0 ? true : false; in RemoveDir()
155 bool ZipWriter::ZipOpenNewFileInZip(zipFile zip_file, const std::string &strPath) in ZipOpenNewFileInZip() argument157 DUMPER_HILOGD(MODULE_COMMON, "ZipOpenNewFileInZip enter|strPath=[%{public}s]", strPath.c_str()); in ZipOpenNewFileInZip()162 int res = zipOpenNewFileInZip4(zip_file, strPath.c_str(), &fileInfo, in ZipOpenNewFileInZip()
29 void MmsDecodeTest(std::string strPath) const;
145 void MmsMsgTest::MmsDecodeTest(std::string strPath) const in MmsDecodeTest()148 if (!decodeMsg.DecodeMsg(strPath)) { in MmsDecodeTest()150 std::cout << "mms file path name:" << strPath << std::endl; in MmsDecodeTest()
40 static bool ZipOpenNewFileInZip(zipFile zip_file, const std::string &strPath);
37 bool SetAttachmentFilePath(std::string strPath, bool isSmil = false);