Lines Matching refs:in

15 					 char *in, size_t p,  in test_string_check_buf()  argument
25 in, p, true); in test_string_check_buf()
35 const char *in; member
42 .in = "\\f\\ \\n\\r\\t\\v",
47 .in = "\\40\\1\\387\\0064\\05\\040\\8a\\110\\777",
52 .in = "\\xv\\xa\\x2c\\xD\\x6f2",
57 .in = "\\h\\\\\\\"\\a\\e\\",
67 char *in = kmalloc(q_real, GFP_KERNEL); in test_string_unescape() local
72 if (!in || !out_test || !out_real) in test_string_unescape()
76 const char *s = strings[i].in; in test_string_unescape()
77 int len = strlen(strings[i].in); in test_string_unescape()
80 memcpy(&in[p], s, len); in test_string_unescape()
91 in[p++] = '\0'; in test_string_unescape()
95 memcpy(out_real, in, p); in test_string_unescape()
101 q_real = string_unescape_any(in, out_real, q_real); in test_string_unescape()
103 q_real = string_unescape(in, out_real, q_real, flags); in test_string_unescape()
106 test_string_check_buf(name, flags, in, p - 1, out_real, q_real, in test_string_unescape()
111 kfree(in); in test_string_unescape()
121 const char *in; member
127 .in = "\f\\ \n\r\t\v",
141 .in = "\\h\\\"\a\e\\",
155 .in = "\eb \\C\007\"\x90\r]",
211 .in = "\f\\ \n\r\t\v",
222 .in = "\\h\\\"\a\e\\",
230 .in = "\eb \\C\007\"\x90\r]",
248 return s2->in; in test_string_find_match()
264 test_string_escape_overflow(const char *in, int p, unsigned int flags, const char *esc, in test_string_escape_overflow() argument
269 q_real = string_escape_mem(in, p, NULL, 0, flags, esc); in test_string_escape_overflow()
282 char *in = kmalloc(256, GFP_KERNEL); in test_string_escape() local
286 if (!out_test || !out_real || !in) in test_string_escape()
289 for (; s2->in; s2++) { in test_string_escape()
295 in[p++] = '\0'; in test_string_escape()
306 len = strlen(s2->in); in test_string_escape()
307 memcpy(&in[p], s2->in, len); in test_string_escape()
316 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in test_string_escape()
318 test_string_check_buf(name, flags, in, p, out_real, q_real, out_test, in test_string_escape()
321 test_string_escape_overflow(in, p, flags, esc, q_test, name); in test_string_escape()
324 kfree(in); in test_string_escape()