Home
last modified time | relevance | path

Searched refs:strcpy (Results 1 – 25 of 68) sorted by relevance

123

/picolibc-3.7.0-3.6.0/newlib/libm/test/
Dstring.c96 check(strcpy(one, "abcd") == one); /* Returned value. */ in test_string()
99 (void) strcpy(one, "x"); in test_string()
103 (void) strcpy(two, "hi there"); in test_string()
104 (void) strcpy(one, two); in test_string()
108 (void) strcpy(one, ""); in test_string()
113 (void) strcpy(one, "ijk"); in test_string()
117 (void) strcpy(one, "x"); in test_string()
122 (void) strcpy(one, "gh"); in test_string()
123 (void) strcpy(two, "ef"); in test_string()
128 (void) strcpy(one, ""); in test_string()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/ft32/
Dstrcpy.S15 .global strcpy
16 .type strcpy,@function
17 strcpy: label
22 .size strcpy,.Lend2-strcpy
/picolibc-3.7.0-3.6.0/newlib/libc/locale/
Dlocale.c322 strcpy (new_categories[i], __get_global_locale ()->categories[i]); in setlocale()
339 strcpy (new_categories[i], env); in setlocale()
350 strcpy (new_categories[category], env); in setlocale()
360 strcpy (new_categories[category], locale); in setlocale()
372 strcpy (new_categories[i], locale); in setlocale()
403 strcpy (new_categories[i], new_categories[i-1]); in setlocale()
419 strcpy (saved_categories[i], __get_global_locale ()->categories[i]); in setlocale()
425 strcpy (new_categories[j], saved_categories[j]); in setlocale()
429 strcpy (new_categories[j], "C"); in setlocale()
447 strcpy (global_locale_string, __get_global_locale ()->categories[1]); in currentlocale()
[all …]
Dnewlocale.c163 strcpy (new_categories[i], cat); in newlocale()
166 strcpy (new_categories[i], base ? base->categories[i] : "C"); in newlocale()
176 strcpy (tmp_locale.categories[i], new_categories[i]); in newlocale()
192 strcpy (tmp_locale.ctype_codeset, base->ctype_codeset); in newlocale()
194 strcpy (tmp_locale.message_codeset, base->message_codeset); in newlocale()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/nds32/
Dstrcpy.S43 .globl strcpy
44 .type strcpy, @function
45 strcpy: label
76 .size strcpy, .-strcpy
/picolibc-3.7.0-3.6.0/test/libc-testsuite/
Dstring.c63 TEST(s, strcpy(b, b+16), b, "wrong return %p != %p"); in test_string()
65 TEST(s, strcpy(b+1, b+16), b+1, "wrong return %p != %p"); in test_string()
67 TEST(s, strcpy(b+2, b+16), b+2, "wrong return %p != %p"); in test_string()
69 TEST(s, strcpy(b+3, b+16), b+3, "wrong return %p != %p"); in test_string()
72 TEST(s, strcpy(b+1, b+17), b+1, "wrong return %p != %p"); in test_string()
74 TEST(s, strcpy(b+2, b+18), b+2, "wrong return %p != %p"); in test_string()
76 TEST(s, strcpy(b+3, b+19), b+3, "wrong return %p != %p"); in test_string()
92 strcpy(b, "abc"); in test_string()
97 strcpy(b, "aaababccdd0001122223"); in test_string()
104 strcpy(b, "abc 123; xyz; foo"); in test_string()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/m68k/
Dstrcpy.c36 #undef strcpy
39 strcpy (char *to, const char *from) in strcpy() function
/picolibc-3.7.0-3.6.0/newlib/libc/machine/arm/
Dstrcpy.S44 .global strcpy
45 .type strcpy, %function
46 strcpy: label
183 .size strcpy, . - strcpy
/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.string/
Dtstring.c67 strcpy(buf, template); in getbuf()
121 if (strcpy (target, "") != target || in main()
144 if (strcpy (tmp3, target) != tmp3 || in main()
167 if (strcpy (tmp3, "Y") != tmp3 || in main()
188 strcpy (target, "WW"); in main()
204 if (strcpy (tmp3, "ZZ") != tmp3 || in main()
239 strcpy (target, "AAA"); in main()
290 if (strcpy (expected, tmp2) != expected) in main()
315 strcpy (tmp7, tmp1); in main()
/picolibc-3.7.0-3.6.0/test/
Dtest-mktemp.c95 strcpy(template, NAME_TEMPLATE); in main()
109 strcpy(template, NAME_TEMPLATE); in main()
123 strcpy(template, NAME_TEMPLATE_EXT); in main()
Dtry-ilp32.c59 strcpy(get_str(copy).base, a); in main()
/picolibc-3.7.0-3.6.0/newlib/libc/string/
Dstrcpy.c71 #undef strcpy
74 strcpy (char *dst0, in strcpy() function
Dstrerror_r.c77 return strcpy (buffer, error); in strerror_r()
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Decvtbuf.c87 strcpy (buf, p); in print_f()
161 strcpy (buf, p); in print_e()
281 strcpy(fcvt_buf, p); in fcvtbuf()
338 strcpy(fcvt_buf, p); in ecvtbuf()
414 strcpy (buf, p); in _gcvt()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/riscv/
Dstrcpy.c15 #undef strcpy
17 char *strcpy(char *dst, const char *src) in strcpy() function
/picolibc-3.7.0-3.6.0/newlib/libc/machine/xtensa/
Dstrcpy.S30 .global strcpy
31 .type strcpy, @function
32 strcpy: label
274 .size strcpy, . - strcpy
/picolibc-3.7.0-3.6.0/newlib/libc/machine/arc/
DCMakeLists.txt60 strcpy-bs-arc600.S
61 strcpy-bs.S
62 strcpy.S
63 strcpy-stub.c
Dmeson.build57 'strcpy-bs-arc600.S',
58 'strcpy-bs.S',
59 'strcpy.S',
60 'strcpy-stub.c',
Dstrcpy.S46 ENTRY (strcpy)
87 ENDFUNC (strcpy)
Dstrcpy-bs.S51 ENTRY (strcpy)
100 ENDFUNC (strcpy)
/picolibc-3.7.0-3.6.0/newlib/libc/posix/
Dregerror.c135 (void) strcpy(convbuf, r->name); in regerror()
147 (void) strcpy(errbuf, s); in regerror()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/
Dstrcpy.c38 char * strcpy(char * __restrict__ dest, const char * __restrict__ src) in strcpy() function
/picolibc-3.7.0-3.6.0/newlib/libc/include/ssp/
Dstring.h91 __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
109 #define strcpy(dst, src) __ssp_bos_check2(strcpy, dst, src) macro
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dtmpnam.c52 strcpy(s, "TXXXXXX"); in tmpnam()
Dtmpfile.c44 strcpy(tmpnam, "TXXXXXX"); in tmpfile()

123