Searched refs:CharNo (Results 1 - 4 of 4) sorted by relevance

/external/llvm/lib/TableGen/
H A DStringMatcher.cpp39 /// 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/llvm/include/llvm/TableGen/
H A DStringMatcher.h49 unsigned CharNo, unsigned IndentCount) const;
/external/clang/include/clang/AST/
H A DCommentLexer.h318 const unsigned CharNo = Loc - BufferStart; local
319 return FileLoc.getLocWithOffset(CharNo);
/external/clang/lib/AST/
H A DCommentParser.cpp60 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; local
61 return Pos.BufferStartLoc.getLocWithOffset(CharNo);

Completed in 126 milliseconds