Home
last modified time | relevance | path

Searched refs:separatorPos (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dcapability_utils.cpp38 std::size_t separatorPos = key.find(RESOURCE_SEPARATOR); in IsCapKeyMatchDeviceId() local
39 if (separatorPos == std::string::npos) { in IsCapKeyMatchDeviceId()
42 std::string keyDevId = key.substr(0, separatorPos); in IsCapKeyMatchDeviceId()
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dfile.cpp43 auto separatorPos = path.rfind(OS_SEPARATOR); in GetDir() local
44 if (separatorPos == std::string::npos) { in GetDir()
47 return path.substr(0, separatorPos + 1); in GetDir()
H A Dstartup_cfg_gen.cpp363 int separatorPos = mallocOption.find(MALLOPT_SEPARATOR); in GetMallocOpt() local
364 std::string malloptKey = mallocOption.substr(0, separatorPos); in GetMallocOpt()
365 std::string malloptValue = mallocOption.substr(separatorPos + 1, in GetMallocOpt()
366 mallocOption.length() - (separatorPos + 1)); in GetMallocOpt()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dstd_directory.cpp307 const size_t separatorPos = path.find_last_of('/'); in GetDirName() local
308 if (separatorPos == string::npos) { in GetDirName()
311 path.resize(separatorPos); in GetDirName()
320 const size_t separatorPos = path.find_last_of('/'); in GetBaseName() local
321 if (separatorPos == string::npos) { in GetBaseName()
324 path.erase(0, separatorPos + 1); in GetBaseName()
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dasset_loader.h99 const size_t separatorPos = path.rfind('/'); in GetParentPath() local
100 if (separatorPos == BASE_NS::string::npos) { in GetParentPath()
103 return BASE_NS::string(path.substr(0, separatorPos + 1)); in GetParentPath()
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_persister.cpp137 size_t separatorPos = path.find_last_of('/'); in Init() local
138 if (separatorPos == std::string::npos) { in Init()
142 std::string parentPath = path.substr(0, separatorPos); in Init()