Lines Matching defs:elen
43 int elen, const char *fmt, va_list ap)
55 if (ret != elen) {
58 file, line, bufsize, fmt, ret, elen);
78 written = min(bufsize-1, elen);
109 __test(struct kunit *kunittest, const char *file, const int line, const char *expect, int elen,
116 if (elen >= BUF_SIZE) {
119 file, line, elen, BUF_SIZE, fmt);
131 do_test(kunittest, file, line, BUF_SIZE, expect, elen, fmt, ap);
132 rand = get_random_u32_inclusive(1, elen + 1);
133 /* Since elen < BUF_SIZE, we have 1 <= rand <= BUF_SIZE. */
134 do_test(kunittest, file, line, rand, expect, elen, fmt, ap);
135 do_test(kunittest, file, line, 0, expect, elen, fmt, ap);
140 if (memcmp(p, expect, elen+1)) {