Lines Matching defs:CharNo
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, NumChars) << "\", "
110 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n";
120 if (EmitStringMatcherForChar(LI->second, CharNo + 1, IndentCount + 1,