Home
last modified time | relevance | path

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

/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dfile_path.cpp130 std::string::size_type lastSeparator = in DirName() local
136 if (lastSeparator == std::string::npos) { in DirName()
139 } else if (lastSeparator == zero) { in DirName()
142 } else if (lastSeparator == one && IsSeparator(newPath.path_[zero])) { in DirName()
148 newPath.path_.resize(lastSeparator); in DirName()
166 std::string::size_type lastSeparator = in BaseName() local
168 if (lastSeparator != std::string::npos && lastSeparator < newPath.path_.length() - 1) { in BaseName()
169 newPath.path_.erase(0, lastSeparator + 1); in BaseName()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/
H A Dpath_util.cpp110 int lastSeparator = -1; in GetRelativePath() local
117 lastSeparator = int(i); in GetRelativePath()
121 const auto lastPos = static_cast<size_t>(static_cast<size_t>(lastSeparator) + 1); in GetRelativePath()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dasset_loader.h138 int lastSeparator = -1; in GetRelativePath() local
145 lastSeparator = int(i); in GetRelativePath()
149 path.remove_prefix(lastSeparator + 1); in GetRelativePath()
150 relativeTo.remove_prefix(lastSeparator + 1); in GetRelativePath()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_manager_service.cpp8649 size_t lastSeparator = abilityInfoUri.find_last_of('/'); in GetValidDataAbilityUri() local
8650 if (lastSeparator - firstSeparator != 1) { in GetValidDataAbilityUri()
8656 adjustUri.insert(lastSeparator, "/"); in GetValidDataAbilityUri()

Completed in 28 milliseconds