Lines Matching refs:CurPtr
599 const char *CurPtr = StrStart; in AnalyzeAsmString() local
605 for (; CurPtr != StrEnd; ++CurPtr) { in AnalyzeAsmString()
606 switch (*CurPtr) { in AnalyzeAsmString()
611 Result += *CurPtr; in AnalyzeAsmString()
630 if (CurPtr == StrEnd) { in AnalyzeAsmString()
636 char CurChar = *CurPtr++; in AnalyzeAsmString()
650 if (CurPtr == StrEnd) { in AnalyzeAsmString()
652 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()
656 char EscapedChar = *CurPtr++; in AnalyzeAsmString()
680 const char *Begin = CurPtr - 1; // Points to the character following '%'. in AnalyzeAsmString()
684 if (CurPtr == StrEnd) { // Premature end. in AnalyzeAsmString()
685 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()
688 EscapedChar = *CurPtr++; in AnalyzeAsmString()
700 --CurPtr; in AnalyzeAsmString()
701 while (CurPtr != StrEnd && isDigit(*CurPtr)) in AnalyzeAsmString()
702 N = N*10 + ((*CurPtr++)-'0'); in AnalyzeAsmString()
707 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()
712 std::string Str(Begin, CurPtr - Begin); in AnalyzeAsmString()
720 CurPtr - StrStart, SM, LO, TI, &LastAsmStringToken, in AnalyzeAsmString()
729 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()
732 const char *NameEnd = (const char*)memchr(CurPtr, ']', StrEnd-CurPtr); in AnalyzeAsmString()
735 if (NameEnd == CurPtr) in AnalyzeAsmString()
738 StringRef SymbolicName(CurPtr, NameEnd - CurPtr); in AnalyzeAsmString()
743 DiagOffs = CurPtr-StrStart; in AnalyzeAsmString()
761 CurPtr = NameEnd+1; in AnalyzeAsmString()
765 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()