/external/swiftshader/src/Device/ |
D | Memset.hpp | 36 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;
|
D | Blitter.hpp | 77 struct State : Memset<State>, Options 80 : Memset(this, 0) in State() 83 : Memset(this, 0) in State() 87 : Memset(this, 0) in State()
|
D | SetupProcessor.hpp | 40 struct States : Memset<States> 43 : Memset(this, 0) in States()
|
D | VertexProcessor.hpp | 59 struct States : Memset<States> 62 : Memset(this, 0) in States()
|
/external/vboot_reference/tests/ |
D | rollback_index2_tests.c | 67 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 …]
|
D | vboot_kernel_tests.c | 77 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 …]
|
D | vboot_api_kernel3_tests.c | 53 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()
|
D | vboot_api_kernel4_tests.c | 40 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()
|
D | vboot_api_devmode_tests.c | 152 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()
|
D | vboot_api_firmware_tests.c | 48 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()
|
D | vboot_api_kernel2_tests.c | 53 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()
|
D | vboot_region_tests.c | 48 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()
|
D | vboot_firmware_tests.c | 46 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()
|
D | vboot_display_tests.c | 38 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()
|
D | vboot_api_init_tests.c | 42 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/ |
D | mocked_tlcl.c | 50 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/ |
D | AMDGPULowerIntrinsics.cpp | 96 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/ |
D | AMDGPULowerIntrinsics.cpp | 104 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/ |
D | tsan_string.cpp | 29 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/ |
D | tsan_string.cc | 30 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/ |
D | LRUCache.hpp | 53 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()
|
D | Blitter.hpp | 56 struct State : Memset<State>, Options 58 State() : Memset(this, 0) {} in State() 59 State(const Options &options) : Memset(this, 0), Options(options) {} in State()
|
D | SetupProcessor.hpp | 36 struct States : Memset<States> 38 States() : Memset(this, 0) {} in States()
|
/external/vboot_reference/utility/ |
D | load_kernel_test.c | 92 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/ |
D | NVPTXLowerAggrCopies.cpp | 325 } 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()
|