Lines Matching defs:flen
32 test_filename(const char *prefix, int dlen, int flen)
53 for (; i < dlen + flen + separator; i++)
72 failure("dlen=%d, flen=%d", dlen, flen);
73 if (flen > 100) {
86 failure("dlen=%d, flen=%d", dlen, flen);
87 if (flen >= 100) {
103 failure("dlen=%d, flen=%d", dlen, flen);
104 if (flen >= 100) {
123 if (flen <= 100) {
126 failure("dlen=%d, flen=%d", dlen, flen);
138 if (flen <= 99) {
141 failure("dlen=%d, flen=%d", dlen, flen);
145 if (flen <= 99) {
152 failure("This fails if entries were written that should not have been written. dlen=%d, flen=%d", dlen, flen);
160 int dlen, flen;
168 for (flen = 100 - dlen - 5; flen < 100 - dlen + 5; flen++) {
169 test_filename(NULL, dlen, flen);
170 test_filename("/", dlen, flen);
175 for (flen = 90; flen < 110; flen++) {
176 test_filename(NULL, 0, flen);
177 test_filename("/", dlen, flen);