/bionic/tests/ |
D | sys_procfs_test.cpp | 23 memset(®, 0, sizeof(reg)); in TEST() 26 memset(®s, 0, sizeof(regs)); in TEST() 29 memset(&fp_regs, 0, sizeof(fp_regs)); in TEST() 32 memset(&pr_g_regs, 0, sizeof(pr_g_regs)); in TEST() 35 memset(&pr_fp_regs, 0, sizeof(pr_fp_regs)); in TEST()
|
D | string_test.cpp | 120 memset(buf, 0, sizeof(buf)); in TEST() 264 memset(state.ptr2, '\2', state.MAX_LEN); in TEST() 268 memset(state.ptr1, 'L', state.len[i]); in TEST() 293 memset(buf, 'A', sizeof(buf)); in TEST() 307 memset(buf, 'A', sizeof(buf)); in TEST() 326 memset(buf, 'A', sizeof(buf)); in TEST() 340 memset(buf, 'A', sizeof(buf)); in TEST() 348 memset(buf, 'A', sizeof(buf)); in TEST() 361 memset(buf, 'A', sizeof(buf)); in TEST() 371 memset(buf, 'A', sizeof(buf)); in TEST() [all …]
|
D | uchar_test.cpp | 37 memset(&ps, 0, sizeof(ps)); in TEST() 44 memset(&ps, 0, sizeof(ps)); in TEST() 49 memset(&ps, 0, sizeof(ps)); in TEST() 68 memset(bytes, 0, sizeof(bytes)); in TEST() 76 memset(bytes, 0, sizeof(bytes)); in TEST() 80 memset(bytes, 0, sizeof(bytes)); in TEST() 85 memset(bytes, 0, sizeof(bytes)); in TEST() 95 memset(bytes, 0, sizeof(bytes)); in TEST() 107 memset(bytes, 0, sizeof(bytes)); in TEST() 203 memset(&ps, 0, sizeof(ps)); in TEST() [all …]
|
D | sys_timex_test.cpp | 25 memset(&t, 0, sizeof(t)); in TEST() 38 memset(&t, 0, sizeof(t)); in TEST()
|
D | resolv_test.cpp | 48 memset(buf, 'x', sizeof(buf)); in TEST() 57 memset(buf, 'x', sizeof(buf)); in TEST()
|
D | wchar_test.cpp | 59 memset(bytes, 0, sizeof(bytes)); in TEST() 62 memset(bytes, 0, sizeof(bytes)); in TEST() 70 memset(bytes, 0, sizeof(bytes)); in TEST() 74 memset(bytes, 0, sizeof(bytes)); in TEST() 79 memset(bytes, 0, sizeof(bytes)); in TEST() 85 memset(bytes, 0, sizeof(bytes)); in TEST() 101 memset(&ps, 0, sizeof(ps)); in TEST() 108 memset(&ps, 0, sizeof(ps)); in TEST() 113 memset(&ps, 0, sizeof(ps)); in TEST() 161 memset(bytes, 'x', sizeof(bytes)); in TEST() [all …]
|
D | system_properties_test.cpp | 176 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 178 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST() 194 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 196 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST() 199 memset(prop_value_ret, '\0', PROP_VALUE_MAX); in TEST() 269 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 271 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST() 285 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 287 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST() 290 memset(prop_value_ret, '\0', PROP_VALUE_MAX); in TEST() [all …]
|
D | netinet_ether_test.cpp | 36 memset(&addr, 0, sizeof(addr)); in TEST() 47 memset(buf, 0, sizeof(buf)); in TEST()
|
D | inttypes_test.cpp | 26 memset(buf, 0, sizeof(buf)); \ 29 memset(buf, 0, sizeof(buf)); \ 32 memset(buf, 0, sizeof(buf)); \ 35 memset(buf, 0, sizeof(buf)); \ 38 memset(buf, 0, sizeof(buf)); \ 41 memset(buf, 0, sizeof(buf)); \
|
D | buffer_tests.cpp | 334 memset(buf1_align+len, 0, 32); in RunCmpBufferAlignTest() 335 memset(buf2_align+len, 0, 32); in RunCmpBufferAlignTest() 366 memset(memory, 0x23, 2*pagesize); in RunSingleBufferOverreadTest() 387 memset(memory, 0x23, 2*pagesize); in RunSrcDstBufferOverreadTest() 417 memset(memory1, 0x23, 2*pagesize); in RunCmpBufferOverreadTest() 425 memset(memory2, 0x23, 2*pagesize); in RunCmpBufferOverreadTest()
|
D | time_test.cpp | 116 memset(&t, 0, sizeof(tm)); in TEST() 125 memset(&t, 0, sizeof(tm)); in TEST() 137 memset(&t, 0, sizeof(tm)); in TEST() 166 memset(&t, 0, sizeof(tm)); in TEST() 190 memset(&t, 0, sizeof(tm)); in TEST() 211 memset(&t, 0, sizeof(tm)); in TEST() 253 memset(&t, 0, sizeof(tm)); in TEST() 273 memset(&t, 0, sizeof(t)); in TEST() 278 memset(&t, 0, sizeof(t)); in TEST() 290 memset(&t, 0, sizeof(t)); in TEST() [all …]
|
D | alloca_test.cpp | 27 memset(p, 0, 1024); in TEST()
|
D | sys_socket_test.cpp | 46 memset(&addr, 0, sizeof(addr)); in ConnectFn() 70 memset(&addr, 0, sizeof(addr)); in RunTest() 145 memset(msgs, 0, sizeof(struct mmsghdr)*NUM_RECV_MSGS); in TestRecvMMsg() 159 memset(&ts, 0, sizeof(ts)); in TestRecvMMsg() 190 memset(msgs, 0, sizeof(struct mmsghdr)*NUM_SEND_MSGS); in SendMMsg()
|
D | sys_msg_test.cpp | 49 memset(&ds, 0, sizeof(ds)); in TEST() 67 memset(&msg, 0, sizeof(msg)); in TEST()
|
/bionic/libc/arch-arm/bionic/ |
D | __aeabi.c | 117 memset(dest, c, n); in __aeabi_memset8_impl() 121 memset(dest, c, n); in __aeabi_memset4_impl() 125 memset(dest, c, n); in __aeabi_memset_impl() 129 memset(dest, c, n); in __aeabi_memset8_impl2() 133 memset(dest, c, n); in __aeabi_memset4_impl2() 137 memset(dest, c, n); in __aeabi_memset_impl2()
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
D | arc4random.c | 101 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf)); in _rs_stir() 122 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf)); in _rs_rekey() 137 memset(rsx->rs_buf, 0, KEYSZ + IVSZ); in _rs_rekey() 155 memset(keystream, 0, m); in _rs_random_buf() 175 memset(keystream, 0, sizeof(*val)); in _rs_random_u32()
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | recallocarray.c | 61 memset((char *)ptr + newsize, 0, d); in recallocarray() 72 memset((char *)newptr + oldsize, 0, newsize - oldsize); in recallocarray()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 247 memset(ptr, 0, 1152); in AlignedAlloc() 262 memset(ptr, 1, 1123); in Calloc() 277 memset(ptr, 0, 1123); in Malloc() 292 memset(ptr, 0, 1123); in Memalign() 308 memset(ptr, 0, 1123); in PosixMemalign() 323 memset(ptr, 0, 1123); in Reallocarray() 338 memset(ptr, 0, 1123); in Realloc() 356 memset(ptr, 0, 1123); in Pvalloc() 373 memset(ptr, 0, 1123); in Valloc() 565 memset(ptr, 0, 1000); in TEST()
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_sctp.h | 51 #define SCTP_CHUNKMAP_RESET(chunkmap) memset((chunkmap), 0, sizeof(chunkmap)) 52 #define SCTP_CHUNKMAP_SET_ALL(chunkmap) memset((chunkmap), ~0U, sizeof(chunkmap))
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | stat.h | 68 #define INIT_STRUCT_STAT64_PADDING(st) do { memset(& st.__pad0, 0, sizeof(st.__pad0)); memset(& st.…
|
/bionic/linker/ |
D | linked_list_test.cpp | 169 memset(buf, 0, sizeof(buf)); in TEST() 179 memset(buf, 0, sizeof(buf)); in TEST() 192 memset(buf, 0, sizeof(buf)); in TEST() 200 memset(buf, 0, sizeof(buf)); in TEST()
|
/bionic/libc/include/android/ |
D | legacy_signal_inlines.h | 124 memset(set, 0, sizeof(sigset_t)); 133 memset(set, ~0, sizeof(sigset_t));
|
/bionic/libc/upstream-openbsd/lib/libc/locale/ |
D | wctomb.c | 41 memset(&mbs, 0, sizeof(mbs)); in wctomb()
|
D | wctob.c | 39 memset(&mbs, 0, sizeof(mbs)); in wctob()
|
D | mbstowcs.c | 41 memset(&mbs, 0, sizeof(mbs)); in mbstowcs()
|