Searched refs:written (Results 1 – 4 of 4) sorted by relevance
/lib/ |
D | test_strscpy.c | 35 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()
|
D | test_printf.c | 41 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()
|
D | string.c | 263 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()
|
D | Kconfig.debug | 1035 If the stack end location is found to be over written always panic as
|