Home
last modified time | relevance | path

Searched refs:strncpy (Results 1 – 25 of 34) sorted by relevance

12

/picolibc-latest/newlib/libc/ssp/
Dstrncpy_chk.c37 #undef strncpy
52 return strncpy(dst, src, len); in __strncpy_chk()
Dssp.tex35 memcpy stpcpy strncpy
/picolibc-latest/newlib/libc/string/
Dstrerror_s.c62 (void)strncpy(buf, cp, MAX_ERROR_MSG); in strerror_s()
70 (void)strncpy(&buf[(buflen - 4u)], "...", 4u); in strerror_s()
Dstrncpy.c78 #undef strncpy
81 strncpy (char *__restrict dst0, in strncpy() function
/picolibc-latest/newlib/libc/machine/xtensa/
Dstrncpy.S68 .global strncpy
69 .type strncpy, @function
70 strncpy: label
276 .size strncpy, . - strncpy
DCMakeLists.txt45 strncpy.S
Dmeson.build43 'strncpy.S',
/picolibc-latest/newlib/libc/machine/spu/
Dstrncpy.c41 char * strncpy(char * __restrict__ dest, const char * __restrict__ src, size_t n) in strncpy() function
Dspu-gmon.c181 strncpy (hist_hdr.dimen, "seconds", sizeof (hist_hdr.dimen)); in write_histogram()
303 strncpy (filename, "gmon.out", sizeof (filename)); in __monstartup()
/picolibc-latest/newlib/libc/include/ssp/
Dstring.h93 __ssp_bos_icheck3_restrict(strncpy, char *, const char *)
111 #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) macro
/picolibc-latest/newlib/libm/test/
Dstring.c191 check(strncpy(one, "abc", 4) == one); /* Returned value. */ in test_string()
195 (void) strncpy(one, "xyz", 2); in test_string()
199 (void) strncpy(one, "xyz", 3); /* Copy cut just before NUL. */ in test_string()
203 (void) strncpy(one, "xyz", 4); /* Copy just includes NUL. */ in test_string()
208 (void) strncpy(one, "xyz", 5); /* Copy includes padding. */ in test_string()
214 (void) strncpy(one, "xyz", 0); /* Zero-length copy. */ in test_string()
217 (void) strncpy(one, "", 2); /* Zero-length source. */ in test_string()
223 (void) strncpy(two, one, 9); in test_string()
/picolibc-latest/newlib/libc/machine/arc/
DCMakeLists.txt68 strncpy-bs.S
69 strncpy.S
70 strncpy-stub.c
Dmeson.build65 'strncpy-bs.S',
66 'strncpy.S',
67 'strncpy-stub.c',
Dstrncpy.S49 ENTRY (strncpy)
133 ENDFUNC (strncpy)
Dstrncpy-bs.S58 ENTRY (strncpy)
170 ENDFUNC (strncpy)
/picolibc-latest/newlib/testsuite/newlib.string/
Dtstring.c104 strncpy (tmp2, "4", 0) != tmp2 || in main()
122 strncpy (tmp2, "", 4) != tmp2 || in main()
146 strncpy (tmp2, "X", 2) != tmp2 || in main()
197 if (strncpy (target, "XX", 16) != target || in main()
305 if (strncpy (tmp5, tmp1, i+1) != tmp5 || in main()
/picolibc-latest/newlib/libc/machine/sh/
DCMakeLists.txt45 strncpy.S
46 strncpy.c
Dmeson.build43 'strncpy.S',
44 'strncpy.c',
Dstrncpy.S22 ENTRY(strncpy)
190 ENTRY(strncpy)
/picolibc-latest/test/libc-testsuite/
Dstring.c81 TEST(s, strncpy(b, "abc", sizeof b - 1), b, "wrong return %p != %p"); in test_string()
86 strncpy(b, "abc", 3); in test_string()
/picolibc-latest/newlib/libc/posix/
Dregerror.c148 (void) strncpy(errbuf, s, errbuf_size-1); in regerror()
/picolibc-latest/newlib/libc/machine/hppa/
Dstrncpy.S39 ENTRY(strncpy)
258 EXIT(strncpy)
/picolibc-latest/newlib/libc/machine/mips/
Dstrncpy.c49 strncpy (char *dst0, const char *src0, size_t count) in strncpy() function
DCMakeLists.txt44 strncpy.c
Dmeson.build42 'strncpy.c',

12