Home
last modified time | relevance | path

Searched refs:kNumReferences (Results 1 – 6 of 6) sorted by relevance

/art/runtime/
Dhandle_scope-inl.h31 template<size_t kNumReferences>
32 inline FixedSizeHandleScope<kNumReferences>::FixedSizeHandleScope(BaseHandleScope* link, in FixedSizeHandleScope()
34 : HandleScope(link, kNumReferences) { in FixedSizeHandleScope()
38 static_assert(kNumReferences >= 1, "FixedSizeHandleScope must contain at least 1 reference"); in FixedSizeHandleScope()
40 for (size_t i = 0; i < kNumReferences; ++i) { in FixedSizeHandleScope()
45 template<size_t kNumReferences>
46 inline StackHandleScope<kNumReferences>::StackHandleScope(Thread* self, mirror::Object* fill_value) in StackHandleScope()
47 : FixedSizeHandleScope<kNumReferences>(self->GetTopHandleScope(), fill_value), in StackHandleScope()
53 template<size_t kNumReferences>
54 inline StackHandleScope<kNumReferences>::~StackHandleScope() { in ~StackHandleScope()
[all …]
Dhandle_scope.h172 template<size_t kNumReferences>
194 return kNumReferences - pos_; in RemainingSlots()
204 DCHECK_LT(i, kNumReferences); in GetHandle()
209 StackReference<mirror::Object> storage_[kNumReferences];
219 template<size_t kNumReferences>
220 class PACKED(4) StackHandleScope final : public FixedSizeHandleScope<kNumReferences> {
Dhandle_scope_test.cc52 static const size_t kNumReferences = 0x9ABC; in TEST_F() local
53 StackHandleScope<kNumReferences> test_table(soa.Self()); in TEST_F()
68 EXPECT_EQ(*num_ptr, static_cast<size_t>(kNumReferences)); in TEST_F()
Dhandle.h111 template<size_t kNumReferences> friend class StackHandleScope;
161 template<size_t kNumReferences> friend class StackHandleScope;
Dclass_linker.h92 template<size_t kNumReferences> class PACKED(4) StackHandleScope;
/art/runtime/mirror/
Dclass.h58 template<size_t kNumReferences> class PACKED(4) StackHandleScope;