/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 | 115 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 …]
|
D | sys_timex_test.cpp | 25 memset(&t, 0, sizeof(t)); in TEST() 38 memset(&t, 0, sizeof(t)); in TEST()
|
D | uchar_test.cpp | 51 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 …]
|
D | ScopedSignalHandler.h | 27 memset(&action_, 0, sizeof(action_)); in signal_number_() 36 memset(&action_, 0, sizeof(action_)); in signal_number_()
|
D | wchar_test.cpp | 55 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 …]
|
D | system_properties_test.cpp | 188 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 …]
|
D | time_test.cpp | 76 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/ |
D | string_benchmark.cpp | 33 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/ |
D | denver64.mk | 3 arch-arm64/denver64/bionic/memset.S \ 7 arch-arm64/generic/bionic/memset.S \
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 161 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/ |
D | arc4random.c | 100 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.c | 119 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/ |
D | sigemptyset.cpp | 38 memset(set, 0, sizeof(sigset_t)); in sigemptyset()
|
D | sigfillset.cpp | 38 memset(set, ~0, sizeof(sigset_t)); in sigfillset()
|
D | __memset_chk.cpp | 52 return memset(dest, c, n); in __memset_chk()
|
/bionic/libc/upstream-openbsd/lib/libc/locale/ |
D | wctob.c | 39 memset(&mbs, 0, sizeof(mbs)); in wctob()
|
D | wctomb.c | 41 memset(&mbs, 0, sizeof(mbs)); in wctomb()
|
D | _wcstod.h | 111 memset(&st, 0, sizeof(st)); in FUNCNAME() 121 memset(&st, 0, sizeof(st)); in FUNCNAME() 135 memset(&st, 0, sizeof(st)); in FUNCNAME()
|
D | btowc.c | 47 memset(&mbs, 0, sizeof(mbs)); in btowc()
|
D | mbstowcs.c | 41 memset(&mbs, 0, sizeof(mbs)); in mbstowcs()
|
D | wcstombs.c | 40 memset(&mbs, 0, sizeof(mbs)); in wcstombs()
|
/bionic/libc/arch-mips/bionic/ |
D | bzero.S | 36 la t9,memset
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_sctp.h | 58 #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/ |
D | legacy_signal_inlines.h | 79 memset(set, 0, sizeof(sigset_t)); in sigemptyset() 88 memset(set, ~0, sizeof(sigset_t)); in sigfillset()
|