36static const char gWhiteSpace[] = { 0, 0, 0, 0, 0, 0, 0, 0,
' ',
' ',
' ',
' ', 0x09, 0x0D, 0x0A };
47 for (uint8_t rep = 0; rep < reps; ++rep) {
57 for(
int i = 0;
i < 10;
i++) {
84 char symbol = legal.
fSymbol | (
b ? 0x20 : 0);
88 for (
int rep = 0; rep < reps; ++rep) {
89 for (
int index = 0; index < legal.
fScalars; ++index) {
94 if (rep < reps - 1 && index < legal.
fScalars - 1) {
99 if (
'A' == legal.
fSymbol && 1 == index) {
120 fuzz->nextRange(&
count, 0, 40);
121 for (uint8_t
i = 0;
i <
count; ++
i) {
124 SkDebugf(
"SkParsePath::FromSVGString(%s, &path);\n",spec.
c_str());
126 SkDebugf(
"Could not decode path\n");
SkString MakeRandomParsePathPiece(Fuzz *fuzz)
static void add_some_white(Fuzz *fuzz, SkString *atom)
static const char gWhiteSpace[]
static void add_white(Fuzz *fuzz, SkString *atom)
static void add_comma(Fuzz *fuzz, SkString *atom)
DEF_FUZZ(ParsePath, fuzz)
static const struct Legal gLegal[]
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
void nextRange(T *, Min, Max)
static bool FromSVGString(const char str[], SkPath *)
void append(const char text[])
void appendScalar(SkScalar value)
void appendU32(uint32_t value)
const char * c_str() const
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size