Lines Matching refs:q_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()
70 int i, p = 0, q_test = 0; in test_string_unescape() local
88 memcpy(&out_test[q_test], s, len); in test_string_unescape()
89 q_test += len; in test_string_unescape()
107 out_test, q_test); in test_string_unescape()
265 int q_test, const char *name) in test_string_escape_overflow() argument
270 if (q_real != q_test) in test_string_escape_overflow()
272 name, flags, q_test, q_real); in test_string_escape_overflow()
283 int p = 0, q_test = 0; in test_string_escape() local
296 out_test[q_test++] = '\\'; in test_string_escape()
297 out_test[q_test++] = '0'; in test_string_escape()
312 memcpy(&out_test[q_test], out, len); in test_string_escape()
313 q_test += len; in test_string_escape()
319 q_test); in test_string_escape()
321 test_string_escape_overflow(in, p, flags, esc, q_test, name); in test_string_escape()