Searched refs:memcpy (Results 1 - 25 of 84) sorted by relevance

1234

/bionic/libc/bionic/
H A Dmempcpy.cpp32 return reinterpret_cast<char*>(memcpy(dst, src, n)) + n;
H A D__memcpy_chk.cpp42 * This memcpy check is called if _FORTIFY_SOURCE is defined and
48 __fortify_chk_fail("memcpy: prevented write past end of buffer",
52 return memcpy(dest, src, copy_amount);
H A Dgethostname.cpp46 memcpy(buf, name.nodename, name_length);
H A Dlibgen.cpp88 memcpy(buffer, startp, len);
147 memcpy(buffer, path, len);
/bionic/libc/upstream-openbsd/lib/libc/string/
H A Dwmemcpy.c39 return (wchar_t *)memcpy(d, s, n * sizeof(wchar_t));
H A Dstrdup.c47 (void)memcpy(copy, str, siz);
H A Dstrndup.c34 (void)memcpy(copy, str, len);
/bionic/libc/arch-arm64/denver64/bionic/
H A Dmemcpy.S29 // Prototype: void *memcpy (void *dst, const void *src, size_t count).
38 // Fall through to memcpy...
41 ENTRY(memcpy) function
43 END(memcpy)
63 .string "memcpy: prevented write past end of buffer"
/bionic/libc/arch-arm64/generic/bionic/
H A Dmemcpy.S29 // Prototype: void *memcpy (void *dst, const void *src, size_t count).
38 // Fall through to memcpy...
41 ENTRY(memcpy) function
43 END(memcpy)
63 .string "memcpy: prevented write past end of buffer"
/bionic/libc/arch-arm/cortex-a15/bionic/
H A Dmemcpy.S56 // Prototype: void *memcpy (void *dst, const void *src, size_t count).
69 // Fall through to memcpy...
72 ENTRY(memcpy) function
78 END(memcpy)
103 .string "memcpy: prevented write past end of buffer"
/bionic/libc/arch-arm/cortex-a9/bionic/
H A Dmemcpy.S47 // Fall through to memcpy...
50 ENTRY(memcpy) function
57 END(memcpy)
82 .string "memcpy: prevented write past end of buffer"
/bionic/libc/arch-arm/denver/bionic/
H A Dmemcpy.S56 // Prototype: void *memcpy (void *dst, const void *src, size_t count).
69 // Fall through to memcpy...
72 ENTRY(memcpy) function
78 END(memcpy)
103 .string "memcpy: prevented write past end of buffer"
/bionic/libc/arch-arm/krait/bionic/
H A Dmemcpy.S50 // Fall through to memcpy...
53 ENTRY(memcpy) function
59 END(memcpy)
84 .string "memcpy: prevented write past end of buffer"
/bionic/libc/arch-arm/bionic/
H A D__aeabi.c33 // recursion if we have the fortified memcpy visible in this file.
61 memcpy(dest, src, n);
65 memcpy(dest, src, n);
69 memcpy(dest, src, n);
/bionic/libc/upstream-netbsd/lib/libc/string/
H A Dstrxfrm.c66 (void)memcpy(dst, src, copysize);
/bionic/libc/arch-x86/generic/string/
H A Dbcopy.S42 ENTRY(memcpy) function
93 END(memcpy)
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dfgets.c91 (void)memcpy((void *)s, (void *)p, len);
98 (void)memcpy((void *)s, (void *)p, len);
H A Dfgetln.c115 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
129 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
/bionic/libstdc++/include/
H A Dcstring46 using ::memcpy;
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dlsearch.c82 memcpy((void *)end, key, width);
/bionic/libc/dns/net/
H A Dgetservent.c95 memcpy( rs->servent.s_name, p+1, namelen );
110 memcpy( p2, p+1, len2 );
/bionic/tests/
H A Dstring_test.cpp251 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN);
403 memcpy(buf, s, strlen(s) + 1);
469 memcpy(state.ptr1, state.ptr2, state.len[i]);
473 memcpy(state.ptr1, state.ptr2, pos);
500 memcpy(state.ptr, state.ptr1, state.MAX_LEN);
506 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1);
524 memcpy(state.ptr, state.ptr1, state.MAX_LEN);
530 memcpy(state.ptr + state.MAX_LEN, state.ptr1, pos + 1);
546 memcpy(state.ptr, state.ptr2, state.MAX_LEN + state.len[i]);
552 memcpy(stat
[all...]
H A Dfortify_test.cpp101 memcpy(source_buf, "12345678901234", 15);
232 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a));
247 memcpy(myfoo.a, "0123456789", 10);
248 memcpy(myfoo.b, "01234", 6);
311 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); // unterminated string
331 memcpy(myfoo.a, "0123456789", sizeof(myfoo.a)); // unterminated string
345 memcpy(myfoo.b, "0123456789", sizeof(myfoo.b));
403 memcpy(buf, "0123456789", sizeof(buf));
413 memcpy(buf, "0123456789", sizeof(buf));
423 memcpy(bu
[all...]
/bionic/linker/tests/
H A Dlinker_memory_allocator_test.cpp78 memcpy(array, model, array_size);
89 memcpy(array, model, 2*array_size);
104 memcpy(array, model, 4000);
/bionic/libc/upstream-openbsd/lib/libc/net/
H A Dinet_pton.c107 memcpy(dst, tmp, INADDRSZ);
211 memcpy(dst, tmp, IN6ADDRSZ);

Completed in 271 milliseconds

1234