Lines Matching full:classes
26 "not enough different characters or classes for this length"
28 "not enough different characters or classes"
65 int length, classes, words, chars; in is_simple() local
69 length = classes = words = chars = 0; in is_simple()
98 /* Count the number of different character classes we've seen. We assume in is_simple()
100 classes = 0; in is_simple()
101 if (digits) classes++; in is_simple()
102 if (lowers) classes++; in is_simple()
103 if (uppers) classes++; in is_simple()
104 if (others) classes++; in is_simple()
105 if (unknowns && (!classes || (digits && classes == 1))) classes++; in is_simple()
107 for (; classes > 0; classes--) in is_simple()
108 switch (classes) { in is_simple()