Searched refs:separatorPos (Results 1 – 6 of 6) sorted by relevance
38 std::size_t separatorPos = key.find(RESOURCE_SEPARATOR); in IsCapKeyMatchDeviceId() local39 if (separatorPos == std::string::npos) { in IsCapKeyMatchDeviceId()42 std::string keyDevId = key.substr(0, separatorPos); in IsCapKeyMatchDeviceId()
43 auto separatorPos = path.rfind(OS_SEPARATOR); in GetDir() local44 if (separatorPos == std::string::npos) { in GetDir()47 return path.substr(0, separatorPos + 1); in GetDir()
363 int separatorPos = mallocOption.find(MALLOPT_SEPARATOR); in GetMallocOpt() local364 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()
307 const size_t separatorPos = path.find_last_of('/'); in GetDirName() local308 if (separatorPos == string::npos) { in GetDirName()311 path.resize(separatorPos); in GetDirName()320 const size_t separatorPos = path.find_last_of('/'); in GetBaseName() local321 if (separatorPos == string::npos) { in GetBaseName()324 path.erase(0, separatorPos + 1); in GetBaseName()
99 const size_t separatorPos = path.rfind('/'); in GetParentPath() local100 if (separatorPos == BASE_NS::string::npos) { in GetParentPath()103 return BASE_NS::string(path.substr(0, separatorPos + 1)); in GetParentPath()
137 size_t separatorPos = path.find_last_of('/'); in Init() local138 if (separatorPos == std::string::npos) { in Init()142 std::string parentPath = path.substr(0, separatorPos); in Init()