Home
last modified time | relevance | path

Searched refs:startAddr (Results 1 – 21 of 21) sorted by relevance

/developtools/smartperf_host/trace_streamer/src/proto_reader/
Dproto_reader.cpp45 const uint8_t* ProtoReaderBase::GetNextProtoTag(const uint8_t* const startAddr, in GetNextProtoTag() argument
49 const uint8_t* cursor = startAddr; in GetNextProtoTag()
66 const uint8_t* startAddr, in ParseVarIntValue() argument
70 auto cursor = VarIntDecode(startAddr, endAddr, &intValue); in ParseVarIntValue()
71 if (cursor == startAddr) { in ParseVarIntValue()
81 const uint8_t* startAddr, in ParseLengthDelimitedValue() argument
85 auto cursor = VarIntDecode(startAddr, endAddr, &length); in ParseLengthDelimitedValue()
86 if (cursor == startAddr || length > static_cast<uint64_t>(endAddr - cursor)) { in ParseLengthDelimitedValue()
103 const uint8_t* startAddr, in ParseFixed64Value() argument
107 auto cursor = startAddr + sizeof(uint64_t); in ParseFixed64Value()
[all …]
/developtools/profiler/host/smartperf/trace_streamer/src/proto_reader/
Dproto_reader.cpp45 const uint8_t* ProtoReaderBase::GetNextProtoTag(const uint8_t* const startAddr, in GetNextProtoTag() argument
49 const uint8_t* cursor = startAddr; in GetNextProtoTag()
66 const uint8_t* startAddr, in ParseVarIntValue() argument
70 auto cursor = VarIntDecode(startAddr, endAddr, &intValue); in ParseVarIntValue()
71 if (cursor == startAddr) { in ParseVarIntValue()
81 const uint8_t* startAddr, in ParseLengthDelimitedValue() argument
85 auto cursor = VarIntDecode(startAddr, endAddr, &length); in ParseLengthDelimitedValue()
86 if (cursor == startAddr || length > static_cast<uint64_t>(endAddr - cursor)) { in ParseLengthDelimitedValue()
103 const uint8_t* startAddr, in ParseFixed64Value() argument
107 auto cursor = startAddr + sizeof(uint64_t); in ParseFixed64Value()
[all …]
/developtools/smartperf_host/trace_streamer/src/proto_reader/include/
Dproto_reader.h109 PackedRepeatedDataAreaIterator(const uint8_t* startAddr, size_t length, bool* parseStatus) in PackedRepeatedDataAreaIterator() argument
110 …: endAddr_(startAddr ? startAddr + length : nullptr), currentReadAddr_(startAddr), parseStatus_(pa… in PackedRepeatedDataAreaIterator()
250 …ParseDataAreaResult ParseOneDataArea(const uint8_t* const startAddr, const uint8_t* const endAddr);
264 …const uint8_t* GetNextProtoTag(const uint8_t* const startAddr, const uint8_t* const endAddr, uint6…
265 …bool ParseVarIntValue(ParseDataAreaResult& result, const uint8_t* startAddr, const uint8_t* const …
266 …bool ParseLengthDelimitedValue(ParseDataAreaResult& result, const uint8_t* startAddr, const uint8_…
267 …bool ParseFixed64Value(ParseDataAreaResult& result, const uint8_t* startAddr, const uint8_t* const…
268 …bool ParseFixed32Value(ParseDataAreaResult& result, const uint8_t* startAddr, const uint8_t* const…
/developtools/profiler/host/smartperf/trace_streamer/src/proto_reader/include/
Dproto_reader.h109 PackedRepeatedDataAreaIterator(const uint8_t* startAddr, size_t length, bool* parseStatus) in PackedRepeatedDataAreaIterator() argument
110 …: endAddr_(startAddr ? startAddr + length : nullptr), currentReadAddr_(startAddr), parseStatus_(pa… in PackedRepeatedDataAreaIterator()
250 …ParseDataAreaResult ParseOneDataArea(const uint8_t* const startAddr, const uint8_t* const endAddr);
264 …const uint8_t* GetNextProtoTag(const uint8_t* const startAddr, const uint8_t* const endAddr, uint6…
265 …bool ParseVarIntValue(ParseDataAreaResult& result, const uint8_t* startAddr, const uint8_t* const …
266 …bool ParseLengthDelimitedValue(ParseDataAreaResult& result, const uint8_t* startAddr, const uint8_…
267 …bool ParseFixed64Value(ParseDataAreaResult& result, const uint8_t* startAddr, const uint8_t* const…
268 …bool ParseFixed32Value(ParseDataAreaResult& result, const uint8_t* startAddr, const uint8_t* const…
/developtools/profiler/device/plugins/memory_plugin/test/unittest/
Dsmaps_stats_unittest.cpp60 EXPECT_EQ(expectMappic.startAddr, targetMappic.startAddr);
85 EXPECT_EQ(expectMappic.startAddr, targetMappic.startAddr);
110 EXPECT_EQ(expectMappic.startAddr, targetMappic.startAddr);
135 EXPECT_EQ(expectMappic.startAddr, targetMappic.startAddr);
160 EXPECT_EQ(expectMappic.startAddr, targetMappic.startAddr);
185 EXPECT_EQ(expectMappic.startAddr, targetMappic.startAddr);
210 EXPECT_EQ(expectMappic.startAddr, targetMappic.startAddr);
235 EXPECT_EQ(expectMappic.startAddr, targetMappic.startAddr);
/developtools/smartperf_host/ide/src/trace/bean/
DSmapsStruct.ts18 startAddr: string = ''; property in Smaps
/developtools/profiler/host/smartperf/trace_streamer/src/filter/
Dnative_hook_filter.cpp445 … uint64_t> NativeHookFilter::GetNeedUpdateProcessMapsAddrRange(uint64_t startAddr, uint64_t endAdd… in GetNeedUpdateProcessMapsAddrRange() argument
449 if (startAddr >= endAddr) { in GetNeedUpdateProcessMapsAddrRange()
454 auto startItor = startAddrToMapsInfoMap_.upper_bound(startAddr); in GetNeedUpdateProcessMapsAddrRange()
458 if (startAddr >= startItor->second->end()) { in GetNeedUpdateProcessMapsAddrRange()
563 auto startAddr = reader->start(); in ParseMapsEvent() local
568 std::tie(start, end) = GetNeedUpdateProcessMapsAddrRange(startAddr, endAddr); in ParseMapsEvent()
596 startAddrToMapsInfoMap_.insert(std::make_pair(startAddr, std::move(reader))); in ParseMapsEvent()
Dnative_hook_filter.h111 …std::tuple<uint64_t, uint64_t> GetNeedUpdateProcessMapsAddrRange(uint64_t startAddr, uint64_t endA…
/developtools/smartperf_host/trace_streamer/src/filter/
Dnative_hook_filter.cpp453 … uint64_t> NativeHookFilter::GetNeedUpdateProcessMapsAddrRange(uint64_t startAddr, uint64_t endAdd… in GetNeedUpdateProcessMapsAddrRange() argument
457 if (startAddr >= endAddr) { in GetNeedUpdateProcessMapsAddrRange()
462 auto startItor = startAddrToMapsInfoMap_.upper_bound(startAddr); in GetNeedUpdateProcessMapsAddrRange()
466 if (startAddr >= startItor->second->end()) { in GetNeedUpdateProcessMapsAddrRange()
571 auto startAddr = reader->start(); in ParseMapsEvent() local
576 std::tie(start, end) = GetNeedUpdateProcessMapsAddrRange(startAddr, endAddr); in ParseMapsEvent()
604 startAddrToMapsInfoMap_.insert(std::make_pair(startAddr, std::move(reader))); in ParseMapsEvent()
Dnative_hook_filter.h111 …std::tuple<uint64_t, uint64_t> GetNeedUpdateProcessMapsAddrRange(uint64_t startAddr, uint64_t endA…
/developtools/profiler/device/plugins/memory_plugin/src/
Dsmaps_stats.cpp228 } else if (mempic.startAddr == prevEnd && prevHeap == VMHEAP_SO) { in CollectVmemAreasData()
254 head.startAddr = strtoull(pStr, &end, HEX_BASE); in SetMapAddrInfo()
275 head.startAddr = strtoull(smapsHeadInfo.startAddrStr.c_str(), nullptr, HEX_BASE); in ParseMapHead()
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/smaps/
DTabPaneSmapsRecord.ts94 smaps.address = smaps.startAddr + ' - ' + smaps.endAddr;
/developtools/smartperf_host/trace_streamer/test/unittest/
Dsmaps_parser_test.cpp99 std::string startAddr = "5589523000"; variable
107 SmapsInfo->set_start_addr(startAddr);
Dtable_test.cpp1271 std::string startAddr = "startAddr"; variable
1292 …timeStamp, ipid, startAddr, endAddr, dirty, swapper, rss, pss, size, reside, protectionId, pathId,…
/developtools/profiler/device/plugins/memory_plugin/include/
Dsmaps_stats.h108 uint64_t startAddr; member
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_mem_parser.cpp108 auto startAddr = "0x" + smapsInfo.start_addr().ToStdString(); in ParseSmapsInfoEasy() local
118 …traceDataCache_->GetSmapsData()->AppendNewData(timeStamp, startAddr, endAddr, dirty, swapper, rss,… in ParseSmapsInfoEasy()
/developtools/smartperf_host/trace_streamer/src/parser/htrace_pbreader_parser/
Dhtrace_mem_parser.cpp249 auto startAddr = "0x" + smapsInfo.start_addr().ToStdString(); in ParseSmapsInfoEasy() local
266 …traceDataCache_->GetSmapsData()->AppendNewData(timeStamp, ipid, startAddr, endAddr, dirty, swapper… in ParseSmapsInfoEasy()
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/
Dtrace_stdtype.cpp1961 std::string startAddr, in AppendNewData() argument
1973 startAddrs_.emplace_back(startAddr); in AppendNewData()
Dtrace_stdtype.h1707 std::string startAddr,
/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_stdtype.cpp1969 std::string startAddr, in AppendNewData() argument
1989 startAddrs_.emplace_back(startAddr); in AppendNewData()
Dtrace_stdtype.h1712 std::string startAddr,