Searched refs:EndPos (Results 1 – 9 of 9) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | PPLexerChange.cpp | 243 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos() 244 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) { in getCurLexerEndPos() 245 --EndPos; in getCurLexerEndPos() 248 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos() 249 (EndPos[-1] == '\n' || EndPos[-1] == '\r') && in getCurLexerEndPos() 250 EndPos[-1] != EndPos[0]) in getCurLexerEndPos() 251 --EndPos; in getCurLexerEndPos() 254 return EndPos; in getCurLexerEndPos() 320 CurLexer->BufferPtr = EndPos; in HandleEndOfFile() 443 CurLexer->BufferPtr = EndPos; in HandleEndOfFile() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIO.cpp | 41 auto EndPos = T.tellg(); in FileToVector() local 42 if (EndPos < 0) return {}; in FileToVector() 43 size_t FileLen = EndPos; in FileToVector()
|
| H A D | FuzzerDriver.cpp | 497 auto EndPos = StartPos + Dict[i].size(); in AnalyzeDictionary() local 498 for (auto It = StartPos; It != EndPos; ++It) in AnalyzeDictionary() 501 StartPos = std::search(EndPos, Data.end(), in AnalyzeDictionary()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteMacros.cpp | 171 unsigned EndPos; in RewriteMacrosInInput() local 174 EndPos = RawOffs+RawTok.getLength(); in RewriteMacrosInInput() 188 RB.InsertTextBefore(EndPos, "*/"); in RewriteMacrosInInput()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | Builtins.cpp | 120 char *EndPos; in getRequiredVectorWidth() local 121 unsigned Width = ::strtol(WidthPos, &EndPos, 10); in getRequiredVectorWidth() 122 assert(*EndPos == ':' && "Vector width specific must end with a ':'"); in getRequiredVectorWidth()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/ |
| H A D | AtomicChange.cpp | 95 auto EndPos = Code.find("\n", End); in violatesColumnLimit() local 96 if (EndPos == llvm::StringRef::npos) in violatesColumnLimit() 97 EndPos = Code.size(); in violatesColumnLimit() 100 Code.substr(StartPos, EndPos - StartPos).split(Lines, '\n'); in violatesColumnLimit()
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/ |
| H A D | GCOV.cpp | 203 uint32_t EndPos = Buff.getCursor() + LineTableLength * 4; in readGCNO() local 220 if (Buff.getCursor() != (EndPos - sizeof(uint32_t))) { in readGCNO() 231 while (Buff.getCursor() < (EndPos - 2 * sizeof(uint32_t))) { in readGCNO() 259 uint64_t EndPos = Buff.getCursor() + HeaderLength * sizeof(uint32_t); in readGCDA() local 290 if (Buff.getCursor() < EndPos) { in readGCDA()
|
| /freebsd-12.1/contrib/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangle.cpp | 1305 size_t EndPos = MangledName.find('@'); in demangleAnonymousNamespaceName() local 1306 if (EndPos == StringView::npos) { in demangleAnonymousNamespaceName() 1310 StringView NamespaceKey = MangledName.substr(0, EndPos); in demangleAnonymousNamespaceName() 1312 MangledName = MangledName.substr(EndPos + 1); in demangleAnonymousNamespaceName()
|
| /freebsd-12.1/contrib/llvm/utils/TableGen/ |
| H A D | AsmMatcherEmitter.cpp | 1033 size_t EndPos = String.find('}', i); in tokenizeAsmString() local 1034 assert(EndPos != StringRef::npos && in tokenizeAsmString() 1036 addAsmOperand(String.slice(i, EndPos+1), IsIsolatedToken); in tokenizeAsmString() 1037 Prev = EndPos + 1; in tokenizeAsmString() 1038 i = EndPos; in tokenizeAsmString()
|