Home
last modified time | relevance | path

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

12345678910>>...144

/external/clang/test/SemaCXX/
Dwarn-memset-bad-sizeof.cpp3 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 …]
Dwarn-bad-memaccess.cpp3 extern "C" void *memset(void *, int, unsigned);
11 void *memset(void *, int, unsigned);
28 memset(&x1, 0, sizeof x1); // \ in test_warn()
31 memset(&x2, 0, sizeof x2); // \ in test_warn()
100 memset(&i, 0, sizeof i); in test_nowarn()
101 memset(&iptr, 0, sizeof iptr); in test_nowarn()
102 memset(&y, 0, sizeof y); in test_nowarn()
103 memset(&c, 0, sizeof c); in test_nowarn()
104 memset(void_ptr, 0, 42); in test_nowarn()
105 memset(&s1, 0, sizeof s1); in test_nowarn()
[all …]
/external/bluetooth/bluedroid/main/
Dbte_init.c433 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/webrtc/src/common_audio/signal_processing/
Dresample_48khz.c55 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/llvm/test/CodeGen/SystemZ/
Dmemset-03.ll5 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 …]
Dmemset-04.ll5 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 …]
Dmemset-02.ll1 ; 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 …]
Dmemset-01.ll1 ; 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/
Dmemset.ll1 ; 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
Dmemset-1.ll1 ; 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
Dmemset-2.ll1 ; 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/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_type.h181 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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
Dlp_bld_type.h181 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/chromium_org/ui/events/ozone/evdev/
Devent_device_info.cc46 memset(ev_bits_, 0, sizeof(ev_bits_)); in EventDeviceInfo()
47 memset(key_bits_, 0, sizeof(key_bits_)); in EventDeviceInfo()
48 memset(rel_bits_, 0, sizeof(rel_bits_)); in EventDeviceInfo()
49 memset(abs_bits_, 0, sizeof(abs_bits_)); in EventDeviceInfo()
50 memset(msc_bits_, 0, sizeof(msc_bits_)); in EventDeviceInfo()
51 memset(sw_bits_, 0, sizeof(sw_bits_)); in EventDeviceInfo()
52 memset(led_bits_, 0, sizeof(led_bits_)); in EventDeviceInfo()
53 memset(prop_bits_, 0, sizeof(prop_bits_)); in EventDeviceInfo()
/external/libyuv/files/unit_test/
Drotate_test.cc727 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/
Dgetmodrefinfo-cs-cs.ll15 …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/content/common/gpu/media/
Dexynos_video_encode_accelerator.cc191 memset(&caps, 0, sizeof(caps)); in Initialize()
213 memset(&caps, 0, sizeof(caps)); in Initialize()
416 memset(&ctrls, 0, sizeof(ctrls)); in EncodeTask()
417 memset(&control, 0, sizeof(control)); in EncodeTask()
580 memset(&dqbuf, 0, sizeof(dqbuf)); in DequeueGsc()
581 memset(&planes, 0, sizeof(planes)); in DequeueGsc()
609 memset(&dqbuf, 0, sizeof(dqbuf)); in DequeueGsc()
610 memset(&planes, 0, sizeof(planes)); in DequeueGsc()
687 memset(&dqbuf, 0, sizeof(dqbuf)); in DequeueMfc()
688 memset(&planes, 0, sizeof(planes)); in DequeueMfc()
[all …]
/external/llvm/test/CodeGen/X86/
Dmemset-2.ll3 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)
/external/valgrind/main/helgrind/tests/
Dtc20_verifywrap.c91 memset( &mxa, 0xFF, sizeof(mxa) ); in main()
107 memset( &mx3, 0xFF, sizeof(mx3) ); in main()
115 memset( &mx3, 0xFF, sizeof(mx3) ); in main()
119 memset( &abstime, 0, sizeof(abstime) ); in main()
120 memset( &mx3, 0xFF, sizeof(mx3) ); in main()
124 memset( &mx3, 0xFF, sizeof(mx3) ); in main()
163 memset( &abstime, 0, sizeof(abstime) ); in main()
241 memset(&s1, 0x55, sizeof(s1)); in main()
/external/valgrind/main/none/tests/amd64/
Dpcmpxstrx64w.c69 memset(blockC, 0x55, 80); in one_test()
98 memset(blockC, 0x55, 80); in one_test()
127 memset(blockC, 0x55, 80); in one_test()
156 memset(blockC, 0x55, 80); in one_test()
185 memset(blockC, 0x55, 80); in one_test()
214 memset(blockC, 0x55, 80); in one_test()
243 memset(blockC, 0x55, 80); in one_test()
272 memset(blockC, 0x55, 80); in one_test()
Dpcmpxstrx64.c68 memset(blockC, 0x55, 80); in one_test()
97 memset(blockC, 0x55, 80); in one_test()
126 memset(blockC, 0x55, 80); in one_test()
155 memset(blockC, 0x55, 80); in one_test()
184 memset(blockC, 0x55, 80); in one_test()
213 memset(blockC, 0x55, 80); in one_test()
242 memset(blockC, 0x55, 80); in one_test()
271 memset(blockC, 0x55, 80); in one_test()
/external/chromium_org/third_party/openssl/openssl/crypto/des/
Ddestest.c372 memset(cbc_out,0,40); in main()
373 memset(cbc_in,0,40); in main()
377 memset(iv2,'\0',sizeof iv2); in main()
391 memset(iv2,'\0',sizeof iv2); in main()
413 memset(out,0,8); in main()
414 memset(outin,0,8); in main()
441 memset(out,0,8); in main()
442 memset(outin,0,8); in main()
468 memset(cbc_out,0,40); in main()
469 memset(cbc_in,0,40); in main()
[all …]
/external/openssl/crypto/des/
Ddestest.c372 memset(cbc_out,0,40); in main()
373 memset(cbc_in,0,40); in main()
377 memset(iv2,'\0',sizeof iv2); in main()
391 memset(iv2,'\0',sizeof iv2); in main()
413 memset(out,0,8); in main()
414 memset(outin,0,8); in main()
441 memset(out,0,8); in main()
442 memset(outin,0,8); in main()
468 memset(cbc_out,0,40); in main()
469 memset(cbc_in,0,40); in main()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/buffer/
Dbuffer.c91 memset(a->data,0,(unsigned int)a->max); in BUF_MEM_free()
109 memset(&str->data[str->length],0,len-str->length); in BUF_MEM_grow()
133 memset(&str->data[str->length],0,len-str->length); in BUF_MEM_grow()
146 memset(&str->data[len],0,str->length-len); in BUF_MEM_grow_clean()
152 memset(&str->data[str->length],0,len-str->length); in BUF_MEM_grow_clean()
176 memset(&str->data[str->length],0,len-str->length); in BUF_MEM_grow_clean()
/external/openssl/crypto/buffer/
Dbuffer.c91 memset(a->data,0,(unsigned int)a->max); in BUF_MEM_free()
109 memset(&str->data[str->length],0,len-str->length); in BUF_MEM_grow()
133 memset(&str->data[str->length],0,len-str->length); in BUF_MEM_grow()
146 memset(&str->data[len],0,str->length-len); in BUF_MEM_grow_clean()
152 memset(&str->data[str->length],0,len-str->length); in BUF_MEM_grow_clean()
176 memset(&str->data[str->length],0,len-str->length); in BUF_MEM_grow_clean()

12345678910>>...144