Home
last modified time | relevance | path

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

123

/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrcpy.c35 __warn_references(strcpy,
40 strcpy(char *to, const char *from) in strcpy() function
/bionic/tests/
Dfortify_test.cpp155 ASSERT_FORTIFY(strcpy(myfoo.empty, src)); in TEST_F()
167 ASSERT_FORTIFY(strcpy(myfoo.empty, src)); in TEST_F()
179 ASSERT_FORTIFY(strcpy(myfoo.one, src)); in TEST_F()
237 strcpy(myfoo.a, "01"); in TEST_F()
248 strcpy(myfoo.a, "01"); in TEST_F()
281 strcpy(src, "0123456789"); in TEST_F()
296 strcpy(myfoo.a, "012345678"); in TEST_F()
315 ASSERT_FORTIFY(strcpy(buf, orig)); in TEST_F()
327 ASSERT_FORTIFY(strcpy(buf, orig)); in TEST_F()
339 ASSERT_FORTIFY(strcpy(buf, orig)); in TEST_F()
[all …]
Dsys_un_test.cpp25 strcpy(sun.sun_path, "hello"); in TEST()
Dsys_socket_test.cpp49 strcpy(addr.sun_path + 1, pdata->sock_path); in ConnectFn()
73 strcpy(addr.sun_path + 1, sock_path); in RunTest()
Dsys_uio_test.cpp53 strcpy(buf, "hello"); in TestPreadVPwriteV()
Dclang_fortify_tests.cpp189 EXPECT_FORTIFY_DEATH(strcpy(small_buffer, large_string)); in FORTIFY_TEST()
227 EXPECT_FORTIFY_DEATH_STRUCT(strcpy(split.tiny_buffer, small_string)); in FORTIFY_TEST()
Dstring_test.cpp267 strcpy(state.ptr + state.MAX_LEN - 1, state.ptr1); in TEST()
279 ASSERT_EQ(buf, strcpy(buf, orig)); in TEST()
289 ASSERT_EQ(buf, strcpy(buf, orig)); in TEST()
303 ASSERT_EQ(buf, strcpy(buf, orig)); in TEST()
532 TEST(STRING_TEST, strcpy) { in TEST() argument
550 ASSERT_TRUE(strcpy(state.ptr2, state.ptr1) == state.ptr2); in TEST()
1111 ASSERT_EQ(dst, reinterpret_cast<uint8_t*>(strcpy(reinterpret_cast<char*>(dst), in DoStrcpyTest()
Dstdlib_test.cpp416 strcpy(entries[0].name, "charlie"); in TEST()
417 strcpy(entries[1].name, "bravo"); in TEST()
418 strcpy(entries[2].name, "alpha"); in TEST()
Dglob_test.cpp44 strcpy(d.d_name, fake_dir[fake_dir_offset++].c_str()); in fake_readdir()
/bionic/libc/tzcode/
Dasctime.c88 return strcpy(buf, "??? ??? ?? ??:??:?? ????\n"); in asctime_r()
113 return strcpy(buf, result); in asctime_r()
/bionic/libc/arch-arm/
Dstatic_function_dispatch.S40 FUNCTION_DELEGATE(strcpy, strcpy_generic)
Ddynamic_function_dispatch.cpp210 DEFINE_IFUNC_FOR(strcpy) { in DEFINE_IFUNC_FOR() argument
/bionic/libc/arch-x86/
Dstatic_function_dispatch.S41 FUNCTION_DELEGATE(strcpy, strcpy_generic)
Ddynamic_function_dispatch.cpp70 DEFINE_IFUNC_FOR(strcpy) { in DEFINE_IFUNC_FOR() argument
/bionic/libc/bionic/
Drealpath.cpp77 return result ? strcpy(result, dst) : strdup(dst); in realpath()
Dandroid_set_abort_message.cpp93 strcpy(new_magic_abort_message->msg.msg, msg); in android_set_abort_message()
/bionic/libc/arch-arm64/generic/bionic/
Dstring_copy.S102 ENTRY(strcpy)
244 END(strcpy)
/bionic/tests/headers/posix/
Dstring_h.c51 FUNCTION(strcpy, char* (*f)(char*, const char*)); in string_h()
/bionic/libc/dns/nameser/
Dns_samedomain.c177 strcpy(dst, src); in ns_makecanon()
Dns_ttl.c157 strcpy(*buf, tmp); in fmt1()
/bionic/libc/system_properties/
Dsystem_properties.cpp73 strcpy(property_filename_, filename); in Init()
101 strcpy(property_filename_, filename); in AreaInit()
/bionic/libc/dns/resolv/
Dres_init.c239 strcpy(statp->_u._ext.ext->nsuffix, "ip6.arpa"); in __res_vinit()
240 strcpy(statp->_u._ext.ext->nsuffix2, "ip6.int"); in __res_vinit()
452 strcpy(statp->defdname, cp + 1); in __res_vinit()
/bionic/libc/
DAndroid.bp592 "upstream-openbsd/lib/libc/string/strcpy.c",
603 "upstream-openbsd/lib/libc/string/strcpy.c",
612 "upstream-openbsd/lib/libc/string/strcpy.c",
623 "upstream-openbsd/lib/libc/string/strcpy.c",
637 "upstream-openbsd/lib/libc/string/strcpy.c",
794 "arch-arm/generic/bionic/strcpy.S",
815 "arch-arm/cortex-a15/bionic/strcpy.S",
825 "arch-arm/cortex-a9/bionic/strcpy.S",
845 "arch-arm64/generic/bionic/strcpy.S",
903 "arch-x86/silvermont/string/sse2-strcpy-slm.S",
[all …]
/bionic/libc/include/
Dstring.h80 char* strcpy(char* __dst, const char* __src);
/bionic/libc/include/bits/fortify/
Dstring.h89 char* strcpy(char* const dst __pass_object_size, const char* src) in strcpy() function

123