/external/skia/tests/ |
D | PathOpsSimplifyTest.cpp | 11 static void testLine1(skiatest::Reporter* reporter, const char* filename) { in testLine1() 20 static void testLine1x(skiatest::Reporter* reporter, const char* filename) { in testLine1x() 58 static void testLine2(skiatest::Reporter* reporter, const char* filename) { in testLine2() 65 static void testLine2x(skiatest::Reporter* reporter, const char* filename) { in testLine2x() 73 static void testLine3(skiatest::Reporter* reporter, const char* filename) { in testLine3() 80 static void testLine3x(skiatest::Reporter* reporter, const char* filename) { in testLine3x() 88 static void testLine3a(skiatest::Reporter* reporter, const char* filename) { in testLine3a() 95 static void testLine3ax(skiatest::Reporter* reporter, const char* filename) { in testLine3ax() 103 static void testLine3b(skiatest::Reporter* reporter, const char* filename) { in testLine3b() 110 static void testLine3bx(skiatest::Reporter* reporter, const char* filename) { in testLine3bx() [all …]
|
D | PathOpsSkpTest.cpp | 11 static void skpcheeseandburger_com225(skiatest::Reporter* reporter, const char* filename) { in skpcheeseandburger_com225() 372 static void skpeverytechpro_blogspot_com100(skiatest::Reporter* reporter, const char* filename) { in skpeverytechpro_blogspot_com100() 406 static void skpflite_com41(skiatest::Reporter* reporter, const char* filename) { in skpflite_com41() 429 static void skpilkoora_com37(skiatest::Reporter* reporter, const char* filename) { in skpilkoora_com37() 461 static void skpmm4everfriends_com43(skiatest::Reporter* reporter, const char* filename) { in skpmm4everfriends_com43() 484 static void skpmtrk_uz27(skiatest::Reporter* reporter, const char* filename) { in skpmtrk_uz27() 511 static void skpfrauen_magazin_com83(skiatest::Reporter* reporter, const char* filename) { in skpfrauen_magazin_com83() 535 static void skpi_gino_com16(skiatest::Reporter* reporter, const char* filename) { in skpi_gino_com16() 560 static void skppchappy_com_au102(skiatest::Reporter* reporter, const char* filename) { in skppchappy_com_au102() 588 static void skpsciality_com161(skiatest::Reporter* reporter, const char* filename) { in skpsciality_com161() [all …]
|
D | PathOpsOpTest.cpp | 32 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) { in cubicOp1d() 45 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) { in cubicOp2d() 58 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) { in cubicOp3d() 71 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename) { in cubicOp5d() 84 static void cubicOp6d(skiatest::Reporter* reporter, const char* filename) { in cubicOp6d() 97 static void cubicOp7d(skiatest::Reporter* reporter, const char* filename) { in cubicOp7d() 110 static void cubicOp8d(skiatest::Reporter* reporter, const char* filename) { in cubicOp8d() 123 static void cubicOp9d(skiatest::Reporter* reporter, const char* filename) { in cubicOp9d() 136 static void quadOp9d(skiatest::Reporter* reporter, const char* filename) { in quadOp9d() 151 static void lineOp9d(skiatest::Reporter* reporter, const char* filename) { in lineOp9d() [all …]
|
D | PathOpsBattles.cpp | 12 static void issue414409(skiatest::Reporter* reporter, const char* filename) { in issue414409() 42 static void issue414409b(skiatest::Reporter* reporter, const char* filename) { in issue414409b() 65 static void issue414409c(skiatest::Reporter* reporter, const char* filename) { in issue414409c() 91 static void battleOp1(skiatest::Reporter* reporter, const char* filename) { in battleOp1() 116 static void battleOp2(skiatest::Reporter* reporter, const char* filename) { in battleOp2() 138 static void battleOp3(skiatest::Reporter* reporter, const char* filename) { in battleOp3() 163 static void battleOp4(skiatest::Reporter* reporter, const char* filename) { in battleOp4() 191 static void battleOp5(skiatest::Reporter* reporter, const char* filename) { in battleOp5() 216 static void battleOp6(skiatest::Reporter* reporter, const char* filename) { in battleOp6() 247 static void battleOp7(skiatest::Reporter* reporter, const char* filename) { in battleOp7() [all …]
|
D | PathOpsFuzz763Test.cpp | 12 static void fuzz763_3084(skiatest::Reporter* reporter, const char* filename) { in fuzz763_3084() 68 static void fuzz763_1823(skiatest::Reporter* reporter, const char* filename) { in fuzz763_1823() 123 static void fuzz763_378(skiatest::Reporter* reporter, const char* filename) { in fuzz763_378() 216 static void fuzz763_378b(skiatest::Reporter* reporter, const char* filename) { in fuzz763_378b() 239 static void fuzz763_378c(skiatest::Reporter* reporter, const char* filename) { in fuzz763_378c() 260 static void fuzz763_378d(skiatest::Reporter* reporter, const char* filename) { in fuzz763_378d() 278 static void fuzz763_558(skiatest::Reporter* reporter, const char* filename) { in fuzz763_558() 372 static void fuzz763_378a(skiatest::Reporter* reporter, const char* filename) { in fuzz763_378a() 461 static void fuzz763_378a_1(skiatest::Reporter* reporter, const char* filename) { in fuzz763_378a_1() 501 static void fuzz763_8712(skiatest::Reporter* reporter, const char* filename) { in fuzz763_8712() [all …]
|
D | TestTest.cpp | 17 DEF_TEST(TestNormal, reporter) { in DEF_TEST() argument 23 DEF_GPUTEST(TestGpuFactory, reporter, factory) { in DEF_GPUTEST() argument 32 DEF_GPUTEST_FOR_ALL_CONTEXTS(TestGpuAllContexts, reporter, context) { in DEF_GPUTEST_FOR_ALL_CONTEXTS() argument 41 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 51 DEF_GPUTEST_FOR_NATIVE_CONTEXT(TestGpuNativeContext, reporter, context) { in DEF_GPUTEST_FOR_NATIVE_CONTEXT() argument 60 DEF_GPUTEST_FOR_NULL_CONTEXT(TestGpuNullContext, reporter, context) { in DEF_GPUTEST_FOR_NULL_CONTEXT() argument 69 DEF_GPUTEST_FOR_ALL_CONTEXTS(TestGpuGrContextAndGLContext, reporter, context, glContext) { in DEF_GPUTEST_FOR_ALL_CONTEXTS() argument
|
D | RRectInPathTest.cpp | 15 static SkRRect path_contains_rrect(skiatest::Reporter* reporter, const SkPath& path) { in path_contains_rrect() 28 static SkRRect inner_path_contains_rrect(skiatest::Reporter* reporter, const SkRRect& in) { in inner_path_contains_rrect() 42 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRRect& in) { in path_contains_rrect_check() 50 static void path_contains_rrect_nocheck(skiatest::Reporter* reporter, const SkRRect& in) { in path_contains_rrect_nocheck() 57 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRect& r, in path_contains_rrect_check() 71 static void force_path_contains_rrect(skiatest::Reporter* reporter, SkPath& path) { in force_path_contains_rrect() 76 static void test_undetected_paths(skiatest::Reporter* reporter) { in test_undetected_paths() 133 static void test_tricky_radii(skiatest::Reporter* reporter) { in test_tricky_radii() 156 static void test_empty_crbug_458524(skiatest::Reporter* reporter) { in test_empty_crbug_458524() 170 static void test_inset(skiatest::Reporter* reporter) { in test_inset() [all …]
|
D | Writer32Test.cpp | 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, in check_contents() 22 static void test_reserve(skiatest::Reporter* reporter) { in test_reserve() 30 static void test_string_null(skiatest::Reporter* reporter) { in test_string_null() 40 static void test_rewind(skiatest::Reporter* reporter) { in test_rewind() 72 static void test_ptr(skiatest::Reporter* reporter) { in test_ptr() 100 static void test1(skiatest::Reporter* reporter, SkWriter32* writer) { in test1() 114 static void test2(skiatest::Reporter* reporter, SkWriter32* writer) { in test2() 145 static void testWritePad(skiatest::Reporter* reporter, SkWriter32* writer) { in testWritePad() 184 static void testOverwriteT(skiatest::Reporter* reporter, SkWriter32* writer) { in testOverwriteT() 221 DEF_TEST(Writer32_dynamic, reporter) { in DEF_TEST() argument [all …]
|
D | PointTest.cpp | 14 static void test_casts(skiatest::Reporter* reporter) { in test_casts() 26 static void test_Normalize(skiatest::Reporter* reporter, in test_Normalize() 39 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y, in test_length() 60 template <typename T> T get_value(skiatest::Reporter* reporter, T value) { in get_value() 71 static float force_as_float(skiatest::Reporter* reporter, float value) { in force_as_float() 86 static void test_overflow(skiatest::Reporter* reporter) { in test_overflow() 109 static void test_underflow(skiatest::Reporter* reporter) { in test_underflow() 120 DEF_TEST(Point, reporter) { in DEF_TEST() argument 140 DEF_TEST(Point_setLengthFast, reporter) { in DEF_TEST() argument
|
D | DataRefTest.cpp | 16 static void test_is_equal(skiatest::Reporter* reporter, in test_is_equal() 28 static void test_datatable_is_empty(skiatest::Reporter* reporter, in test_datatable_is_empty() 34 static void test_emptytable(skiatest::Reporter* reporter) { in test_emptytable() 51 static void test_simpletable(skiatest::Reporter* reporter) { in test_simpletable() 66 static void test_vartable(skiatest::Reporter* reporter) { in test_vartable() 92 static void test_tablebuilder(skiatest::Reporter* reporter) { in test_tablebuilder() 118 static void test_globaltable(skiatest::Reporter* reporter) { in test_globaltable() 136 DEF_TEST(DataTable, reporter) { in DEF_TEST() argument 152 static void assert_len(skiatest::Reporter* reporter, SkData* ref, size_t len) { in assert_len() 156 static void assert_data(skiatest::Reporter* reporter, SkData* ref, in assert_data() [all …]
|
D | SurfaceTest.cpp | 70 DEF_TEST(SurfaceEmpty, reporter) { in DEF_TEST() argument 77 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceEmpty_Gpu, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 85 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceWrappedTexture, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 154 static void test_canvas_peek(skiatest::Reporter* reporter, in test_canvas_peek() 184 DEF_TEST(SurfaceCanvasPeek, reporter) { in DEF_TEST() argument 192 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceCanvasPeek_Gpu, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 205 void test_access_pixels(skiatest::Reporter* reporter, SkSurface* surface) { in test_access_pixels() 218 DEF_TEST(SurfaceAccessPixels, reporter) { in DEF_TEST() argument 225 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceAccessPixels_Gpu, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 233 static void test_snapshot_alphatype(skiatest::Reporter* reporter, SkSurface* surface, in test_snapshot_alphatype() [all …]
|
D | PathOpsIssue3651.cpp | 472 static void issue3651_1a(skiatest::Reporter* reporter, const char* filename) { in issue3651_1a() 1202 static void issue3651_1(skiatest::Reporter* reporter, const char* filename) { in issue3651_1() 1208 static void issue3651_2(skiatest::Reporter* reporter, const char* filename) { in issue3651_2() 1214 static void issue3651_3(skiatest::Reporter* reporter, const char* filename) { in issue3651_3() 1220 static void issue3651_4(skiatest::Reporter* reporter, const char* filename) { in issue3651_4() 1395 static void issue3651_5(skiatest::Reporter* reporter, const char* filename) { in issue3651_5() 1458 static void issue3651_6(skiatest::Reporter* reporter, const char* filename) { in issue3651_6() 1471 static void issue3651_7(skiatest::Reporter* reporter, const char* filename) { in issue3651_7() 1677 DEF_TEST(PathOpsIssue3651, reporter) { in DEF_TEST() argument
|
D | FrontBufferedStreamTest.cpp | 16 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, in test_read() 26 static void test_rewind(skiatest::Reporter* reporter, in test_rewind() 36 static void test_hasLength(skiatest::Reporter* reporter, in test_hasLength() 53 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { in test_incremental_buffering() 84 static void test_perfectly_sized_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_perfectly_sized_buffer() 103 static void test_skipping(skiatest::Reporter* reporter, size_t bufferSize) { in test_skipping() 153 static void test_read_beyond_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_read_beyond_buffer() 201 static void test_length_combos(skiatest::Reporter* reporter, size_t bufferSize) { in test_length_combos() 213 static void test_initial_offset(skiatest::Reporter* reporter, size_t bufferSize) { in test_initial_offset() 243 static void test_buffers(skiatest::Reporter* reporter, size_t bufferSize) { in test_buffers() [all …]
|
D | PathTest.cpp | 31 static void test_add_rrect(skiatest::Reporter* reporter, const SkRect& bounds, in test_add_rrect() 43 static void test_skbug_3469(skiatest::Reporter* reporter) { in test_skbug_3469() 51 static void test_skbug_3239(skiatest::Reporter* reporter) { in test_skbug_3239() 116 static void make_path_crbugskia2820(SkPath* path, skiatest::Reporter* reporter) { in make_path_crbugskia2820() 129 static void test_path_crbugskia2820(skiatest::Reporter* reporter) {//GrContext* context) { in test_path_crbugskia2820() 162 static void test_path_to_region(skiatest::Reporter* reporter) { in test_path_to_region() 188 static void test_path_close_issue1474(skiatest::Reporter* reporter) { in test_path_close_issue1474() 238 static void test_gen_id(skiatest::Reporter* reporter) { in test_gen_id() 425 static void test_tiny_path_convexity(skiatest::Reporter* reporter, const char* pathBug, in test_tiny_path_convexity() 441 static void test_crbug_493450(skiatest::Reporter* reporter) { in test_crbug_493450() [all …]
|
D | RoundRectTest.cpp | 12 static void test_tricky_radii(skiatest::Reporter* reporter) { in test_tricky_radii() 37 static void test_empty_crbug_458524(skiatest::Reporter* reporter) { in test_empty_crbug_458524() 52 static void test_empty(skiatest::Reporter* reporter) { in test_empty() 108 static void test_inset(skiatest::Reporter* reporter) { in test_inset() 130 static void test_9patch_rrect(skiatest::Reporter* reporter, in test_9patch_rrect() 156 static void test_round_rect_basic(skiatest::Reporter* reporter) { in test_round_rect_basic() 262 static void test_round_rect_rects(skiatest::Reporter* reporter) { in test_round_rect_rects() 302 static void test_round_rect_ovals(skiatest::Reporter* reporter) { in test_round_rect_ovals() 315 static void test_round_rect_general(skiatest::Reporter* reporter) { in test_round_rect_general() 333 static void test_round_rect_iffy_parameters(skiatest::Reporter* reporter) { in test_round_rect_iffy_parameters() [all …]
|
D | DynamicHashTest.cpp | 38 DEF_TEST(DynamicHash_growth, reporter) { in DEF_TEST() argument 66 DEF_TEST(DynamicHash_add, reporter) { in DEF_TEST() argument 78 DEF_TEST(DynamicHash_lookup, reporter) { in DEF_TEST() argument 113 DEF_TEST(DynamicHash_remove, reporter) { in DEF_TEST() argument 139 template<typename T> static void TestIter(skiatest::Reporter* reporter) { in TestIter() 187 DEF_TEST(DynamicHash_iterator, reporter) { in DEF_TEST() argument 192 static void TestResetOrRewind(skiatest::Reporter* reporter, bool testReset) { in TestResetOrRewind() 222 DEF_TEST(DynamicHash_reset, reporter) { in DEF_TEST() argument 226 DEF_TEST(DynamicHash_rewind, reporter) { in DEF_TEST() argument
|
D | GradientTest.cpp | 19 static void test_big_grad(skiatest::Reporter* reporter) { in test_big_grad() 69 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) { in none_gradproc() 74 static void color_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in color_gradproc() 85 static void linear_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in linear_gradproc() 97 static void radial_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in radial_gradproc() 111 static void sweep_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in sweep_gradproc() 123 static void conical_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { in conical_gradproc() 169 static void TestGradientShaders(skiatest::Reporter* reporter) { in TestGradientShaders() 200 static void test_nearly_vertical(skiatest::Reporter* reporter) { in test_nearly_vertical() 219 static void test_linear_fuzz(skiatest::Reporter* reporter) { in test_linear_fuzz() [all …]
|
D | PathOpsCubicIntersectionTest.cpp | 19 static void standardTestCases(skiatest::Reporter* reporter) { in standardTestCases() 381 static void oneOff(skiatest::Reporter* reporter, const SkDCubic& cubic1, const SkDCubic& cubic2, in oneOff() 428 static void oneOff(skiatest::Reporter* reporter, int outer, int inner) { in oneOff() 434 static void newOneOff(skiatest::Reporter* reporter, int outer, int inner) { in newOneOff() 440 static void testsOneOff(skiatest::Reporter* reporter, int index) { in testsOneOff() 446 static void oneOffTests(skiatest::Reporter* reporter) { in oneOffTests() 461 static void CubicIntersection_RandTest(skiatest::Reporter* reporter) { in CubicIntersection_RandTest() 627 static void selfOneOff(skiatest::Reporter* reporter, int index) { in selfOneOff() 655 static void cubicIntersectionSelfTest(skiatest::Reporter* reporter) { in cubicIntersectionSelfTest() 683 static void coinOneOff(skiatest::Reporter* reporter, int index) { in coinOneOff() [all …]
|
D | Reader32Test.cpp | 11 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) { in assert_eof() 18 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) { in assert_start() 26 static void assert_empty(skiatest::Reporter* reporter, const SkReader32& reader) { in assert_empty() 35 DEF_TEST(Reader32, reporter) { in DEF_TEST() argument
|
D | TestConfigParsing.cpp | 29 DEF_TEST(ParseConfigs_Gpu, reporter) { in DEF_TEST() argument 49 DEF_TEST(ParseConfigs_OutParam, reporter) { in DEF_TEST() argument 62 DEF_TEST(ParseConfigs_DefaultConfigs, reporter) { in DEF_TEST() argument 128 DEF_TEST(ParseConfigs_ExtendedGpuConfigsCorrect, reporter) { in DEF_TEST() argument 191 DEF_TEST(ParseConfigs_ExtendedGpuConfigsIncorrect, reporter) { in DEF_TEST() argument 220 DEF_TEST(ParseConfigs_ExtendedGpuConfigsSurprises, reporter) { in DEF_TEST() argument 243 DEF_TEST(ParseConfigs_ViaParsing, reporter) { in DEF_TEST() argument 275 DEF_TEST(ParseConfigs_ViaParsingExtendedForm, reporter) { in DEF_TEST() argument
|
D | GeometryTest.cpp | 16 static void testChopCubic(skiatest::Reporter* reporter) { in testChopCubic() 37 static void check_pairs(skiatest::Reporter* reporter, int index, SkScalar t, const char name[], in check_pairs() 47 static void test_evalquadat(skiatest::Reporter* reporter) { in test_evalquadat() 72 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_pos() 79 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_tan() 86 static void test_conic(skiatest::Reporter* reporter) { in test_conic() 108 static void test_quad_tangents(skiatest::Reporter* reporter) { in test_quad_tangents() 128 static void test_conic_tangents(skiatest::Reporter* reporter) { in test_conic_tangents() 148 static void test_cubic_tangents(skiatest::Reporter* reporter) { in test_cubic_tangents() 169 DEF_TEST(Geometry, reporter) { in DEF_TEST() argument
|
D | DequeTest.cpp | 11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) { in assert_count() 32 static void assert_iter(skiatest::Reporter* reporter, const SkDeque& deq, in assert_iter() 83 static void assert_blocks(skiatest::Reporter* reporter, in assert_blocks() 100 static void TestSub(skiatest::Reporter* reporter, int allocCount) { in TestSub() 164 DEF_TEST(Deque, reporter) { in DEF_TEST() argument
|
D | ColorMatrixTest.cpp | 18 static inline void assert_color(skiatest::Reporter* reporter, in assert_color() 26 static inline void assert_color(skiatest::Reporter* reporter, SkColor expected, SkColor actual) { in assert_color() 35 static inline void test_colorMatrixCTS(skiatest::Reporter* reporter) { in test_colorMatrixCTS() 99 DEF_TEST(ColorMatrix, reporter) { in DEF_TEST() argument
|
D | PathOpsBuilderTest.cpp | 13 DEF_TEST(PathOpsBuilder, reporter) { in DEF_TEST() argument 82 DEF_TEST(BuilderIssue3838, reporter) { in DEF_TEST() argument 104 DEF_TEST(BuilderIssue3838_2, reporter) { in DEF_TEST() argument 118 DEF_TEST(BuilderIssue3838_3, reporter) { in DEF_TEST() argument 139 DEF_TEST(BuilderIssue502792_2, reporter) { in DEF_TEST() argument 154 DEF_TEST(Fuzz846, reporter) { in DEF_TEST() argument 274 DEF_TEST(Issue569540, reporter) { in DEF_TEST() argument
|
D | ImageNewShaderTest.cpp | 19 void testBitmapEquality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { in testBitmapEquality() 44 void runShaderTest(skiatest::Reporter* reporter, SkSurface* sourceSurface, SkSurface* destinationSu… in runShaderTest() 104 DEF_TEST(ImageNewShader, reporter) { in DEF_TEST() argument 115 void gpuToGpu(skiatest::Reporter* reporter, GrContext* context) { in gpuToGpu() 126 void gpuToRaster(skiatest::Reporter* reporter, GrContext* context) { in gpuToRaster() 136 void rasterToGpu(skiatest::Reporter* reporter, GrContext* context) { in rasterToGpu() 146 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageNewShader_GPU, reporter, context) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument
|