/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | memory_test.cpp | 60 auto memory = std::make_shared<DfxMemory>(acc); in HWTEST_F() local 61 memory->SetCtx(&ctx); in HWTEST_F() 63 bool ret = memory->ReadReg(0, &value); in HWTEST_F() 82 auto memory = std::make_shared<DfxMemory>(acc); in HWTEST_F() local 83 bool ret = memory->ReadUptr(addr, &value, false); in HWTEST_F() 88 memory->Read(addr, &tmp, sizeof(uint8_t), false); in HWTEST_F() 91 memory->Read(addr, &tmp, sizeof(uint16_t), false); in HWTEST_F() 94 memory->Read(addr, &tmp, sizeof(uint32_t), false); in HWTEST_F() 97 memory->Read(addr, &tmp, sizeof(uint64_t), false); in HWTEST_F() 115 auto memory in HWTEST_F() local 154 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 184 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 211 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 233 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 259 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 302 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 352 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 394 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 430 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 455 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local [all...] |
H A D | dwarf_test.cpp | 24 #include <memory> 67 explicit DwarfSectionTest(std::shared_ptr<DfxMemory> memory) : DwarfSection(memory) {}; in DwarfSectionTest() argument 139 bool Test04(std::shared_ptr<DfxMemoryTest> memory); 140 bool Test05(std::shared_ptr<DfxMemoryTest> memory); 144 bool Test09(std::shared_ptr<DfxMemoryTest> memory); 145 bool Test10(std::shared_ptr<DfxMemoryTest> memory); 179 bool DwarfOpTest::Test04(std::shared_ptr<DfxMemoryTest> memory) in Test04() argument 201 memory->SetBuffer(valuePtr, valueData); in Test04() 202 memory in Test04() 255 Test05(std::shared_ptr<DfxMemoryTest> memory) Test05() argument 409 Test09(std::shared_ptr<DfxMemoryTest> memory) Test09() argument 448 Test10(std::shared_ptr<DfxMemoryTest> memory) Test10() argument 531 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 762 auto memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 811 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 834 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 859 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 893 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 930 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 964 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 1000 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 1034 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 1067 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 1096 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 1129 auto memory = std::make_shared<DfxMemoryTest>(); HWTEST_F() local 1165 auto memory = std::make_shared<DfxMemory>(); HWTEST_F() local 1209 auto memory = std::make_shared<DfxMemory>(); HWTEST_F() local [all...] |
H A D | arm_exidx_test.cpp | 65 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); in HWTEST_F() local 66 ArmExidx exidx(memory); in HWTEST_F() 83 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); in HWTEST_F() local 84 ArmExidx exidx(memory); in HWTEST_F() 106 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); in HWTEST_F() local 107 ArmExidx exidx(memory); in HWTEST_F() 164 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); in HWTEST_F() local 165 ArmExidx exidx(memory); in HWTEST_F() 184 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); in HWTEST_F() local 185 ArmExidx exidx(memory); in HWTEST_F() 204 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 225 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 248 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 271 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 294 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 319 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 346 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 368 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 393 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 414 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 435 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 457 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 483 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 538 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local 572 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); HWTEST_F() local [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_instructions.cpp | 38 bool DfxInstructions::Flush(DfxRegs& regs, std::shared_ptr<DfxMemory> memory, uintptr_t cfa, RegLoc loc, uintptr_t& val) in Flush() argument 40 if (memory == nullptr) { in Flush() 50 memory->ReadUptr(location, &val); in Flush() 61 DwarfOp<uintptr_t> dwarfOp(memory); in Flush() 63 memory->ReadUptr(location, &val); in Flush() 67 DwarfOp<uintptr_t> dwarfOp(memory); in Flush() 78 bool DfxInstructions::Apply(std::shared_ptr<DfxMemory> memory, DfxRegs& regs, RegLocState& rsState, uint16_t& errCode) in Apply() argument 87 if (!Flush(regs, memory, 0, cfaLoc, cfa)) { in Apply() 101 if (Flush(regs, memory, cfa, rsState.locs[i], regs[reg])) { in Apply()
|
H A D | dfx_regs_x86_64.cpp | 64 bool DfxRegsX86_64::SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) in SetPcFromReturnAddress() argument 67 if (!memory->ReadUptr(regsData_[REG_SP], &newPc, false) || in SetPcFromReturnAddress() 97 bool DfxRegsX86_64::StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) in StepIfSignalFrame() argument 100 if (!memory->ReadU64(pc, &data, false)) { in StepIfSignalFrame() 115 if (!memory->ReadU16(pc, &data2, false) || (data2 != 0x0f05)) { in StepIfSignalFrame() 125 memory->Read(scAddr, &ucontext.uc_mcontext, sizeof(ucontext.uc_mcontext), false); in StepIfSignalFrame()
|
H A D | dfx_regs_arm.cpp | 95 bool DfxRegsArm::SetPcFromReturnAddress(MAYBE_UNUSED std::shared_ptr<DfxMemory> memory) in SetPcFromReturnAddress() argument 126 bool DfxRegsArm::StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) in StepIfSignalFrame() argument 132 if (!memory->ReadU32(pc, &data, false)) { in StepIfSignalFrame() 154 if (!memory->ReadU32(spAddr, &data, false)) { in StepIfSignalFrame() 180 if (!memory->ReadU32(spAddr, &data, false)) { in StepIfSignalFrame() 195 memory->Read(scAddr, regsData_.data(), sizeof(uint32_t) * REG_LAST, false); in StepIfSignalFrame()
|
/base/security/device_security_level/test/dslm_unit_test/ |
H A D | dslm_memory_mock.cpp | 30 void MockFree::Free(void *memory) in Free() argument 32 return free(memory); in Free() 45 IMPLEMENT_FUNCTION_WITH_INVOKER(MockFree, void, UtilsFree, (void *memory), MockFree::Free);
|
H A D | dslm_memory_mock.h | 35 DECLARE_METHOD(void, UtilsFree, (void *memory)); 37 static void Free(void *memory);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_regs.h | 20 #include <memory> 45 virtual bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) = 0; 46 virtual bool StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) = 0; 82 bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) override; 83 bool StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) override; 96 bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) override; 97 bool StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) override; 110 bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) override; 111 bool StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) override; 124 bool SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) overrid [all...] |
H A D | dwarf_cfa_instructions.h | 20 #include <memory>
31 DwarfCfaInstructions(std::shared_ptr<DfxMemory> memory) : memory_(memory) {};
in DwarfCfaInstructions() argument
|
H A D | dfx_instructions.h | 33 static bool Apply(std::shared_ptr<DfxMemory> memory, DfxRegs& regs, RegLocState& rsState, uint16_t& errCode); 36 static bool Flush(DfxRegs& dfxRegs, std::shared_ptr<DfxMemory> memory, uintptr_t cfa, RegLoc loc, uintptr_t& val);
|
H A D | dwarf_section.h | 19 #include <memory>
31 explicit DwarfSection(std::shared_ptr<DfxMemory> memory);
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | memory_collector_impl.cpp | 248 {"Rss", [] (ProcessMemory& memory, int32_t value) {
in SetValueOfProcessMemory() 249 memory.rss = value;
in SetValueOfProcessMemory() 251 {"Pss", [] (ProcessMemory& memory, int32_t value) {
in SetValueOfProcessMemory() 252 memory.pss = value;
in SetValueOfProcessMemory() 254 {"Shared_Dirty", [] (ProcessMemory& memory, int32_t value) {
in SetValueOfProcessMemory() 255 memory.sharedDirty = value;
in SetValueOfProcessMemory() 257 {"Private_Dirty", [] (ProcessMemory& memory, int32_t value) {
in SetValueOfProcessMemory() 258 memory.privateDirty = value;
in SetValueOfProcessMemory() 260 {"SwapPss", [] (ProcessMemory& memory, int32_t value) {
in SetValueOfProcessMemory() 261 memory in SetValueOfProcessMemory() 278 InitSmapsOfProcessMemory(const std::string& procDir, ProcessMemory& memory) InitSmapsOfProcessMemory() argument 297 InitAdjOfProcessMemory(const std::string& procDir, ProcessMemory& memory) InitAdjOfProcessMemory() argument 310 InitProcessMemory(int32_t pid, ProcessMemory& memory) InitProcessMemory() argument [all...] |
/base/update/updater/test/unittest/diffpatch/ |
H A D | image_patch_unittest.cpp | 45 PkgManager::StreamPtr &stream, bool memory, size_t expandedLen) in TestDecompressData() 47 return DecompressData(pkgManager, buffer, stream, memory, expandedLen); in TestDecompressData() 97 bool memory = false; in HWTEST_F() local 99 int32_t ret = test.TestDecompressData(pkgManager, buffer, stream, memory, expandedLen); in HWTEST_F() 102 ret = test.TestDecompressData(pkgManager, buffer, stream, memory, expandedLen); in HWTEST_F() 105 ret = test.TestDecompressData(pkgManager, buffer, stream, memory, expandedLen); in HWTEST_F() 44 TestDecompressData(PkgManager::PkgManagerPtr &pkgManager, PkgBuffer buffer, PkgManager::StreamPtr &stream, bool memory, size_t expandedLen) TestDecompressData() argument
|
/base/security/device_security_level/baselib/utils/src/ |
H A D | utils_mem.c | 35 void UtilsFree(void *memory) in UtilsFree() argument 37 return free(memory); in UtilsFree()
|
/base/update/updater/services/diffpatch/ |
H A D | diffpatch.h | 151 uint8_t *memory {};
156 if (memory != nullptr) {
in ~MemMapInfo() 157 munmap(memory, length);
in ~MemMapInfo() 159 memory = nullptr;
in ~MemMapInfo()
|
/base/customization/enterprise_device_management/framework/extension/include/ |
H A D | js_enterprise_admin_extension_context.h | 19 #include <memory>
|
/base/global/resource_management/interfaces/cj/src/ |
H A D | utils.h | 20 #include <memory>
|
/base/powermgr/power_manager/frameworks/napi/utils/ |
H A D | runninglock_entity.h | 19 #include <memory>
|
/base/notification/common_event_service/frameworks/extension/include/ |
H A D | js_static_subscriber_extension_context.h | 19 #include <memory>
|
/base/security/device_security_level/baselib/utils/include/ |
H A D | utils_mem.h | 30 void UtilsFree(void *memory);
|
/base/hiviewdfx/hidumper/frameworks/native/include/factory/ |
H A D | executor_factory.h | 18 #include <memory>
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/ |
H A D | hiappevent_write.h | 18 #include <memory>
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | lock_parser.h | 20 #include <memory>
|
/base/request/request/pre_download/native/include/ |
H A D | pre_download.h | 19 #include <memory>
|