Home
last modified time | relevance | path

Searched refs:objectVector_ (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_env.h39 objectVector_.clear(); in ClearEnvMap()
44 auto it = std::find(objectVector_.begin(), objectVector_.end(), objectAddr); in GetEnvObjectIndex()
45 if (it == objectVector_.end()) { in GetEnvObjectIndex()
48 return std::distance(objectVector_.begin(), it); in GetEnvObjectIndex()
54 ASSERT(index < objectVector_.size()); in FindEnvObjectByIndex()
55 return objectVector_.at(index); in FindEnvObjectByIndex()
71 CVector<uintptr_t> objectVector_; variable
Dsnapshot_env.cpp39 objectVector_.emplace_back(ToUintPtr(object)); in InitGlobalConst()
57 objectVector_.emplace_back(ToUintPtr(taggedObject)); in InitGlobalEnv()
93 uint64_t length = objectVector_.size(); in Iterate()
95 v(Root::ROOT_VM, ObjectSlot(reinterpret_cast<uintptr_t>(&(objectVector_.data()[i])))); in Iterate()