#include <native_type.h>
Definition at line 319 of file native_type.h.
◆ NativeCompoundType()
dart::compiler::ffi::NativeCompoundType::NativeCompoundType |
( |
const NativeTypes & |
members, |
|
|
intptr_t |
size, |
|
|
intptr_t |
alignment_field, |
|
|
intptr_t |
alignment_stack |
|
) |
| |
|
inlineprotected |
Definition at line 366 of file native_type.h.
const intptr_t alignment_stack_
const NativeTypes & members() const
const intptr_t alignment_field_
const NativeTypes & members_
◆ AlignmentInBytesField()
virtual intptr_t dart::compiler::ffi::NativeCompoundType::AlignmentInBytesField |
( |
| ) |
const |
|
inlinevirtual |
◆ AlignmentInBytesStack()
virtual intptr_t dart::compiler::ffi::NativeCompoundType::AlignmentInBytesStack |
( |
bool |
is_vararg = false | ) |
const |
|
inlinevirtual |
◆ ContainsHomogeneousFloats()
bool dart::compiler::ffi::NativeCompoundType::ContainsHomogeneousFloats |
( |
| ) |
const |
Definition at line 1071 of file native_type.cc.
1071 {
1073}
static bool ContainsHomogeneousFloatsInternal(const NativeTypes &types)
◆ ContainsOnlyFloats()
virtual bool dart::compiler::ffi::NativeCompoundType::ContainsOnlyFloats |
( |
Range |
range | ) |
const |
|
pure virtual |
◆ ContainsUnalignedMembers()
virtual bool dart::compiler::ffi::NativeCompoundType::ContainsUnalignedMembers |
( |
intptr_t |
offset = 0 | ) |
const |
|
pure virtual |
◆ Equals()
bool dart::compiler::ffi::NativeCompoundType::Equals |
( |
const NativeType & |
other | ) |
const |
|
virtual |
Reimplemented from dart::compiler::ffi::NativeType.
Definition at line 358 of file native_type.cc.
358 {
359 if (!other.IsCompound()) {
360 return false;
361 }
362 const auto& other_compound = other.AsCompound();
363 const auto& other_members = other_compound.members_;
365 return false;
366 }
369 return false;
370 }
371 }
372 return true;
373}
virtual bool Equals(const NativeType &other) const
◆ FirstPrimitiveMember()
const NativePrimitiveType & dart::compiler::ffi::NativeCompoundType::FirstPrimitiveMember |
( |
| ) |
const |
|
virtual |
◆ IsCompound()
virtual bool dart::compiler::ffi::NativeCompoundType::IsCompound |
( |
| ) |
const |
|
inlinevirtual |
◆ members()
const NativeTypes & dart::compiler::ffi::NativeCompoundType::members |
( |
| ) |
const |
|
inline |
◆ NumberOfWordSizeChunksNotOnlyFloat()
intptr_t dart::compiler::ffi::NativeCompoundType::NumberOfWordSizeChunksNotOnlyFloat |
( |
| ) |
const |
Definition at line 995 of file native_type.cc.
995 {
996 const intptr_t total_chunks =
998 compiler::target::kWordSize;
1000}
static constexpr T RoundUp(T x, uintptr_t alignment, uintptr_t offset=0)
virtual intptr_t SizeInBytes() const
intptr_t NumberOfWordSizeChunksOnlyFloat() const
◆ NumberOfWordSizeChunksOnlyFloat()
intptr_t dart::compiler::ffi::NativeCompoundType::NumberOfWordSizeChunksOnlyFloat |
( |
| ) |
const |
Definition at line 978 of file native_type.cc.
978 {
979
983 intptr_t float_only_chunks = 0;
985 offset += compiler::target::kWordSize) {
986 const auto chunk_range =
989 float_only_chunks++;
990 }
991 }
992 return float_only_chunks;
993}
virtual bool ContainsOnlyFloats(Range range) const =0
static Range StartAndLength(intptr_t start_inclusive, intptr_t length)
static Range StartAndEnd(intptr_t start_inclusive, intptr_t end_exclusive)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ NumPrimitiveMembersRecursive()
virtual intptr_t dart::compiler::ffi::NativeCompoundType::NumPrimitiveMembersRecursive |
( |
| ) |
const |
|
pure virtual |
◆ PrimitivePairMembers()
◆ PrintCompoundType()
virtual void dart::compiler::ffi::NativeCompoundType::PrintCompoundType |
( |
BaseTextBuffer * |
f | ) |
const |
|
protectedpure virtual |
◆ PrintMemberOffset()
virtual void dart::compiler::ffi::NativeCompoundType::PrintMemberOffset |
( |
BaseTextBuffer * |
f, |
|
|
intptr_t |
member_index |
|
) |
| const |
|
inlineprotectedvirtual |
◆ PrintTo()
void dart::compiler::ffi::NativeCompoundType::PrintTo |
( |
BaseTextBuffer * |
f, |
|
|
bool |
multi_line = false , |
|
|
bool |
verbose = true |
|
) |
| const |
|
virtual |
Reimplemented from dart::compiler::ffi::NativeType.
Definition at line 743 of file native_type.cc.
745 {
749 if (verbose) {
752 f->AddString(
"members: {");
753 if (multi_line) {
755 }
757 if (i > 0) {
758 if (multi_line) {
759 f->AddString(
",\n ");
760 } else {
762 }
763 }
766 }
767 if (multi_line) {
769 }
771 }
773 if (multi_line) {
775 }
776}
virtual intptr_t AlignmentInBytesStack(bool is_vararg=false) const
virtual void PrintMemberOffset(BaseTextBuffer *f, intptr_t member_index) const
virtual intptr_t AlignmentInBytesField() const
virtual void PrintCompoundType(BaseTextBuffer *f) const =0
◆ SizeInBytes()
virtual intptr_t dart::compiler::ffi::NativeCompoundType::SizeInBytes |
( |
| ) |
const |
|
inlinevirtual |
◆ alignment_field_
const intptr_t dart::compiler::ffi::NativeCompoundType::alignment_field_ |
|
protected |
◆ alignment_stack_
const intptr_t dart::compiler::ffi::NativeCompoundType::alignment_stack_ |
|
protected |
◆ members_
const NativeTypes& dart::compiler::ffi::NativeCompoundType::members_ |
|
protected |
◆ size_
const intptr_t dart::compiler::ffi::NativeCompoundType::size_ |
|
protected |
The documentation for this class was generated from the following files: