Searched refs:strPath (Results 1 – 8 of 8) sorted by relevance
42 std::string strPath = path; in RemoveDir() local43 if (strPath.at(strPath.length() - 1) != '/') { in RemoveDir()44 strPath.append("/"); in RemoveDir()46 DIR *d = opendir(strPath.c_str()); in RemoveDir()56 auto file_name = strPath + std::string(dt->d_name); in RemoveDir()67 return rmdir(strPath.c_str()) == 0 ? true : false; in RemoveDir()
31 bool MmsAttachment::SetAttachmentFilePath(std::string strPath, bool isSmil) in SetAttachmentFilePath() argument33 if (strPath.empty()) { in SetAttachmentFilePath()37 strPathName_ = strPath; in SetAttachmentFilePath()
156 bool ZipWriter::ZipOpenNewFileInZip(zipFile zip_file, const std::string &strPath) in ZipOpenNewFileInZip() argument158 DUMPER_HILOGD(MODULE_COMMON, "ZipOpenNewFileInZip enter|strPath=[%{public}s]", strPath.c_str()); in ZipOpenNewFileInZip()163 int res = zipOpenNewFileInZip4(zip_file, strPath.c_str(), &fileInfo, in ZipOpenNewFileInZip()
40 static bool ZipOpenNewFileInZip(zipFile zip_file, const std::string &strPath);
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()
37 bool SetAttachmentFilePath(std::string strPath, bool isSmil = false);
680 std::string strPath = path; in RemoveDir() local681 if (strPath.at(strPath.length() - 1) != '/') { in RemoveDir()682 strPath.append("/"); in RemoveDir()684 DIR *d = opendir(strPath.c_str()); in RemoveDir()694 auto file_name = strPath + std::string(dt->d_name); in RemoveDir()705 return rmdir(strPath.c_str()) == 0 ? true : false; in RemoveDir()