Searched refs:s1max (Results 1 – 6 of 6) sorted by relevance
/picolibc-latest/newlib/libc/string/ |
D | strcat_s.c | 41 strcat_s(char *restrict s1, rsize_t s1max, const char *restrict s2) in strcat_s() argument 53 if ((s1max == 0) || (CHECK_RSIZE(s1max))) { in strcat_s() 74 s1_len = strnlen_s(s1, s1max); in strcat_s() 75 if (s1_len == s1max) { in strcat_s() 82 unsigned m = s1max - s1_len; in strcat_s()
|
D | strncat_s.c | 41 strncat_s(char *restrict s1, rsize_t s1max, const char *restrict s2, rsize_t n) in strncat_s() argument 47 s1_len = strnlen_s(s1, s1max); in strncat_s() 53 } else if ((s1max == 0u) || (CHECK_RSIZE(s1max))) { in strncat_s() 76 else if (s1_len == s1max) { in strncat_s() 81 uint32_t m = (s1max - s1_len); in strncat_s()
|
D | memmove_s.c | 41 memmove_s(void *s1, rsize_t s1max, const void *s2, rsize_t n) in memmove_s() argument 50 if (CHECK_RSIZE(s1max)) { in memmove_s() 65 if (n > s1max) { in memmove_s() 78 (void)memset(s1, (int32_t)'\0', s1max); in memmove_s()
|
D | strncpy_s.c | 41 strncpy_s(char *restrict s1, rsize_t s1max, const char *restrict s2, rsize_t n) in strncpy_s() argument 50 } else if ((s1max == 0u) || (CHECK_RSIZE(s1max))) { in strncpy_s() 93 while ((written < s1max) && (written < n)) { in strncpy_s() 117 if ((c != '\0') && (written == n) && (written < s1max)) { in strncpy_s()
|
D | memcpy_s.c | 41 memcpy_s(void *restrict s1, rsize_t s1max, const void *restrict s2, rsize_t n) in memcpy_s() argument 50 if (CHECK_RSIZE(s1max)) { in memcpy_s() 65 if (n > s1max) { in memcpy_s() 86 (void)memset(s1, (int32_t)'\0', s1max); in memcpy_s()
|
D | strcpy_s.c | 41 strcpy_s(char *restrict s1, rsize_t s1max, const char *restrict s2) in strcpy_s() argument 52 if ((s1max == 0) || (CHECK_RSIZE(s1max))) { in strcpy_s() 88 while (written < s1max) { in strcpy_s()
|