Lines Matching refs:out_test
17 char *out_test, size_t q_test) in test_string_check_buf() argument
19 if (q_real == q_test && !memcmp(out_test, out_real, q_test)) in test_string_check_buf()
27 out_test, q_test, true); in test_string_check_buf()
68 char *out_test = kmalloc(q_real, GFP_KERNEL); in test_string_unescape() local
72 if (!in || !out_test || !out_real) in test_string_unescape()
88 memcpy(&out_test[q_test], s, len); in test_string_unescape()
107 out_test, q_test); in test_string_unescape()
110 kfree(out_test); in test_string_unescape()
302 char *out_test = kmalloc(out_size, GFP_KERNEL); in test_string_escape() local
308 if (!out_test || !out_real || !in) in test_string_escape()
318 out_test[q_test++] = '\\'; in test_string_escape()
319 out_test[q_test++] = '0'; in test_string_escape()
334 memcpy(&out_test[q_test], out, len); in test_string_escape()
340 test_string_check_buf(name, flags, in, p, out_real, q_real, out_test, in test_string_escape()
348 kfree(out_test); in test_string_escape()