Lines Matching defs:CurPtr
447 const char *CurPtr = StrStart;
453 for (; CurPtr != StrEnd; ++CurPtr) {
454 switch (*CurPtr) {
459 Result += *CurPtr;
475 if (CurPtr == StrEnd) {
481 char CurChar = *CurPtr++;
495 if (CurPtr == StrEnd) {
497 DiagOffs = CurPtr-StrStart-1;
501 char EscapedChar = *CurPtr++;
523 if (CurPtr == StrEnd) { // Premature end.
524 DiagOffs = CurPtr-StrStart-1;
528 EscapedChar = *CurPtr++;
535 --CurPtr;
536 while (CurPtr != StrEnd && isDigit(*CurPtr))
537 N = N*10 + ((*CurPtr++)-'0');
542 DiagOffs = CurPtr-StrStart-1;
552 DiagOffs = CurPtr-StrStart-1;
555 const char *NameEnd = (const char*)memchr(CurPtr, ']', StrEnd-CurPtr);
558 if (NameEnd == CurPtr)
561 StringRef SymbolicName(CurPtr, NameEnd - CurPtr);
566 DiagOffs = CurPtr-StrStart;
571 CurPtr = NameEnd+1;
575 DiagOffs = CurPtr-StrStart-1;