Home
last modified time | relevance | path

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

1234

/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() function
52 Memset &operator=(const Memset &rhs) in operator =() argument
61 Memset(const Memset &&rhs) = delete;
62 Memset &operator=(const Memset &&rhs) = delete;
DBlitter.hpp76 struct State : Memset<State>, Options
79 : Memset(this, 0) in State()
82 : Memset(this, 0) in State()
86 : Memset(this, 0) in State()
DSetupProcessor.hpp38 struct States : Memset<States>
41 : 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_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_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_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_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()
Dvboot_common_tests.c155 Memset(j, 0, sizeof(j)); in PublicKeyTest()
156 Memset(k, 0x42, sizeof(k)); in PublicKeyTest()
207 Memset(buf, 0x68, sizeof(buf)); in VbSharedDataTest()
/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/pigweed/pw_libc/
Dmemset_test.cc46 TEST(Memset, EmptyCase) { in TEST() argument
58 TEST(Memset, OneCharacter) { in TEST() argument
72 TEST(Memset, MultipleSizesMultipleAlignments) { in TEST() argument
/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/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp444 void llvm::expandMemSetAsLoop(MemSetInst *Memset) { in expandMemSetAsLoop() argument
445 createMemSetLoop(/* InsertBefore */ Memset, in expandMemSetAsLoop()
446 /* DstAddr */ Memset->getRawDest(), in expandMemSetAsLoop()
447 /* CopyLen */ Memset->getLength(), in expandMemSetAsLoop()
448 /* SetValue */ Memset->getValue(), in expandMemSetAsLoop()
449 /* Alignment */ Memset->getDestAlignment(), in expandMemSetAsLoop()
450 Memset->isVolatile()); in expandMemSetAsLoop()
/external/libgav1/src/utils/
Dmemory.h94 inline void Memset(uint8_t* const dst, int value, size_t count) { in Memset() function
98 inline void Memset(uint16_t* const dst, int value, size_t count) { in Memset() function
104 inline void Memset(int16_t* const dst, int value, size_t count) { in Memset() function
/external/libhevc/common/arm/
Dihevc_mem_fns.s156 @ Memset 8 bytes
225 @ Memset 8 words
257 @ Memset 8 words

1234