Home
last modified time | relevance | path

Searched refs:string_escape_mem (Results 1 – 7 of 7) sorted by relevance

/linux/include/linux/
H A Dstring_helpers.h77 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz,
83 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np()
89 return string_escape_mem(src, strlen(src), dst, sz, flags, only); in string_escape_str()
/linux/lib/
H A Dstring_helpers.c574 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, in string_escape_mem() function
642 EXPORT_SYMBOL(string_escape_mem);
659 dlen = string_escape_mem(src, slen, NULL, 0, flags, esc); in kstrdup_quotable()
664 WARN_ON(string_escape_mem(src, slen, dst, dlen, flags, esc) != dlen); in kstrdup_quotable()
H A Dstring_helpers_kunit.c401 q_real = string_escape_mem(in, p, NULL, 0, flags, esc); in test_string_escape_overflow()
452 q_real = string_escape_mem(in, p, out_real, out_size, flags, esc); in test_string_escape()
H A Dvsprintf.c1669 buf += string_escape_mem(addr, len, buf, buf < end ? end - buf : 0, flags, NULL); in escaped_string()
/linux/Documentation/translations/zh_CN/core-api/
H A Dprintk-formats.rst245 转换规则是根据可选的标志组合来应用的(详见:c:func:`string_escape_mem` 内核文档):
/linux/fs/
H A Dseq_file.c381 ret = string_escape_mem(src, len, buf, size, flags, esc); in seq_escape_mem()
/linux/Documentation/core-api/
H A Dprintk-formats.rst265 of flags (see :c:func:`string_escape_mem` kernel documentation for the