Home
last modified time | relevance | path

Searched refs:EndPos (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkup.cpp120 size_t EndPos = Line.find("}}}", BeginPos + 3); in parseElement() local
121 if (EndPos == StringRef::npos) in parseElement()
123 EndPos += 3; in parseElement()
125 Element.Text = Line.slice(BeginPos, EndPos); in parseElement()
126 Line = Line.substr(EndPos); in parseElement()
181 size_t EndPos = Line.find("}}}", BeginTagPos); in parseMultiLineBegin() local
182 if (EndPos != StringRef::npos) in parseMultiLineBegin()
198 size_t EndPos = Line.find("}}}"); in parseMultiLineEnd() local
199 if (EndPos == StringRef::npos) in parseMultiLineEnd()
201 return Line.take_front(EndPos + 3); in parseMultiLineEnd()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp267 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() local
268 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
269 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) { in getCurLexerEndPos()
270 --EndPos; in getCurLexerEndPos()
273 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
274 (EndPos[-1] == '\n' || EndPos[-1] == '\r') && in getCurLexerEndPos()
275 EndPos[-1] != EndPos[0]) in getCurLexerEndPos()
276 --EndPos; in getCurLexerEndPos()
279 return EndPos; in getCurLexerEndPos()
356 const char *EndPos = getCurLexerEndPos(); in HandleEndOfFile() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DBuiltins.cpp173 char *EndPos; in getRequiredVectorWidth() local
174 unsigned Width = ::strtol(WidthPos, &EndPos, 10); in getRequiredVectorWidth()
175 assert(*EndPos == ':' && "Vector width specific must end with a ':'"); in getRequiredVectorWidth()
223 char *EndPos; in performsCallback() local
224 int CalleeIdx = ::strtol(CalleePos, &EndPos, 10); in performsCallback()
228 while (*EndPos == ',') { in performsCallback()
229 const char *PayloadPos = EndPos + 1; in performsCallback()
231 int PayloadIdx = ::strtol(PayloadPos, &EndPos, 10); in performsCallback()
235 assert(*EndPos == '>' && "Callback callee specifier must end with a '>'"); in performsCallback()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp170 unsigned EndPos; in RewriteMacrosInInput() local
173 EndPos = RawOffs+RawTok.getLength(); in RewriteMacrosInInput()
187 RB.InsertTextBefore(EndPos, "*/"); in RewriteMacrosInInput()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIO.cpp49 auto EndPos = T.tellg(); in FileToVector() local
50 if (EndPos < 0) return {}; in FileToVector()
51 size_t FileLen = EndPos; in FileToVector()
H A DFuzzerDriver.cpp569 auto EndPos = StartPos + Dict[i].size(); in AnalyzeDictionary() local
570 for (auto It = StartPos; It != EndPos; ++It) in AnalyzeDictionary()
573 StartPos = std::search(EndPos, Data.end(), in AnalyzeDictionary()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp94 auto EndPos = Code.find("\n", End); in violatesColumnLimit() local
95 if (EndPos == llvm::StringRef::npos) in violatesColumnLimit()
96 EndPos = Code.size(); in violatesColumnLimit()
99 Code.substr(StartPos, EndPos - StartPos).split(Lines, '\n'); in violatesColumnLimit()
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp1466 size_t EndPos = MangledName.find('@'); in demangleAnonymousNamespaceName() local
1467 if (EndPos == std::string_view::npos) { in demangleAnonymousNamespaceName()
1471 std::string_view NamespaceKey = MangledName.substr(0, EndPos); in demangleAnonymousNamespaceName()
1473 MangledName = MangledName.substr(EndPos + 1); in demangleAnonymousNamespaceName()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp1058 size_t EndPos = String.find('}', i); in tokenizeAsmString() local
1059 assert(EndPos != StringRef::npos && in tokenizeAsmString()
1061 addAsmOperand(String.slice(i, EndPos + 1), IsIsolatedToken); in tokenizeAsmString()
1062 Prev = EndPos + 1; in tokenizeAsmString()
1063 i = EndPos; in tokenizeAsmString()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1438 const char *EndPos = BufData.data() + FIDAndOffset.second; in getVisualIndentation() local
1446 for (const char *CurPos = EndPos - (ColNo - 1); CurPos != EndPos; in getVisualIndentation()