Home
last modified time | relevance | path

Searched refs:nPos (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lldb/tools/lldb-mi/
H A DMICmdArgValString.cpp298 const size_t nPos = vrTxt.find(cQuote); in IsStringArgQuotedText() local
299 if (nPos == std::string::npos) in IsStringArgQuotedText()
303 if (nPos == (vrTxt.length() - 1)) in IsStringArgQuotedText()
310 if ((nPos > 1) && (vrTxt[nPos - 1] == cBckSlash) && in IsStringArgQuotedText()
311 (vrTxt[nPos - 2] != cSpace)) { in IsStringArgQuotedText()
314 if ((nPos > 0) && (vrTxt[nPos - 1] != cSpace)) in IsStringArgQuotedText()
323 if (nPos == nPos2) in IsStringArgQuotedText()
348 if (nPos == std::string::npos) in IsStringArgQuotedTextEmbedded()
353 if ((nPos > 0) && (vrTxt[nPos - 1] != cSpace)) in IsStringArgQuotedTextEmbedded()
362 if (nPos == nPos2) in IsStringArgQuotedTextEmbedded()
[all …]
H A DMIUtilString.cpp312 if (nPos == std::string::npos) in StripCREndOfLine()
351 size_t nPos = find(vFind); in FindAndReplace() local
352 if (nPos == std::string::npos) in FindAndReplace()
359 nPos = strNew.find(vFind, nPos); in FindAndReplace()
437 if (nPos != std::string::npos) in ExtractNumberFromHexadecimal()
678 size_t nPos = vnPos; in FindFirst() local
694 nPos = nQuoteClosedPos + 1; in FindFirst()
695 } while (nPos < nLen); in FindFirst()
741 size_t nPos = vnPos; in FindFirstQuote() local
752 nPos = nBckSlashPos + 2; in FindFirstQuote()
[all …]
H A DMICmdInterpreter.cpp160 const size_t nPos = vTextLine.find('-', 0); in MiHasCmdTokenEndingHyphen() local
161 if ((nPos == std::string::npos)) in MiHasCmdTokenEndingHyphen()
165 const std::string strNum = vTextLine.substr(0, nPos); in MiHasCmdTokenEndingHyphen()
223 const size_t nPos = vTextLine.find('-', 0); in MiHasCmdTokenPresent() local
224 return (nPos > 0); in MiHasCmdTokenPresent()
245 size_t nPos = 0; in MiHasCmd() local
252 nPos = --i; in MiHasCmd()
254 nPos = vTextLine.find('-', 0); in MiHasCmd()
259 const size_t nPos2 = vTextLine.find(' ', nPos); in MiHasCmd()
264 CMIUtilString(vTextLine.substr(nPos + 1, nPos2 - nPos - 1)); in MiHasCmd()
[all …]
H A DMICmdArgValFile.cpp120 const size_t nPos = fileNamePath.find(cSpace); in GetFileNamePath() local
121 if (nPos != std::string::npos) in GetFileNamePath()
143 size_t nPos = vrFileNamePath.find("--"); in IsFilePath() local
144 const bool bLong = (nPos == 0); in IsFilePath()
149 nPos = vrFileNamePath.find('-'); in IsFilePath()
150 const bool bShort = (nPos == 0); in IsFilePath()
155 nPos = vrFileNamePath.find('i'); in IsFilePath()
156 const bool bFoundI1 = ((nPos == 0) && (::isdigit(vrFileNamePath[1]))); in IsFilePath()
H A DMICmdArgContext.cpp92 size_t nPos = m_strCmdArgsAndOptions.find(vArg); in RemoveArg() local
94 if (nPos == std::string::npos) in RemoveArg()
98 if (nPos != 0) { in RemoveArg()
99 if (m_strCmdArgsAndOptions[nPos - 1] == ' ') in RemoveArg()
104 const size_t nEnd = nPos + nLen; in RemoveArg()
120 nPos = m_strCmdArgsAndOptions.find(vArg, nEnd); in RemoveArg()
124 m_strCmdArgsAndOptions = m_strCmdArgsAndOptions.replace(nPos, nPosEnd, ""); in RemoveArg()
H A DMICmdArgValOptionShort.cpp86 MIint nPos = vrTxt.find("--"); in IsArgShortOption() local
87 if (nPos == 0) in IsArgShortOption()
91 nPos = vrTxt.find('-'); in IsArgShortOption()
92 if (nPos != 0) in IsArgShortOption()
H A DMIUtilFileStd.cpp263 const size_t nPos = 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()
H A DMICmdArgValThreadGrp.cpp113 const MIint nPos = vrTxt.find('i'); in IsArgThreadGrp() local
114 if (nPos != 0) in IsArgThreadGrp()
H A DMICmdFactory.cpp153 const size_t nPos = vMiCmd.find(' '); in IsValid() local
154 if (nPos != std::string::npos) in IsValid()
H A DMICmdArgValOptionLong.cpp247 const size_t nPos = vrTxt.find("--"); in IsArgLongOption() local
248 if (nPos != 0) in IsArgLongOption()
/freebsd-12.1/contrib/sqlite3/
H A Dsqlite3.c215103 if( nPos<=127 ){
217042 pIter->nPos = 1;
217047 pIter->nPos = 1;
217050 pIter->nPos = 0;
217218 int nPos;
217221 i += nPos;
217330 iOff += pIter->nPos;
219765 nPos = pSegIter->nPos*2 + pSegIter->bDel;
220033 int nPos;
220270 int nPos;
[all …]