Home
last modified time | relevance | path

Searched refs:NewlineOffs (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Support/
DSourceMgr.cpp116 size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r"); in getLineAndColumn() local
117 if (NewlineOffs == StringRef::npos) NewlineOffs = ~(size_t)0; in getLineAndColumn()
118 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSourceMgr.cpp145 size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r"); in getLineAndColumn() local
146 if (NewlineOffs == StringRef::npos) NewlineOffs = ~(size_t)0; in getLineAndColumn()
147 return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs); in getLineAndColumn()
/external/llvm-project/llvm/lib/Support/
DSourceMgr.cpp190 size_t NewlineOffs = StringRef(BufStart, Ptr - BufStart).find_last_of("\n\r"); in getLineAndColumn() local
191 if (NewlineOffs == StringRef::npos) in getLineAndColumn()
192 NewlineOffs = ~(size_t)0; in getLineAndColumn()
193 return std::make_pair(LineNo, Ptr - BufStart - NewlineOffs); in getLineAndColumn()