Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp244 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
245 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) { in getCurLexerEndPos()
246 --EndPos; in getCurLexerEndPos()
249 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
250 (EndPos[-1] == '\n' || EndPos[-1] == '\r') && in getCurLexerEndPos()
251 EndPos[-1] != EndPos[0]) in getCurLexerEndPos()
252 --EndPos; in getCurLexerEndPos()
255 return EndPos; in getCurLexerEndPos()
359 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
489 CurLexer->BufferPtr = EndPos; in HandleEndOfFile()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DBuiltins.cpp122 char *EndPos; in getRequiredVectorWidth() local
123 unsigned Width = ::strtol(WidthPos, &EndPos, 10); in getRequiredVectorWidth()
124 assert(*EndPos == ':' && "Vector width specific must end with a ':'"); in getRequiredVectorWidth()
172 char *EndPos; in performsCallback() local
173 int CalleeIdx = ::strtol(CalleePos, &EndPos, 10); in performsCallback()
177 while (*EndPos == ',') { in performsCallback()
178 const char *PayloadPos = EndPos + 1; in performsCallback()
180 int PayloadIdx = ::strtol(PayloadPos, &EndPos, 10); in performsCallback()
184 assert(*EndPos == '>' && "Callback callee specifier must end with a '>'"); in performsCallback()
/freebsd-13.1/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-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIO.cpp41 auto EndPos = T.tellg(); in FileToVector() local
42 if (EndPos < 0) return {}; in FileToVector()
43 size_t FileLen = EndPos; in FileToVector()
H A DFuzzerDriver.cpp564 auto EndPos = StartPos + Dict[i].size(); in AnalyzeDictionary() local
565 for (auto It = StartPos; It != EndPos; ++It) in AnalyzeDictionary()
568 StartPos = std::search(EndPos, Data.end(), in AnalyzeDictionary()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp1419 size_t EndPos = MangledName.find('@'); in demangleAnonymousNamespaceName() local
1420 if (EndPos == StringView::npos) { in demangleAnonymousNamespaceName()
1424 StringView NamespaceKey = MangledName.substr(0, EndPos); in demangleAnonymousNamespaceName()
1426 MangledName = MangledName.substr(EndPos + 1); in demangleAnonymousNamespaceName()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp1031 size_t EndPos = String.find('}', i); in tokenizeAsmString() local
1032 assert(EndPos != StringRef::npos && in tokenizeAsmString()
1034 addAsmOperand(String.slice(i, EndPos+1), IsIsolatedToken); in tokenizeAsmString()
1035 Prev = EndPos + 1; in tokenizeAsmString()
1036 i = EndPos; in tokenizeAsmString()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1281 const char *EndPos = BufData.data() + FIDAndOffset.second; in getVisualIndentation() local
1289 for (const char *CurPos = EndPos - (ColNo - 1); CurPos != EndPos; in getVisualIndentation()