• Home
  • Raw
  • Download

Lines Matching refs:atom

37 static void add_white(Fuzz* fuzz, SkString* atom) {  in add_white()  argument
39 atom->append(" "); in add_white()
46 atom->append(&gWhiteSpace[index], 1); in add_white()
51 static void add_comma(Fuzz* fuzz, SkString* atom) { in add_comma() argument
53 atom->append(","); in add_comma()
56 size_t count = atom->size(); in add_comma()
57 add_white(fuzz, atom); in add_comma()
59 atom->append(","); in add_comma()
62 add_white(fuzz, atom); in add_comma()
63 } while (count == atom->size()); in add_comma()
66 static void add_some_white(Fuzz* fuzz, SkString* atom) { in add_some_white() argument
67 size_t count = atom->size(); in add_some_white()
69 add_white(fuzz, atom); in add_some_white()
70 } while (count == atom->size()); in add_some_white()
74 SkString atom; in MakeRandomParsePathPiece() local
77 gEasy ? atom.append("\n") : add_white(fuzz, &atom); in MakeRandomParsePathPiece()
79 atom.append(&symbol, 1); in MakeRandomParsePathPiece()
84 add_white(fuzz, &atom); in MakeRandomParsePathPiece()
85 atom.appendScalar(coord); in MakeRandomParsePathPiece()
87 add_comma(fuzz, &atom); in MakeRandomParsePathPiece()
89 add_some_white(fuzz, &atom); in MakeRandomParsePathPiece()
92 atom.appendScalar(fuzz->nextRangeF(-720, 720)); in MakeRandomParsePathPiece()
93 add_comma(fuzz, &atom); in MakeRandomParsePathPiece()
94 atom.appendU32(fuzz->nextRangeU(0, 1)); in MakeRandomParsePathPiece()
95 add_comma(fuzz, &atom); in MakeRandomParsePathPiece()
96 atom.appendU32(fuzz->nextRangeU(0, 1)); in MakeRandomParsePathPiece()
97 add_comma(fuzz, &atom); in MakeRandomParsePathPiece()
101 return atom; in MakeRandomParsePathPiece()