Home
last modified time | relevance | path

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

123

/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.cpp59 strcpy(buf, "hello"); in TestPreadVPwriteV()
87 strcpy(buf, "hello"); in TestPreadV2PwriteV2()
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.cpp169 EXPECT_FORTIFY_DEATH(strcpy(small_buffer, large_string)); in FORTIFY_TEST()
208 EXPECT_FORTIFY_DEATH_STRUCT(strcpy(split.tiny_buffer, small_string)); in FORTIFY_TEST()
Dstring_test.cpp278 strcpy(state.ptr + state.MAX_LEN - 1, state.ptr1); in TEST()
290 ASSERT_EQ(buf, strcpy(buf, orig)); in TEST()
300 ASSERT_EQ(buf, strcpy(buf, orig)); in TEST()
314 ASSERT_EQ(buf, strcpy(buf, orig)); in TEST()
544 TEST(STRING_TEST, strcpy) { in TEST() argument
562 ASSERT_TRUE(strcpy(state.ptr2, state.ptr1) == state.ptr2); in TEST()
1123 ASSERT_EQ(dst, reinterpret_cast<uint8_t*>(strcpy(reinterpret_cast<char*>(dst), in DoStrcpyTest()
Dglob_test.cpp47 strcpy(d.d_name, fake_dir[fake_dir_offset++].c_str()); in fake_readdir()
Dstdlib_test.cpp418 strcpy(entries[0].name, "charlie"); in TEST()
419 strcpy(entries[1].name, "bravo"); in TEST()
420 strcpy(entries[2].name, "alpha"); in TEST()
/bionic/libc/tzcode/
Dasctime.c80 return strcpy(buf, "??? ??? ?? ??:??:?? ????\n"); in asctime_r()
106 return strcpy(buf, result); in asctime_r()
/bionic/libc/system_properties/include/system_properties/
Dproperties_filename.h44 strcpy(filename_, value);
/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-arm64/
Dstatic_function_dispatch.S46 FUNCTION_DELEGATE(strcpy, __strcpy_aarch64)
Ddynamic_function_dispatch.cpp134 DEFINE_IFUNC_FOR(strcpy) { in DEFINE_IFUNC_FOR() argument
/bionic/libc/arch-riscv64/
Dstatic_function_dispatch.S46 FUNCTION_DELEGATE(strcpy, strcpy_gc)
Ddynamic_function_dispatch.cpp111 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.cpp100 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/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/bits/fortify/
Dstring.h93 char* _Nonnull strcpy(char* _Nonnull const dst __pass_object_size, const char* _Nonnull src) in strcpy() function

123