Home
last modified time | relevance | path

Searched refs:captured_ (Results 1 – 4 of 4) sorted by relevance

/art/runtime/lambda/
Dclosure_builder.cc78 size_ += sizeof(Closure::captured_[0].dynamic_.size_); in CaptureVariableLambda()
113 static_assert(offsetof(Closure, captured_) == kInitialSize, "wrong initial size"); in CreateInPlace()
118 closure->captured_[0].dynamic_.size_ = GetSize(); in CreateInPlace()
119 size_t header_size = offsetof(Closure, captured_[0].dynamic_.variables_); in CreateInPlace()
124 closure->captured_[0].dynamic_.variables_, in CreateInPlace()
130 size_t header_size = offsetof(Closure, captured_[0].static_variables_); in CreateInPlace()
135 closure->captured_[0].static_variables_, in CreateInPlace()
Dclosure.cc33 return reinterpret_cast<const uint8_t*>(captured_) + offset; in GetUnsafeAtOffset()
99 const size_t captured_variable_offset = offsetof(Closure, captured_); in GetCapturedVariablesSize()
110 DCHECK_GE(static_closure_size, sizeof(captured_[0].dynamic_.size_)); in GetSize()
111 const size_t dynamic_closure_size = captured_[0].dynamic_.size_; in GetSize()
316 auto* captured_ptr = reinterpret_cast<const uint8_t*>(&captured_); in GetCapturedClosureSize()
326 auto* captured_ptr = reinterpret_cast<const uint8_t*>(&captured_); in CopyCapturedClosure()
395 closure + offsetof(Closure, captured_[0].dynamic_.size_), in GetClosureSize()
397 static_assert(sizeof(dynamic_size) == sizeof(captured_[0].dynamic_.size_), in GetClosureSize()
405 static constexpr const size_t captured_offset = offsetof(Closure, captured_); in GetStartingOffset()
407 return offsetof(Closure, captured_[0].static_variables_) - captured_offset; in GetStartingOffset()
[all …]
Dclosure.h173 } captured_[0]; in PACKED() local
Dclosure_test.cc105 CopyArgs(closure_ptr->captured_[0].static_variables_, args ...); in CreateClosureStaticVariables()