Lines Matching refs:q_real
17 char *out_real, size_t q_real, in test_string_check_buf() argument
20 KUNIT_ASSERT_EQ_MSG(test, q_real, q_test, "name:%s", name); in test_string_check_buf()
58 int q_real = 256; in test_string_unescape() local
59 char *in = kunit_kzalloc(test, q_real, GFP_KERNEL); in test_string_unescape()
60 char *out_test = kunit_kzalloc(test, q_real, GFP_KERNEL); in test_string_unescape()
61 char *out_real = kunit_kzalloc(test, q_real, GFP_KERNEL); in test_string_unescape()
90 q_real = string_unescape_any_inplace(out_real); in test_string_unescape()
92 q_real = string_unescape_inplace(out_real, flags); in test_string_unescape()
94 q_real = string_unescape_any(in, out_real, q_real); in test_string_unescape()
96 q_real = string_unescape(in, out_real, q_real, flags); in test_string_unescape()
99 test_string_check_buf(test, name, flags, in, p - 1, out_real, q_real, in test_string_unescape()
399 int q_real; in test_string_escape_overflow() local
401 q_real = string_escape_mem(in, p, NULL, 0, flags, esc); in test_string_escape_overflow()
402 KUNIT_EXPECT_EQ_MSG(test, q_real, q_test, "name:%s: flags:%#x", name, flags); in test_string_escape_overflow()
414 int q_real; in test_string_escape() local
452 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in test_string_escape()
454 test_string_check_buf(test, name, flags, in, p, out_real, q_real, out_test, in test_string_escape()