Home
last modified time | relevance | path

Searched refs:memset (Results 1 – 25 of 221) sorted by relevance

123456789

/bionic/tests/
Dsys_procfs_test.cpp24 memset(&reg, 0, sizeof(reg)); in TEST()
27 memset(&regs, 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()
Dstring_test.cpp123 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 …]
Duchar_test.cpp78 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 …]
Dsys_timex_test.cpp25 memset(&t, 0, sizeof(t)); in TEST()
32 memset(&t, 0, sizeof(t)); in TEST()
Dwchar_test.cpp91 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 …]
Dresolv_test.cpp50 memset(buf, 'x', sizeof(buf)); in TEST()
59 memset(buf, 'x', sizeof(buf)); in TEST()
Dinttypes_test.cpp28 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)); \
Dbuffer_tests.cpp334 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()
Dnetinet_ether_test.cpp36 memset(&addr, 0, sizeof(addr)); in TEST()
47 memset(buf, 0, sizeof(buf)); in TEST()
Dsys_socket_test.cpp46 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()
Dsystem_properties_test.cpp250 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 …]
Dtime_test.cpp130 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 …]
Dalloca_test.cpp27 memset(p, 0, 1024); in TEST()
Dsys_msg_test.cpp49 memset(&ds, 0, sizeof(ds)); in TEST()
67 memset(&msg, 0, sizeof(msg)); in TEST()
/bionic/libc/arch-arm/bionic/
D__aeabi.c117 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/
Darc4random.c104 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/
Dmalloc_debug_unit_tests.cpp235 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 …]
Dmalloc_debug_system_tests.cpp477 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/
Drecallocarray.c61 memset((char *)ptr + newsize, 0, d); in recallocarray()
72 memset((char *)newptr + oldsize, 0, newsize - oldsize); in recallocarray()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_sctp.h39 #define SCTP_CHUNKMAP_RESET(chunkmap) memset((chunkmap), 0, sizeof(chunkmap))
40 #define SCTP_CHUNKMAP_SET_ALL(chunkmap) memset((chunkmap), ~0U, sizeof(chunkmap))
/bionic/linker/
Dlinked_list_test.cpp169 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/
Dstat.h56 #define INIT_STRUCT_STAT64_PADDING(st) do { memset(& st.__pad0, 0, sizeof(st.__pad0)); memset(& st.…
/bionic/libc/malloc_debug/
DGuardData.cpp46 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.S8 tail memset
/bionic/libc/bionic/
Dmemset_explicit.cpp32 void* result = memset(__dst, __ch, __n); in memset_explicit()

123456789