Lines Matching refs:nPos
311 const size_t nPos = rfind('\n'); in StripCREndOfLine() local
312 if (nPos == std::string::npos) in StripCREndOfLine()
315 const CMIUtilString strNew(substr(0, nPos)); in StripCREndOfLine()
351 size_t nPos = find(vFind); in FindAndReplace() local
352 if (nPos == std::string::npos) in FindAndReplace()
356 while (nPos != std::string::npos) { in FindAndReplace()
357 strNew.replace(nPos, vFind.length(), vReplaceWith); in FindAndReplace()
358 nPos += vReplaceWith.length(); in FindAndReplace()
359 nPos = strNew.find(vFind, nPos); in FindAndReplace()
380 const size_t nPos = find_first_not_of("-.0123456789"); in IsNumber() local
381 return nPos == std::string::npos; in IsNumber()
398 const size_t nPos = find_first_not_of("01234567890ABCDEFabcedf", 2); in IsHexadecimalNumber() local
399 return nPos == std::string::npos; in IsHexadecimalNumber()
436 const size_t nPos = find_first_not_of("xX01234567890ABCDEFabcedf"); in ExtractNumberFromHexadecimal() local
437 if (nPos != std::string::npos) in ExtractNumberFromHexadecimal()
503 const size_t nPos = find_last_not_of(pWhiteSpace); in Trim() local
504 if (nPos != std::string::npos) { in Trim()
505 strNew = substr(0, nPos + 1); in Trim()
602 const size_t nPos = find(cQuote, vnPos); in RemoveRepeatedCharacters() local
603 if (nPos == std::string::npos) in RemoveRepeatedCharacters()
606 const size_t nPosNext = nPos + 1; in RemoveRepeatedCharacters()
611 *this = substr(0, nPos) + substr(nPosNext, length()); in RemoveRepeatedCharacters()
678 size_t nPos = vnPos; in FindFirst() local
680 const size_t nQuotePos(FindFirstQuote(nPos)); in FindFirst()
681 const size_t nPatternPos(FindFirst(vrPattern, nPos)); in FindFirst()
694 nPos = nQuoteClosedPos + 1; in FindFirst()
695 } while (nPos < nLen); in FindFirst()
741 size_t nPos = vnPos; in FindFirstQuote() local
743 const size_t nBckSlashPos(find(cBckSlash, nPos)); in FindFirstQuote()
744 const size_t nQuotePos(find(cQuote, nPos)); in FindFirstQuote()
752 nPos = nBckSlashPos + 2; in FindFirstQuote()
753 } while (nPos < nLen); in FindFirstQuote()