Flutter Engine
The Flutter Engine
|
#include <marshaller.h>
Public Member Functions | |
CallbackMarshaller (Zone *zone, const Function &dart_signature, const FunctionType &c_signature, const NativeCallingConvention &native_calling_convention, const NativeLocations &callback_locs) | |
virtual Representation | RepInFfiCall (intptr_t def_index_global) const |
virtual intptr_t | NumDefinitions (intptr_t arg_index) const |
virtual intptr_t | NumReturnDefinitions () const |
const NativeLocation & | NativeLocationOfNativeParameter (intptr_t def_index) const |
dart::Location | LocationOfNativeParameter (intptr_t def_index) 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 CallbackMarshaller * | FromFunction (Zone *zone, const Function &function, const char **error) |
Protected Member Functions | |
~CallbackMarshaller () | |
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 () | |
Protected Attributes | |
const NativeLocations & | callback_locs_ |
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 243 of file marshaller.h.
|
inline |
Definition at line 249 of file marshaller.h.
|
inlineprotected |
Definition at line 280 of file marshaller.h.
|
static |
Definition at line 879 of file marshaller.cc.
|
inline |
Definition at line 271 of file marshaller.h.
const NativeLocation & dart::compiler::ffi::CallbackMarshaller::NativeLocationOfNativeParameter | ( | intptr_t | def_index | ) | const |
Definition at line 900 of file marshaller.cc.
|
virtual |
Reimplemented from dart::compiler::ffi::BaseMarshaller.
Definition at line 306 of file marshaller.cc.
|
virtual |
Implements dart::compiler::ffi::BaseMarshaller.
Definition at line 331 of file marshaller.cc.
|
virtual |
Reimplemented from dart::compiler::ffi::BaseMarshaller.
Definition at line 523 of file marshaller.cc.
|
protected |
Definition at line 282 of file marshaller.h.