Home
last modified time | relevance | path

Searched refs:TrcMemAccessorBase (Results 1 – 13 of 13) sorted by relevance

/external/OpenCSD/decoder/include/mem_acc/
Dtrc_mem_acc_base.h52 class TrcMemAccessorBase
65 TrcMemAccessorBase(MemAccTypes type);
68 TrcMemAccessorBase(MemAccTypes type, ocsd_vaddr_t startAddr, ocsd_vaddr_t endAddr);
71 virtual ~TrcMemAccessorBase() {}; in ~TrcMemAccessorBase()
119 virtual const bool overLapRange(const TrcMemAccessorBase *p_test_acc) const;
159 inline TrcMemAccessorBase::TrcMemAccessorBase(MemAccTypes accType, ocsd_vaddr_t startAddr, ocsd_vad… in TrcMemAccessorBase() function
167 inline TrcMemAccessorBase::TrcMemAccessorBase(MemAccTypes accType) : in TrcMemAccessorBase() function
175 inline void TrcMemAccessorBase::setRange(ocsd_vaddr_t startAddr, ocsd_vaddr_t endAddr) in setRange()
181 inline const bool TrcMemAccessorBase::addrInRange(const ocsd_vaddr_t s_address) const in addrInRange()
186 inline const bool TrcMemAccessorBase::addrStartOfRange(const ocsd_vaddr_t s_address) const in addrStartOfRange()
[all …]
Dtrc_mem_acc_mapper.h67 virtual ocsd_err_t AddAccessor(TrcMemAccessorBase *p_accessor, const uint8_t cs_trace_id) = 0;
70 virtual ocsd_err_t RemoveAccessor(const TrcMemAccessorBase *p_accessor) = 0;
88 virtual TrcMemAccessorBase *getFirstAccessor() = 0;
89 virtual TrcMemAccessorBase *getNextAccessor() = 0;
95 TrcMemAccessorBase *m_acc_curr; // most recently used - try this first.
112 virtual ocsd_err_t AddAccessor(TrcMemAccessorBase *p_accessor, const uint8_t cs_trace_id);
120 virtual TrcMemAccessorBase *getFirstAccessor();
121 virtual TrcMemAccessorBase *getNextAccessor();
123 virtual ocsd_err_t RemoveAccessor(const TrcMemAccessorBase *p_accessor);
125 std::vector<TrcMemAccessorBase *> m_acc_global;
[all …]
Dtrc_mem_acc_file.h47 class FileRegionMemAccessor : public TrcMemAccessorBase
50 FileRegionMemAccessor() : TrcMemAccessorBase(MEMACC_FILE) {}; in FileRegionMemAccessor()
76 class TrcMemAccessorFile : public TrcMemAccessorBase
165 virtual const bool overLapRange(const TrcMemAccessorBase *p_test_acc) const;
Dtrc_mem_acc_cache.h44 class TrcMemAccessorBase; variable
74 …ocsd_err_t readBytesFromCache(TrcMemAccessorBase *p_accessor, const ocsd_vaddr_t address, const oc…
Dtrc_mem_acc_bufptr.h49 class TrcMemAccBufPtr: public TrcMemAccessorBase
Dtrc_mem_acc_cb.h41 class TrcMemAccCB : public TrcMemAccessorBase
/external/OpenCSD/decoder/source/mem_acc/
Dtrc_mem_acc_base.cpp45 ocsd_err_t TrcMemAccFactory::CreateBufferAccessor(TrcMemAccessorBase **pAccessor, const ocsd_vaddr_… in CreateBufferAccessor()
48 TrcMemAccessorBase *pAcc = 0; in CreateBufferAccessor()
56 ocsd_err_t TrcMemAccFactory::CreateFileAccessor(TrcMemAccessorBase **pAccessor, const std::string &… in CreateFileAccessor()
65 ocsd_err_t TrcMemAccFactory::CreateCBAccessor(TrcMemAccessorBase **pAccessor, const ocsd_vaddr_t s_… in CreateCBAccessor()
68 TrcMemAccessorBase *pAcc = 0; in CreateCBAccessor()
77 void TrcMemAccFactory::DestroyAccessor(TrcMemAccessorBase *pAccessor) in DestroyAccessor()
81 case TrcMemAccessorBase::MEMACC_FILE: in DestroyAccessor()
85 case TrcMemAccessorBase::MEMACC_CB_IF: in DestroyAccessor()
86 case TrcMemAccessorBase::MEMACC_BUFPTR: in DestroyAccessor()
97 void TrcMemAccessorBase::getMemAccString(std::string &accStr) const in getMemAccString()
Dtrc_mem_acc_mapper.cpp124 TrcMemAccessorBase *pAcc = 0; in RemoveAllAccessors()
182 ocsd_err_t TrcMemAccMapGlobalSpace::AddAccessor(TrcMemAccessorBase *p_accessor, const uint8_t /*cs_… in AddAccessor()
190 std::vector<TrcMemAccessorBase *>::const_iterator it = m_acc_global.begin(); in AddAccessor()
214 std::vector<TrcMemAccessorBase *>::const_iterator it = m_acc_global.begin(); in findAccessor()
237 TrcMemAccessorBase * TrcMemAccMapGlobalSpace::getFirstAccessor() in getFirstAccessor()
239 TrcMemAccessorBase *p_acc = 0; in getFirstAccessor()
248 TrcMemAccessorBase *TrcMemAccMapGlobalSpace::getNextAccessor() in getNextAccessor()
250 TrcMemAccessorBase *p_acc = 0; in getNextAccessor()
264 ocsd_err_t TrcMemAccMapGlobalSpace::RemoveAccessor(const TrcMemAccessorBase *p_accessor) in RemoveAccessor()
267 TrcMemAccessorBase *p_acc = getFirstAccessor(); in RemoveAccessor()
[all …]
Dtrc_mem_acc_file.cpp43 TrcMemAccessorFile::TrcMemAccessorFile() : TrcMemAccessorBase(MEMACC_FILE) in TrcMemAccessorFile()
210 …bytesRead = TrcMemAccessorBase::bytesInRange(address,reqBytes); // get avialable bytes in range. in readBytes()
285 bInRange = TrcMemAccessorBase::addrInRange(s_address); in addrInRange()
299 bInRange = TrcMemAccessorBase::addrStartOfRange(s_address); in addrStartOfRange()
315 bRangeValid = TrcMemAccessorBase::validateRange(); in validateRange()
334 bytesInRange = TrcMemAccessorBase::bytesInRange(s_address,reqBytes); in bytesInRange()
345 const bool TrcMemAccessorFile::overLapRange(const TrcMemAccessorBase *p_test_acc) const in overLapRange()
349 bOverLapRange = TrcMemAccessorBase::overLapRange(p_test_acc); in overLapRange()
371 TrcMemAccessorBase::getMemAccString(accStr); in getMemAccString()
Dtrc_mem_acc_bufptr.cpp39 TrcMemAccessorBase(MEMACC_BUFPTR, s_address, s_address+size-1), in TrcMemAccBufPtr()
Dtrc_mem_acc_cb.cpp13 TrcMemAccessorBase(MEMACC_CB_IF, s_address, e_address), in TrcMemAccCB()
Dtrc_mem_acc_cache.cpp64 ocsd_err_t TrcMemAccCache::readBytesFromCache(TrcMemAccessorBase *p_accessor, const ocsd_vaddr_t ad… in readBytesFromCache()
/external/OpenCSD/decoder/source/
Docsd_dcd_tree.cpp230 TrcMemAccessorBase *p_accessor; in addBufferMemAcc()
257 TrcMemAccessorBase *p_accessor; in addBinFileMemAcc()
286 TrcMemAccessorBase *p_accessor; in addBinFileRegionMemAcc()
356 TrcMemAccessorBase *p_accessor; in initCallbackMemAcc()