Lines Matching refs:length
103 static int NextLength(int length) { in NextLength() argument
104 if (length < 10) { in NextLength()
105 length += 1; in NextLength()
106 } else if (length < 100) { in NextLength()
107 length += 10; in NextLength()
108 } else if (length < 1000) { in NextLength()
109 length += 100; in NextLength()
111 length += 1000; in NextLength()
113 return length; in NextLength()
123 for (int length = 1; length <= 10000; length = NextLength(length)) { in TEST() local
125 for (int i = 0; i < length; i++) { in TEST()
130 ASSERT_LE(FilterSize(), static_cast<size_t>((length * 10 / 8) + 40)) in TEST()
131 << length; in TEST()
134 for (int i = 0; i < length; i++) { in TEST()
136 << "Length " << length << "; key " << i; in TEST()
143 rate*100.0, length, static_cast<int>(FilterSize())); in TEST()