Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
third_party
skia
experimental
filterfuzz
filterfuzz.cpp
Go to the documentation of this file.
1
// Copyright 2021 Google LLC.
2
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3
4
5
#include "
include/core/SkGraphics.h
"
6
#include "
tools/flags/CommandLineFlags.h
"
7
8
static
DEFINE_int_2
(option, o, 0,
"An option"
);
9
10
static
void
exitf
(
const
char
*
format
, ...)
SK_PRINTF_LIKE
(1, 2);
11
12
static
void
exitf
(const
char
*
format
, ...) {
13
va_list
args
;
14
va_start
(
args
,
format
);
15
vfprintf(stderr,
format
,
args
);
16
va_end
(
args
);
17
18
exit
(1);
19
}
20
21
int
main
(
int
argc,
char
**
argv
) {
22
CommandLineFlags::Parse
(argc,
argv
);
23
24
if
(FLAGS_option) {
25
exitf
(
"Invalid option\n"
);
26
}
27
28
SkGraphics::Init
();
29
30
return
0;
31
}
CommandLineFlags.h
SK_PRINTF_LIKE
#define SK_PRINTF_LIKE(A, B)
Definition:
SkAttributes.h:52
SkGraphics.h
CommandLineFlags::Parse
static void Parse(int argc, const char *const *argv)
Definition:
CommandLineFlags.cpp:215
SkGraphics::Init
static void Init()
Definition:
SkGraphics.cpp:22
main
int main(int argc, char **argv)
Definition:
filterfuzz.cpp:21
DEFINE_int_2
static DEFINE_int_2(option, o, 0, "An option")
exitf
static void exitf(const char *format,...) SK_PRINTF_LIKE(1
Definition:
filterfuzz.cpp:12
args
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
Definition:
fl_event_channel.h:89
format
uint32_t uint32_t * format
Definition:
fl_texture_registrar_test.cc:41
argv
char ** argv
Definition:
library.h:9
dart::bin::va_start
va_start(args, format)
dart::bin::exit
exit(kErrorExitCode)
dart::bin::va_end
va_end(args)
Generated on Sun Jun 23 2024 21:55:57 for Flutter Engine by
1.9.4