Home
last modified time | relevance | path

Searched refs:NumberOfReferences (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Dhandle_scope-inl.h78 DCHECK_LT(i, NumberOfReferences()); in GetReference()
86 DCHECK_LT(i, NumberOfReferences()); in GetHandle()
91 DCHECK_LT(i, NumberOfReferences()); in GetMutableHandle()
99 DCHECK_LT(i, NumberOfReferences()); in SetReference()
107 DCHECK_GT(NumberOfReferences(), 0U); in Contains()
114 for (size_t i = 0, count = NumberOfReferences(); i < count; ++i) { in VisitRoots()
158 inline uint32_t BaseHandleScope::NumberOfReferences() const { in NumberOfReferences() function
160 ? AsHandleScope()->NumberOfReferences() in NumberOfReferences()
161 : AsVariableSized()->NumberOfReferences(); in NumberOfReferences()
231 inline uint32_t VariableSizedHandleScope::NumberOfReferences() const { in NumberOfReferences() function
[all …]
Dhandle_scope_test.cc111 EXPECT_EQ(hs.NumberOfReferences(), base->NumberOfReferences()); in TEST_F()
116 EXPECT_LE(visitor.visited.size(), base->NumberOfReferences()); in TEST_F()
117 EXPECT_EQ(visitor.total_visited, base->NumberOfReferences()); in TEST_F()
Dhandle_scope.h52 ALWAYS_INLINE uint32_t NumberOfReferences() const;
143 ALWAYS_INLINE uint32_t NumberOfReferences() const { in NumberOfReferences() function
254 ALWAYS_INLINE uint32_t NumberOfReferences() const;
Dstring_builder_append.cc261 DCHECK_LE(hs_.NumberOfReferences(), kMaxArgs); in CalculateLengthWithFlag()
332 DCHECK_LE(handle_index, hs_.NumberOfReferences()); in StoreData()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc2021 size_t expected_slots = handle_scope_->NumberOfReferences(); in ResetRemainingScopeSlots()
2255 DCHECK_EQ(handle_scope, GetGenericJniHandleScope(sp, handle_scope->NumberOfReferences())); in artQuickGenericJniEndTrampoline()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc133 CHECK_EQ(data.NumberOfReferences(), 3U); in CheckObjectArray()
/art/compiler/jni/
Djni_compiler_test.cc557 count += cur->NumberOfReferences(); in NumHandleReferences()