/bionic/tests/ |
D | sys_procfs_test.cpp | 24 memset(®, 0, sizeof(reg)); in TEST() 27 memset(®s, 0, sizeof(regs)); in TEST() 30 memset(&fp_regs, 0, sizeof(fp_regs)); in TEST() 33 memset(&pr_g_regs, 0, sizeof(pr_g_regs)); in TEST() 36 memset(&pr_fp_regs, 0, sizeof(pr_fp_regs)); in TEST()
|
D | string_test.cpp | 123 memset(buf, 0, sizeof(buf)); in TEST() 270 memset(state.ptr2, '\2', state.MAX_LEN); in TEST() 274 memset(state.ptr1, 'L', state.len[i]); in TEST() 299 memset(buf, 'A', sizeof(buf)); in TEST() 313 memset(buf, 'A', sizeof(buf)); in TEST() 322 memset(buf, 'A', sizeof(buf)); in TEST() 332 memset(buf, 'A', sizeof(buf)); in TEST() 346 memset(buf, 'A', sizeof(buf)); in TEST() 355 memset(buf, 'A', sizeof(buf)); in TEST() 368 memset(buf, 'A', sizeof(buf)); in TEST() [all …]
|
D | uchar_test.cpp | 78 memset(&ps, 0, sizeof(ps)); in TEST() 89 memset(&ps, 0, sizeof(ps)); in TEST() 94 memset(&ps, 0, sizeof(ps)); in TEST() 120 memset(bytes, 0, sizeof(bytes)); in TEST() 128 memset(bytes, 0, sizeof(bytes)); in TEST() 132 memset(bytes, 0, sizeof(bytes)); in TEST() 137 memset(bytes, 0, sizeof(bytes)); in TEST() 143 memset(bytes, 0, sizeof(bytes)); in TEST() 158 memset(bytes, 0, sizeof(bytes)); in TEST() 303 memset(&ps, 0, sizeof(ps)); in TEST() [all …]
|
D | sys_timex_test.cpp | 25 memset(&t, 0, sizeof(t)); in TEST() 32 memset(&t, 0, sizeof(t)); in TEST()
|
D | wchar_test.cpp | 91 memset(bytes, 0, sizeof(bytes)); in TEST() 94 memset(bytes, 0, sizeof(bytes)); in TEST() 102 memset(bytes, 0, sizeof(bytes)); in TEST() 106 memset(bytes, 0, sizeof(bytes)); in TEST() 111 memset(bytes, 0, sizeof(bytes)); in TEST() 117 memset(bytes, 0, sizeof(bytes)); in TEST() 136 memset(&ps, 0, sizeof(ps)); in TEST() 143 memset(&ps, 0, sizeof(ps)); in TEST() 148 memset(&ps, 0, sizeof(ps)); in TEST() 199 memset(bytes, 'x', sizeof(bytes)); in TEST() [all …]
|
D | resolv_test.cpp | 50 memset(buf, 'x', sizeof(buf)); in TEST() 59 memset(buf, 'x', sizeof(buf)); in TEST()
|
D | inttypes_test.cpp | 28 memset(buf, 0, sizeof(buf)); \ 31 memset(buf, 0, sizeof(buf)); \ 34 memset(buf, 0, sizeof(buf)); \ 37 memset(buf, 0, sizeof(buf)); \ 40 memset(buf, 0, sizeof(buf)); \ 43 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 | netinet_ether_test.cpp | 36 memset(&addr, 0, sizeof(addr)); in TEST() 47 memset(buf, 0, sizeof(buf)); 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() 193 memset(msgs, 0, sizeof(struct mmsghdr)*NUM_SEND_MSGS); in SendMMsg()
|
D | system_properties_test.cpp | 250 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 252 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST() 268 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 270 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST() 273 memset(prop_value_ret, '\0', PROP_VALUE_MAX); in TEST() 343 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 345 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST() 359 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 361 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST() 364 memset(prop_value_ret, '\0', PROP_VALUE_MAX); in TEST() [all …]
|
D | time_test.cpp | 130 memset(&t, 0, sizeof(tm)); in TEST() 139 memset(&t, 0, sizeof(tm)); in TEST() 177 memset(&t, 0, sizeof(tm)); in TEST() 216 memset(&t, 0, sizeof(tm)); in TEST() 252 memset(&t, 0, sizeof(tm)); in TEST() 274 memset(&t, 0, sizeof(tm)); in TEST() 291 memset(&t, 0, sizeof(tm)); in TEST() 413 memset(&t, 0, sizeof(tm)); in TEST() 433 memset(&t, 0, sizeof(t)); in TEST() 438 memset(&t, 0, sizeof(t)); in TEST() [all …]
|
D | alloca_test.cpp | 27 memset(p, 0, 1024); in TEST()
|
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 | 104 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf)); in _rs_stir() 128 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf)); in _rs_rekey() 143 memset(rsx->rs_buf, 0, KEYSZ + IVSZ); in _rs_rekey() 161 memset(keystream, 0, m); in _rs_random_buf() 181 memset(keystream, 0, sizeof(*val)); in _rs_random_u32()
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 235 memset(pointer, 0xff, alloc_size); in VerifyAllocCalls() 246 memset(pointer, 0xff, debug_malloc_usable_size(pointer)); in VerifyAllocCalls() 370 memset(pointer, 0, usable_size); in TEST_F() 387 memset(pointer, 0, usable_size); in TEST_F() 407 memset(pointer, 0, usable_size); in TEST_F() 471 memset(buffer.data(), 0xaa, buffer.size()); in TEST_F() 477 memset(pointer, 0xff, 100); in TEST_F() 491 memset(pointer, 0xff, 100); in TEST_F() 508 memset(pointer, 0xff, 100); in TEST_F() 512 memset(pointer, 0xff, 200); in TEST_F() [all …]
|
D | malloc_debug_system_tests.cpp | 477 memset(ptr, 0, 1152); in AlignedAlloc() 492 memset(ptr, 1, 1123); in Calloc() 507 memset(ptr, 0, 1123); in Malloc() 522 memset(ptr, 0, 1123); in Memalign() 538 memset(ptr, 0, 1123); in PosixMemalign() 553 memset(ptr, 0, 1123); in Reallocarray() 568 memset(ptr, 0, 1123); in Realloc() 586 memset(ptr, 0, 1123); in Pvalloc() 603 memset(ptr, 0, 1123); in Valloc() 730 memset(ptr, 0, 1000); in TEST()
|
/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/kernel/uapi/linux/netfilter/ |
D | xt_sctp.h | 39 #define SCTP_CHUNKMAP_RESET(chunkmap) memset((chunkmap), 0, sizeof(chunkmap)) 40 #define SCTP_CHUNKMAP_SET_ALL(chunkmap) memset((chunkmap), ~0U, sizeof(chunkmap))
|
/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/kernel/uapi/asm-x86/asm/ |
D | stat.h | 56 #define INIT_STRUCT_STAT64_PADDING(st) do { memset(& st.__pad0, 0, sizeof(st.__pad0)); memset(& st.…
|
/bionic/libc/malloc_debug/ |
D | GuardData.cpp | 46 memset(cmp_mem_.data(), init_value, cmp_mem_.size()); in GuardData() 76 memset(cmp_mem_.data(), config.front_guard_value(), cmp_mem_.size()); in FrontGuardData()
|
/bionic/libc/arch-riscv64/string/ |
D | __memset_chk.S | 8 tail memset
|
/bionic/libc/bionic/ |
D | memset_explicit.cpp | 32 void* result = memset(__dst, __ch, __n); in memset_explicit()
|