Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPLexerChange.cpp241 const char *EndPos = CurLexer->BufferEnd; in getCurLexerEndPos() local
242 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
243 (EndPos[-1] == '\n' || EndPos[-1] == '\r')) { in getCurLexerEndPos()
244 --EndPos; in getCurLexerEndPos()
247 if (EndPos != CurLexer->BufferStart && in getCurLexerEndPos()
248 (EndPos[-1] == '\n' || EndPos[-1] == '\r') && in getCurLexerEndPos()
249 EndPos[-1] != EndPos[0]) in getCurLexerEndPos()
250 --EndPos; in getCurLexerEndPos()
253 return EndPos; in getCurLexerEndPos()
320 const char *EndPos = getCurLexerEndPos(); in HandleEndOfFile() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DBuiltins.cpp119 char *EndPos; in getRequiredVectorWidth() local
120 unsigned Width = ::strtol(WidthPos, &EndPos, 10); in getRequiredVectorWidth()
121 assert(*EndPos == ':' && "Vector width specific must end with a ':'"); in getRequiredVectorWidth()
169 char *EndPos; in performsCallback() local
170 int CalleeIdx = ::strtol(CalleePos, &EndPos, 10); in performsCallback()
174 while (*EndPos == ',') { in performsCallback()
175 const char *PayloadPos = EndPos + 1; in performsCallback()
177 int PayloadIdx = ::strtol(PayloadPos, &EndPos, 10); in performsCallback()
181 assert(*EndPos == '>' && "Callback callee specifier must end with a '>'"); in performsCallback()
/netbsd-src/sys/external/bsd/compiler_rt/dist/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.cpp497 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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/sys/external/bsd/gnu-efi/dist/lib/
H A Dsread.c307 UINTN EndPos; in ReadSimpleReadFile() local
319 EndPos = Offset + *ReadSize; in ReadSimpleReadFile()
320 if (EndPos > FHand->SourceSize) { in ReadSimpleReadFile()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
H A DResourceScriptToken.cpp226 auto EndPos = Data.find("*/", Pos); in consumeToken() local
227 if (EndPos == StringRef::npos) in consumeToken()
230 advance(EndPos - Pos); in consumeToken()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DDwarfLinkerForBinary.h95 uint64_t EndPos);
H A DDwarfLinkerForBinary.cpp620 const std::vector<ValidReloc> &Relocs, uint64_t StartPos, uint64_t EndPos) { in getRelocations() argument
628 CurReloc->Offset < EndPos) { in getRelocations()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseStmt.cpp1276 const char *EndPos = BufData.data() + FIDAndOffset.second; in getVisualIndentation() local
1284 for (const char *CurPos = EndPos - (ColNo - 1); CurPos != EndPos; in getVisualIndentation()