Home
last modified time | relevance | path

Searched refs:nextRange (Results 1 – 25 of 81) sorted by relevance

1234

/external/skqp/fuzz/
DFuzzCommon.cpp36 fuzz->nextRange(&fillType, 0, (uint8_t)SkPath::kInverseEvenOdd_FillType); in FuzzNicePath()
39 fuzz->nextRange(&numOps, 0, maxOps); in FuzzNicePath()
49 fuzz->nextRange(&op, 0, PATH_OPERATIONS); in FuzzNicePath()
114 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
119 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
126 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
132 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
139 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
152 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
158 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
[all …]
DFuzzCanvas.cpp109 fuzz->nextRange(&colorFilterType, 0, 8); in make_fuzz_colorfilter()
117 fuzz->nextRange(&mode, 0, SkBlendMode::kLastMode); in make_fuzz_colorfilter()
144 fuzz->nextRange(&invertStyle, 0, 2); in make_fuzz_colorfilter()
145 fuzz->nextRange(&contrast, -1.0f, 1.0f); in make_fuzz_colorfilter()
177 fuzz->nextRange(&pos[i], 1.0f, 1024.0f); in fuzz_gradient_stops()
202 fuzz->nextRange(&shaderType, 0, 14); in make_fuzz_shader()
213 fuzz->nextRange(&tmX, 0, SkShader::TileMode::kLast_TileMode); in make_fuzz_shader()
214 fuzz->nextRange(&tmY, 0, SkShader::TileMode::kLast_TileMode); in make_fuzz_shader()
222 fuzz->nextRange(&tmX, 0, SkShader::TileMode::kLast_TileMode); in make_fuzz_shader()
223 fuzz->nextRange(&tmY, 0, SkShader::TileMode::kLast_TileMode); in make_fuzz_shader()
[all …]
DFuzzPathop.cpp19 fuzz->nextRange(&choice, 0, 4); in DEF_FUZZ()
23 fuzz->nextRange(&ops, 0, MAX_OPS); in DEF_FUZZ()
29 fuzz->nextRange(&ft, 0, SkPath::kInverseEvenOdd_FillType); in DEF_FUZZ()
33 fuzz->nextRange(&op, 0, SkPathOp::kReverseDifference_SkPathOp); in DEF_FUZZ()
45 fuzz->nextRange(&ft, 0, SkPath::kInverseEvenOdd_FillType); in DEF_FUZZ()
61 fuzz->nextRange(&ft, 0, SkPath::kInverseEvenOdd_FillType); in DEF_FUZZ()
66 fuzz->nextRange(&ft, 0, SkPath::kInverseEvenOdd_FillType); in DEF_FUZZ()
70 fuzz->nextRange(&op, 0, SkPathOp::kReverseDifference_SkPathOp); in DEF_FUZZ()
74 fuzz->nextRange(&pickOutput, 0, 2); in DEF_FUZZ()
87 fuzz->nextRange(&ft, 0, SkPath::kInverseEvenOdd_FillType); in DEF_FUZZ()
[all …]
DFuzzParsePath.cpp46 fuzz->nextRange(&reps, 0, 2); in add_white()
49 fuzz->nextRange(&index, 0, (int) SK_ARRAY_COUNT(gWhiteSpace) - 1); in add_white()
79 fuzz->nextRange(&index, 0, (int) SK_ARRAY_COUNT(gLegal) - 1); in MakeRandomParsePathPiece()
87 fuzz->nextRange(&reps, 1, 3); in MakeRandomParsePathPiece()
91 fuzz->nextRange(&coord, 0.0f, 100.0f); in MakeRandomParsePathPiece()
101 fuzz->nextRange(&s, -720.0f, 720.0f); in MakeRandomParsePathPiece()
120 fuzz->nextRange(&count, 0, 40); in DEF_FUZZ()
DFuzzDrawFunctions.cpp27 fuzz->nextRange(&str[i], 0x20, 0x7E); // printable ASCII in init_string()
39 fuzz->nextRange(&tmp_u8, 0, (int)SkBlendMode::kLastMode); in init_paint()
49 fuzz->nextRange(&tmp_u8, 0, (int)kHigh_SkFilterQuality); in init_paint()
52 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kLast_Cap); in init_paint()
55 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kLast_Join); in init_paint()
65 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kStrokeAndFill_Style); in init_paint()
71 fuzz->nextRange(&colorType, 0, (int)kLastEnum_SkColorType); in init_bitmap()
102 fuzz->nextRange(&x, 1, kMaxX); in init_surface()
103 fuzz->nextRange(&y, 1, kMaxY); in init_surface()
210 fuzz->nextRange(&i, 0, 10); // set i to number of operations to perform in fuzz_drawPath()
[all …]
DFuzzEncoders.cpp29 fuzz->nextRange(&w, 1, MAX_WIDTH); in make_fuzzed_bitmap()
30 fuzz->nextRange(&h, 1, MAX_HEIGHT); in make_fuzzed_bitmap()
43 fuzz->nextRange(&opts.fZLibLevel, 0, 9); in DEF_FUZZ()
53 fuzz->nextRange(&opts.fQuality, 0, 100); in DEF_FUZZ()
63 fuzz->nextRange(&opts.fQuality, 0.0f, 100.0f); in DEF_FUZZ()
DFuzz.h59 void nextRange(T*, Min, Max);
76 void nextRange(float* f, float min, float max);
96 inline void Fuzz::nextRange(T* value, Min min, Max max) { in nextRange() function
DFuzz.cpp23 this->nextRange(&flags, 0, 0xF); in next()
43 void Fuzz::nextRange(float* f, float min, float max) { in nextRange() function in Fuzz
DFuzzRegionOp.cpp16 fuzz->nextRange(&op, 0, SkRegion::kLastOp); in DEF_FUZZ()
DFuzzPolyUtils.cpp15 fuzz->nextRange(&count, 0, 512); in DEF_FUZZ()
/external/skia/fuzz/
DFuzzCommon.cpp36 fuzz->nextRange(&fillType, 0, (uint8_t)SkPathFillType::kInverseEvenOdd); in FuzzNicePath()
39 fuzz->nextRange(&numOps, 0, maxOps); in FuzzNicePath()
49 fuzz->nextRange(&op, 0, PATH_OPERATIONS); in FuzzNicePath()
114 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
119 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
126 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
132 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
139 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
152 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
158 fuzz->nextRange(&ui, 0, 1); in FuzzNicePath()
[all …]
DFuzzPathop.cpp19 fuzz->nextRange(&choice, 0, 4); in DEF_FUZZ()
23 fuzz->nextRange(&ops, 0, MAX_OPS); in DEF_FUZZ()
29 fuzz->nextRange(&ft, 0, (int)SkPathFillType::kInverseEvenOdd); in DEF_FUZZ()
33 fuzz->nextRange(&op, 0, SkPathOp::kReverseDifference_SkPathOp); in DEF_FUZZ()
45 fuzz->nextRange(&ft, 0, (int)SkPathFillType::kInverseEvenOdd); in DEF_FUZZ()
61 fuzz->nextRange(&ft, 0, SkPathFillType::kInverseEvenOdd); in DEF_FUZZ()
66 fuzz->nextRange(&ft, 0, SkPathFillType::kInverseEvenOdd); in DEF_FUZZ()
70 fuzz->nextRange(&op, 0, SkPathOp::kReverseDifference_SkPathOp); in DEF_FUZZ()
74 fuzz->nextRange(&pickOutput, 0, 2); in DEF_FUZZ()
87 fuzz->nextRange(&ft, 0, SkPathFillType::kInverseEvenOdd); in DEF_FUZZ()
[all …]
DFuzzParsePath.cpp46 fuzz->nextRange(&reps, 0, 2); in add_white()
49 fuzz->nextRange(&index, 0, (int) SK_ARRAY_COUNT(gWhiteSpace) - 1); in add_white()
79 fuzz->nextRange(&index, 0, (int) SK_ARRAY_COUNT(gLegal) - 1); in MakeRandomParsePathPiece()
87 fuzz->nextRange(&reps, 1, 3); in MakeRandomParsePathPiece()
91 fuzz->nextRange(&coord, 0.0f, 100.0f); in MakeRandomParsePathPiece()
101 fuzz->nextRange(&s, -720.0f, 720.0f); in MakeRandomParsePathPiece()
120 fuzz->nextRange(&count, 0, 40); in DEF_FUZZ()
DFuzzCanvas.cpp92 fuzz->nextRange(&colorFilterType, 0, 8); in make_fuzz_colorfilter()
127 fuzz->nextRange(&invertStyle, 0, 2); in make_fuzz_colorfilter()
128 fuzz->nextRange(&contrast, -1.0f, 1.0f); in make_fuzz_colorfilter()
160 fuzz->nextRange(&pos[i], 1.0f, 1024.0f); in fuzz_gradient_stops()
185 fuzz->nextRange(&shaderType, 0, 14); in make_fuzz_shader()
244 fuzz->nextRange(&colorCount, 2, kMaxColors); in make_fuzz_shader()
267 fuzz->nextRange(&colorCount, 2, kMaxColors); in make_fuzz_shader()
288 fuzz->nextRange(&colorCount, 2, kMaxColors); in make_fuzz_shader()
308 fuzz->nextRange(&colorCount, 2, kMaxColors); in make_fuzz_shader()
328 fuzz->nextRange(&numOctaves, 2, 7); in make_fuzz_shader()
[all …]
DFuzzCreateDDL.cpp47 fuzz->nextRange(&R, -1, 2); in gen_fuzzed_skpaint()
48 fuzz->nextRange(&G, -1, 2); in gen_fuzzed_skpaint()
49 fuzz->nextRange(&B, -1, 2); in gen_fuzzed_skpaint()
50 fuzz->nextRange(&Alpha, 0, 1); in gen_fuzzed_skpaint()
57 fuzz->nextRange(&width, 1, kMaxWidth); in gen_fuzzed_imageinfo()
58 fuzz->nextRange(&height, 1, kMaxHeight); in gen_fuzzed_imageinfo()
63 fuzz->nextRange(&skcms, 0, 5); in gen_fuzzed_imageinfo()
94 fuzz->nextRange(&skcms, 0, 4); in gen_fuzzed_imageinfo()
DFuzzDrawFunctions.cpp28 fuzz->nextRange(&str[i], 0x20, 0x7E); // printable ASCII in init_string()
40 fuzz->nextRange(&tmp_u8, 0, (int)SkBlendMode::kLastMode); in init_paint()
50 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kLast_Cap); in init_paint()
53 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kLast_Join); in init_paint()
63 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kStrokeAndFill_Style); in init_paint()
69 fuzz->nextRange(&colorType, 0, (int)kLastEnum_SkColorType); in init_bitmap()
100 fuzz->nextRange(&x, 1, kMaxX); in init_surface()
101 fuzz->nextRange(&y, 1, kMaxY); in init_surface()
208 fuzz->nextRange(&i, 0, 10); // set i to number of operations to perform in fuzz_drawPath()
212 fuzz->nextRange(&j, 0, 5); // set j to choose operation to perform in fuzz_drawPath()
[all …]
DFuzzEncoders.cpp29 fuzz->nextRange(&w, 1, MAX_WIDTH); in make_fuzzed_bitmap()
30 fuzz->nextRange(&h, 1, MAX_HEIGHT); in make_fuzzed_bitmap()
43 fuzz->nextRange(&opts.fZLibLevel, 0, 9); in DEF_FUZZ()
53 fuzz->nextRange(&opts.fQuality, 0, 100); in DEF_FUZZ()
63 fuzz->nextRange(&opts.fQuality, 0.0f, 100.0f); in DEF_FUZZ()
DFuzz.h60 void nextRange(T*, Min, Max);
80 void nextRange(float* f, float min, float max);
100 inline void Fuzz::nextRange(T* value, Min min, Max max) { in nextRange() function
DFuzzSkParagraph.cpp116 fuzz->nextRange(&text_length, 0, MAX_TEXT_LENGTH); in RandomText()
262 fuzz->nextRange(&iterations, 1, MAX_TEXT_ADDITIONS); in DEF_FUZZ()
DFuzz.cpp35 void Fuzz::nextRange(float* f, float min, float max) { in nextRange() function in Fuzz
DFuzzPolyUtils.cpp17 fuzz->nextRange(&count, 0, 512); in DEF_FUZZ()
/external/guava/guava/src/com/google/common/collect/
DTreeRangeSet.java801 Range<C> nextRange = completeRangeItr.next();
802 if (upperBoundOnLowerBounds.isLessThan(nextRange.lowerBound)) {
805 nextRange = nextRange.intersection(restriction);
806 return Maps.immutableEntry(nextRange.lowerBound, nextRange);
834 Range<C> nextRange = completeRangeItr.next();
835 if (restriction.lowerBound.compareTo(nextRange.upperBound) >= 0) {
838 nextRange = nextRange.intersection(restriction);
839 if (lowerBoundWindow.contains(nextRange.lowerBound)) {
840 return Maps.immutableEntry(nextRange.lowerBound, nextRange);
/external/guava/android/guava/src/com/google/common/collect/
DTreeRangeSet.java805 Range<C> nextRange = completeRangeItr.next();
806 if (upperBoundOnLowerBounds.isLessThan(nextRange.lowerBound)) {
809 nextRange = nextRange.intersection(restriction);
810 return Maps.immutableEntry(nextRange.lowerBound, nextRange);
838 Range<C> nextRange = completeRangeItr.next();
839 if (restriction.lowerBound.compareTo(nextRange.upperBound) >= 0) {
842 nextRange = nextRange.intersection(restriction);
843 if (lowerBoundWindow.contains(nextRange.lowerBound)) {
844 return Maps.immutableEntry(nextRange.lowerBound, nextRange);
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DUnicodeSetPerf.java53 while (it.nextRange()) { in testUnicodeSetAdd()
73 while (it.nextRange()) {
/external/skqp/fuzz/oss_fuzz/
DFuzzAndroidCodec.cpp58 fuzz.nextRange(&sampleSize, 1, 64); in LLVMFuzzerTestOneInput()

1234