/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | PPLexerChange.cpp | 269 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos() 270 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) { in getCurLexerEndPos() 271 --EndPos; in getCurLexerEndPos() 274 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos() 275 (EndPos[-1] == '\n' || EndPos[-1] == '\r') && in getCurLexerEndPos() 276 EndPos[-1] != EndPos[0]) in getCurLexerEndPos() 277 --EndPos; in getCurLexerEndPos() 280 return EndPos; in getCurLexerEndPos() 348 CurLexer->BufferPtr = EndPos; in HandleEndOfFile() 480 CurLexer->BufferPtr = EndPos; in HandleEndOfFile() [all …]
|
/openbsd/gnu/llvm/clang/lib/Basic/ |
H A D | Builtins.cpp | 170 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()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/tools/dsymutil/ |
H A D | DwarfLinkerForBinary.h | 96 uint64_t EndPos);
|
H A D | DwarfLinkerForBinary.cpp | 905 const std::vector<ValidReloc> &Relocs, uint64_t StartPos, uint64_t EndPos) { in getRelocations() argument 913 CurReloc->Offset < EndPos) { in getRelocations()
|
/openbsd/gnu/llvm/llvm/lib/Demangle/ |
H A D | MicrosoftDemangle.cpp | 1412 size_t EndPos = MangledName.find('@'); in demangleAnonymousNamespaceName() local 1413 if (EndPos == StringView::npos) { in demangleAnonymousNamespaceName() 1417 StringView NamespaceKey = MangledName.substr(0, EndPos); in demangleAnonymousNamespaceName() 1419 MangledName = MangledName.substr(EndPos + 1); in demangleAnonymousNamespaceName()
|
/openbsd/gnu/llvm/llvm/utils/TableGen/ |
H A D | AsmMatcherEmitter.cpp | 1042 size_t EndPos = String.find('}', i); in tokenizeAsmString() local 1043 assert(EndPos != StringRef::npos && in tokenizeAsmString() 1045 addAsmOperand(String.slice(i, EndPos+1), IsIsolatedToken); in tokenizeAsmString() 1046 Prev = EndPos + 1; in tokenizeAsmString() 1047 i = EndPos; in tokenizeAsmString()
|
/openbsd/gnu/llvm/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 1376 const char *EndPos = BufData.data() + FIDAndOffset.second; in getVisualIndentation() local 1384 for (const char *CurPos = EndPos - (ColNo - 1); CurPos != EndPos; in getVisualIndentation()
|