Lines Matching full:charclass
85 template<class CharClass>
86 static void Broke(const char *desc, const CCTest* t, CharClass* cc) { in Broke()
91 printf("CharClass added: [%s]", desc); in Broke()
104 for (typename CharClass::iterator it = cc->begin(); it != cc->end(); ++it) in Broke()
116 // Helpers to make templated CorrectCC work with both CharClass and CharClassBuilder.
118 CharClass* Negate(CharClass *cc) { in Negate()
122 void Delete(CharClass* cc) { in Delete()
136 template<class CharClass>
137 bool CorrectCC(CharClass *cc, CCTest *t, const char *desc) { in CorrectCC()
138 typename CharClass::iterator it = cc->begin(); in CorrectCC()
170 CharClass* ncc = Negate(cc); in CorrectCC()
206 CharClass* cc = ccb.GetCharClass(); in TEST()
207 if (!CorrectCC(cc, t, "before copy (CharClass)")) in TEST()
215 if (!CorrectCC(cc, t, "after copy (CharClass)")) in TEST()