Home
last modified time | relevance | path

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

12

/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrcpy.c35 __warn_references(strcpy,
40 strcpy(char *to, const char *from) in strcpy() function
/bionic/libc/tzcode/
Dasctime.c88 return strcpy(buf, "??? ??? ?? ??:??:?? ????\n"); in asctime_r()
113 return strcpy(buf, result); in asctime_r()
/bionic/tests/
Dfortify_test.cpp148 ASSERT_FORTIFY(strcpy(myfoo.empty, src)); in TEST_F()
160 ASSERT_FORTIFY(strcpy(myfoo.empty, src)); in TEST_F()
172 ASSERT_FORTIFY(strcpy(myfoo.one, src)); in TEST_F()
232 strcpy(myfoo.a, "01"); in TEST_F()
243 strcpy(myfoo.a, "01"); in TEST_F()
276 strcpy(src, "0123456789"); in TEST_F()
291 strcpy(myfoo.a, "012345678"); in TEST_F()
310 ASSERT_FORTIFY(strcpy(buf, orig)); in TEST_F()
322 ASSERT_FORTIFY(strcpy(buf, orig)); in TEST_F()
334 ASSERT_FORTIFY(strcpy(buf, orig)); in TEST_F()
[all …]
Dsys_un_test.cpp25 strcpy(sun.sun_path, "hello"); in TEST()
Dsys_uio_test.cpp53 strcpy(buf, "hello"); in TestPreadVPwriteV()
Dsys_socket_test.cpp49 strcpy(addr.sun_path + 1, pdata->sock_path); in ConnectFn()
73 strcpy(addr.sun_path + 1, sock_path); in RunTest()
Dclang_fortify_tests.cpp168 EXPECT_FORTIFY_DEATH(strcpy(small_buffer, large_string)); in FORTIFY_TEST()
206 EXPECT_FORTIFY_DEATH_STRUCT(strcpy(split.tiny_buffer, small_string)); in FORTIFY_TEST()
Dstring_test.cpp272 strcpy(state.ptr + state.MAX_LEN - 1, state.ptr1); in TEST()
284 ASSERT_EQ(buf, strcpy(buf, orig)); in TEST()
294 ASSERT_EQ(buf, strcpy(buf, orig)); in TEST()
308 ASSERT_EQ(buf, strcpy(buf, orig)); in TEST()
537 TEST(STRING_TEST, strcpy) { in TEST() argument
555 ASSERT_TRUE(strcpy(state.ptr2, state.ptr1) == state.ptr2); in TEST()
1116 ASSERT_EQ(dst, reinterpret_cast<uint8_t*>(strcpy(reinterpret_cast<char*>(dst), in DoStrcpyTest()
Dglob_test.cpp44 strcpy(d.d_name, fake_dir[fake_dir_offset++].c_str()); in fake_readdir()
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()
/bionic/libc/arch-arm64/
Dstatic_function_dispatch.S41 FUNCTION_DELEGATE(strcpy, __strcpy_aarch64_mte)
Ddynamic_function_dispatch.cpp81 DEFINE_IFUNC_FOR(strcpy) { in DEFINE_IFUNC_FOR() argument
/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/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/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

12