Flutter Engine
The Flutter Engine
|
#include <marshaller.h>
Public Member Functions | |
intptr_t | num_args () const |
intptr_t | NumArgumentDefinitions () const |
virtual intptr_t | NumDefinitions (intptr_t arg_index) const |
virtual intptr_t | NumReturnDefinitions () const =0 |
bool | ArgumentIndexIsReturn (intptr_t arg_index) const |
bool | DefinitionIndexIsReturn (intptr_t def_index_global) const |
intptr_t | ArgumentIndex (intptr_t def_index_global) const |
intptr_t | FirstDefinitionIndex (intptr_t arg_index) const |
intptr_t | DefinitionInArgument (intptr_t def_index_global, intptr_t arg_index) const |
intptr_t | DefinitionIndex (intptr_t def_index_in_arg, intptr_t arg_index) const |
const NativeLocation & | Location (intptr_t arg_index) const |
Representation | RepInDart (intptr_t arg_index) const |
virtual Representation | RepInFfiCall (intptr_t def_index_global) const |
void | RepsInFfiCall (intptr_t arg_index, GrowableArray< Representation > *out) const |
bool | RequiresBitCast (intptr_t index) const |
const NativeType & | SignExtendFrom (intptr_t arg_index) const |
AbstractTypePtr | CType (intptr_t arg_index) const |
AbstractTypePtr | DartType (intptr_t arg_index) const |
bool | IsPointerPointer (intptr_t arg_index) const |
bool | IsTypedDataPointer (intptr_t arg_index) const |
bool | IsCompoundPointer (intptr_t arg_index) const |
bool | IsHandleCType (intptr_t arg_index) const |
bool | IsBool (intptr_t arg_index) const |
bool | IsCompoundCType (intptr_t arg_index) const |
bool | IsVoid (intptr_t arg_index) const |
bool | ContainsHandles () const |
bool | contains_varargs () const |
const Function & | dart_signature () const |
intptr_t | dart_signature_params_start_at () const |
const FunctionType & | c_signature () const |
StringPtr | function_name () const |
Public Member Functions inherited from dart::ZoneAllocated | |
ZoneAllocated () | |
void * | operator new (size_t size) |
void * | operator new (size_t size, Zone *zone) |
void | operator delete (void *pointer) |
Protected Member Functions | |
bool | IsPointerDartType (intptr_t arg_index) const |
bool | IsPointerCType (intptr_t arg_index) const |
BaseMarshaller (Zone *zone, const Function &dart_signature, intptr_t dart_signature_params_start_at, const FunctionType &c_signature, const NativeCallingConvention &native_calling_convention) | |
~BaseMarshaller () | |
Protected Attributes | |
Zone * | zone_ |
const Function & | dart_signature_ |
const intptr_t | dart_signature_params_start_at_ |
const FunctionType & | c_signature_ |
const NativeCallingConvention & | native_calling_convention_ |
Definition at line 42 of file marshaller.h.
|
inlineprotected |
Definition at line 176 of file marshaller.h.
|
inlineprotected |
Definition at line 187 of file marshaller.h.
intptr_t dart::compiler::ffi::BaseMarshaller::ArgumentIndex | ( | intptr_t | def_index_global | ) | const |
Definition at line 367 of file marshaller.cc.
bool dart::compiler::ffi::BaseMarshaller::ArgumentIndexIsReturn | ( | intptr_t | arg_index | ) | const |
Definition at line 357 of file marshaller.cc.
|
inline |
Definition at line 172 of file marshaller.h.
|
inline |
Definition at line 159 of file marshaller.h.
bool dart::compiler::ffi::BaseMarshaller::ContainsHandles | ( | ) | const |
Definition at line 245 of file marshaller.cc.
AbstractTypePtr dart::compiler::ffi::BaseMarshaller::CType | ( | intptr_t | arg_index | ) | const |
Definition at line 108 of file marshaller.cc.
|
inline |
Definition at line 168 of file marshaller.h.
|
inline |
Definition at line 169 of file marshaller.h.
AbstractTypePtr dart::compiler::ffi::BaseMarshaller::DartType | ( | intptr_t | arg_index | ) | const |
Definition at line 148 of file marshaller.cc.
intptr_t dart::compiler::ffi::BaseMarshaller::DefinitionInArgument | ( | intptr_t | def_index_global, |
intptr_t | arg_index | ||
) | const |
Definition at line 397 of file marshaller.cc.
intptr_t dart::compiler::ffi::BaseMarshaller::DefinitionIndex | ( | intptr_t | def_index_in_arg, |
intptr_t | arg_index | ||
) | const |
Definition at line 412 of file marshaller.cc.
bool dart::compiler::ffi::BaseMarshaller::DefinitionIndexIsReturn | ( | intptr_t | def_index_global | ) | const |
Definition at line 363 of file marshaller.cc.
intptr_t dart::compiler::ffi::BaseMarshaller::FirstDefinitionIndex | ( | intptr_t | arg_index | ) | const |
Definition at line 385 of file marshaller.cc.
|
inline |
Definition at line 173 of file marshaller.h.
bool dart::compiler::ffi::BaseMarshaller::IsBool | ( | intptr_t | arg_index | ) | const |
Definition at line 234 of file marshaller.cc.
bool dart::compiler::ffi::BaseMarshaller::IsCompoundCType | ( | intptr_t | arg_index | ) | const |
Definition at line 240 of file marshaller.cc.
bool dart::compiler::ffi::BaseMarshaller::IsCompoundPointer | ( | intptr_t | arg_index | ) | const |
Definition at line 215 of file marshaller.cc.
bool dart::compiler::ffi::BaseMarshaller::IsHandleCType | ( | intptr_t | arg_index | ) | const |
Definition at line 229 of file marshaller.cc.
|
protected |
Definition at line 161 of file marshaller.cc.
|
protected |
Definition at line 166 of file marshaller.cc.
bool dart::compiler::ffi::BaseMarshaller::IsPointerPointer | ( | intptr_t | arg_index | ) | const |
Definition at line 171 of file marshaller.cc.
bool dart::compiler::ffi::BaseMarshaller::IsTypedDataPointer | ( | intptr_t | arg_index | ) | const |
Definition at line 180 of file marshaller.cc.
|
inline |
Definition at line 152 of file marshaller.h.
|
inline |
Definition at line 71 of file marshaller.h.
|
inline |
Definition at line 44 of file marshaller.h.
intptr_t dart::compiler::ffi::BaseMarshaller::NumArgumentDefinitions | ( | ) | const |
Definition at line 249 of file marshaller.cc.
|
virtual |
Reimplemented in dart::compiler::ffi::CallMarshaller, and dart::compiler::ffi::CallbackMarshaller.
Definition at line 257 of file marshaller.cc.
|
pure virtual |
Implemented in dart::compiler::ffi::CallMarshaller, and dart::compiler::ffi::CallbackMarshaller.
Representation dart::compiler::ffi::BaseMarshaller::RepInDart | ( | intptr_t | arg_index | ) | const |
Definition at line 434 of file marshaller.cc.
|
virtual |
Reimplemented in dart::compiler::ffi::CallMarshaller, and dart::compiler::ffi::CallbackMarshaller.
Definition at line 444 of file marshaller.cc.
void dart::compiler::ffi::BaseMarshaller::RepsInFfiCall | ( | intptr_t | arg_index, |
GrowableArray< Representation > * | out | ||
) | const |
Definition at line 551 of file marshaller.cc.
|
inline |
Definition at line 92 of file marshaller.h.
|
inline |
Definition at line 98 of file marshaller.h.
|
protected |
Definition at line 194 of file marshaller.h.
|
protected |
Definition at line 192 of file marshaller.h.
|
protected |
Definition at line 193 of file marshaller.h.
|
protected |
Definition at line 195 of file marshaller.h.
|
protected |
Definition at line 189 of file marshaller.h.