/bionic/libc/system_properties/ |
D | prop_info.cpp | 39 memcpy(this->name, name, namelen); in prop_info() 42 memcpy(this->value, value, valuelen); in prop_info() 47 memcpy(this->name, name, namelen); in prop_info() 52 memcpy(this->long_property.error_message, kLongLegacyError, sizeof(kLongLegacyError)); in prop_info()
|
/bionic/libc/upstream-netbsd/lib/libc/stdlib/ |
D | reallocarr.c | 64 memcpy(&optr, ptr, sizeof(ptr)); in __weak_alias() 68 memcpy(ptr, &nptr, sizeof(ptr)); in __weak_alias() 90 memcpy(ptr, &nptr, sizeof(ptr)); in __weak_alias()
|
/bionic/libc/arch-arm/bionic/ |
D | __aeabi.c | 63 memcpy(dest, src, n); in __aeabi_memcpy8_impl() 67 memcpy(dest, src, n); in __aeabi_memcpy4_impl() 71 memcpy(dest, src, n); in __aeabi_memcpy_impl() 75 memcpy(dest, src, n); in __aeabi_memcpy8_impl2() 79 memcpy(dest, src, n); in __aeabi_memcpy4_impl2() 83 memcpy(dest, src, n); in __aeabi_memcpy_impl2()
|
/bionic/tests/ |
D | fortify_test.cpp | 83 memcpy(source_buf, "12345678901234", 15); in TEST_F() 182 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); in TEST_F() 194 memcpy(myfoo.a, "0123456789", 10); in TEST_F() 195 memcpy(myfoo.b, "01234", 6); in TEST_F() 207 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); in TEST_F() 220 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); in TEST_F() 268 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); // unterminated string in TEST_F() 284 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); // unterminated string in TEST_F() 298 memcpy(myfoo.b, "0123456789", sizeof(myfoo.b)); in TEST_F() 356 memcpy(buf, "0123456789", sizeof(buf)); in TEST_F() [all …]
|
D | string_test.cpp | 272 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN); in TEST() 425 memcpy(buf, s, strlen(s) + 1); in TEST() 498 memcpy(state.ptr1, state.ptr2, state.len[i]); in TEST() 502 memcpy(state.ptr1, state.ptr2, pos); in TEST() 529 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST() 535 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST() 553 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST() 559 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST() 575 memcpy(state.ptr, state.ptr2, state.MAX_LEN + state.len[i]); in TEST() 581 memcpy(state.ptr + state.MAX_LEN - 1, state.ptr1, pos + 1); in TEST() [all …]
|
D | thread_local_test.cpp | 108 memcpy(local_triangle, t1, sizeof(local_triangle)); in reset_triangle() 109 memcpy(shared_triangle, t2, sizeof(shared_triangle)); in reset_triangle() 213 memcpy(&tls_var[n], &c, sizeof(c)); in TEST() 241 memcpy(p, tls_value2, strlen(tls_value2) + 1); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | recallocarray.c | 71 memcpy(newptr, ptr, oldsize); in recallocarray() 74 memcpy(newptr, ptr, newsize); in recallocarray()
|
D | setenv.c | 78 memcpy(P, environ, cnt * sizeof(char *)); in putenv() 139 memcpy(P, environ, cnt * sizeof(char *)); in setenv()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 372 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in __res_vinit() 377 memcpy(&statp->nsaddr_list[nserv], in __res_vinit() 689 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in res_setservers() 692 memcpy(&statp->nsaddr_list[nserv], in res_setservers() 703 memcpy(&statp->_u._ext.ext->nsaddrs[nserv], in res_setservers() 706 memcpy(&statp->nsaddr_list[nserv], in res_setservers() 740 memcpy(&set->sin, in res_getservers() 744 memcpy(&set->sin, &statp->nsaddr_list[i], in res_getservers() 752 memcpy(&set->sin6, in res_getservers() 756 memcpy(&set->sin6, &statp->nsaddr_list[i], in res_getservers()
|
/bionic/libc/bionic/ |
D | mempcpy.cpp | 32 return reinterpret_cast<char*>(memcpy(dst, src, n)) + n; in mempcpy()
|
D | libgen.cpp | 85 memcpy(buffer, startp, len); in __basename_r() 149 memcpy(buffer, path, len); in __dirname_r()
|
D | gethostname.cpp | 44 memcpy(buf, name.nodename, name_length); in gethostname()
|
D | bionic_arc4random.cpp | 54 memcpy(buf, reinterpret_cast<char*>(getauxval(AT_RANDOM)) + at_random_bytes_consumed, n); in __libc_safe_arc4random_buf()
|
D | sigaction.cpp | 121 memcpy(&kernel_new.sa_mask, &bionic_new->sa_mask, sizeof(bionic_new->sa_mask)); in sigaction() 133 memcpy(&bionic_old->sa_mask, &kernel_old.sa_mask, sizeof(bionic_old->sa_mask)); in sigaction()
|
D | ifaddrs.cpp | 102 ifa.ifa_dstaddr = reinterpret_cast<sockaddr*>(memcpy(&ifa_ifu, &addr, sizeof(addr))); in SetLocalAddress() 135 memcpy(SockaddrBytes(family, ss), data, byteCount); in CopyAddress() 189 memcpy(new_addr->name, RTA_DATA(rta), RTA_PAYLOAD(rta)); in __getifaddrs_callback() 242 memcpy(new_addr->name, RTA_DATA(rta), RTA_PAYLOAD(rta)); in __getifaddrs_callback()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fgetln.c | 115 (void)memcpy(fp->_lb._base + off, fp->_p, len - off); in fgetln() 131 (void)memcpy(fp->_lb._base + off, fp->_p, diff); in fgetln()
|
/bionic/libc/arch-riscv64/string/ |
D | __memcpy_chk.S | 8 tail memcpy
|
/bionic/libc/arch-arm/generic/bionic/ |
D | __memcpy_chk.S | 35 bls memcpy
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strdup.c | 47 (void)memcpy(copy, str, siz); in strdup()
|
D | strndup.c | 34 (void)memcpy(copy, str, len); in strndup()
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
D | wmemcpy.c | 45 return (wchar_t *)memcpy(d, s, n * sizeof(wchar_t)); in wmemcpy()
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_pton.c | 107 memcpy(dst, tmp, INADDRSZ); in inet_pton4() 211 memcpy(dst, tmp, IN6ADDRSZ); in inet_pton6()
|
/bionic/libc/arch-arm64/string/ |
D | __memcpy_chk.S | 35 b memcpy
|
/bionic/libc/dns/net/ |
D | getservent.c | 80 memcpy( rs->servent.s_name, p+1, namelen ); in getservent_r() 95 memcpy( p2, p+1, len2 ); in getservent_r()
|
/bionic/libc/arch-arm/ |
D | static_function_dispatch.S | 37 FUNCTION_DELEGATE(memcpy, memmove_generic)
|