Lines Matching refs:CurPtr
480 const char *CurPtr = StrStart; in AnalyzeAsmString() local
486 for (; CurPtr != StrEnd; ++CurPtr) { in AnalyzeAsmString()
487 switch (*CurPtr) { in AnalyzeAsmString()
492 Result += *CurPtr; in AnalyzeAsmString()
511 if (CurPtr == StrEnd) { in AnalyzeAsmString()
517 char CurChar = *CurPtr++; in AnalyzeAsmString()
531 if (CurPtr == StrEnd) { in AnalyzeAsmString()
533 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()
537 char EscapedChar = *CurPtr++; in AnalyzeAsmString()
559 const char *Begin = CurPtr - 1; // Points to the character following '%'. in AnalyzeAsmString()
563 if (CurPtr == StrEnd) { // Premature end. in AnalyzeAsmString()
564 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()
567 EscapedChar = *CurPtr++; in AnalyzeAsmString()
579 --CurPtr; in AnalyzeAsmString()
580 while (CurPtr != StrEnd && isDigit(*CurPtr)) in AnalyzeAsmString()
581 N = N*10 + ((*CurPtr++)-'0'); in AnalyzeAsmString()
586 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()
591 std::string Str(Begin, CurPtr - Begin); in AnalyzeAsmString()
599 CurPtr - StrStart, SM, LO, TI, &LastAsmStringToken, in AnalyzeAsmString()
608 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()
611 const char *NameEnd = (const char*)memchr(CurPtr, ']', StrEnd-CurPtr); in AnalyzeAsmString()
614 if (NameEnd == CurPtr) in AnalyzeAsmString()
617 StringRef SymbolicName(CurPtr, NameEnd - CurPtr); in AnalyzeAsmString()
622 DiagOffs = CurPtr-StrStart; in AnalyzeAsmString()
640 CurPtr = NameEnd+1; in AnalyzeAsmString()
644 DiagOffs = CurPtr-StrStart-1; in AnalyzeAsmString()