Flutter Engine
The Flutter Engine
|
Go to the source code of this file.
Namespaces | |
namespace | dart |
Macros | |
#define | CLASS_LIST_INTERNAL_ONLY(V) |
#define | CLASS_LIST_INSTANCE_SINGLETONS(V) |
#define | CLASS_LIST_NO_OBJECT_NOR_STRING_NOR_ARRAY_NOR_MAP(V) CLASS_LIST_INTERNAL_ONLY(V) CLASS_LIST_INSTANCE_SINGLETONS(V) |
#define | CLASS_LIST_MAPS(V) |
#define | CLASS_LIST_SETS(V) |
#define | CLASS_LIST_FIXED_LENGTH_ARRAYS(V) |
#define | CLASS_LIST_ARRAYS(V) |
#define | CLASS_LIST_STRINGS(V) |
#define | CLASS_LIST_TYPED_DATA(V) |
#define | CLASS_LIST_FFI_NUMERIC_FIXED_SIZE(V) |
#define | CLASS_LIST_FFI_TYPE_MARKER(V) |
#define | CLASS_LIST_FFI(V) |
#define | DART_CLASS_LIST_TYPED_DATA(V) |
#define | CLASS_LIST_FOR_HANDLES(V) |
#define | CLASS_LIST_NO_OBJECT(V) |
#define | CLASS_LIST(V) |
#define | DEFINE_OBJECT_KIND(clazz) k##clazz##Cid, |
#define | DEFINE_OBJECT_KIND(clazz) kFfi##clazz##Cid, |
#define | DEFINE_OBJECT_KIND(clazz) |
#define | CASE_FFI_CID(name) case kFfi##name##Cid: |
#define | CASE_FFI_CID(name) case kFfi##name##Cid: |
Typedefs | |
typedef int32_t | dart::ClassIdTagType |
Enumerations | |
enum | dart::ClassId : intptr_t { dart::kIllegalCid = 0 , dart::kNativePointer , dart::kFreeListElement , dart::kForwardingCorpse , dart::kByteDataViewCid , dart::kUnmodifiableByteDataViewCid , dart::kByteBufferCid , dart::kNullCid , dart::kDynamicCid , dart::kVoidCid , dart::kNeverCid , dart::kNumPredefinedCids } |
Functions | |
bool | dart::IsInternalOnlyClassId (intptr_t index) |
bool | dart::IsErrorClassId (intptr_t index) |
bool | dart::IsNumberClassId (intptr_t index) |
bool | dart::IsIntegerClassId (intptr_t index) |
bool | dart::IsStringClassId (intptr_t index) |
bool | dart::IsOneByteStringClassId (intptr_t index) |
bool | dart::IsBuiltinListClassId (intptr_t index) |
bool | dart::IsTypeClassId (intptr_t index) |
bool | dart::IsTypedDataBaseClassId (intptr_t index) |
bool | dart::IsTypedDataClassId (intptr_t index) |
bool | dart::IsTypedDataViewClassId (intptr_t index) |
bool | dart::IsExternalTypedDataClassId (intptr_t index) |
bool | dart::IsFfiPointerClassId (intptr_t index) |
bool | dart::IsFfiTypeClassId (intptr_t index) |
bool | dart::IsFfiDynamicLibraryClassId (intptr_t index) |
bool | dart::IsInternalVMdefinedClassId (intptr_t index) |
bool | dart::IsImplicitFieldClassId (intptr_t index) |
dart::COMPILE_ASSERT (kFirstInternalOnlyCid==kObjectCid+1) | |
dart::COMPILE_ASSERT (kInstanceCid==kLastInternalOnlyCid+1) | |
dart::COMPILE_ASSERT (kFirstErrorCid==kErrorCid &&kApiErrorCid==kFirstErrorCid+1 &&kLanguageErrorCid==kFirstErrorCid+2 &&kUnhandledExceptionCid==kFirstErrorCid+3 &&kUnwindErrorCid==kFirstErrorCid+4 &&kLastErrorCid==kUnwindErrorCid &&kLastInternalOnlyCid==kLastErrorCid) | |
bool | dart::IsConcreteTypeClassId (intptr_t index) |
dart::COMPILE_ASSERT (kOneByteStringCid==kStringCid+1 &&kTwoByteStringCid==kStringCid+2) | |
bool | dart::IsArrayClassId (intptr_t index) |
dart::COMPILE_ASSERT (kTypedDataCidRemainderInternal==0) | |
dart::COMPILE_ASSERT (kTypedDataInt8ArrayCid+kTypedDataCidRemainderView==kTypedDataInt8ArrayViewCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid==kTypedDataInt8ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+1 *kNumTypedDataCidRemainders==kTypedDataUint8ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+2 *kNumTypedDataCidRemainders==kTypedDataUint8ClampedArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+3 *kNumTypedDataCidRemainders==kTypedDataInt16ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+4 *kNumTypedDataCidRemainders==kTypedDataUint16ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+5 *kNumTypedDataCidRemainders==kTypedDataInt32ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+6 *kNumTypedDataCidRemainders==kTypedDataUint32ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+7 *kNumTypedDataCidRemainders==kTypedDataInt64ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+8 *kNumTypedDataCidRemainders==kTypedDataUint64ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+9 *kNumTypedDataCidRemainders==kTypedDataFloat32ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+10 *kNumTypedDataCidRemainders==kTypedDataFloat64ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+11 *kNumTypedDataCidRemainders==kTypedDataFloat32x4ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+12 *kNumTypedDataCidRemainders==kTypedDataInt32x4ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+13 *kNumTypedDataCidRemainders==kTypedDataFloat64x2ArrayCid) | |
dart::COMPILE_ASSERT (kFirstTypedDataCid+13 *kNumTypedDataCidRemainders+kTypedDataCidRemainderUnmodifiable==kLastTypedDataCid) | |
dart::COMPILE_ASSERT (kFfiStructCid+1==kFirstTypedDataCid) | |
dart::COMPILE_ASSERT (kLastTypedDataCid+1==kByteDataViewCid) | |
bool | dart::IsUnmodifiableTypedDataViewClassId (intptr_t index) |
bool | dart::IsClampedTypedDataBaseClassId (intptr_t index) |
bool | dart::IsExternalPayloadClassId (classid_t cid) |
bool | dart::IsDeeplyImmutableCid (intptr_t predefined_cid) |
bool | dart::IsShallowlyImmutableCid (intptr_t predefined_cid) |
bool | dart::ShouldHaveImmutabilityBitSetCid (intptr_t predefined_cid) |
bool | dart::IsFfiPredefinedClassId (classid_t class_id) |
dart::COMPILE_ASSERT (kByteBufferCid+1==kNullCid) | |
Variables | |
static constexpr intptr_t | dart::kClassIdTagMax = (1 << 20) - 1 |
const int | dart::kTypedDataCidRemainderInternal = 0 |
const int | dart::kTypedDataCidRemainderView = 1 |
const int | dart::kTypedDataCidRemainderExternal = 2 |
const int | dart::kTypedDataCidRemainderUnmodifiable = 3 |
const int | dart::kNumTypedDataCidRemainders = kTypedDataCidRemainderUnmodifiable + 1 |
constexpr intptr_t | dart::kFirstInternalOnlyCid = kClassCid |
constexpr intptr_t | dart::kLastInternalOnlyCid = kUnwindErrorCid |
static const ClassId | dart::kFirstErrorCid = kErrorCid |
static const ClassId | dart::kLastErrorCid = kUnwindErrorCid |
static const ClassId | dart::kFirstTypedDataCid = kTypedDataInt8ArrayCid |
static const ClassId | dart::kLastTypedDataCid |
#define CLASS_LIST | ( | V | ) |
Definition at line 208 of file class_id.h.
#define CLASS_LIST_ARRAYS | ( | V | ) |
Definition at line 128 of file class_id.h.
#define CLASS_LIST_FFI | ( | V | ) |
Definition at line 171 of file class_id.h.
#define CLASS_LIST_FFI_NUMERIC_FIXED_SIZE | ( | V | ) |
Definition at line 153 of file class_id.h.
#define CLASS_LIST_FFI_TYPE_MARKER | ( | V | ) |
Definition at line 165 of file class_id.h.
#define CLASS_LIST_FIXED_LENGTH_ARRAYS | ( | V | ) |
Definition at line 124 of file class_id.h.
#define CLASS_LIST_FOR_HANDLES | ( | V | ) |
Definition at line 193 of file class_id.h.
#define CLASS_LIST_INSTANCE_SINGLETONS | ( | V | ) |
Definition at line 70 of file class_id.h.
#define CLASS_LIST_INTERNAL_ONLY | ( | V | ) |
Definition at line 26 of file class_id.h.
#define CLASS_LIST_MAPS | ( | V | ) |
Definition at line 116 of file class_id.h.
#define CLASS_LIST_NO_OBJECT | ( | V | ) |
#define CLASS_LIST_NO_OBJECT_NOR_STRING_NOR_ARRAY_NOR_MAP | ( | V | ) | CLASS_LIST_INTERNAL_ONLY(V) CLASS_LIST_INSTANCE_SINGLETONS(V) |
Definition at line 113 of file class_id.h.
#define CLASS_LIST_SETS | ( | V | ) |
Definition at line 120 of file class_id.h.
#define CLASS_LIST_STRINGS | ( | V | ) |
Definition at line 132 of file class_id.h.
#define CLASS_LIST_TYPED_DATA | ( | V | ) |
Definition at line 137 of file class_id.h.
#define DART_CLASS_LIST_TYPED_DATA | ( | V | ) |
Definition at line 177 of file class_id.h.
#define DEFINE_OBJECT_KIND | ( | clazz | ) | k##clazz##Cid, |
Definition at line 237 of file class_id.h.
#define DEFINE_OBJECT_KIND | ( | clazz | ) | kFfi##clazz##Cid, |
Definition at line 237 of file class_id.h.
#define DEFINE_OBJECT_KIND | ( | clazz | ) |
Definition at line 237 of file class_id.h.