/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 | PathOpsSimplifyFailTest.cpp | 41 static void failOne(skiatest::Reporter* reporter, int index) { in failOne() 70 static void dontFailOne(skiatest::Reporter* reporter, int index) { in dontFailOne() 95 static void fuzz_59(skiatest::Reporter* reporter, const char* filename) { in fuzz_59() 107 static void fuzz_x1(skiatest::Reporter* reporter, const char* filename) { in fuzz_x1() 117 static void fuzz_x2(skiatest::Reporter* reporter, const char* filename) { in fuzz_x2() 127 static void fuzz763_1(skiatest::Reporter* reporter, const char* filename) { in fuzz763_1() 158 static void fuzz763_2(skiatest::Reporter* reporter, const char* filename) { in fuzz763_2() 220 DEF_TEST(PathOpsSimplifyFail, reporter) { in DEF_TEST() argument 236 DEF_TEST(PathOpsSimplifyFailOne, reporter) { in DEF_TEST() argument 241 DEF_TEST(PathOpsSimplifyDontFailOne, reporter) { in DEF_TEST() argument
|
D | TemplatesTest.cpp | 12 static void test_automalloc_realloc(skiatest::Reporter* reporter) { in test_automalloc_realloc() 70 DEF_TEST(Templates, reporter) { in DEF_TEST() argument 78 static void test_container_apis(skiatest::Reporter* reporter) { in test_container_apis() 100 DEF_TEST(TemplateContainerAPIs, reporter) { in DEF_TEST() argument 108 template<typename TAutoMalloc> static void test_realloc_to_zero(skiatest::Reporter* reporter) { in test_realloc_to_zero() 125 DEF_TEST(AutoReallocToZero, reporter) { in DEF_TEST() argument
|
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, ctxInfo) { in DEF_GPUTEST_FOR_ALL_CONTEXTS() argument 41 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, ctxInfo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 50 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TestGpuNullContext, reporter, ctxInfo) { in DEF_GPUTEST_FOR_NULLGL_CONTEXT() argument
|
D | Writer32Test.cpp | 14 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, in check_contents() 23 static void test_reserve(skiatest::Reporter* reporter) { in test_reserve() 31 static void test_string_null(skiatest::Reporter* reporter) { in test_string_null() 41 static void test_rewind(skiatest::Reporter* reporter) { in test_rewind() 73 static void test_ptr(skiatest::Reporter* reporter) { in test_ptr() 101 static void test1(skiatest::Reporter* reporter, SkWriter32* writer) { in test1() 115 static void test2(skiatest::Reporter* reporter, SkWriter32* writer) { in test2() 146 static void testWritePad(skiatest::Reporter* reporter, SkWriter32* writer) { in testWritePad() 185 static void testOverwriteT(skiatest::Reporter* reporter, SkWriter32* writer) { in testOverwriteT() 222 DEF_TEST(Writer32_dynamic, reporter) { in DEF_TEST() argument [all …]
|
D | PathOpsTigerTest.cpp | 12 static void tiger8(skiatest::Reporter* reporter, const char* filename) { in tiger8() 93 static void tiger8a(skiatest::Reporter* reporter, const char* filename) { in tiger8a() 135 static void tiger8a_x(skiatest::Reporter* reporter, uint64_t testlines) { in tiger8a_x() 180 static void tiger8a_h_1(skiatest::Reporter* reporter, const char* ) { in tiger8a_h_1() 185 static void tiger8b_x(skiatest::Reporter* reporter, uint64_t testlines) { in tiger8b_x() 238 static void tiger_threaded(skiatest::Reporter* reporter, const char* filename) { in tiger_threaded() 265 static void tiger8b_h_1(skiatest::Reporter* reporter, const char* filename) { in tiger8b_h_1() 271 static void tiger8b(skiatest::Reporter* reporter, const char* filename) { in tiger8b() 332 DEF_TEST(PathOpsTiger, reporter) { in DEF_TEST() argument
|
D | PointTest.cpp | 13 static void test_casts(skiatest::Reporter* reporter) { in test_casts() 25 static void test_Normalize(skiatest::Reporter* reporter, in test_Normalize() 38 static void test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y, in test_length() 59 template <typename T> T get_value(skiatest::Reporter* reporter, T value) { in get_value() 70 static float force_as_float(skiatest::Reporter* reporter, float value) { in force_as_float() 85 static void test_overflow(skiatest::Reporter* reporter) { in test_overflow() 108 static void test_underflow(skiatest::Reporter* reporter) { in test_underflow() 119 DEF_TEST(Point, reporter) { in DEF_TEST() argument 139 DEF_TEST(Point_setLengthFast, reporter) { in DEF_TEST() argument
|
D | DataRefTest.cpp | 18 static void test_is_equal(skiatest::Reporter* reporter, in test_is_equal() 30 static void test_datatable_is_empty(skiatest::Reporter* reporter, SkDataTable* table) { in test_datatable_is_empty() 35 static void test_emptytable(skiatest::Reporter* reporter) { in test_emptytable() 51 static void test_simpletable(skiatest::Reporter* reporter) { in test_simpletable() 64 static void test_vartable(skiatest::Reporter* reporter) { in test_vartable() 89 static void test_globaltable(skiatest::Reporter* reporter) { in test_globaltable() 107 DEF_TEST(DataTable, reporter) { in DEF_TEST() argument 122 static void assert_len(skiatest::Reporter* reporter, const sk_sp<SkData>& ref, size_t len) { in assert_len() 126 static void assert_data(skiatest::Reporter* reporter, const sk_sp<SkData>& ref, in assert_data() 132 static void test_cstring(skiatest::Reporter* reporter) { in test_cstring() [all …]
|
D | PathOpsIssue3651.cpp | 472 static void issue3651_1a(skiatest::Reporter* reporter, const char* filename) { in issue3651_1a() 1204 static void issue3651_1(skiatest::Reporter* reporter, const char* filename) { in issue3651_1() 1212 static void issue3651_2(skiatest::Reporter* reporter, const char* filename) { in issue3651_2() 1218 static void issue3651_3(skiatest::Reporter* reporter, const char* filename) { in issue3651_3() 1224 static void issue3651_4(skiatest::Reporter* reporter, const char* filename) { in issue3651_4() 1399 static void issue3651_5(skiatest::Reporter* reporter, const char* filename) { in issue3651_5() 1462 static void issue3651_6(skiatest::Reporter* reporter, const char* filename) { in issue3651_6() 1475 static void issue3651_7(skiatest::Reporter* reporter, const char* filename) { in issue3651_7() 1681 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 | RRectInPathTest.cpp | 14 static SkRRect path_contains_rrect(skiatest::Reporter* reporter, const SkPath& path, in path_contains_rrect() 43 static SkRRect inner_path_contains_rrect(skiatest::Reporter* reporter, const SkRRect& in, in inner_path_contains_rrect() 62 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRRect& in, in path_contains_rrect_check() 71 static void path_contains_rrect_nocheck(skiatest::Reporter* reporter, const SkRRect& in, in path_contains_rrect_nocheck() 79 static void path_contains_rrect_check(skiatest::Reporter* reporter, const SkRect& r, in path_contains_rrect_check() 93 static void force_path_contains_rrect(skiatest::Reporter* reporter, SkPath& path, in force_path_contains_rrect() 102 static void test_undetected_paths(skiatest::Reporter* reporter) { in test_undetected_paths() 172 static void test_tricky_radii(skiatest::Reporter* reporter) { in test_tricky_radii() 199 static void test_empty_crbug_458524(skiatest::Reporter* reporter) { in test_empty_crbug_458524() 217 static void test_inset(skiatest::Reporter* reporter) { in test_inset() [all …]
|
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 305 DEF_TEST(SkOpBuilderFuzz665, reporter) { in DEF_TEST() argument 327 DEF_TEST(SkOpBuilder618991, reporter) { in DEF_TEST() argument 348 DEF_TEST(SkOpBuilderKFuzz1, 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 | 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 | 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 | SurfaceTest.cpp | 78 DEF_TEST(SurfaceEmpty, reporter) { in DEF_TEST() argument 85 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceEmpty_Gpu, reporter, ctxInfo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 92 static void test_canvas_peek(skiatest::Reporter* reporter, in test_canvas_peek() 119 DEF_TEST(SurfaceCanvasPeek, reporter) { in DEF_TEST() argument 127 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceCanvasPeek_Gpu, reporter, ctxInfo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 136 static void test_snapshot_alphatype(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface, in test_snapshot_alphatype() 147 DEF_TEST(SurfaceSnapshotAlphaType, reporter) { in DEF_TEST() argument 156 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceSnapshotAlphaType_Gpu, reporter, ctxInfo) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() argument 181 skiatest::Reporter* reporter, SkSurface* surface, SkSurface::BackendHandleAccess mode, in test_backend_handle_access_copy_on_write() 192 DEF_TEST(SurfaceBackendHandleAccessCopyOnWrite, reporter) { in DEF_TEST() argument [all …]
|
D | GeometryTest.cpp | 17 static void testChopCubic(skiatest::Reporter* reporter) { in testChopCubic() 38 static void check_pairs(skiatest::Reporter* reporter, int index, SkScalar t, const char name[], in check_pairs() 48 static void test_evalquadat(skiatest::Reporter* reporter) { in test_evalquadat() 73 static void test_conic_eval_pos(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_pos() 80 static void test_conic_eval_tan(skiatest::Reporter* reporter, const SkConic& conic, SkScalar t) { in test_conic_eval_tan() 87 static void test_conic(skiatest::Reporter* reporter) { in test_conic() 109 static void test_quad_tangents(skiatest::Reporter* reporter) { in test_quad_tangents() 129 static void test_conic_tangents(skiatest::Reporter* reporter) { in test_conic_tangents() 164 static void test_conic_to_quads(skiatest::Reporter* reporter) { in test_conic_to_quads() 188 static void test_cubic_tangents(skiatest::Reporter* reporter) { in test_cubic_tangents() [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 | 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 | ShaderOpacityTest.cpp | 13 static void test_bitmap(skiatest::Reporter* reporter) { in test_bitmap() 49 static void test_gradient(skiatest::Reporter* reporter) { in test_gradient() 87 static void test_color(skiatest::Reporter* reporter) { in test_color() 96 DEF_TEST(ShaderOpacity, reporter) { in DEF_TEST() argument
|
D | PathTest.cpp | 34 static void test_add_rrect(skiatest::Reporter* reporter, const SkRect& bounds, in test_add_rrect() 46 static void test_skbug_3469(skiatest::Reporter* reporter) { in test_skbug_3469() 54 static void test_skbug_3239(skiatest::Reporter* reporter) { in test_skbug_3239() 239 static void make_path_crbugskia2820(SkPath* path, skiatest::Reporter* reporter) { in make_path_crbugskia2820() 252 static void test_path_crbugskia2820(skiatest::Reporter* reporter) {//GrContext* context) { in test_path_crbugskia2820() 298 static void test_path_to_region(skiatest::Reporter* reporter) { in test_path_to_region() 324 static void test_path_close_issue1474(skiatest::Reporter* reporter) { in test_path_close_issue1474() 374 static void test_gen_id(skiatest::Reporter* reporter) { in test_gen_id() 561 static void test_tiny_path_convexity(skiatest::Reporter* reporter, const char* pathBug, in test_tiny_path_convexity() 577 static void test_crbug_493450(skiatest::Reporter* reporter) { in test_crbug_493450() [all …]
|