Searched refs:CharNo (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/TableGen/ |
D | StringMatcher.cpp | 45 unsigned CharNo, unsigned IndentCount) const { in EmitStringMatcherForChar() argument 51 if (CharNo == Matches[0]->first.size()) { in EmitStringMatcherForChar() 73 MatchesByLetter[Matches[i]->first[CharNo]].push_back(Matches[i]); in EmitStringMatcherForChar() 80 unsigned NumChars = FirstNonCommonLetter-CharNo; in EmitStringMatcherForChar() 86 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" in EmitStringMatcherForChar() 87 << Matches[0]->first[CharNo] << "')\n"; in EmitStringMatcherForChar() 92 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo in EmitStringMatcherForChar() 93 << ", \"" << Matches[0]->first.substr(CharNo, NumChars) << "\", " in EmitStringMatcherForChar() 103 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; in EmitStringMatcherForChar() 113 if (EmitStringMatcherForChar(LI->second, CharNo+1, IndentCount+1)) in EmitStringMatcherForChar()
|
/external/llvm/include/llvm/TableGen/ |
D | StringMatcher.h | 49 unsigned CharNo, unsigned IndentCount) const;
|
/external/clang/include/clang/AST/ |
D | CommentLexer.h | 318 const unsigned CharNo = Loc - BufferStart; in getSourceLocation() local 319 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 715 unsigned CharNo, in AdvanceToTokenCharacter() argument 725 if (Invalid || (CharNo == 0 && Lexer::isObviouslySimpleCharacter(*TokPtr))) in AdvanceToTokenCharacter() 734 if (CharNo == 0) in AdvanceToTokenCharacter() 736 ++TokPtr, --CharNo, ++PhysOffset; in AdvanceToTokenCharacter() 741 for (; CharNo; --CharNo) { in AdvanceToTokenCharacter() 1031 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1034 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument 1045 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); in GetMappedTokenLoc() 1064 unsigned CharNo = Loc-BufferStart; in getSourceLocation() local 1066 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() [all …]
|
/external/clang/lib/AST/ |
D | CommentParser.cpp | 60 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; in getSourceLocation() local 61 return Pos.BufferStartLoc.getLocWithOffset(CharNo); in getSourceLocation()
|