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()
422 char *out_test = kmalloc(out_size, GFP_KERNEL); in test_string_escape() local
428 if (!out_test || !out_real || !in) in test_string_escape()
440 out_test[q_test++] = '\0'; in test_string_escape()
442 out_test[q_test++] = '\\'; in test_string_escape()
443 out_test[q_test++] = '0'; in test_string_escape()
459 memcpy(&out_test[q_test], out, len); in test_string_escape()
465 test_string_check_buf(name, flags, in, p, out_real, q_real, out_test, in test_string_escape()
473 kfree(out_test); in test_string_escape()