/picolibc-latest/newlib/libc/string/ |
D | strncat_s.c | 43 const char *msg = ""; in strncat_s() local 50 msg = "strncat_s: dest is NULL"; in strncat_s() 54 msg = "strncat_s: dest buffer size is 0 or exceeds RSIZE_MAX"; in strncat_s() 58 msg = "strncat_s: source is NULL"; in strncat_s() 61 msg = "strncat_s: copy count exceeds RSIZE_MAX"; in strncat_s() 77 msg = "strncat_s: string 1 length exceeds buffer size"; in strncat_s() 103 msg = "strncat_s: overlapping copy"; in strncat_s() 118 msg = "strncat_s: overlapping copy"; in strncat_s() 122 msg = "strncat_s: overlapping copy"; in strncat_s() 142 msg = "strncat_s: overlapping copy"; in strncat_s() [all …]
|
D | strcat_s.c | 43 const char *msg = ""; in strcat_s() local 48 msg = "strcat_s: dest is NULL"; in strcat_s() 54 msg = "strcat_s: dest buffer size is 0 or exceeds RSIZE_MAX"; in strcat_s() 60 msg = "strcat_s: source is NULL"; in strcat_s() 76 msg = "strcat_s: string 1 length exceeds buffer size"; in strcat_s() 92 msg = "strcat_s: overlapping copy"; in strcat_s() 108 msg = "strcat_s: overlapping copy"; in strcat_s() 112 msg = "strcat_s: overlapping copy"; in strcat_s() 125 msg = "strcat_s: dest buffer size insufficent to append string"; in strcat_s() 138 __cur_handler(msg, NULL, -1); in strcat_s()
|
D | strncpy_s.c | 43 const char *msg = ""; in strncpy_s() local 47 msg = "strncpy_s: dest is NULL"; in strncpy_s() 51 msg = "strncpy_s: dest buffer size is 0 or exceeds RSIZE_MAX"; in strncpy_s() 57 msg = "strncpy_s: source is NULL"; in strncpy_s() 60 msg = "strncpy_s: copy count exceeds RSIZE_MAX"; in strncpy_s() 96 msg = "strncpy_s: overlapping copy"; in strncpy_s() 100 msg = "strncpy_s: overlapping copy"; in strncpy_s() 120 msg = "strncpy_s: overlapping copy"; in strncpy_s() 129 msg = "strncpy_s: dest buffer size insufficent to copy string"; in strncpy_s() 143 __cur_handler(msg, NULL, -1); in strncpy_s()
|
D | memcpy_s.c | 43 const char *msg = ""; in memcpy_s() local 46 msg = "memcpy_s: dest is NULL"; in memcpy_s() 51 msg = "memcpy_s: buffer size exceeds RSIZE_MAX"; in memcpy_s() 56 msg = "memcpy_s: source is NULL"; in memcpy_s() 61 msg = "memcpy_s: copy count exceeds RSIZE_MAX"; in memcpy_s() 66 msg = "memcpy_s: copy count exceeds buffer size"; in memcpy_s() 76 msg = "memcpy_s: overlapping copy"; in memcpy_s() 90 __cur_handler(msg, NULL, -1); in memcpy_s()
|
D | strcpy_s.c | 43 const char *msg = ""; in strcpy_s() local 47 msg = "strcpy_s: dest is NULL"; in strcpy_s() 53 msg = "strcpy_s: dest buffer size is 0 or exceeds RSIZE_MAX"; in strcpy_s() 59 msg = "strcpy_s: source is NULL"; in strcpy_s() 91 msg = "strcpy_s: overlapping copy"; in strcpy_s() 95 msg = "strcpy_s: overlapping copy"; in strcpy_s() 108 msg = "strcpy_s: dest buffer size insufficent to copy string"; in strcpy_s() 121 __cur_handler(msg, NULL, -1); in strcpy_s()
|
D | memmove_s.c | 43 const char *msg = ""; in memmove_s() local 46 msg = "memmove_s: dest is NULL"; in memmove_s() 51 msg = "memmove_s: buffer size exceeds RSIZE_MAX"; in memmove_s() 56 msg = "memmove_s: source is NULL"; in memmove_s() 61 msg = "memmove_s: copy count exceeds RSIZE_MAX"; in memmove_s() 66 msg = "memmove_s: copy count exceeds buffer size"; in memmove_s() 82 __cur_handler(msg, NULL, -1); in memmove_s()
|
D | memset_s.c | 43 const char *msg = ""; in memset_s() local 46 msg = "memset_s: dest is NULL"; in memset_s() 51 msg = "memset_s: buffer size exceeds RSIZE_MAX"; in memset_s() 56 msg = "memset_s: count exceeds RSIZE_MAX"; in memset_s() 61 msg = "memset_s: count exceeds buffer size"; in memset_s() 75 __cur_handler(msg, NULL, -1); in memset_s()
|
D | strerror_s.c | 46 const char *msg = ""; in strerror_s() local 49 msg = "strerror_s: dest is NULL"; in strerror_s() 54 msg = "strerror_s: dest buffer size is 0 or exceeds RSIZE_MAX"; in strerror_s() 81 __cur_handler(msg, NULL, -1); in strerror_s()
|
/picolibc-latest/newlib/libc/tinystdio/ |
D | sprintf_s.c | 46 const char *msg = ""; in sprintf_s() local 52 msg = "sprintf_s: dest buffer is null"; in sprintf_s() 56 msg = "sprintf_s: invalid buffer size"; in sprintf_s() 59 msg = "sprintf_s: null format string"; in sprintf_s() 62 msg = "sprintf_s: format string contains percent-n"; in sprintf_s() 78 msg = "sprintf_s: null string argument"; in sprintf_s() 126 msg = "sprintf_s: dest buffer overflow"; in sprintf_s() 137 __cur_handler(msg, NULL, -1); in sprintf_s()
|
D | perror.c | 39 perror (const char *msg) in perror() argument 42 if (msg && *msg) in perror() 43 fprintf(stderr, "%s: ", msg); in perror()
|
/picolibc-latest/test/ |
D | test-strerrorlen_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-memset_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-strnlen_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-sprintf_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-strerror_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-memmove_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-memcpy_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-strcat_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-strcpy_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-strncpy_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
D | test-strncat_s.c | 47 custom_constraint_handler(const char *restrict msg, void *restrict ptr, in custom_constraint_handler() argument 52 strcpy(handler_msg, msg); in custom_constraint_handler() 55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument 57 printf("Test %d Failed: %s\n", test_id, msg); \ 60 printf("Test %d Passed: %s\n", test_id, msg); \
|
/picolibc-latest/newlib/libc/ssp/ |
D | chk_fail.c | 20 static const char msg[] = CHK_FAIL_MSG "\n"; in __chk_fail() 21 write (2, msg, sizeof(msg)-1); in __chk_fail()
|
D | stack_protector.c | 55 static const char msg[] = STACK_CHK_MSG "\n"; in __stack_chk_fail_weak() 56 write (2, msg, sizeof(msg)-1); in __stack_chk_fail_weak()
|
/picolibc-latest/test/libc-testsuite/ |
D | strtod.c | 40 msg = #f, ((r) = (f)) == (x) || \ 45 (printf(__FILE__ ":%d: %s failed (" m ")\n", __LINE__, msg, r, x), err++, 0) ) 52 char *msg=""; in test_strtod() local 55 (void) msg; in test_strtod()
|
/picolibc-latest/newlib/libc/stdlib/ |
D | ignore_handler_s.c | 39 ignore_handler_s(const char *restrict msg, void *restrict ptr, __errno_t error) in ignore_handler_s() argument 41 (void)msg; in ignore_handler_s()
|