Lines Matching refs:string
25 std::vector<std::string> Split(const std::string &str, const char delimiter) in Split()
27 std::string normalizedImport {}; in Split()
28 std::string pkgName {}; in Split()
29 std::vector<std::string> items; in Split()
33 while (pos != std::string::npos) { in Split()
34 std::string item = str.substr(start, pos - start); in Split()
39 std::string tail = str.substr(start); in Split()
45 std::string GetStringByVectorElementsWithDelimiter(const std::vector<std::string> &vec, const char … in GetStringByVectorElementsWithDelimiter()
59 std::string GetPkgNameFromNormalizedImport(const std::string &normalizedImport) in GetPkgNameFromNormalizedImport()
61 std::string pkgName {}; in GetPkgNameFromNormalizedImport()
63 if (pos != std::string::npos) { in GetPkgNameFromNormalizedImport()
68 if (pos != std::string::npos) { in GetPkgNameFromNormalizedImport()
75 std::string GetPkgNameFromNormalizedOhmurl(const std::string &ohmurl) in GetPkgNameFromNormalizedOhmurl()
77 std::string normalizedImport {}; in GetPkgNameFromNormalizedOhmurl()
78 std::string pkgName {}; in GetPkgNameFromNormalizedOhmurl()
87 std::string GetRecordNameFromNormalizedOhmurl(const std::string &ohmurl) in GetRecordNameFromNormalizedOhmurl()
90 std::string recordName {}; in GetRecordNameFromNormalizedOhmurl()
98 bool IsExternalPkgNames(const std::string &ohmurl, const std::set<std::string> &externalPkgNames) in IsExternalPkgNames()
107 std::string UpdatePackageVersionIfNeeded(const std::string &ohmurl, in UpdatePackageVersionIfNeeded()
108 … const std::unordered_map<std::string, PkgInfo> &pkgContextInfo) in UpdatePackageVersionIfNeeded() argument
120 std::string packageName = util::GetPkgNameFromNormalizedOhmurl(ohmurl); in UpdatePackageVersionIfNeeded()
131 if (versionStart == std::string::npos) { in UpdatePackageVersionIfNeeded()
142 std::string UpdateBundleNameIfNeeded(std::string &ohmurl, const std::string &bundleName, in UpdateBundleNameIfNeeded()
143 const std::set<std::string> &externalPkgNames) in UpdateBundleNameIfNeeded()
151 std::vector<std::string> items = Split(ohmurl, NORMALIZED_OHMURL_SEPARATOR); in UpdateBundleNameIfNeeded()
175 bool RecordNotGeneratedFromBytecode(std::string recordName) in RecordNotGeneratedFromBytecode()
177 return recordName.find(util::CHAR_VERTICAL_LINE) == std::string::npos; in RecordNotGeneratedFromBytecode()