Flutter Engine
The Flutter Engine
|
#include <marshaller.h>
Public Member Functions | |
CallMarshaller (Zone *zone, const Function &dart_signature, intptr_t dart_signature_params_start_at, const FunctionType &c_signature, const NativeCallingConvention &native_calling_convention) | |
virtual intptr_t | NumDefinitions (intptr_t arg_index) const |
virtual intptr_t | NumReturnDefinitions () const |
virtual Representation | RepInFfiCall (intptr_t def_index_global) const |
dart::Location | LocInFfiCall (intptr_t def_index_global) const |
bool | ReturnsCompound () const |
intptr_t | CompoundReturnSizeInBytes () const |
intptr_t | PassByPointerStackOffset (intptr_t arg_index) const |
intptr_t | RequiredStackSpaceInBytes () const |
Public Member Functions inherited from dart::compiler::ffi::BaseMarshaller | |
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) |
Static Public Member Functions | |
static CallMarshaller * | FromFunction (Zone *zone, const Function &function, intptr_t function_params_start_at, const FunctionType &c_signature, const char **error) |
Protected Member Functions | |
~CallMarshaller () | |
Protected Member Functions inherited from dart::compiler::ffi::BaseMarshaller | |
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 () | |
Additional Inherited Members | |
Protected Attributes inherited from dart::compiler::ffi::BaseMarshaller | |
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 198 of file marshaller.h.
|
inline |
Definition at line 206 of file marshaller.h.
|
inlineprotected |
Definition at line 240 of file marshaller.h.
intptr_t dart::compiler::ffi::CallMarshaller::CompoundReturnSizeInBytes | ( | ) | const |
Definition at line 684 of file marshaller.cc.
|
static |
Definition at line 90 of file marshaller.cc.
Location dart::compiler::ffi::CallMarshaller::LocInFfiCall | ( | intptr_t | def_index_global | ) | const |
Definition at line 600 of file marshaller.cc.
|
virtual |
Reimplemented from dart::compiler::ffi::BaseMarshaller.
Definition at line 293 of file marshaller.cc.
|
virtual |
Implements dart::compiler::ffi::BaseMarshaller.
Definition at line 319 of file marshaller.cc.
intptr_t dart::compiler::ffi::CallMarshaller::PassByPointerStackOffset | ( | intptr_t | arg_index | ) | const |
Definition at line 695 of file marshaller.cc.
|
virtual |
Reimplemented from dart::compiler::ffi::BaseMarshaller.
Definition at line 480 of file marshaller.cc.
intptr_t dart::compiler::ffi::CallMarshaller::RequiredStackSpaceInBytes | ( | ) | const |
Definition at line 741 of file marshaller.cc.
bool dart::compiler::ffi::CallMarshaller::ReturnsCompound | ( | ) | const |
Definition at line 680 of file marshaller.cc.