Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
native_functions.c File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

uint8_t Function1Uint8 (uint8_t x)
 
uint16_t Function1Uint16 (uint16_t x)
 
uint32_t Function1Uint32 (uint32_t x)
 
uint64_t Function1Uint64 (uint64_t x)
 
int8_t Function1Int8 (int8_t x)
 
int16_t Function1Int16 (int16_t x)
 
int32_t Function1Int32 (int32_t x)
 
int32_t Function2Int32 (int32_t a, int32_t b)
 
int32_t Function4Int32 (int32_t a, int32_t b, int32_t c, int32_t d)
 
int32_t Function10Int32 (int32_t a, int32_t b, int32_t c, int32_t d, int32_t e, int32_t f, int32_t g, int32_t h, int32_t i, int32_t j)
 
int32_t Function20Int32 (int32_t a, int32_t b, int32_t c, int32_t d, int32_t e, int32_t f, int32_t g, int32_t h, int32_t i, int32_t j, int32_t k, int32_t l, int32_t m, int32_t n, int32_t o, int32_t p, int32_t q, int32_t r, int32_t s, int32_t t)
 
int64_t Function1Int64 (int64_t x)
 
int64_t Function2Int64 (int64_t a, int64_t b)
 
int64_t Function4Int64 (int64_t a, int64_t b, int64_t c, int64_t d)
 
int64_t Function10Int64 (int64_t a, int64_t b, int64_t c, int64_t d, int64_t e, int64_t f, int64_t g, int64_t h, int64_t i, int64_t j)
 
int64_t Function20Int64 (int64_t a, int64_t b, int64_t c, int64_t d, int64_t e, int64_t f, int64_t g, int64_t h, int64_t i, int64_t j, int64_t k, int64_t l, int64_t m, int64_t n, int64_t o, int64_t p, int64_t q, int64_t r, int64_t s, int64_t t)
 
float Function1Float (float x)
 
float Function2Float (float a, float b)
 
float Function4Float (float a, float b, float c, float d)
 
float Function10Float (float a, float b, float c, float d, float e, float f, float g, float h, float i, float j)
 
float Function20Float (float a, float b, float c, float d, float e, float f, float g, float h, float i, float j, float k, float l, float m, float n, float o, float p, float q, float r, float s, float t)
 
double Function1Double (double x)
 
double Function2Double (double a, double b)
 
double Function4Double (double a, double b, double c, double d)
 
double Function10Double (double a, double b, double c, double d, double e, double f, double g, double h, double i, double j)
 
double Function20Double (double a, double b, double c, double d, double e, double f, double g, double h, double i, double j, double k, double l, double m, double n, double o, double p, double q, double r, double s, double t)
 
uint8_t * Function1PointerUint8 (uint8_t *a)
 
uint8_t * Function2PointerUint8 (uint8_t *a, uint8_t *b)
 
uint8_t * Function4PointerUint8 (uint8_t *a, uint8_t *b, uint8_t *c, uint8_t *d)
 
uint8_t * Function10PointerUint8 (uint8_t *a, uint8_t *b, uint8_t *c, uint8_t *d, uint8_t *e, uint8_t *f, uint8_t *g, uint8_t *h, uint8_t *i, uint8_t *j)
 
uint8_t * Function20PointerUint8 (uint8_t *a, uint8_t *b, uint8_t *c, uint8_t *d, uint8_t *e, uint8_t *f, uint8_t *g, uint8_t *h, uint8_t *i, uint8_t *j, uint8_t *k, uint8_t *l, uint8_t *m, uint8_t *n, uint8_t *o, uint8_t *p, uint8_t *q, uint8_t *r, uint8_t *s, uint8_t *t)
 
void * Function1Handle (void *a)
 
void * Function2Handle (void *a, void *b)
 
void * Function4Handle (void *a, void *b, void *c, void *d)
 
void * Function10Handle (void *a, void *b, void *c, void *d, void *e, void *f, void *g, void *h, void *i, void *j)
 
void * Function20Handle (void *a, void *b, void *c, void *d, void *e, void *f, void *g, void *h, void *i, void *j, void *k, void *l, void *m, void *n, void *o, void *p, void *q, void *r, void *s, void *t)
 

Function Documentation

◆ Function10Double()

double Function10Double ( double  a,
double  b,
double  c,
double  d,
double  e,
double  f,
double  g,
double  h,
double  i,
double  j 
)

Definition at line 98 of file native_functions.c.

99 {
100 return a + b + c + d + e + f + g + h + i + j;
101}
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition main.cc:19
static bool b
struct MyStruct a[10]
SkScalar h

◆ Function10Float()

float Function10Float ( float  a,
float  b,
float  c,
float  d,
float  e,
float  f,
float  g,
float  h,
float  i,
float  j 
)

Definition at line 75 of file native_functions.c.

76 {
77 return a + b + c + d + e + f + g + h + i + j;
78}

◆ Function10Handle()

void * Function10Handle ( void *  a,
void *  b,
void *  c,
void *  d,
void *  e,
void *  f,
void *  g,
void *  h,
void *  i,
void *  j 
)

Definition at line 146 of file native_functions.c.

155 {
156 return a;
157}

◆ Function10Int32()

int32_t Function10Int32 ( int32_t  a,
int32_t  b,
int32_t  c,
int32_t  d,
int32_t  e,
int32_t  f,
int32_t  g,
int32_t  h,
int32_t  i,
int32_t  j 
)

Definition at line 29 of file native_functions.c.

30 {
31 return a + b + c + d + e + f + g + h + i + j;
32}

◆ Function10Int64()

int64_t Function10Int64 ( int64_t  a,
int64_t  b,
int64_t  c,
int64_t  d,
int64_t  e,
int64_t  f,
int64_t  g,
int64_t  h,
int64_t  i,
int64_t  j 
)

Definition at line 52 of file native_functions.c.

53 {
54 return a + b + c + d + e + f + g + h + i + j;
55}

◆ Function10PointerUint8()

uint8_t * Function10PointerUint8 ( uint8_t *  a,
uint8_t *  b,
uint8_t *  c,
uint8_t *  d,
uint8_t *  e,
uint8_t *  f,
uint8_t *  g,
uint8_t *  h,
uint8_t *  i,
uint8_t *  j 
)

Definition at line 119 of file native_functions.c.

121 {
122 return a + 1;
123}

◆ Function1Double()

double Function1Double ( double  x)

Definition at line 88 of file native_functions.c.

88{ return x + 42.0; }
double x

◆ Function1Float()

float Function1Float ( float  x)

Definition at line 65 of file native_functions.c.

65{ return x + 42.0f; }

◆ Function1Handle()

void * Function1Handle ( void *  a)

Definition at line 134 of file native_functions.c.

134 {
135 return a;
136}

◆ Function1Int16()

int16_t Function1Int16 ( int16_t  x)

Definition at line 17 of file native_functions.c.

17{ return x + 42; }

◆ Function1Int32()

int32_t Function1Int32 ( int32_t  x)

Definition at line 19 of file native_functions.c.

19{ return x + 42; }

◆ Function1Int64()

int64_t Function1Int64 ( int64_t  x)

Definition at line 42 of file native_functions.c.

42{ return x + 42; }

◆ Function1Int8()

int8_t Function1Int8 ( int8_t  x)

Definition at line 15 of file native_functions.c.

15{ return x + 42; }

◆ Function1PointerUint8()

uint8_t * Function1PointerUint8 ( uint8_t *  a)

Definition at line 111 of file native_functions.c.

111{ return a + 1; }

◆ Function1Uint16()

uint16_t Function1Uint16 ( uint16_t  x)

Definition at line 9 of file native_functions.c.

9{ return x + 42; }

◆ Function1Uint32()

uint32_t Function1Uint32 ( uint32_t  x)

Definition at line 11 of file native_functions.c.

11{ return x + 42; }

◆ Function1Uint64()

uint64_t Function1Uint64 ( uint64_t  x)

Definition at line 13 of file native_functions.c.

13{ return x + 42; }

◆ Function1Uint8()

uint8_t Function1Uint8 ( uint8_t  x)

Definition at line 7 of file native_functions.c.

7{ return x + 42; }

◆ Function20Double()

double Function20Double ( double  a,
double  b,
double  c,
double  d,
double  e,
double  f,
double  g,
double  h,
double  i,
double  j,
double  k,
double  l,
double  m,
double  n,
double  o,
double  p,
double  q,
double  r,
double  s,
double  t 
)

Definition at line 103 of file native_functions.c.

106 {
107 return a + b + c + d + e + f + g + h + i + j + k + l + m + n + o +
108 p + q + r + s + t;
109}
struct MyStruct s

◆ Function20Float()

float Function20Float ( float  a,
float  b,
float  c,
float  d,
float  e,
float  f,
float  g,
float  h,
float  i,
float  j,
float  k,
float  l,
float  m,
float  n,
float  o,
float  p,
float  q,
float  r,
float  s,
float  t 
)

Definition at line 80 of file native_functions.c.

83 {
84 return a + b + c + d + e + f + g + h + i + j + k + l + m + n + o + p +
85 q + r + s + t;
86}

◆ Function20Handle()

void * Function20Handle ( void *  a,
void *  b,
void *  c,
void *  d,
void *  e,
void *  f,
void *  g,
void *  h,
void *  i,
void *  j,
void *  k,
void *  l,
void *  m,
void *  n,
void *  o,
void *  p,
void *  q,
void *  r,
void *  s,
void *  t 
)

Definition at line 159 of file native_functions.c.

178 {
179 return a;
180}

◆ Function20Int32()

int32_t Function20Int32 ( int32_t  a,
int32_t  b,
int32_t  c,
int32_t  d,
int32_t  e,
int32_t  f,
int32_t  g,
int32_t  h,
int32_t  i,
int32_t  j,
int32_t  k,
int32_t  l,
int32_t  m,
int32_t  n,
int32_t  o,
int32_t  p,
int32_t  q,
int32_t  r,
int32_t  s,
int32_t  t 
)

Definition at line 34 of file native_functions.c.

37 {
38 return a + b + c + d + e + f + g + h + i + j + k + l + m + n + o +
39 p + q + r + s + t;
40}

◆ Function20Int64()

int64_t Function20Int64 ( int64_t  a,
int64_t  b,
int64_t  c,
int64_t  d,
int64_t  e,
int64_t  f,
int64_t  g,
int64_t  h,
int64_t  i,
int64_t  j,
int64_t  k,
int64_t  l,
int64_t  m,
int64_t  n,
int64_t  o,
int64_t  p,
int64_t  q,
int64_t  r,
int64_t  s,
int64_t  t 
)

Definition at line 57 of file native_functions.c.

60 {
61 return a + b + c + d + e + f + g + h + i + j + k + l + m + n + o +
62 p + q + r + s + t;
63}

◆ Function20PointerUint8()

uint8_t * Function20PointerUint8 ( uint8_t *  a,
uint8_t *  b,
uint8_t *  c,
uint8_t *  d,
uint8_t *  e,
uint8_t *  f,
uint8_t *  g,
uint8_t *  h,
uint8_t *  i,
uint8_t *  j,
uint8_t *  k,
uint8_t *  l,
uint8_t *  m,
uint8_t *  n,
uint8_t *  o,
uint8_t *  p,
uint8_t *  q,
uint8_t *  r,
uint8_t *  s,
uint8_t *  t 
)

Definition at line 125 of file native_functions.c.

130 {
131 return a + 1;
132}

◆ Function2Double()

double Function2Double ( double  a,
double  b 
)

Definition at line 90 of file native_functions.c.

90 {
91 return a + b;
92}

◆ Function2Float()

float Function2Float ( float  a,
float  b 
)

Definition at line 67 of file native_functions.c.

67 {
68 return a + b;
69}

◆ Function2Handle()

void * Function2Handle ( void *  a,
void *  b 
)

Definition at line 138 of file native_functions.c.

138 {
139 return a;
140}

◆ Function2Int32()

int32_t Function2Int32 ( int32_t  a,
int32_t  b 
)

Definition at line 21 of file native_functions.c.

21 {
22 return a + b;
23}

◆ Function2Int64()

int64_t Function2Int64 ( int64_t  a,
int64_t  b 
)

Definition at line 44 of file native_functions.c.

44 {
45 return a + b;
46}

◆ Function2PointerUint8()

uint8_t * Function2PointerUint8 ( uint8_t *  a,
uint8_t *  b 
)

Definition at line 113 of file native_functions.c.

113{ return a + 1; }

◆ Function4Double()

double Function4Double ( double  a,
double  b,
double  c,
double  d 
)

Definition at line 94 of file native_functions.c.

94 {
95 return a + b + c + d;
96}

◆ Function4Float()

float Function4Float ( float  a,
float  b,
float  c,
float  d 
)

Definition at line 71 of file native_functions.c.

71 {
72 return a + b + c + d;
73}

◆ Function4Handle()

void * Function4Handle ( void *  a,
void *  b,
void *  c,
void *  d 
)

Definition at line 142 of file native_functions.c.

142 {
143 return a;
144}

◆ Function4Int32()

int32_t Function4Int32 ( int32_t  a,
int32_t  b,
int32_t  c,
int32_t  d 
)

Definition at line 25 of file native_functions.c.

25 {
26 return a + b + c + d;
27}

◆ Function4Int64()

int64_t Function4Int64 ( int64_t  a,
int64_t  b,
int64_t  c,
int64_t  d 
)

Definition at line 48 of file native_functions.c.

48 {
49 return a + b + c + d;
50}

◆ Function4PointerUint8()

uint8_t * Function4PointerUint8 ( uint8_t *  a,
uint8_t *  b,
uint8_t *  c,
uint8_t *  d 
)

Definition at line 115 of file native_functions.c.

115 {
116 return a + 1;
117}