/external/skia/fuzz/ |
D | FuzzCanvas.cpp | 76 inline void fuzz_enum_range(Fuzz* fuzz, T* value, Min rmin, Max rmax) { in fuzz_enum_range() argument 78 fuzz->nextRange((U*)value, (U)rmin, (U)rmax); in fuzz_enum_range() 85 inline T make_fuzz_t(Fuzz* fuzz) { in make_fuzz_t() argument 87 fuzz->next(&t); in make_fuzz_t() 92 static void fuzz_nice_float(Fuzz* fuzz, float* f) { in fuzz_nice_float() argument 94 fuzz->next(&v); in fuzz_nice_float() 100 inline void fuzz_nice_float(Fuzz* fuzz, float* f, Args... rest) { in fuzz_nice_float() argument 101 fuzz_nice_float(fuzz, f); in fuzz_nice_float() 102 fuzz_nice_float(fuzz, rest...); in fuzz_nice_float() 105 static void fuzz_path(Fuzz* fuzz, SkPath* path, int maxOps) { in fuzz_path() argument [all …]
|
D | FuzzDrawFunctions.cpp | 24 static void init_string(Fuzz* fuzz, char* str, size_t bufSize) { in init_string() argument 26 fuzz->nextRange(&str[i], 0x20, 0x7E); // printable ASCII in init_string() 32 static void init_paint(Fuzz* fuzz, SkPaint* p) { in init_paint() argument 34 fuzz->next(&b); in init_paint() 38 fuzz->nextRange(&tmp_u8, 0, (int)SkBlendMode::kLastMode); in init_paint() 42 fuzz->next(&co); in init_paint() 45 fuzz->next(&b); in init_paint() 48 fuzz->nextRange(&tmp_u8, 0, (int)kHigh_SkFilterQuality); in init_paint() 51 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kFull_Hinting); in init_paint() 54 fuzz->nextRange(&tmp_u8, 0, (int)SkPaint::kLast_Cap); in init_paint() [all …]
|
D | FuzzParsePath.cpp | 37 static void add_white(Fuzz* fuzz, SkString* atom) { in add_white() argument 45 fuzz->nextRange(&reps, 0, 2); in add_white() 48 fuzz->nextRange(&index, 0, (int) SK_ARRAY_COUNT(gWhiteSpace) - 1); in add_white() 55 static void add_some_white(Fuzz* fuzz, SkString* atom) { in add_some_white() argument 57 add_white(fuzz, atom); in add_some_white() 61 static void add_comma(Fuzz* fuzz, SkString* atom) { in add_comma() argument 66 add_white(fuzz, atom); in add_comma() 68 fuzz->next(&b); in add_comma() 72 add_some_white(fuzz, atom); in add_comma() 75 SkString MakeRandomParsePathPiece(Fuzz* fuzz) { in MakeRandomParsePathPiece() argument [all …]
|
D | FuzzGradients.cpp | 20 void makeMatrix(Fuzz* fuzz, SkMatrix* m) { in makeMatrix() argument 22 fuzz->nextN(mat, 9); in makeMatrix() 26 void initGradientParams(Fuzz* fuzz, std::vector<SkColor>* colors, in initGradientParams() argument 29 fuzz->nextRange(&count, 0, MAX_COUNT); in initGradientParams() 34 fuzz->nextRange(&m, 0, 2); in initGradientParams() 42 fuzz->next(&c, &s); in initGradientParams() 106 void fuzzLinearGradient(Fuzz* fuzz) { in fuzzLinearGradient() argument 108 fuzz->next(&pts[0].fX, &pts[0].fY, &pts[1].fX, &pts[1].fY); in fuzzLinearGradient() 110 fuzz->next(&useLocalMatrix, &useGlobalMatrix); in fuzzLinearGradient() 115 initGradientParams(fuzz, &colors, &pos, &mode); in fuzzLinearGradient() [all …]
|
D | FilterFuzz.cpp | 52 static Fuzz* fuzz; variable 58 bool b; fuzz->next(&b); in make_bool() 64 fuzz->next(&f); in make_number() 73 fuzz->nextRange(&length, 0, 1000); in make_string() 77 fuzz->nextRange(&c, 0, 255); in make_string() 85 fuzz->nextRange(&sel, 0, 7); in make_font_name() 103 fuzz->nextRange(&w, 0.0f, (float) kBitmapSize-1); in make_rect() 104 fuzz->nextRange(&h, 0.0f, (float) kBitmapSize-1); in make_rect() 110 fuzz->nextRange(&x, 0, kBitmapSize-1); in make_region() 111 fuzz->nextRange(&y, 0, kBitmapSize-1); in make_region() [all …]
|
D | FuzzPathop.cpp | 14 void BuildPath(Fuzz* fuzz, in BuildPath() argument 17 while (!fuzz->exhausted()) { in BuildPath() 21 fuzz->next(&operation); in BuildPath() 26 fuzz->next(&a, &b); in BuildPath() 31 fuzz->next(&a, &b); in BuildPath() 36 fuzz->next(&a, &b, &c, &d); in BuildPath() 41 fuzz->next(&a, &b, &c, &d, &e); in BuildPath() 46 fuzz->next(&a, &b, &c, &d, &e, &f); in BuildPath() 61 DEF_FUZZ(Pathop, fuzz) { in DEF_FUZZ() argument 65 fuzz->next(&stragglerOp); in DEF_FUZZ() [all …]
|
D | FuzzScaleToSides.cpp | 18 DEF_FUZZ(ScaleToSides, fuzz) { in DEF_FUZZ() argument 20 fuzz->next(&radius1, &radius2, &width); in DEF_FUZZ()
|
/external/ImageMagick/MagickCore/ |
D | color-private.h | 39 fuzz; in GetFuzzyColorDistance() local 41 fuzz=(double) MagickMax(MagickMax(p->fuzz,q->fuzz),(MagickRealType) in GetFuzzyColorDistance() 43 return(fuzz*fuzz); in GetFuzzyColorDistance()
|
D | color.c | 1688 fuzz, in IsEquivalentAlpha() local 1698 fuzz=MagickMax(image->fuzz,MagickSQ1_2); in IsEquivalentAlpha() 1699 fuzz*=fuzz; in IsEquivalentAlpha() 1702 if (distance > fuzz) in IsEquivalentAlpha() 1865 fuzz, in IsEquivalentIntensity() local 1873 fuzz=MagickMax(image->fuzz,MagickSQ1_2); in IsEquivalentIntensity() 1874 fuzz*=fuzz; in IsEquivalentIntensity() 1877 if (distance > fuzz) in IsEquivalentIntensity()
|
/external/boringssl/src/ |
D | FUZZING.md | 3 Modern fuzz testers are very effective and we wish to use them to ensure that no silly bugs creep i… 5 …http://llvm.org/docs/LibFuzzer.html) for fuzz testing and there are a number of fuzz testing funct… 7 …fuzz tests you will need at least Clang 3.7. Pass `-DFUZZ=1` on the CMake command line to enable b… 13 In order for the fuzz tests to link, the linker needs to find libFuzzer. This is not commonly provi… 26 ./fuzz/cert -max_len=10000 -jobs=32 -workers=32 ../fuzz/cert_corpus/ 47 There are directories in `fuzz/` for each of the fuzzing tests which contain seed files for fuzzing… 53 In order to minimise all the corpuses, build for fuzzing and run `./fuzz/minimise_corpuses.sh`. Not… 82 cd fuzz
|
/external/ImageMagick/PerlMagick/t/ |
D | filter.t | 31 $fuzz=int(0.05*(Image::Magick->new()->QuantumRange)); 54 testFilterCompare('input.miff', "fuzz=>$fuzz", 'reference/filter/ColorFloodfill.miff', 'ColorFloodf… 57 testFilterCompare('input.miff', "fuzz=>$fuzz", 'reference/filter/Colorize.miff', 'Colorize', q/fill… 114 testFilterCompare('input.miff', "fuzz=>$fuzz", 'reference/filter/MatteFloodfill.miff', 'MatteFloodf… 141 testFilterCompare('input.miff', "fuzz=>$fuzz", 'reference/filter/Opaque.miff', 'Opaque', q/color=>"…
|
/external/tpm2/fuzz/ |
D | README | 6 https://github.com/google/oss-fuzz/blob/master/docs/ 12 $ docker build -t ossfuzz/tpm2 -f fuzz/Dockerfile . 21 $ docker run -ti -v $(pwd)/fuzz/corpus-execute-command:/corpus \ 29 $ docker build -t ossfuzz/tpm2 -f fuzz/Dockerfile .
|
D | build.sh | 14 $SRC/tpm2/fuzz/execute-command.cc -o $OUT/tpm2_execute_command_fuzzer \
|
D | Dockerfile | 11 COPY fuzz/build.sh /src/
|
/external/bsdiff/ |
D | bsdiff.cc | 230 const off_t fuzz = 8; in bsdiff() local 231 if (prev_len-fuzz<=len && len<=prev_len && in bsdiff() 232 prev_oldscore-fuzz<=oldscore && in bsdiff() 234 prev_pos<=pos && pos <=prev_pos+fuzz && in bsdiff() 235 oldscore<=len && len<=oldscore+fuzz) in bsdiff()
|
/external/freetype/src/pshinter/ |
D | pshglob.c | 239 FT_Int fuzz, in psh_blues_set_zones() argument 331 zone->org_bottom -= fuzz; in psh_blues_set_zones() 342 if ( delta / 2 < fuzz ) in psh_blues_set_zones() 346 zone[0].org_top = top + fuzz; in psh_blues_set_zones() 347 zone[1].org_bottom = bot - fuzz; in psh_blues_set_zones() 355 zone->org_top = top + fuzz; in psh_blues_set_zones()
|
/external/pdfium/third_party/freetype/src/pshinter/ |
D | pshglob.c | 239 FT_Int fuzz, in psh_blues_set_zones() argument 331 zone->org_bottom -= fuzz; in psh_blues_set_zones() 342 if ( delta / 2 < fuzz ) in psh_blues_set_zones() 346 zone[0].org_top = top + fuzz; in psh_blues_set_zones() 347 zone[1].org_bottom = bot - fuzz; in psh_blues_set_zones() 355 zone->org_top = top + fuzz; in psh_blues_set_zones()
|
/external/ImageMagick/MagickWand/ |
D | pixel-wand.c | 322 const double fuzz) in IsPixelWandSimilar() argument 332 p->pixel.fuzz=fuzz; in IsPixelWandSimilar() 333 q->pixel.fuzz=fuzz; in IsPixelWandSimilar() 972 return((double) wand->pixel.fuzz); in PixelGetFuzz() 1268 packet->fuzz=wand->pixel.fuzz; in PixelGetQuantumPacket() 1865 WandExport void PixelSetFuzz(PixelWand *wand,const double fuzz) in PixelSetFuzz() argument 1871 wand->pixel.fuzz=(double) fuzz; in PixelSetFuzz()
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | HtmlSanitizerFuzzerTest.java | 80 for (int fuzz = 1 + rnd.nextInt(25); --fuzz >= 0;) { in testFuzzHtmlParser()
|
/external/autotest/client/bin/input/ |
D | input_device.py | 50 def __init__(self, value, min_value, max_value, fuzz, flat, resolution): argument 54 self.fuzz = fuzz 563 if a.fuzz != 0: 564 print ' Fuzz %6d' % a.fuzz
|
/external/v8/tools/jsfunfuzz/ |
D | jsfunfuzz.isolate | 7 'fuzz-harness.sh',
|
/external/skia/ |
D | BUILD.gn | 1330 test_app("fuzz") { 1332 "fuzz/FilterFuzz.cpp", 1333 "fuzz/FuzzCanvas.cpp", 1334 "fuzz/FuzzDrawFunctions.cpp", 1335 "fuzz/FuzzGradients.cpp", 1336 "fuzz/FuzzParsePath.cpp", 1337 "fuzz/FuzzPathop.cpp", 1338 "fuzz/FuzzScaleToSides.cpp", 1339 "fuzz/fuzz.cpp",
|
/external/kernel-headers/original/uapi/linux/ |
D | virtio_input.h | 45 __u32 fuzz; member
|
/external/boringssl/ |
D | UPDATING | 14 rm -Rf src/fuzz
|
/external/ImageMagick/tests/ |
D | validate.c | 1531 fuzz; in ValidateImageFormatsInMemory() local 1718 fuzz=0.003; /* grayscale */ in ValidateImageFormatsInMemory() 1719 if (reference_formats[i].fuzz != 0.0) in ValidateImageFormatsInMemory() 1720 fuzz=reference_formats[i].fuzz; in ValidateImageFormatsInMemory() 1735 if ((QuantumScale*distortion) > fuzz) in ValidateImageFormatsInMemory() 1807 fuzz; in ValidateImageFormatsOnDisk() local 1947 fuzz=0.003; /* grayscale */ in ValidateImageFormatsOnDisk() 1948 if (reference_formats[i].fuzz != 0.0) in ValidateImageFormatsOnDisk() 1949 fuzz=reference_formats[i].fuzz; in ValidateImageFormatsOnDisk() 1964 if ((QuantumScale*distortion) > fuzz) in ValidateImageFormatsOnDisk()
|