| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
| H A D | Markup.cpp | 119 size_t EndPos = Line.find("}}}", BeginPos + 3); in parseElement() local 120 if (EndPos == StringRef::npos) in parseElement() 122 EndPos += 3; in parseElement() 124 Element.Text = Line.slice(BeginPos, EndPos); in parseElement() 125 Line = Line.substr(EndPos); in parseElement() 180 size_t EndPos = Line.find("}}}", BeginTagPos); in parseMultiLineBegin() local 181 if (EndPos != StringRef::npos) in parseMultiLineBegin() 197 size_t EndPos = Line.find("}}}"); in parseMultiLineEnd() local 198 if (EndPos == StringRef::npos) in parseMultiLineEnd() 200 return Line.take_front(EndPos + 3); in parseMultiLineEnd()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPLexerChange.cpp | 260 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() local 261 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos() 262 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) { in getCurLexerEndPos() 263 --EndPos; in getCurLexerEndPos() 266 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos() 267 (EndPos[-1] == '\n' || EndPos[-1] == '\r') && in getCurLexerEndPos() 268 EndPos[-1] != EndPos[0]) in getCurLexerEndPos() 269 --EndPos; in getCurLexerEndPos() 272 return EndPos; in getCurLexerEndPos() 349 const char *EndPos = getCurLexerEndPos(); in HandleEndOfFile() local [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Builtins.cpp | 257 char *EndPos; in getRequiredVectorWidth() local 258 unsigned Width = ::strtol(WidthPos, &EndPos, 10); in getRequiredVectorWidth() 259 assert(*EndPos == ':' && "Vector width specific must end with a ':'"); in getRequiredVectorWidth() 307 char *EndPos; in performsCallback() local 308 int CalleeIdx = ::strtol(CalleePos, &EndPos, 10); in performsCallback() 312 while (*EndPos == ',') { in performsCallback() 313 const char *PayloadPos = EndPos + 1; in performsCallback() 315 int PayloadIdx = ::strtol(PayloadPos, &EndPos, 10); in performsCallback() 319 assert(*EndPos == '>' && "Callback callee specifier must end with a '>'"); in performsCallback()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteMacros.cpp | 169 unsigned EndPos; in RewriteMacrosInInput() local 172 EndPos = RawOffs+RawTok.getLength(); in RewriteMacrosInInput() 186 RB.InsertTextBefore(EndPos, "*/"); in RewriteMacrosInInput()
|
| /freebsd/contrib/llvm-project/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 | 570 auto EndPos = StartPos + Dict[i].size(); in AnalyzeDictionary() local 571 for (auto It = StartPos; It != EndPos; ++It) in AnalyzeDictionary() 574 StartPos = std::search(EndPos, Data.end(), in AnalyzeDictionary()
|
| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | AsmMatcherEmitter.cpp | 1059 size_t EndPos = String.find('}', i); in tokenizeAsmString() local 1060 assert(EndPos != StringRef::npos && in tokenizeAsmString() 1062 addAsmOperand(String.substr(i, EndPos + 1 - i), IsIsolatedToken); in tokenizeAsmString() 1063 Prev = EndPos + 1; in tokenizeAsmString() 1064 i = EndPos; in tokenizeAsmString()
|
| /freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangle.cpp | 1472 size_t EndPos = MangledName.find('@'); in demangleAnonymousNamespaceName() local 1473 if (EndPos == std::string_view::npos) { in demangleAnonymousNamespaceName() 1477 std::string_view NamespaceKey = MangledName.substr(0, EndPos); in demangleAnonymousNamespaceName() 1479 MangledName = MangledName.substr(EndPos + 1); in demangleAnonymousNamespaceName()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1345 const char *EndPos = BufData.data() + FIDAndOffset.second; in getVisualIndentation() local 1353 for (const char *CurPos = EndPos - (ColNo - 1); CurPos != EndPos; in getVisualIndentation()
|