Searched refs:CharNo (Results 1 – 3 of 3) sorted by relevance
/external/llvm/utils/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 (" << StrVariableName << ".substr(" << CharNo << ", " in EmitStringMatcherForChar() 94 OS << Matches[0]->first.substr(CharNo, NumChars) << "\")\n"; in EmitStringMatcherForChar() 103 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; in EmitStringMatcherForChar() 113 if (EmitStringMatcherForChar(LI->second, CharNo+1, IndentCount+1)) in EmitStringMatcherForChar()
|
D | StringMatcher.h | 49 unsigned CharNo, unsigned IndentCount) const;
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 659 unsigned CharNo, in AdvanceToTokenCharacter() argument 669 if (Invalid || (CharNo == 0 && Lexer::isObviouslySimpleCharacter(*TokPtr))) in AdvanceToTokenCharacter() 678 if (CharNo == 0) in AdvanceToTokenCharacter() 680 ++TokPtr, --CharNo, ++PhysOffset; in AdvanceToTokenCharacter() 685 for (; CharNo; --CharNo) { in AdvanceToTokenCharacter() 1137 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1140 unsigned CharNo, unsigned TokLen) { in GetMappedTokenLoc() argument 1151 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); in GetMappedTokenLoc() 1170 unsigned CharNo = Loc-BufferStart; in getSourceLocation() local 1172 return FileLoc.getLocWithOffset(CharNo); in getSourceLocation() [all …]
|