Home
last modified time | relevance | path

Searched refs:nPos2 (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lldb/tools/lldb-mi/
H A DMICmdArgValString.cpp318 const size_t nPos2 = vrTxt.rfind(cQuote); in IsStringArgQuotedText() local
319 if (nPos2 == std::string::npos) in IsStringArgQuotedText()
323 if (nPos == nPos2) in IsStringArgQuotedText()
357 const size_t nPos2 = vrTxt.rfind(cBckSlash); in IsStringArgQuotedTextEmbedded() local
358 if (nPos2 == std::string::npos) in IsStringArgQuotedTextEmbedded()
362 if (nPos == nPos2) in IsStringArgQuotedTextEmbedded()
389 const size_t nPos2 = vrTxt.rfind("\\\"\""); in IsStringArgQuotedQuotedTextEmbedded() local
390 if (nPos2 == std::string::npos) in IsStringArgQuotedQuotedTextEmbedded()
394 return !((nLen > 5) && ((nPos + 2) == (nPos2 - 2))); in IsStringArgQuotedQuotedTextEmbedded()
H A DMICmdInterpreter.cpp259 const size_t nPos2 = vTextLine.find(' ', nPos); in MiHasCmd() local
260 if (nPos2 != std::string::npos) { in MiHasCmd()
261 if (nPos2 == nLen) in MiHasCmd()
264 CMIUtilString(vTextLine.substr(nPos + 1, nPos2 - nPos - 1)); in MiHasCmd()
270 if (nPos2 < nLen) in MiHasCmd()
272 CMIUtilString(vTextLine.substr(nPos2 + 1, nLen - nPos2 - 1)); in MiHasCmd()
H A DMIUtilFileStd.cpp264 size_t nPos2 = vDirectoryPath.rfind('/'); in StripOffFileName() local
265 if ((nPos == std::string::npos) && (nPos2 == std::string::npos)) in StripOffFileName()
268 if (nPos > nPos2) in StripOffFileName()
269 nPos2 = nPos; in StripOffFileName()
271 const CMIUtilString strPath(vDirectoryPath.substr(0, nPos2).c_str()); in StripOffFileName()
H A DMIUtilString.cpp507 const size_t nPos2 = strNew.find_first_not_of(pWhiteSpace); in Trim() local
508 if (nPos2 != std::string::npos) { in Trim()
509 strNew = strNew.substr(nPos2); in Trim()