Searched defs:CharNo (Results 1 - 4 of 4) sorted by relevance
/external/llvm/lib/TableGen/ |
H A D | StringMatcher.cpp | 39 /// same length and whose characters leading up to CharNo are the same, emit 40 /// code to verify that CharNo and later are the same. 45 unsigned CharNo, unsigned IndentCount) const { 51 if (CharNo == Matches[0]->first.size()) { 73 MatchesByLetter[Matches[i]->first[CharNo]].push_back(Matches[i]); 80 unsigned NumChars = FirstNonCommonLetter-CharNo; 86 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" 87 << Matches[0]->first[CharNo] << "')\n"; 92 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo 93 << ", \"" << Matches[0]->first.substr(CharNo, NumChar 44 EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches, unsigned CharNo, unsigned IndentCount) const argument 103 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\\n"; local [all...] |
/external/clang/include/clang/AST/ |
H A D | CommentLexer.h | 315 const unsigned CharNo = Loc - BufferStart; local 316 return FileLoc.getLocWithOffset(CharNo);
|
/external/clang/lib/AST/ |
H A D | CommentParser.cpp | 60 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; local 61 return Pos.BufferStartLoc.getLocWithOffset(CharNo);
|
/external/clang/lib/Lex/ |
H A D | Lexer.cpp | 702 unsigned CharNo, 712 if (Invalid || (CharNo == 0 && Lexer::isObviouslySimpleCharacter(*TokPtr))) 721 if (CharNo == 0) 723 ++TokPtr, --CharNo, ++PhysOffset; 728 for (; CharNo; --CharNo) { 1027 Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen); 1030 unsigned CharNo, unsigned TokLen) { 1041 SpellingLoc = SpellingLoc.getLocWithOffset(CharNo); 1060 unsigned CharNo local 701 AdvanceToTokenCharacter(SourceLocation TokStart, unsigned CharNo, const SourceManager &SM, const LangOptions &LangOpts) argument 1028 GetMappedTokenLoc(Preprocessor &PP, SourceLocation FileLoc, unsigned CharNo, unsigned TokLen) argument [all...] |
Completed in 496 milliseconds