Home
last modified time | relevance | path

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

/lib/
Dtest-string_helpers.c406 test_string_escape_overflow(const char *in, int p, unsigned int flags, const char *esc, in test_string_escape_overflow() argument
411 q_real = string_escape_mem(in, p, NULL, 0, flags, esc); in test_string_escape_overflow()
419 unsigned int flags, const char *esc) in test_string_escape() argument
439 if (flags & ESCAPE_NA && !(flags & ESCAPE_APPEND && esc)) { in test_string_escape()
463 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in test_string_escape()
468 test_string_escape_overflow(in, p, flags, esc, q_test, name); in test_string_escape()
Dstring_helpers.c598 const char esc[] = "\f\n\r\t\v\a\e\\\""; in kstrdup_quotable() local
604 dlen = string_escape_mem(src, slen, NULL, 0, flags, esc); in kstrdup_quotable()
609 WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen); in kstrdup_quotable()
Dseq_buf.c270 int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc) argument
281 char *end = mangle_path(buf, p, esc);