Home
last modified time | relevance | path

Searched refs:written (Results 1 – 4 of 4) sorted by relevance

/lib/
Dtest_strscpy.c35 int written; in tc() local
60 written = strscpy_pad(buf, src, count); in tc()
61 if ((written) != (expected)) { in tc()
62 pr_err("%d != %d (written, expected)\n", written, expected); in tc()
66 if (count && written == -E2BIG) { in tc()
Dtest_printf.c41 int ret, written; in do_test() local
70 written = min(bufsize-1, elen); in do_test()
71 if (test_buffer[written]) { in do_test()
77 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { in do_test()
83 if (memcmp(test_buffer, expect, written)) { in do_test()
85 bufsize, fmt, test_buffer, written, expect); in do_test()
Dstring.c263 ssize_t written; in strscpy_pad() local
265 written = strscpy(dest, src, count); in strscpy_pad()
266 if (written < 0 || written == count - 1) in strscpy_pad()
267 return written; in strscpy_pad()
269 memset(dest + written + 1, 0, count - written - 1); in strscpy_pad()
271 return written; in strscpy_pad()
DKconfig.debug1035 If the stack end location is found to be over written always panic as