Home
last modified time | relevance | path

Searched refs:max_count (Results 1 – 2 of 2) sorted by relevance

/lib/zlib_deflate/
A Ddeftree.c583 int max_count = 7; /* max repeat count */ in scan_tree() local
586 if (nextlen == 0) max_count = 138, min_count = 3; in scan_tree()
591 if (++count < max_count && curlen == nextlen) { in scan_tree()
605 max_count = 138, min_count = 3; in scan_tree()
607 max_count = 6, min_count = 3; in scan_tree()
609 max_count = 7, min_count = 4; in scan_tree()
629 int max_count = 7; /* max repeat count */ in send_tree() local
633 if (nextlen == 0) max_count = 138, min_count = 3; in send_tree()
657 max_count = 138, min_count = 3; in send_tree()
659 max_count = 6, min_count = 3; in send_tree()
[all …]
/lib/tests/
A Dstring_kunit.c349 int max_count; in strscpy_check() local
360 max_count = sizeof(buf) - 2; /* Space for null and to verify overflow */ in strscpy_check()
363 KUNIT_ASSERT_LE_MSG(test, count, max_count, in strscpy_check()
364 "count (%d) is too big (%d) ... aborting", count, max_count); in strscpy_check()

Completed in 6 milliseconds