Lines Matching refs:l
52 size_t l = len; in test_hexdump() local
56 hex_dump_to_buffer(data_b, l, rs, gs, real, sizeof(real), ascii); in test_hexdump()
61 if (l > rs) in test_hexdump()
62 l = rs; in test_hexdump()
80 for (i = 0; i < l / gs; i++) { in test_hexdump()
93 strncpy(p, data_a, l); in test_hexdump()
94 p += l; in test_hexdump()
121 size_t l = get_random_int() % sizeof(buf); in test_hexdump_overflow() local
127 r = hex_dump_to_buffer(data_b, 1, 16, 1, buf, l, ascii); in test_hexdump_overflow()
135 if (!l) { in test_hexdump_overflow()
137 } else if (l < 3) { in test_hexdump_overflow()
139 } else if (l < 4) { in test_hexdump_overflow()
142 if (l < 51) in test_hexdump_overflow()
143 a = r == e && buf[l - 1] == '\0' && buf[l - 2] == ' '; in test_hexdump_overflow()
151 pr_err("Len: %zu rc: %u strlen: %zu\n", l, r, strlen(buf)); in test_hexdump_overflow()