Searched refs:CharNo (Results 1 - 6 of 6) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | StringMatcher.cpp | 44 /// same length and whose characters leading up to CharNo are the same, emit 45 /// code to verify that CharNo and later are the same. 49 const std::vector<const StringPair *> &Matches, unsigned CharNo, 56 if (CharNo == Matches[0]->first.size()) { 79 MatchesByLetter[Matches[i]->first[CharNo]].push_back(Matches[i]); 86 unsigned NumChars = FirstNonCommonLetter-CharNo; 92 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" 93 << Matches[0]->first[CharNo] << "')\n"; 98 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo 99 << ", \"" << Matches[0]->first.substr(CharNo, NumChar 48 EmitStringMatcherForChar( const std::vector<const StringPair *> &Matches, unsigned CharNo, unsigned IndentCount, bool IgnoreDuplicates) const argument 110 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\\n"; local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | StringMatcher.h | 48 unsigned CharNo, unsigned IndentCount,
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | CommentLexer.h | 311 const unsigned CharNo = Loc - BufferStart; local 312 return FileLoc.getLocWithOffset(CharNo);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | Lexer.cpp | 719 unsigned Lexer::getTokenPrefixLength(SourceLocation TokStart, unsigned CharNo, argument 729 if (Invalid || (CharNo == 0 && Lexer::isObviouslySimpleCharacter(*TokPtr))) 738 if (CharNo == 0) 741 --CharNo; 747 for (; CharNo; --CharNo) { 1102 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1105 unsigned CharNo, unsigned TokLen) { 1116 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); 1134 unsigned CharNo local 1103 GetMappedTokenLoc(Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | Lexer.h | 356 unsigned CharNo,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | CommentParser.cpp | 68 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; local 69 return Pos.BufferStartLoc.getLocWithOffset(CharNo);
|
Completed in 167 milliseconds