Home
last modified time | relevance | path

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

/lib/
Dtest_memcat_p.c18 #define INPUT_MAX 128 macro
20 #define EXPECT (INPUT_MAX * 2 - 2)
27 in0 = kcalloc(INPUT_MAX, sizeof(*in0), GFP_KERNEL); in test_memcat_p_init()
31 in1 = kcalloc(INPUT_MAX, sizeof(*in1), GFP_KERNEL); in test_memcat_p_init()
35 for (i = 0, r = 1; i < INPUT_MAX - 1; i++) { in test_memcat_p_init()
61 for (i = 0, p = out; *p && (i < INPUT_MAX * 2 - 1); p++, i++) { in test_memcat_p_init()
82 for (i = 0; i < INPUT_MAX - 1; i++) in test_memcat_p_init()
83 if (out[i] != in0[i] || out[i + INPUT_MAX - 1] != in1[i]) { in test_memcat_p_init()
94 i = INPUT_MAX; in test_memcat_p_init()