Searched refs:ErrOffset (Results 1 – 2 of 2) sorted by relevance
204 size_t ErrOffset; in checkUTF8() local205 if (isUTF8(StringRef(Start, End - Start), &ErrOffset)) in checkUTF8()207 P = Start + ErrOffset; // For line/column calculation. in checkUTF8()527 bool isUTF8(llvm::StringRef S, size_t *ErrOffset) { in isUTF8() argument536 if (ErrOffset) in isUTF8()537 *ErrOffset = Rest - Data; in isUTF8()
75 bool isUTF8(llvm::StringRef S, size_t *ErrOffset = nullptr);