| /llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/ |
| H A D | Markup.cpp | 120 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()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | PPLexerChange.cpp | 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() 347 CurLexer->BufferPtr = EndPos; in HandleEndOfFile() 479 CurLexer->BufferPtr = EndPos; in HandleEndOfFile() [all …]
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | Builtins.cpp | 144 char *EndPos; in getRequiredVectorWidth() local 145 unsigned Width = ::strtol(WidthPos, &EndPos, 10); in getRequiredVectorWidth() 146 assert(*EndPos == ':' && "Vector width specific must end with a ':'"); in getRequiredVectorWidth() 194 char *EndPos; in performsCallback() local 195 int CalleeIdx = ::strtol(CalleePos, &EndPos, 10); in performsCallback() 199 while (*EndPos == ',') { in performsCallback() 200 const char *PayloadPos = EndPos + 1; in performsCallback() 202 int PayloadIdx = ::strtol(PayloadPos, &EndPos, 10); in performsCallback() 206 assert(*EndPos == '>' && "Callback callee specifier must end with a '>'"); in performsCallback()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | NoLintDirectiveHandler.cpp | 162 : Begin(std::move(Begin)), EndPos(End.Pos) { in NoLintBlockToken() 172 return (Begin.Pos < DiagPos) && (DiagPos < EndPos) && in suppresses() 178 size_t EndPos; member in clang::tidy::__anon253b0d9f0211::NoLintBlockToken 279 size_t EndPos = std::min(Buffer.find('\n', From), Buffer.size()); in getLineStartAndEnd() local 280 return std::make_pair(StartPos, EndPos); in getLineStartAndEnd()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteMacros.cpp | 170 unsigned EndPos; in RewriteMacrosInInput() local 173 EndPos = RawOffs+RawTok.getLength(); in RewriteMacrosInInput() 187 RB.InsertTextBefore(EndPos, "*/"); in RewriteMacrosInInput()
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIO.cpp | 49 auto EndPos = T.tellg(); in FileToVector() local 50 if (EndPos < 0) return {}; in FileToVector() 51 size_t FileLen = EndPos; in FileToVector()
|
| H A D | FuzzerDriver.cpp | 566 auto EndPos = StartPos + Dict[i].size(); in AnalyzeDictionary() local 567 for (auto It = StartPos; It != EndPos; ++It) in AnalyzeDictionary() 570 StartPos = std::search(EndPos, Data.end(), in AnalyzeDictionary()
|
| /llvm-project-15.0.7/llvm/tools/llvm-rc/ |
| H A D | ResourceScriptToken.cpp | 226 auto EndPos = Data.find("*/", Pos); in consumeToken() local 227 if (EndPos == StringRef::npos) in consumeToken() 230 advance(EndPos - Pos); in consumeToken()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/ |
| H A D | AtomicChange.cpp | 94 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()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/tool/ |
| H A D | Check.cpp | 264 Position EndPos = offsetToPosition(Inputs.Contents, End); in testLocationFeatures() local 265 auto CC = codeComplete(File, EndPos, Preamble.get(), Inputs, CCOpts); in testLocationFeatures()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | DwarfLinkerForBinary.h | 96 uint64_t EndPos);
|
| H A D | DwarfLinkerForBinary.cpp | 872 const std::vector<ValidReloc> &Relocs, uint64_t StartPos, uint64_t EndPos) { in getRelocations() argument 880 CurReloc->Offset < EndPos) { in getRelocations()
|
| /llvm-project-15.0.7/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangle.cpp | 1417 size_t EndPos = MangledName.find('@'); in demangleAnonymousNamespaceName() local 1418 if (EndPos == StringView::npos) { in demangleAnonymousNamespaceName() 1422 StringView NamespaceKey = MangledName.substr(0, EndPos); in demangleAnonymousNamespaceName() 1424 MangledName = MangledName.substr(EndPos + 1); in demangleAnonymousNamespaceName()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | AsmMatcherEmitter.cpp | 1041 size_t EndPos = String.find('}', i); in tokenizeAsmString() local 1042 assert(EndPos != StringRef::npos && in tokenizeAsmString() 1044 addAsmOperand(String.slice(i, EndPos+1), IsIsolatedToken); in tokenizeAsmString() 1045 Prev = EndPos + 1; in tokenizeAsmString() 1046 i = EndPos; in tokenizeAsmString()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1352 const char *EndPos = BufData.data() + FIDAndOffset.second; in getVisualIndentation() local 1360 for (const char *CurPos = EndPos - (ColNo - 1); CurPos != EndPos; in getVisualIndentation()
|