Home
last modified time | relevance | path

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

12345678

/bionic/tests/
Dsys_procfs_test.cpp23 memset(&reg, 0, sizeof(reg)); in TEST()
26 memset(&regs, 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()
Dstring_test.cpp120 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 …]
Duchar_test.cpp37 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 …]
Dsys_timex_test.cpp25 memset(&t, 0, sizeof(t)); in TEST()
38 memset(&t, 0, sizeof(t)); in TEST()
Dresolv_test.cpp48 memset(buf, 'x', sizeof(buf)); in TEST()
57 memset(buf, 'x', sizeof(buf)); in TEST()
Dwchar_test.cpp59 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 …]
Dsystem_properties_test.cpp176 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 …]
Dnetinet_ether_test.cpp36 memset(&addr, 0, sizeof(addr)); in TEST()
47 memset(buf, 0, sizeof(buf)); in TEST()
Dinttypes_test.cpp26 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)); \
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()
Dtime_test.cpp116 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 …]
Dalloca_test.cpp27 memset(p, 0, 1024); 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()
190 memset(msgs, 0, sizeof(struct mmsghdr)*NUM_SEND_MSGS); in SendMMsg()
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.c101 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/
Drecallocarray.c61 memset((char *)ptr + newsize, 0, d); in recallocarray()
72 memset((char *)newptr + oldsize, 0, newsize - oldsize); in recallocarray()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp247 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/
Dxt_sctp.h51 #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/
Dstat.h68 #define INIT_STRUCT_STAT64_PADDING(st) do { memset(& st.__pad0, 0, sizeof(st.__pad0)); memset(& st.…
/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/include/android/
Dlegacy_signal_inlines.h124 memset(set, 0, sizeof(sigset_t));
133 memset(set, ~0, sizeof(sigset_t));
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dwctomb.c41 memset(&mbs, 0, sizeof(mbs)); in wctomb()
Dwctob.c39 memset(&mbs, 0, sizeof(mbs)); in wctob()
Dmbstowcs.c41 memset(&mbs, 0, sizeof(mbs)); in mbstowcs()

12345678