Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 225) sorted by relevance

123456789

/bionic/libc/system_properties/
Dprop_info.cpp39 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/
Dreallocarr.c64 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.c63 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/
Dfortify_test.cpp83 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 …]
Dstring_test.cpp272 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 …]
Dthread_local_test.cpp108 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/
Drecallocarray.c71 memcpy(newptr, ptr, oldsize); in recallocarray()
74 memcpy(newptr, ptr, newsize); in recallocarray()
Dsetenv.c78 memcpy(P, environ, cnt * sizeof(char *)); in putenv()
139 memcpy(P, environ, cnt * sizeof(char *)); in setenv()
/bionic/libc/dns/resolv/
Dres_init.c372 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/
Dmempcpy.cpp32 return reinterpret_cast<char*>(memcpy(dst, src, n)) + n; in mempcpy()
Dlibgen.cpp85 memcpy(buffer, startp, len); in __basename_r()
149 memcpy(buffer, path, len); in __dirname_r()
Dgethostname.cpp44 memcpy(buf, name.nodename, name_length); in gethostname()
Dbionic_arc4random.cpp54 memcpy(buf, reinterpret_cast<char*>(getauxval(AT_RANDOM)) + at_random_bytes_consumed, n); in __libc_safe_arc4random_buf()
Dsigaction.cpp121 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()
Difaddrs.cpp102 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/
Dfgetln.c115 (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.S8 tail memcpy
/bionic/libc/arch-arm/generic/bionic/
D__memcpy_chk.S35 bls memcpy
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrdup.c47 (void)memcpy(copy, str, siz); in strdup()
Dstrndup.c34 (void)memcpy(copy, str, len); in strndup()
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwmemcpy.c45 return (wchar_t *)memcpy(d, s, n * sizeof(wchar_t)); in wmemcpy()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_pton.c107 memcpy(dst, tmp, INADDRSZ); in inet_pton4()
211 memcpy(dst, tmp, IN6ADDRSZ); in inet_pton6()
/bionic/libc/arch-arm64/string/
D__memcpy_chk.S35 b memcpy
/bionic/libc/dns/net/
Dgetservent.c80 memcpy( rs->servent.s_name, p+1, namelen ); in getservent_r()
95 memcpy( p2, p+1, len2 ); in getservent_r()
/bionic/libc/arch-arm/
Dstatic_function_dispatch.S37 FUNCTION_DELEGATE(memcpy, memmove_generic)

123456789