Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions
ffi_test_functions_generated_2.cc File Reference
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <sys/types.h>
#include <cmath>
#include <iostream>
#include <limits>

Go to the source code of this file.

Classes

struct  dart::Struct2BytesInt
 
union  dart::Union2BytesInt
 

Namespaces

namespace  dart
 

Macros

#define DART_EXPORT    extern "C" __attribute__((visibility("default"))) __attribute((used))
 
#define CHECK(X)
 
#define CHECK_EQ(X, Y)   CHECK((X) == (Y))
 
#define CHECK_APPROX(EXPECTED, ACTUAL)
 

Functions

DART_EXPORT int8_t dart::TakeInt8Pointer (int8_t *data, size_t length)
 
DART_EXPORT int8_t dart::TakeInt8PointerMany (int8_t *data0, int8_t *data1, int8_t *data2, int8_t *data3, int8_t *data4, int8_t *data5, int8_t *data6, int8_t *data7, int8_t *data8, int8_t *data9, int8_t *data10, int8_t *data11, int8_t *data12, int8_t *data13, int8_t *data14, int8_t *data15, int8_t *data16, int8_t *data17, int8_t *data18, int8_t *data19)
 
DART_EXPORT int16_t dart::TakeInt16Pointer (int16_t *data, size_t length)
 
DART_EXPORT int16_t dart::TakeInt16PointerMany (int16_t *data0, int16_t *data1, int16_t *data2, int16_t *data3, int16_t *data4, int16_t *data5, int16_t *data6, int16_t *data7, int16_t *data8, int16_t *data9, int16_t *data10, int16_t *data11, int16_t *data12, int16_t *data13, int16_t *data14, int16_t *data15, int16_t *data16, int16_t *data17, int16_t *data18, int16_t *data19)
 
DART_EXPORT int32_t dart::TakeInt32Pointer (int32_t *data, size_t length)
 
DART_EXPORT int32_t dart::TakeInt32PointerMany (int32_t *data0, int32_t *data1, int32_t *data2, int32_t *data3, int32_t *data4, int32_t *data5, int32_t *data6, int32_t *data7, int32_t *data8, int32_t *data9, int32_t *data10, int32_t *data11, int32_t *data12, int32_t *data13, int32_t *data14, int32_t *data15, int32_t *data16, int32_t *data17, int32_t *data18, int32_t *data19)
 
DART_EXPORT int64_t dart::TakeInt64Pointer (int64_t *data, size_t length)
 
DART_EXPORT int64_t dart::TakeInt64PointerMany (int64_t *data0, int64_t *data1, int64_t *data2, int64_t *data3, int64_t *data4, int64_t *data5, int64_t *data6, int64_t *data7, int64_t *data8, int64_t *data9, int64_t *data10, int64_t *data11, int64_t *data12, int64_t *data13, int64_t *data14, int64_t *data15, int64_t *data16, int64_t *data17, int64_t *data18, int64_t *data19)
 
DART_EXPORT uint8_t dart::TakeUint8Pointer (uint8_t *data, size_t length)
 
DART_EXPORT uint8_t dart::TakeUint8PointerMany (uint8_t *data0, uint8_t *data1, uint8_t *data2, uint8_t *data3, uint8_t *data4, uint8_t *data5, uint8_t *data6, uint8_t *data7, uint8_t *data8, uint8_t *data9, uint8_t *data10, uint8_t *data11, uint8_t *data12, uint8_t *data13, uint8_t *data14, uint8_t *data15, uint8_t *data16, uint8_t *data17, uint8_t *data18, uint8_t *data19)
 
DART_EXPORT uint16_t dart::TakeUint16Pointer (uint16_t *data, size_t length)
 
DART_EXPORT uint16_t dart::TakeUint16PointerMany (uint16_t *data0, uint16_t *data1, uint16_t *data2, uint16_t *data3, uint16_t *data4, uint16_t *data5, uint16_t *data6, uint16_t *data7, uint16_t *data8, uint16_t *data9, uint16_t *data10, uint16_t *data11, uint16_t *data12, uint16_t *data13, uint16_t *data14, uint16_t *data15, uint16_t *data16, uint16_t *data17, uint16_t *data18, uint16_t *data19)
 
DART_EXPORT uint32_t dart::TakeUint32Pointer (uint32_t *data, size_t length)
 
DART_EXPORT uint32_t dart::TakeUint32PointerMany (uint32_t *data0, uint32_t *data1, uint32_t *data2, uint32_t *data3, uint32_t *data4, uint32_t *data5, uint32_t *data6, uint32_t *data7, uint32_t *data8, uint32_t *data9, uint32_t *data10, uint32_t *data11, uint32_t *data12, uint32_t *data13, uint32_t *data14, uint32_t *data15, uint32_t *data16, uint32_t *data17, uint32_t *data18, uint32_t *data19)
 
DART_EXPORT uint64_t dart::TakeUint64Pointer (uint64_t *data, size_t length)
 
DART_EXPORT uint64_t dart::TakeUint64PointerMany (uint64_t *data0, uint64_t *data1, uint64_t *data2, uint64_t *data3, uint64_t *data4, uint64_t *data5, uint64_t *data6, uint64_t *data7, uint64_t *data8, uint64_t *data9, uint64_t *data10, uint64_t *data11, uint64_t *data12, uint64_t *data13, uint64_t *data14, uint64_t *data15, uint64_t *data16, uint64_t *data17, uint64_t *data18, uint64_t *data19)
 
DART_EXPORT float dart::TakeFloatPointer (float *data, size_t length)
 
DART_EXPORT float dart::TakeFloatPointerMany (float *data0, float *data1, float *data2, float *data3, float *data4, float *data5, float *data6, float *data7, float *data8, float *data9, float *data10, float *data11, float *data12, float *data13, float *data14, float *data15, float *data16, float *data17, float *data18, float *data19)
 
DART_EXPORT double dart::TakeDoublePointer (double *data, size_t length)
 
DART_EXPORT double dart::TakeDoublePointerMany (double *data0, double *data1, double *data2, double *data3, double *data4, double *data5, double *data6, double *data7, double *data8, double *data9, double *data10, double *data11, double *data12, double *data13, double *data14, double *data15, double *data16, double *data17, double *data18, double *data19)
 
DART_EXPORT bool dart::TakeBoolPointer (bool *data, size_t length)
 
DART_EXPORT bool dart::TakeBoolPointerMany (bool *data0, bool *data1, bool *data2, bool *data3, bool *data4, bool *data5, bool *data6, bool *data7, bool *data8, bool *data9, bool *data10, bool *data11, bool *data12, bool *data13, bool *data14, bool *data15, bool *data16, bool *data17, bool *data18, bool *data19)
 
DART_EXPORT int16_t dart::TakeStruct2BytesIntPointerMany (Struct2BytesInt *data0, Struct2BytesInt *data1, Struct2BytesInt *data2, Struct2BytesInt *data3, Struct2BytesInt *data4, Struct2BytesInt *data5, Struct2BytesInt *data6, Struct2BytesInt *data7, Struct2BytesInt *data8, Struct2BytesInt *data9, Struct2BytesInt *data10, Struct2BytesInt *data11, Struct2BytesInt *data12, Struct2BytesInt *data13, Struct2BytesInt *data14, Struct2BytesInt *data15, Struct2BytesInt *data16, Struct2BytesInt *data17, Struct2BytesInt *data18, Struct2BytesInt *data19)
 
DART_EXPORT int16_t dart::TakeUnion2BytesIntPointerMany (Union2BytesInt *data0, Union2BytesInt *data1, Union2BytesInt *data2, Union2BytesInt *data3, Union2BytesInt *data4, Union2BytesInt *data5, Union2BytesInt *data6, Union2BytesInt *data7, Union2BytesInt *data8, Union2BytesInt *data9, Union2BytesInt *data10, Union2BytesInt *data11, Union2BytesInt *data12, Union2BytesInt *data13, Union2BytesInt *data14, Union2BytesInt *data15, Union2BytesInt *data16, Union2BytesInt *data17, Union2BytesInt *data18, Union2BytesInt *data19)
 

Macro Definition Documentation

◆ CHECK

#define CHECK (   X)
Value:
if (!(X)) { \
fprintf(stderr, "%s\n", "Check failed: " #X); \
return 1; \
}
static const SkScalar X
Definition: StrokeBench.cpp:54

Definition at line 27 of file ffi_test_functions_generated_2.cc.

◆ CHECK_APPROX

#define CHECK_APPROX (   EXPECTED,
  ACTUAL 
)
Value:
CHECK(((EXPECTED * 0.99) <= (ACTUAL) && (EXPECTED * 1.01) >= (ACTUAL)) || \
((EXPECTED * 0.99) >= (ACTUAL) && (EXPECTED * 1.01) <= (ACTUAL)))
#define CHECK(X)

Definition at line 36 of file ffi_test_functions_generated_2.cc.

◆ CHECK_EQ

#define CHECK_EQ (   X,
  Y 
)    CHECK((X) == (Y))

Definition at line 33 of file ffi_test_functions_generated_2.cc.

◆ DART_EXPORT

#define DART_EXPORT    extern "C" __attribute__((visibility("default"))) __attribute((used))

Definition at line 21 of file ffi_test_functions_generated_2.cc.