Lines Matching refs:closure
52 Closure* closure = reinterpret_cast<Closure*>(new char[size]); in Allocate() local
53 DCHECK_ALIGNED(closure, alignof(Closure)); in Allocate()
54 return closure; in Allocate()
68 Closure* closure = key_value_pair.first; in ~BoxTable() local
74 ClosureAllocator::Delete(closure); in ~BoxTable()
78 mirror::Object* BoxTable::BoxLambda(const ClosureType& closure) { in BoxLambda() argument
95 ValueType value = FindBoxedLambda(closure); in BoxLambda()
113 mirror::ByteArray::Alloc(self, closure->GetSize()); in BoxLambda()
124 closure->CopyTo(closure_as_array_object->GetRawData(sizeof(uint8_t), // component size in BoxLambda()
135 ValueType value = FindBoxedLambda(closure); in BoxLambda()
145 Closure* closure_table_copy = ClosureAllocator::Allocate(closure->GetSize()); in BoxLambda()
146 closure->CopyTo(closure_table_copy, closure->GetSize()); in BoxLambda()
196 BoxTable::ValueType BoxTable::FindBoxedLambda(const ClosureType& closure) const { in FindBoxedLambda()
197 auto map_iterator = map_.Find(closure); in FindBoxedLambda()
239 const ClosureType& closure = key_value_pair.first; in SweepWeakBoxedLambdas() local
245 ClosureAllocator::Delete(closure); in SweepWeakBoxedLambdas()
306 const lambda::Closure* closure = key; in operator ()() local
307 DCHECK_ALIGNED(closure, alignof(lambda::Closure)); in operator ()()
311 return closure->GetHashCode(); in operator ()()