Lines Matching +full:max +full:- +full:size
2 * SPDX-License-Identifier: BSD-3-Clause
86 check(char *label, void *buf, size_t size, size_t start, size_t end, int c) in check() argument
92 for (p = 0; p < size; p++) { in check()
107 randrange(size_t max) in randrange() argument
112 for (pot = 1; pot && pot < max; pot <<= 1) in randrange()
116 rnd = random() & (pot - 1); in randrange()
117 if (rnd < max) in randrange()
145 memset(b + start, c, end - start); in test()
149 bzero(b + start, end - start); in test()
154 __aeabi_memset(b + start, end - start, c); in test()
158 __aeabi_memclr(b + start, end - start); in test()
165 __aeabi_memset4(b + start, end - start, c); in test()
169 __aeabi_memclr4(b + start, end - start); in test()
176 __aeabi_memset8(b + start, end - start, c); in test()
180 __aeabi_memclr8(b + start, end - start); in test()