Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
Dalloc_tracker_test.cpp110 AllocInfo alloc; in TEST() local
112 out.read(reinterpret_cast<char *>(&alloc), sizeof(alloc)); in TEST()
115 ASSERT_EQ(DetailAllocTracker::ALLOC_TAG, alloc.tag); in TEST()
116 ASSERT_EQ(0, alloc.id); in TEST()
117 ASSERT_EQ(20, alloc.size); in TEST()
118 ASSERT_EQ(static_cast<uint32_t>(SpaceType::SPACE_TYPE_INTERNAL), alloc.space); in TEST()
119 ASSERT_EQ(0, alloc.stacktrace_id); in TEST()
/arkcompiler/runtime_core/libpandabase/mem/
Dalloc_tracker.cpp109 AllocInfo *alloc = it->second; in TrackFree() local
114 new (cur_arena_.data()) FreeInfo(alloc->GetId()); in TrackFree()
166 auto alloc = reinterpret_cast<AllocInfo *>(ptr + pos); in Dump() local
167 Write(alloc->GetTag(), out); in Dump()
168 Write(alloc->GetId(), out); in Dump()
169 Write(alloc->GetSize(), out); in Dump()
170 Write(alloc->GetSpace(), out); in Dump()
171 Write(id_map[alloc->GetStacktraceId()], out); in Dump()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dinterference_graph.h39 … ColorNode(unsigned number, T alloc) : cs_point_set_(alloc), number_(number), physical_(), fixed_() in ColorNode() argument
122 explicit GraphMatrix(ArenaAllocator *alloc) : matrix_(alloc->Adapter()) {} in GraphMatrix() argument
184 explicit InterferenceGraph(ArenaAllocator *alloc) : nodes_(alloc->Adapter()), matrix_(alloc) {} in InterferenceGraph() argument
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_sampling.cpp230 for (const auto &alloc : node->allocations_) { in CalNodeSelfSize() local
231 unsigned int realCount = AdjustSampleCount(alloc.first, alloc.second); in CalNodeSelfSize()
232 node->selfSize_ += alloc.first * realCount; in CalNodeSelfSize()
/arkcompiler/runtime_core/scripts/
Dmemdump.py67 def alloc(self, size): member in AllocInfo
192 info.alloc(size)
/arkcompiler/runtime_core/compiler/tests/
Dreg_alloc_interference_graph_test.cpp123 InterferenceGraph BuildSubgraph(InterferenceGraph &orig_gr, ArenaAllocator *alloc, in BuildSubgraph() argument
127 InterferenceGraph gr(alloc); in BuildSubgraph()
/arkcompiler/runtime_core/compiler/tests/x86/
Dasmjit_test.cpp131 Error err = allocator.alloc(&ro_ptr, &rw_ptr, estimated_size); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dliveness_analyzer.cpp586 LifeIntervals *LifeIntervals::SplitAt(LifeNumber ln, ArenaAllocator *alloc) in SplitAt() argument
590 auto split_child = alloc->New<LifeIntervals>(alloc, GetInst()); in SplitAt()
Dliveness_analyzer.h369 LifeIntervals *SplitAt(LifeNumber ln, ArenaAllocator *alloc);
/arkcompiler/runtime_core/compiler/tests/amd64/
Dasmjit_test.cpp204 Error err = allocator.alloc(&ro_ptr, &rw_ptr, estimated_size); in TEST_F()
/arkcompiler/runtime_core/tests/benchmarks/
DCMakeLists.txt162 … RUNTIME_OPTIONS ${ENABLE_GC_OPTION} "--compiler-enable-jit=false" "--limit-standard-alloc=true")
184 …PTION} "--compiler-enable-jit=true" "--compiler-hotness-threshold=0" "--limit-standard-alloc=true")
/arkcompiler/runtime_core/tests/
DCMakeLists.txt362 set(ARG_RUNTIME_OPTIONS "${ARG_RUNTIME_OPTIONS} --limit-standard-alloc=true")
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js19804 alloc() { method in anonymousFunctiona10e982739900.anonymousFunctiona10e982739a00.$r
20203 n || (n = this._callbackTable[t] = So.alloc());
20204 const r = yo.alloc();
36487 const i = e.alloc();
36505 const i = e.alloc();
43111 const t = tB.alloc();
43119 const t = tB.alloc();
43145 const i = tB.alloc();
43797 for (s = i; s < t; s++) e[s] = yB.alloc();
45509 t.inOrderFree && (this.alloc = this._McDonaldAlloc);
[all …]
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …rototype.toString,r="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&&"function"==typeo…