Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp268 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()
357 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
489 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DBuiltins.cpp170 char *EndPos; in getRequiredVectorWidth() local
171 unsigned Width = ::strtol(WidthPos, &EndPos, 10); in getRequiredVectorWidth()
172 assert(*EndPos == ':' && "Vector width specific must end with a ':'"); in getRequiredVectorWidth()
220 char *EndPos; in performsCallback() local
221 int CalleeIdx = ::strtol(CalleePos, &EndPos, 10); in performsCallback()
225 while (*EndPos == ',') { in performsCallback()
226 const char *PayloadPos = EndPos + 1; in performsCallback()
228 int PayloadIdx = ::strtol(PayloadPos, &EndPos, 10); in performsCallback()
232 assert(*EndPos == '>' && "Callback callee specifier must end with a '>'"); in performsCallback()
/freebsd-14.2/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-14.2/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.cpp568 auto EndPos = StartPos + Dict[i].size(); in AnalyzeDictionary() local
569 for (auto It = StartPos; It != EndPos; ++It) in AnalyzeDictionary()
572 StartPos = std::search(EndPos, Data.end(), in AnalyzeDictionary()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp1453 size_t EndPos = MangledName.find('@'); in demangleAnonymousNamespaceName() local
1454 if (EndPos == std::string_view::npos) { in demangleAnonymousNamespaceName()
1458 std::string_view NamespaceKey = MangledName.substr(0, EndPos); in demangleAnonymousNamespaceName()
1460 MangledName = MangledName.substr(EndPos + 1); in demangleAnonymousNamespaceName()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp1045 size_t EndPos = String.find('}', i); in tokenizeAsmString() local
1046 assert(EndPos != StringRef::npos && in tokenizeAsmString()
1048 addAsmOperand(String.slice(i, EndPos+1), IsIsolatedToken); in tokenizeAsmString()
1049 Prev = EndPos + 1; in tokenizeAsmString()
1050 i = EndPos; in tokenizeAsmString()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1426 const char *EndPos = BufData.data() + FIDAndOffset.second; in getVisualIndentation() local
1434 for (const char *CurPos = EndPos - (ColNo - 1); CurPos != EndPos; in getVisualIndentation()