Home
last modified time | relevance | path

Searched refs:esc (Results 1 – 3 of 3) sorted by relevance

/lib/tests/
A Dstring_helpers_kunit.c396 const char *in, int p, unsigned int flags, const char *esc, in test_string_escape_overflow() argument
401 q_real = string_escape_mem(in, p, NULL, 0, flags, esc); in test_string_escape_overflow()
407 unsigned int flags, const char *esc) in test_string_escape() argument
428 if (flags & ESCAPE_NA && !(flags & ESCAPE_APPEND && esc)) { in test_string_escape()
452 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in test_string_escape()
457 test_string_escape_overflow(test, in, p, flags, esc, q_test, name); in test_string_escape()
/lib/
A Dseq_buf.c312 int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc) argument
323 char *end = mangle_path(buf, p, esc);
A Dstring_helpers.c656 const char esc[] = "\f\n\r\t\v\a\e\\\""; in kstrdup_quotable() local
662 dlen = string_escape_mem(src, slen, NULL, 0, flags, esc); in kstrdup_quotable()
667 WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen); in kstrdup_quotable()

Completed in 8 milliseconds