Home
last modified time | relevance | path

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

12

/picolibc-3.7.0-3.6.0/newlib/libc/ssp/
Dstrncpy_chk.c39 #undef strncpy
54 return strncpy(dst, src, len); in __strncpy_chk()
Dssp.tex35 memcpy stpcpy strncpy
/picolibc-3.7.0-3.6.0/newlib/libc/string/
Dstrncpy.c78 #undef strncpy
81 strncpy (char *__restrict dst0, in strncpy() function
Dstrings.tex58 * strncpy:: Counted copy string
176 @include string/strncpy.def
/picolibc-3.7.0-3.6.0/newlib/libc/machine/xtensa/
Dstrncpy.S66 .global strncpy
67 .type strncpy, @function
68 strncpy: label
274 .size strncpy, . - strncpy
DCMakeLists.txt43 strncpy.S
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/
Dstrncpy.c39 char * strncpy(char * __restrict__ dest, const char * __restrict__ src, size_t n) in strncpy() function
Dspu-gmon.c179 strncpy (hist_hdr.dimen, "seconds", sizeof (hist_hdr.dimen)); in write_histogram()
301 strncpy (filename, "gmon.out", sizeof (filename)); in __monstartup()
/picolibc-3.7.0-3.6.0/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-3.7.0-3.6.0/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-3.7.0-3.6.0/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.S47 ENTRY (strncpy)
131 ENDFUNC (strncpy)
Dstrncpy-bs.S56 ENTRY (strncpy)
168 ENDFUNC (strncpy)
/picolibc-3.7.0-3.6.0/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-3.7.0-3.6.0/newlib/libc/machine/sh/
DCMakeLists.txt43 strncpy.S
44 strncpy.c
Dmeson.build43 'strncpy.S',
44 'strncpy.c',
Dstrncpy.S20 ENTRY(strncpy)
188 ENTRY(strncpy)
/picolibc-3.7.0-3.6.0/test/libc-testsuite/
Dstring.c80 TEST(s, strncpy(b, "abc", sizeof b - 1), b, "wrong return %p != %p"); in test_string()
85 strncpy(b, "abc", 3); in test_string()
/picolibc-3.7.0-3.6.0/newlib/libc/posix/
Dregerror.c149 (void) strncpy(errbuf, s, errbuf_size-1); in regerror()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/hppa/
Dstrncpy.S37 ENTRY(strncpy)
256 EXIT(strncpy)
/picolibc-3.7.0-3.6.0/newlib/libc/include/
Dstring.h76 char *strncpy (char *__restrict, const char *__restrict, size_t);
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mips/
Dstrncpy.c47 strncpy (char *dst0, const char *src0, size_t count) in strncpy() function
Dmeson.build42 'strncpy.c',
DCMakeLists.txt45 strncpy.c

12