Home
last modified time | relevance | path

Searched refs:nextRange (Results 1 – 25 of 79) 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.cpp91 fuzz->nextRange(&colorFilterType, 0, 8); in make_fuzz_colorfilter()
126 fuzz->nextRange(&invertStyle, 0, 2); in make_fuzz_colorfilter()
127 fuzz->nextRange(&contrast, -1.0f, 1.0f); in make_fuzz_colorfilter()
159 fuzz->nextRange(&pos[i], 1.0f, 1024.0f); in fuzz_gradient_stops()
184 fuzz->nextRange(&shaderType, 0, 14); in make_fuzz_shader()
251 fuzz->nextRange(&colorCount, 2, kMaxColors); in make_fuzz_shader()
274 fuzz->nextRange(&colorCount, 2, kMaxColors); in make_fuzz_shader()
295 fuzz->nextRange(&colorCount, 2, kMaxColors); in make_fuzz_shader()
315 fuzz->nextRange(&colorCount, 2, kMaxColors); in make_fuzz_shader()
335 fuzz->nextRange(&numOctaves, 2, 7); in make_fuzz_shader()
[all …]
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.h60 void nextRange(T*, Min, Max);
81 void nextRange(float* f, float min, float max);
101 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
DFuzzSkDescriptor.cpp23 fuzz->nextRange(&data, 0, 500); in DEF_FUZZ()
41 fuzz->nextRange(&choice, 0, 1); in DEF_FUZZ()
DFuzzRegionOp.cpp16 fuzz->nextRange(&op, 0, SkRegion::kLastOp); in DEF_FUZZ()
/external/guava/guava/src/com/google/common/collect/
DTreeRangeSet.java802 Range<C> nextRange = completeRangeItr.next();
803 if (upperBoundOnLowerBounds.isLessThan(nextRange.lowerBound)) {
806 nextRange = nextRange.intersection(restriction);
807 return Maps.immutableEntry(nextRange.lowerBound, nextRange);
835 Range<C> nextRange = completeRangeItr.next();
836 if (restriction.lowerBound.compareTo(nextRange.upperBound) >= 0) {
839 nextRange = nextRange.intersection(restriction);
840 if (lowerBoundWindow.contains(nextRange.lowerBound)) {
841 return Maps.immutableEntry(nextRange.lowerBound, nextRange);
/external/guava/android/guava/src/com/google/common/collect/
DTreeRangeSet.java806 Range<C> nextRange = completeRangeItr.next();
807 if (upperBoundOnLowerBounds.isLessThan(nextRange.lowerBound)) {
810 nextRange = nextRange.intersection(restriction);
811 return Maps.immutableEntry(nextRange.lowerBound, nextRange);
839 Range<C> nextRange = completeRangeItr.next();
840 if (restriction.lowerBound.compareTo(nextRange.upperBound) >= 0) {
843 nextRange = nextRange.intersection(restriction);
844 if (lowerBoundWindow.contains(nextRange.lowerBound)) {
845 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()
/external/skia/fuzz/oss_fuzz/
DFuzzAndroidCodec.cpp58 fuzz.nextRange(&sampleSize, 1, 64); in LLVMFuzzerTestOneInput()

1234