Home
last modified time | relevance | path

Searched refs:entryPoint (Results 1 - 1 of 1) sorted by relevance

/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dpath_helper.h140 static std::string NormalizePath(const std::string &entryPoint) in NormalizePath() argument
144 size_t curr = entryPoint.find(SLASH_TAG); in NormalizePath()
149 std::string elem = entryPoint.substr(prev, curr - prev); in NormalizePath()
150 if (elem == DOUBLE_POINT_TAG && entryPoint.at(curr) == SLASH_TAG in NormalizePath()
158 curr = entryPoint.find(SLASH_TAG, prev); in NormalizePath()
160 if (prev != entryPoint.size()) { in NormalizePath()
161 elems.push_back(entryPoint.substr(prev)); in NormalizePath()
164 if (res.size() == 0 && entryPoint.at(0) != SLASH_TAG) { in NormalizePath()

Completed in 1 milliseconds