Home
last modified time | relevance | path

Searched refs:Memset (Results 1 – 25 of 108) sorted by relevance

12345

/external/swiftshader/src/Device/
DMemset.hpp36 struct Memset struct
38 Memset(T *object, int val) in Memset() argument
40 …static_assert(std::is_base_of<Memset<T>, T>::value, "Memset<T> must only clear the memory of a typ… in Memset()
47 Memset(const Memset &rhs) in Memset() argument
52 Memset &operator=(const Memset &rhs) in operator =() argument
61 Memset(const Memset &&rhs) = delete;
62 Memset &operator=(const Memset &&rhs) = delete;
DBlitter.hpp77 struct State : Memset<State>, Options
80 : Memset(this, 0) in State()
83 : Memset(this, 0) in State()
87 : Memset(this, 0) in State()
DSetupProcessor.hpp40 struct States : Memset<States>
43 : Memset(this, 0) in States()
DVertexProcessor.hpp59 struct States : Memset<States>
62 : Memset(this, 0) in States()
/external/vboot_reference/tests/
Drollback_index2_tests.c67 Memset(&noise_on, 0, sizeof(noise_on)); in ResetMocks()
69 Memset(&mock_pflags, 0, sizeof(mock_pflags)); in ResetMocks()
70 Memset(&mock_rsf, 0, sizeof(mock_rsf)); in ResetMocks()
71 Memset(&mock_rsk, 0, sizeof(mock_rsk)); in ResetMocks()
139 Memset(data, 0, length); in TlclRead()
282 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware()
292 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware()
306 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware()
322 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware()
323 Memset(noise_on, 1, sizeof(noise_on)); in CrcTestFirmware()
[all …]
Dvboot_kernel_tests.c77 Memset(h, '\0', MOCK_SECTOR_SIZE); in SetupGptHeader()
313 Memset(g.primary_header, '\0', g.sector_bytes); in ReadWriteGptTest()
322 Memset(mock_gpt_primary, '\0', sizeof(*mock_gpt_primary)); in ReadWriteGptTest()
341 Memset(mock_gpt_secondary, '\0', sizeof(*mock_gpt_secondary)); in ReadWriteGptTest()
360 Memset(mock_gpt_primary, '\0', sizeof(*mock_gpt_primary)); in ReadWriteGptTest()
361 Memset(mock_gpt_secondary, '\0', sizeof(*mock_gpt_secondary)); in ReadWriteGptTest()
382 Memset(mock_gpt_primary, '\0', sizeof(*mock_gpt_primary)); in ReadWriteGptTest()
407 Memset(mock_gpt_secondary, '\0', sizeof(*mock_gpt_secondary)); in ReadWriteGptTest()
429 Memset(g.primary_header, '\0', g.sector_bytes); in ReadWriteGptTest()
443 Memset(g.primary_header, '\0', g.sector_bytes); in ReadWriteGptTest()
[all …]
Dvboot_api_kernel3_tests.c53 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
58 Memset(&gbb, 0, sizeof(gbb)); in ResetMocks()
67 Memset(VbApiKernelGetVnc(), 0, sizeof(VbNvContext)); in ResetMocks()
71 Memset(&shared_data, 0, sizeof(shared_data)); in ResetMocks()
86 Memset(mock_ec_hash, 0, sizeof(mock_ec_hash)); in ResetMocks()
90 Memset(want_ec_hash, 0, sizeof(want_ec_hash)); in ResetMocks()
94 Memset(mock_sha, 0, sizeof(want_ec_hash)); in ResetMocks()
99 Memset(screens_displayed, 0, sizeof(screens_displayed)); in ResetMocks()
Dvboot_api_kernel4_tests.c40 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
46 Memset(&kparams, 0, sizeof(kparams)); in ResetMocks()
48 Memset(&gbb, 0, sizeof(gbb)); in ResetMocks()
53 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks()
57 Memset(&shared_data, 0, sizeof(shared_data)); in ResetMocks()
Dvboot_api_devmode_tests.c152 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
158 Memset(&lkparams, 0, sizeof(lkparams)); in ResetMocks()
160 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks()
164 Memset(&shared_data, 0, sizeof(shared_data)); in ResetMocks()
168 Memset(&gbb, 0, sizeof(gbb)); in ResetMocks()
Dvboot_api_firmware_tests.c48 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
52 Memset(&fparams, 0, sizeof(fparams)); in ResetMocks()
54 Memset(&gbb, 0, sizeof(gbb)); in ResetMocks()
59 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks()
63 Memset(&shared_data, 0, sizeof(shared_data)); in ResetMocks()
Dvboot_api_kernel2_tests.c53 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
59 Memset(&gbb, 0, sizeof(gbb)); in ResetMocks()
68 Memset(VbApiKernelGetVnc(), 0, sizeof(VbNvContext)); in ResetMocks()
72 Memset(&shared_data, 0, sizeof(shared_data)); in ResetMocks()
75 Memset(&lkp, 0, sizeof(lkp)); in ResetMocks()
85 Memset(screens_displayed, 0, sizeof(screens_displayed)); in ResetMocks()
88 Memset(mock_keypress, 0, sizeof(mock_keypress)); in ResetMocks()
89 Memset(mock_keyflags, 0, sizeof(mock_keyflags)); in ResetMocks()
92 Memset(mock_switches, 0, sizeof(mock_switches)); in ResetMocks()
96 Memset(mock_num_disks, 0, sizeof(mock_num_disks)); in ResetMocks()
Dvboot_region_tests.c48 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks()
52 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
56 Memset(&fparams, 0, sizeof(fparams)); in ResetMocks()
58 Memset(gbb_data, 0, sizeof(gbb_data)); in ResetMocks()
105 Memset(&shared_data, 0, sizeof(shared_data)); in ResetMocks()
Dvboot_firmware_tests.c46 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
52 Memset(&fparams, 0, sizeof(fparams)); in ResetMocks()
58 Memset(vblock, 0, sizeof(vblock)); in ResetMocks()
59 Memset(mpreamble, 0, sizeof(mpreamble)); in ResetMocks()
77 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks()
80 Memset(&shared_data, 0, sizeof(shared_data)); in ResetMocks()
84 Memset(&gbb_data, 0, sizeof(gbb_data)); in ResetMocks()
95 Memset(&data_key, 0, sizeof(data_key)); in ResetMocks()
Dvboot_display_tests.c38 Memset(gbb_data, 0, sizeof(gbb_data)); in ResetMocks()
58 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
78 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks()
82 Memset(&shared_data, 0, sizeof(shared_data)); in ResetMocks()
Dvboot_api_init_tests.c42 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
48 Memset(&gbb, 0, sizeof(gbb)); in ResetMocks()
53 Memset(&iparams, 0, sizeof(iparams)); in ResetMocks()
55 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks()
59 Memset(backup_space, 0, sizeof(backup_space)); in ResetMocks()
63 Memset(&shared_data, 0, sizeof(shared_data)); in ResetMocks()
588 Memset(&tmp_vnc, 0, sizeof(tmp_vnc)); in VbInitTestBackup()
674 Memset(&tmp_vnc, 0, sizeof(tmp_vnc)); in VbInitTestBackup()
/external/vboot_reference/firmware/lib/tpm_lite/
Dmocked_tlcl.c50 Memset(data, '\0', length); in TlclRead()
55 Memset(data, '\0', length); in TlclPCRRead()
112 Memset(pflags, '\0', sizeof(*pflags)); in TlclGetPermanentFlags()
117 Memset(vflags, '\0', sizeof(*vflags)); in TlclGetSTClearFlags()
153 Memset(data, '\x9', *size); in TlclGetRandom()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerIntrinsics.cpp96 auto *Memset = cast<MemSetInst>(Inst); in expandMemIntrinsicUses() local
97 if (shouldExpandOperationWithSize(Memset->getLength())) { in expandMemIntrinsicUses()
98 expandMemSetAsLoop(Memset); in expandMemIntrinsicUses()
100 Memset->eraseFromParent(); in expandMemIntrinsicUses()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULowerIntrinsics.cpp104 auto *Memset = cast<MemSetInst>(Inst); in expandMemIntrinsicUses() local
105 if (shouldExpandOperationWithSize(Memset->getLength())) { in expandMemIntrinsicUses()
106 expandMemSetAsLoop(Memset); in expandMemIntrinsicUses()
108 Memset->eraseFromParent(); in expandMemIntrinsicUses()
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/
Dtsan_string.cpp29 MainThread().Memset(data+1, 13, 5); in TEST()
77 t1.Memset(data, 1, 10); in TEST()
78 t2.Memset(data, 2, 10, true); in TEST()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_string.cc30 MainThread().Memset(data+1, 13, 5); in TEST()
78 t1.Memset(data, 1, 10); in TEST()
79 t2.Memset(data, 2, 10, true); in TEST()
/external/swiftshader/src/Renderer/
DLRUCache.hpp53 struct Memset struct
55 Memset(T *object, int val) in Memset() argument
57 …static_assert(std::is_base_of<Memset<T>, T>::value, "Memset<T> must only clear the memory of a typ… in Memset()
DBlitter.hpp56 struct State : Memset<State>, Options
58 State() : Memset(this, 0) {} in State()
59 State(const Options &options) : Memset(this, 0), Options(options) {} in State()
DSetupProcessor.hpp36 struct States : Memset<States>
38 States() : Memset(this, 0) {} in States()
/external/vboot_reference/utility/
Dload_kernel_test.c92 Memset(&lkp, 0, sizeof(LoadKernelParams)); in main()
95 Memset(&vnc, 0, sizeof(VbNvContext)); in main()
98 Memset(&cparams, 0, sizeof(VbCommonParams)); in main()
163 Memset(gbb, 0, lkp.gbb_size); in main()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp325 } else if (MemSetInst *Memset = dyn_cast<MemSetInst>(MemCall)) { in runOnFunction() local
326 convertMemSetToLoop(/* ConvertedInst */ Memset, in runOnFunction()
327 /* DstAddr */ Memset->getRawDest(), in runOnFunction()
328 /* CopyLen */ Memset->getLength(), in runOnFunction()
329 /* SetValue */ Memset->getValue(), in runOnFunction()

12345