/external/clang/test/SemaCXX/ |
D | warn-memset-bad-sizeof.cpp | 3 extern "C" void *memset(void *, int, unsigned); 37 memset(&s, 0, sizeof(&s)); // \ in f() 39 memset(ps, 0, sizeof(ps)); // \ in f() 41 memset(ps2, 0, sizeof(ps2)); // \ in f() 43 memset(ps2, 0, sizeof(typeof(ps2))); // \ in f() 45 memset(ps2, 0, sizeof(PS)); // \ in f() 47 memset(heap_buffer, 0, sizeof(heap_buffer)); // \ in f() 61 memset((void*)&s, 0, sizeof(&s)); in f() 62 memset(&s, 0, sizeof(s)); in f() 63 memset(&s, 0, sizeof(S)); in f() [all …]
|
D | warn-bad-memaccess.cpp | 3 extern "C" void *memset(void *, int, unsigned); 11 void *memset(void *, int, unsigned); 33 memset(&x1, 0, sizeof x1); // \ in test_warn() 36 memset(&x2, 0, sizeof x2); // \ in test_warn() 101 memset(&contains_dynamic, 0, sizeof(contains_dynamic)); in test_warn() 104 memset(&deep_contains_dynamic, 0, sizeof(deep_contains_dynamic)); in test_warn() 107 memset(&contains_array_dynamic, 0, sizeof(contains_array_dynamic)); in test_warn() 115 memset(&i, 0, sizeof i); in test_nowarn() 116 memset(&iptr, 0, sizeof iptr); in test_nowarn() 117 memset(&y, 0, sizeof y); in test_nowarn() [all …]
|
D | warn-memsize-comparison.cpp | 5 extern "C" void *memset(void *, int, size_t); 19 if (memset(b1, 0, sizeof(b1) != 0)) {} // \ in f() 23 if (memset(b1, 0, sizeof(b1)) != 0) {} in f() 85 if (memset(b1, 0, sizeof(b1) / 2)) {} in f() 86 if (memset(b1, 0, sizeof(b1) >> 2)) {} in f() 87 if (memset(b1, 0, 4 << 2)) {} in f() 88 if (memset(b1, 0, 4 + 2)) {} in f() 89 if (memset(b1, 0, 4 - 2)) {} in f() 90 if (memset(b1, 0, 4 * 2)) {} in f() 92 if (memset(b1, 0, (size_t)(sizeof(b1) != 0))) {} in f()
|
/external/bluetooth/bluedroid/main/ |
D | bte_init.c | 433 memset((void*)bta_sys_cb_ptr, 0, sizeof(tBTA_SYS_CB)); in BTE_InitStack() 434 memset((void*)bta_dm_cb_ptr, 0, sizeof(tBTA_DM_CB)); in BTE_InitStack() 435 memset((void*)bta_dm_search_cb_ptr, 0, sizeof(tBTA_DM_SEARCH_CB)); in BTE_InitStack() 436 memset((void*)bta_dm_di_cb_ptr, 0, sizeof(tBTA_DM_DI_CB)); in BTE_InitStack() 437 memset((void*)bta_prm_cb_ptr, 0, sizeof(tBTA_PRM_CB)); in BTE_InitStack() 440 memset((void*)bta_acc_cb_ptr, 0, sizeof(tBTA_ACC_CB)); in BTE_InitStack() 441 memset((void*)bta_acs_cb_ptr, 0, sizeof(tBTA_ACS_CB)); in BTE_InitStack() 444 memset((void*)bta_ag_cb_ptr, 0, sizeof(tBTA_AG_CB)); in BTE_InitStack() 447 memset((void*)bta_hs_cb_ptr, 0, sizeof(tBTA_HS_CB)); in BTE_InitStack() 450 memset((void*)bta_dg_cb_ptr, 0, sizeof(tBTA_DG_CB)); in BTE_InitStack() [all …]
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | rtp_fec_unittest.cc | 105 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 106 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() 132 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 133 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() 145 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 146 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() 181 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() 192 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 228 memset(media_loss_mask_, 0, sizeof(media_loss_mask_)); in TEST_F() 229 memset(fec_loss_mask_, 0, sizeof(fec_loss_mask_)); in TEST_F() [all …]
|
/external/webrtc/src/common_audio/signal_processing/ |
D | resample_48khz.c | 55 memset(state->S_48_48, 0, 16 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo16khz() 56 memset(state->S_48_32, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo16khz() 57 memset(state->S_32_16, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo16khz() 93 memset(state->S_16_32, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample16khzTo48khz() 94 memset(state->S_32_24, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample16khzTo48khz() 95 memset(state->S_24_48, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample16khzTo48khz() 137 memset(state->S_48_24, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo8khz() 138 memset(state->S_24_24, 0, 16 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo8khz() 139 memset(state->S_24_16, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo8khz() 140 memset(state->S_16_8, 0, 8 * sizeof(WebRtc_Word32)); in WebRtcSpl_ResetResample48khzTo8khz() [all …]
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
D | resample_48khz.c | 55 memset(state->S_48_48, 0, 16 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo16khz() 56 memset(state->S_48_32, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo16khz() 57 memset(state->S_32_16, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo16khz() 93 memset(state->S_16_32, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample16khzTo48khz() 94 memset(state->S_32_24, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample16khzTo48khz() 95 memset(state->S_24_48, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample16khzTo48khz() 137 memset(state->S_48_24, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo8khz() 138 memset(state->S_24_24, 0, 16 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo8khz() 139 memset(state->S_24_16, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo8khz() 140 memset(state->S_16_8, 0, 8 * sizeof(int32_t)); in WebRtcSpl_ResetResample48khzTo8khz() [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-memset-to-bzero.ll | 5 ; <rdar://problem/14199482> ARM64: Calls to bzero() replaced with calls to memset() 8 ; For small size (<= 256), we do not change memset to bzero. 9 ; CHECK: memset 12 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 256, i32 1, i1 false) 16 declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) 21 ; CHECK-LINUX: memset 24 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 257, i32 1, i1 false) 31 ; CHECK-LINUX: memset 35 tail call void @llvm.memset.p0i8.i64(i8* %ptr, i8 0, i64 %conv, i32 1, i1 false) 41 ; CHECK: memset [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | memset-03.ll | 5 declare void @llvm.memset.p0i8.i32(i8 *nocapture, i8, i32, i32, i1) nounwind 6 declare void @llvm.memset.p0i8.i64(i8 *nocapture, i8, i64, i32, i1) nounwind 13 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 0, i32 1, i1 false) 22 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 0, i32 1, i1 false) 31 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 1, i32 1, i1 false) 40 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 1, i32 1, i1 false) 49 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 2, i32 1, i1 false) 58 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 2, i32 1, i1 false) 68 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 3, i32 1, i1 false) 78 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 3, i32 1, i1 false) [all …]
|
D | memset-04.ll | 5 declare void @llvm.memset.p0i8.i32(i8 *nocapture, i8, i32, i32, i1) nounwind 6 declare void @llvm.memset.p0i8.i64(i8 *nocapture, i8, i64, i32, i1) nounwind 13 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 -1, i32 0, i32 1, i1 false) 22 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 -1, i64 0, i32 1, i1 false) 31 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 -1, i32 1, i32 1, i1 false) 40 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 -1, i64 1, i32 1, i1 false) 49 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 -1, i32 2, i32 1, i1 false) 58 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 -1, i64 2, i32 1, i1 false) 68 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 -1, i32 3, i32 1, i1 false) 78 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 -1, i64 3, i32 1, i1 false) [all …]
|
D | memset-02.ll | 1 ; Test memset in cases where the set value is a constant other than 0 and -1. 5 declare void @llvm.memset.p0i8.i32(i8 *nocapture, i8, i32, i32, i1) nounwind 6 declare void @llvm.memset.p0i8.i64(i8 *nocapture, i8, i64, i32, i1) nounwind 13 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 128, i32 0, i32 1, i1 false) 22 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 128, i64 0, i32 1, i1 false) 31 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 128, i32 1, i32 1, i1 false) 40 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 128, i64 1, i32 1, i1 false) 49 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 128, i32 2, i32 1, i1 false) 58 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 128, i64 2, i32 1, i1 false) 68 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 128, i32 3, i32 1, i1 false) [all …]
|
D | memset-01.ll | 1 ; Test memset in cases where the set value is variable. 5 declare void @llvm.memset.p0i8.i32(i8 *nocapture, i8, i32, i32, i1) nounwind 6 declare void @llvm.memset.p0i8.i64(i8 *nocapture, i8, i64, i32, i1) nounwind 14 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 %val, i32 0, i32 1, i1 false) 24 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 %val, i64 0, i32 1, i1 false) 33 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 %val, i32 1, i32 1, i1 false) 42 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 %val, i64 1, i32 1, i1 false) 52 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 %val, i32 2, i32 1, i1 false) 62 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 %val, i64 2, i32 1, i1 false) 72 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 %val, i32 3, i32 1, i1 false) [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | memset.ll | 1 ; RUN: opt < %s -instcombine -S | not grep "call.*llvm.memset" 6 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 0, i32 1, i1 false) 7 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 1, i32 1, i1 false) 8 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 2, i32 2, i1 false) 9 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 4, i32 4, i1 false) 10 call void @llvm.memset.p0i8.i32(i8* %target_p, i8 1, i32 8, i32 8, i1 false) 14 declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i32, i1) nounwind
|
D | memset-1.ll | 1 ; Test that the memset library call simplifier works correctly. 7 declare i8* @memset(i8*, i32, i32) 9 ; Check memset(mem1, val, size) -> llvm.memset(mem1, val, size, 1). 13 %ret = call i8* @memset(i8* %mem, i32 %val, i32 %size) 14 ; CHECK: call void @llvm.memset
|
D | memset-2.ll | 1 ; Test that the memset library call simplifier works correctly. 7 declare i8 @memset(i8*, i32, i32) 9 ; Check that memset functions with the wrong prototype aren't simplified. 13 %ret = call i8 @memset(i8* %mem, i32 %val, i32 %size) 14 ; CHECK: call i8 @memset
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
D | lp_bld_type.h | 181 memset(&res_type, 0, sizeof res_type); in lp_type_float() 197 memset(&res_type, 0, sizeof res_type); in lp_type_float_vec() 213 memset(&res_type, 0, sizeof res_type); in lp_type_int() 228 memset(&res_type, 0, sizeof res_type); in lp_type_int_vec() 243 memset(&res_type, 0, sizeof res_type); in lp_type_uint() 257 memset(&res_type, 0, sizeof res_type); in lp_type_uint_vec() 270 memset(&res_type, 0, sizeof res_type); in lp_type_unorm() 284 memset(&res_type, 0, sizeof res_type); in lp_type_fixed() 299 memset(&res_type, 0, sizeof res_type); in lp_type_ufixed() 341 memset(&type, 0, sizeof(type)); in lp_float32_vec4_type() [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_type.h | 181 memset(&res_type, 0, sizeof res_type); in lp_type_float() 197 memset(&res_type, 0, sizeof res_type); in lp_type_float_vec() 213 memset(&res_type, 0, sizeof res_type); in lp_type_int() 228 memset(&res_type, 0, sizeof res_type); in lp_type_int_vec() 243 memset(&res_type, 0, sizeof res_type); in lp_type_uint() 257 memset(&res_type, 0, sizeof res_type); in lp_type_uint_vec() 270 memset(&res_type, 0, sizeof res_type); in lp_type_unorm() 284 memset(&res_type, 0, sizeof res_type); in lp_type_fixed() 299 memset(&res_type, 0, sizeof res_type); in lp_type_ufixed() 341 memset(&type, 0, sizeof(type)); in lp_float32_vec4_type() [all …]
|
/external/libyuv/files/unit_test/ |
D | rotate_test.cc | 727 memset(orig_y, 0, y_plane_size); in TEST_F() 728 memset(orig_u, 0, uv_plane_size); in TEST_F() 729 memset(orig_v, 0, uv_plane_size); in TEST_F() 730 memset(ro0_y, 0, y_plane_size); in TEST_F() 731 memset(ro0_u, 0, uv_plane_size); in TEST_F() 732 memset(ro0_v, 0, uv_plane_size); in TEST_F() 733 memset(ro90_y, 0, y_plane_size); in TEST_F() 734 memset(ro90_u, 0, uv_plane_size); in TEST_F() 735 memset(ro90_v, 0, uv_plane_size); in TEST_F() 736 memset(ro270_y, 0, y_plane_size); in TEST_F() [all …]
|
/external/llvm/test/Analysis/BasicAA/ |
D | getmodrefinfo-cs-cs.ll | 15 …CHECK: NoModRef: call void @llvm.memset.p0i8.i64(i8* @A, i8 0, i64 1, i32 1, i1 false) <-> cal… 16 …CHECK: NoModRef: call void @llvm.memset.p0i8.i64(i8* @B, i8 0, i64 1, i32 1, i1 false) <-> cal… 18 declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind 23 call void @llvm.memset.p0i8.i64(i8* @A, i8 0, i64 1, i32 1, i1 false) 24 call void @llvm.memset.p0i8.i64(i8* @B, i8 0, i64 1, i32 1, i1 false)
|
/external/chromium_org/third_party/libyuv/unit_test/ |
D | compare_test.cc | 103 memset(src_a, 0, kMaxTest); in TEST_F() 109 memset(src_a, 0, kMaxTest); in TEST_F() 153 memset(src_a, 0, kMaxWidth); in TEST_F() 154 memset(src_b, 0, kMaxWidth); in TEST_F() 165 memset(src_a, 0, kMaxWidth); in TEST_F() 166 memset(src_b, 0, kMaxWidth); in TEST_F() 184 memset(src_a, 0, kMaxWidth); in TEST_F() 185 memset(src_b, 0, kMaxWidth); in TEST_F() 192 memset(src_a, 1, kMaxWidth); in TEST_F() 197 memset(src_a, 190, kMaxWidth); in TEST_F() [all …]
|
/external/chromium_org/ui/events/ozone/evdev/ |
D | event_device_info.cc | 50 memset(ev_bits_, 0, sizeof(ev_bits_)); in EventDeviceInfo() 51 memset(key_bits_, 0, sizeof(key_bits_)); in EventDeviceInfo() 52 memset(rel_bits_, 0, sizeof(rel_bits_)); in EventDeviceInfo() 53 memset(abs_bits_, 0, sizeof(abs_bits_)); in EventDeviceInfo() 54 memset(msc_bits_, 0, sizeof(msc_bits_)); in EventDeviceInfo() 55 memset(sw_bits_, 0, sizeof(sw_bits_)); in EventDeviceInfo() 56 memset(led_bits_, 0, sizeof(led_bits_)); in EventDeviceInfo() 57 memset(prop_bits_, 0, sizeof(prop_bits_)); in EventDeviceInfo() 58 memset(abs_info_, 0, sizeof(abs_info_)); in EventDeviceInfo()
|
/external/chromium_org/gpu/command_buffer/tests/ |
D | gl_chromium_path_rendering_unittest.cc | 61 memset(mf, 0, sizeof(mf)); in TEST_F() 62 memset(mi, 0, sizeof(mi)); in TEST_F() 69 memset(mf, 0, sizeof(mf)); in TEST_F() 70 memset(mi, 0, sizeof(mi)); in TEST_F() 77 memset(mf, 0, sizeof(mf)); in TEST_F() 78 memset(mi, 0, sizeof(mi)); in TEST_F() 93 memset(mf, 0, sizeof(mf)); in TEST_F()
|
/external/chromium_org/third_party/webrtc/common_video/ |
D | i420_video_frame_unittest.cc | 106 memset(buffer_y, 16, kSizeY); in TEST() 107 memset(buffer_u, 8, kSizeU); in TEST() 108 memset(buffer_v, 4, kSizeV); in TEST() 134 memset(buffer_y, 16, kSizeY); in TEST() 135 memset(buffer_u, 8, kSizeU); in TEST() 136 memset(buffer_v, 4, kSizeV); in TEST() 161 memset(buffer_y, 16, kSizeY); in TEST() 162 memset(buffer_u, 8, kSizeUv); in TEST() 163 memset(buffer_v, 4, kSizeUv); in TEST() 212 memset(buffer_y1, 2, kSizeY1); in TEST() [all …]
|
/external/linux-tools-perf/perf-3.12.0/arch/avr32/lib/ |
D | memset.S | 23 .global memset symbol 24 .type memset, @function 26 memset: label 72 .size memset, . - memset
|
/external/llvm/test/CodeGen/X86/ |
D | memset-2.ll | 3 declare void @llvm.memset.i32(i8*, i8, i32, i32) nounwind 9 call void @llvm.memset.p0i8.i32(i8* null, i8 0, i32 188, i32 1, i1 false) 17 call void @llvm.memset.p0i8.i32(i8* undef, i8 %c, i32 76, i32 1, i1 false) 21 declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i32, i1) nounwind 25 tail call void @llvm.memset.p0i8.i32(i8* %s, i8 %a, i32 8, i32 1, i1 false) 33 tail call void @llvm.memset.p0i8.i32(i8* %s, i8 %a, i32 15, i32 1, i1 false)
|