/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()
|
D | system_properties.cpp | 154 memcpy(value, pa->dirty_backup_area(), len + 1); in ReadMutablePropertyValue() 156 memcpy(value, pi->value, len + 1); in ReadMutablePropertyValue() 255 memcpy(pa->dirty_backup_area(), pi->value, old_len + 1); in Update()
|
/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 | string_test.cpp | 261 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN); in TEST() 413 memcpy(buf, s, strlen(s) + 1); in TEST() 486 memcpy(state.ptr1, state.ptr2, state.len[i]); in TEST() 490 memcpy(state.ptr1, state.ptr2, pos); in TEST() 517 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST() 523 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST() 541 memcpy(state.ptr, state.ptr1, state.MAX_LEN); in TEST() 547 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1); in TEST() 563 memcpy(state.ptr, state.ptr2, state.MAX_LEN + state.len[i]); in TEST() 569 memcpy(state.ptr + state.MAX_LEN - 1, state.ptr1, pos + 1); in TEST() [all …]
|
D | fortify_test.cpp | 82 memcpy(source_buf, "12345678901234", 15); in TEST_F() 181 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); in TEST_F() 193 memcpy(myfoo.a, "0123456789", 10); in TEST_F() 194 memcpy(myfoo.b, "01234", 6); in TEST_F() 206 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); in TEST_F() 218 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); in TEST_F() 265 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); // unterminated string in TEST_F() 281 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); // unterminated string in TEST_F() 295 memcpy(myfoo.b, "0123456789", sizeof(myfoo.b)); in TEST_F() 353 memcpy(buf, "0123456789", sizeof(buf)); in TEST_F() [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()
|
D | bionic_allocator_test.cpp | 90 memcpy(array, model, array_size); in TEST() 101 memcpy(array, model, 2*array_size); in TEST() 117 memcpy(array, model, 4000); in TEST()
|
/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/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/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 | 77 memcpy(P, environ, cnt * sizeof(char *)); in putenv() 138 memcpy(P, environ, cnt * sizeof(char *)); in setenv()
|
/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/bionic/ |
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()
|
D | libgen.cpp | 85 memcpy(buffer, startp, len); in __basename_r() 149 memcpy(buffer, path, len); in __dirname_r()
|
D | sigaction.cpp | 122 memcpy(&kernel_new.sa_mask, &bionic_new->sa_mask, sizeof(bionic_new->sa_mask)); in sigaction() 134 memcpy(&bionic_old->sa_mask, &kernel_old.sa_mask, sizeof(bionic_old->sa_mask)); in sigaction()
|
D | exec.cpp | 115 memcpy(script_argv + 2, argv + 1, arg_count * sizeof(char*)); in __exec_as_script() 139 memcpy(writable_path, path, len); in execvpe()
|
D | mempcpy.cpp | 32 return reinterpret_cast<char*>(memcpy(dst, src, n)) + n; in mempcpy()
|
D | bionic_elf_tls.cpp | 199 memcpy(static_cast<char*>(static_tls) + module.static_offset, in __init_static_tls() 248 memcpy(new_dtv, old_dtv, dtv_size_in_bytes(old_cnt)); in update_tls_dtv() 297 memcpy(mod_ptr, segment.init_ptr, segment.init_size); in tls_get_addr_slow_path()
|
D | gethostname.cpp | 46 memcpy(buf, name.nodename, name_length); in gethostname()
|
/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/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/upstream-openbsd/lib/libc/crypt/ |
D | arc4random.c | 154 memcpy(buf, keystream, m); in _rs_random_buf() 174 memcpy(val, keystream, sizeof(*val)); in _rs_random_u32()
|
/bionic/libc/arch-arm/generic/bionic/ |
D | __memcpy_chk.S | 35 bls memcpy
|
/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/string/ |
D | strdup.c | 47 (void)memcpy(copy, str, siz); in strdup()
|