Home
last modified time | relevance | path

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

123456

/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.cpp115 memset(buf, 0, sizeof(buf)); in TEST()
259 memset(state.ptr2, '\2', state.MAX_LEN); in TEST()
263 memset(state.ptr1, 'L', state.len[i]); in TEST()
288 memset(buf, 'A', sizeof(buf)); in TEST()
302 memset(buf, 'A', sizeof(buf)); in TEST()
321 memset(buf, 'A', sizeof(buf)); in TEST()
335 memset(buf, 'A', sizeof(buf)); in TEST()
343 memset(buf, 'A', sizeof(buf)); in TEST()
356 memset(buf, 'A', sizeof(buf)); in TEST()
366 memset(buf, 'A', sizeof(buf)); in TEST()
[all …]
Dsys_timex_test.cpp25 memset(&t, 0, sizeof(t)); in TEST()
38 memset(&t, 0, sizeof(t)); in TEST()
Duchar_test.cpp51 memset(&ps, 0, sizeof(ps)); in TEST()
58 memset(&ps, 0, sizeof(ps)); in TEST()
63 memset(&ps, 0, sizeof(ps)); 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()
125 memset(bytes, 0, sizeof(bytes)); in TEST()
141 memset(bytes, 0, sizeof(bytes)); in TEST()
267 memset(&ps, 0, sizeof(ps)); in TEST()
[all …]
DScopedSignalHandler.h27 memset(&action_, 0, sizeof(action_)); in signal_number_()
36 memset(&action_, 0, sizeof(action_)); in signal_number_()
Dwchar_test.cpp55 memset(bytes, 0, sizeof(bytes)); in TEST()
58 memset(bytes, 0, sizeof(bytes)); in TEST()
66 memset(bytes, 0, sizeof(bytes)); in TEST()
70 memset(bytes, 0, sizeof(bytes)); in TEST()
75 memset(bytes, 0, sizeof(bytes)); in TEST()
81 memset(bytes, 0, sizeof(bytes)); in TEST()
97 memset(&ps, 0, sizeof(ps)); in TEST()
104 memset(&ps, 0, sizeof(ps)); in TEST()
109 memset(&ps, 0, sizeof(ps)); in TEST()
157 memset(bytes, 'x', sizeof(bytes)); in TEST()
[all …]
Dsystem_properties_test.cpp188 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
190 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
206 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
208 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
211 memset(prop_value_ret, '\0', PROP_VALUE_MAX); in TEST()
275 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
277 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
290 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
292 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
295 memset(prop_value_ret, '\0', PROP_VALUE_MAX); in TEST()
[all …]
Dtime_test.cpp76 memset(&t, 0, sizeof(tm)); in TEST()
85 memset(&t, 0, sizeof(tm)); in TEST()
97 memset(&t, 0, sizeof(tm)); in TEST()
123 memset(&t, 0, sizeof(tm)); in TEST()
144 memset(&t, 0, sizeof(tm)); in TEST()
185 memset(&t, 0, sizeof(t)); in TEST()
190 memset(&t, 0, sizeof(t)); in TEST()
210 memset(&se, 0, sizeof(se)); in TEST()
239 memset(&se, 0, sizeof(se)); in TEST()
277 memset(&se, 0, sizeof(se)); in Counter()
[all …]
/bionic/benchmarks/
Dstring_benchmark.cpp33 memset(src, 'x', nbytes); in BM_string_memcmp()
34 memset(dst, 'x', nbytes); in BM_string_memcmp()
50 memset(src, 'x', nbytes); in BM_string_memcpy()
65 memset(buf, 'x', nbytes + 64); in BM_string_memmove()
81 memset(dst, 0, nbytes); in BM_string_memset()
92 memset(s, 'x', nbytes); in BM_string_strlen()
/bionic/libc/arch-arm64/denver64/
Ddenver64.mk3 arch-arm64/denver64/bionic/memset.S \
7 arch-arm64/generic/bionic/memset.S \
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp161 memset(pointer, 0xff, alloc_size); in VerifyAllocCalls()
172 memset(pointer, 0xff, debug_malloc_usable_size(pointer)); in VerifyAllocCalls()
217 memset(pointer, 0, usable_size); in TEST_F()
234 memset(pointer, 0, usable_size); in TEST_F()
254 memset(pointer, 0, usable_size); in TEST_F()
310 memset(buffer.data(), 0xaa, buffer.size()); in TEST_F()
315 memset(pointer, 0xff, 100); in TEST_F()
328 memset(pointer, 0xff, 100); in TEST_F()
343 memset(pointer, 0xff, 100); in TEST_F()
346 memset(pointer, 0xff, 200); in TEST_F()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/crypt/
Darc4random.c100 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf)); in _rs_stir()
121 memset(rsx->rs_buf, 0, sizeof(rsx->rs_buf)); in _rs_rekey()
136 memset(rsx->rs_buf, 0, KEYSZ + IVSZ); in _rs_rekey()
154 memset(keystream, 0, m); in _rs_random_buf()
174 memset(keystream, 0, sizeof(*val)); in _rs_random_u32()
/bionic/libc/arch-arm/bionic/
D__aeabi.c119 memset(dest, c, n); in __aeabi_memset8_impl()
123 memset(dest, c, n); in __aeabi_memset4_impl()
127 memset(dest, c, n); in __aeabi_memset_impl()
131 memset(dest, c, n); in __aeabi_memset8_impl2()
135 memset(dest, c, n); in __aeabi_memset4_impl2()
139 memset(dest, c, n); in __aeabi_memset_impl2()
/bionic/libc/bionic/
Dsigemptyset.cpp38 memset(set, 0, sizeof(sigset_t)); in sigemptyset()
Dsigfillset.cpp38 memset(set, ~0, sizeof(sigset_t)); in sigfillset()
D__memset_chk.cpp52 return memset(dest, c, n); in __memset_chk()
/bionic/libc/upstream-openbsd/lib/libc/locale/
Dwctob.c39 memset(&mbs, 0, sizeof(mbs)); in wctob()
Dwctomb.c41 memset(&mbs, 0, sizeof(mbs)); in wctomb()
D_wcstod.h111 memset(&st, 0, sizeof(st)); in FUNCNAME()
121 memset(&st, 0, sizeof(st)); in FUNCNAME()
135 memset(&st, 0, sizeof(st)); in FUNCNAME()
Dbtowc.c47 memset(&mbs, 0, sizeof(mbs)); in btowc()
Dmbstowcs.c41 memset(&mbs, 0, sizeof(mbs)); in mbstowcs()
Dwcstombs.c40 memset(&mbs, 0, sizeof(mbs)); in wcstombs()
/bionic/libc/arch-mips/bionic/
Dbzero.S36 la t9,memset
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_sctp.h58 #define SCTP_CHUNKMAP_RESET(chunkmap) memset((chunkmap), 0, sizeof(chunkmap))
59 #define SCTP_CHUNKMAP_SET_ALL(chunkmap) memset((chunkmap), ~0U, sizeof(chunkmap))
/bionic/libc/include/android/
Dlegacy_signal_inlines.h79 memset(set, 0, sizeof(sigset_t)); in sigemptyset()
88 memset(set, ~0, sizeof(sigset_t)); in sigfillset()

123456