Lines Matching +full:1 +full:- +full:9 +full:a +full:- +full:e
13 '\xbe', '\x32', '\xdb', '\x7b', '\x0a', '\x18', '\x93', '\xb2', /* 00 - 07 */
14 '\x70', '\xba', '\xc4', '\x24', '\x7d', '\x83', '\x34', '\x9b', /* 08 - 0f */
15 '\xa6', '\x9c', '\x31', '\xad', '\x9c', '\x0f', '\xac', '\xe9', /* 10 - 17 */
16 '\x4c', '\xd1', '\x19', '\x99', '\x43', '\xb1', '\xaf', '\x0c', /* 18 - 1f */
19 static const unsigned char data_a[] = ".2.{....p..$}.4...1.....L...C...";
22 "be", "32", "db", "7b", "0a", "18", "93", "b2",
23 "70", "ba", "c4", "24", "7d", "83", "34", "9b",
24 "a6", "9c", "31", "ad", "9c", "0f", "ac", "e9",
29 "32be", "7bdb", "180a", "b293",
30 "ba70", "24c4", "837d", "9b34",
31 "9ca6", "ad31", "0f9c", "e9ac",
38 "a69c", "31ad", "9c0f", "ace9",
43 "7bdb32be", "b293180a", "24c4ba70", "9b34837d",
49 "a69c31ad", "9c0face9", "4cd11999", "43b1af0c",
53 "b293180a7bdb32be", "9b34837d24c4ba70",
85 gs = 1; in test_hexdump_prepare_test()
108 p--; in test_hexdump_prepare_test()
114 } while (p < test + rs * 2 + rs / gs + 1); in test_hexdump_prepare_test()
123 #define TEST_HEXDUMP_BUF_SIZE (32 * 3 + 2 + 32 + 1)
152 size_t len = get_random_u32_inclusive(1, d); in test_hexdump_set()
157 test_hexdump(len, rowsize, 1, ascii); in test_hexdump_set()
167 int ae, he, e, f, r; in test_hexdump_overflow() local
168 bool a; in test_hexdump_overflow() local
180 ae = rs * 2 /* hex */ + rs / gs /* spaces */ + 1 /* space */ + len /* ascii */; in test_hexdump_overflow()
181 he = (gs * 2 /* hex */ + 1 /* space */) * len / gs - 1 /* no trailing space */; in test_hexdump_overflow()
184 e = ae; in test_hexdump_overflow()
186 e = he; in test_hexdump_overflow()
188 f = min_t(int, e + 1, buflen); in test_hexdump_overflow()
191 test[f - 1] = '\0'; in test_hexdump_overflow()
193 memset(test + f, FILL_CHAR, sizeof(test) - f); in test_hexdump_overflow()
195 a = r == e && !memcmp(test, buf, TEST_HEXDUMP_BUF_SIZE); in test_hexdump_overflow()
197 buf[sizeof(buf) - 1] = '\0'; in test_hexdump_overflow()
199 if (!a) { in test_hexdump_overflow()
203 pr_err("Expect: %d '%s'\n", e, test); in test_hexdump_overflow()
211 int rs = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_overflow_set()
214 int gs = 1 << i; in test_hexdump_overflow_set()
226 rowsize = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_init()
230 rowsize = get_random_u32_inclusive(1, 2) * 16; in test_hexdump_init()
245 return failed_tests ? -EINVAL : 0; in test_hexdump_init()