Searched defs:reporter (Results 176 - 200 of 278) sorted by relevance

1234567891011>>

/external/skia/tests/
H A DWriter32Test.cpp13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, argument
16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size);
18 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size));
22 static void test_reserve(skiatest::Reporter* reporter) { argument
30 static void test_string_null(skiatest::Reporter* reporter) { argument
37 check_contents(reporter, writer, expected, sizeof(expected));
40 static void test_rewind(skiatest::Reporter* reporter) { argument
44 REPORTER_ASSERT(reporter, 0 == writer.bytesWritten());
48 check_contents(reporter, writer, array, sizeof(array));
51 REPORTER_ASSERT(reporter, sizeo
72 test_ptr(skiatest::Reporter* reporter) argument
100 test1(skiatest::Reporter* reporter, SkWriter32* writer) argument
114 test2(skiatest::Reporter* reporter, SkWriter32* writer) argument
145 testWritePad(skiatest::Reporter* reporter, SkWriter32* writer) argument
187 testOverwriteT(skiatest::Reporter* reporter, SkWriter32* writer) argument
[all...]
H A DBlitRowTest.cpp84 skiatest::Reporter* reporter) {
91 ERRORF(reporter, "BlitRow colortype=%s [%d %d] expected %x got %x",
100 static void test_00_FF(skiatest::Reporter* reporter) { argument
149 gSrcRec[j].fResult8, reporter)) {
190 static void test_diagonal(skiatest::Reporter* reporter) { argument
250 ERRORF(reporter, "Diagonal colortype=%s bg=0x%x dither=%d"
261 DEF_TEST(BlitRow, reporter) {
262 test_00_FF(reporter);
263 test_diagonal(reporter);
82 check_color(const SkBitmap& bm, SkPMColor expect32, uint16_t expect16, uint8_t expect8, skiatest::Reporter* reporter) argument
H A DCachedDecodingPixelRefTest.cpp53 static void compare_bitmaps(skiatest::Reporter* reporter, argument
56 REPORTER_ASSERT(reporter, b1.empty() == b2.empty());
57 REPORTER_ASSERT(reporter, b1.width() == b2.width());
58 REPORTER_ASSERT(reporter, b1.height() == b2.height());
59 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull());
62 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull());
66 REPORTER_ASSERT(reporter, NULL != b1.getPixels());
67 REPORTER_ASSERT(reporter, NULL != b2.getPixels());
87 REPORTER_ASSERT(reporter, 0 == pixelErrors);
95 static void test_three_encodings(skiatest::Reporter* reporter, argument
179 TestImageGenerator(TestType type, skiatest::Reporter* reporter) argument
223 check_test_image_generator_bitmap(skiatest::Reporter* reporter, const SkBitmap& bm) argument
249 check_pixelref(TestImageGenerator::TestType type, skiatest::Reporter* reporter, PixelRefType pixelRefType, SkDiscardableMemory::Factory* factory) argument
276 test_newlockdelete(skiatest::Reporter* reporter) argument
[all...]
H A DDataRefTest.cpp16 static void test_is_equal(skiatest::Reporter* reporter, argument
18 REPORTER_ASSERT(reporter, a->count() == b->count());
23 REPORTER_ASSERT(reporter, sizea == sizeb);
24 REPORTER_ASSERT(reporter, !memcmp(mema, memb, sizea));
28 static void test_datatable_is_empty(skiatest::Reporter* reporter, argument
30 REPORTER_ASSERT(reporter, table->isEmpty());
31 REPORTER_ASSERT(reporter, 0 == table->count());
34 static void test_emptytable(skiatest::Reporter* reporter) { argument
41 test_datatable_is_empty(reporter, table0);
42 test_datatable_is_empty(reporter, table
51 test_simpletable(skiatest::Reporter* reporter) argument
66 test_vartable(skiatest::Reporter* reporter) argument
92 test_tablebuilder(skiatest::Reporter* reporter) argument
118 test_globaltable(skiatest::Reporter* reporter) argument
152 assert_len(skiatest::Reporter* reporter, SkData* ref, size_t len) argument
156 assert_data(skiatest::Reporter* reporter, SkData* ref, const void* data, size_t len) argument
162 test_cstring(skiatest::Reporter* reporter) argument
176 test_files(skiatest::Reporter* reporter) argument
[all...]
H A DDrawBitmapRectTest.cpp40 static void test_faulty_pixelref(skiatest::Reporter* reporter) { argument
46 REPORTER_ASSERT(reporter, installSuccess);
95 static void test_treatAsSprite(skiatest::Reporter* reporter) { argument
107 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, 0));
116 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, 0));
117 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
125 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
127 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
131 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, bilerBits));
133 REPORTER_ASSERT(reporter, treat_as_sprit
154 assert_ifDrawnTo(skiatest::Reporter* reporter, const SkBitmap& bm, bool shouldBeDrawn) argument
174 test_wacky_bitmapshader(skiatest::Reporter* reporter, int width, int height, bool shouldBeDrawn) argument
233 test_giantrepeat_crbug118018(skiatest::Reporter* reporter) argument
[all...]
H A DFontHostTest.cpp35 static void test_unitsPerEm(skiatest::Reporter* reporter, SkTypeface* face) { argument
48 REPORTER_ASSERT(reporter, tableUPEM == nativeUPEM);
54 static void test_countGlyphs(skiatest::Reporter* reporter, SkTypeface* face) { argument
67 REPORTER_ASSERT(reporter, tableGlyphs == nativeGlyphs);
89 static void test_charsToGlyphs(skiatest::Reporter* reporter, SkTypeface* face) { argument
109 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str());
114 static void test_fontstream(skiatest::Reporter* reporter, argument
120 REPORTER_ASSERT(reporter, n == n2);
135 REPORTER_ASSERT(reporter, gKnownTableSizes[j].fSize == size);
141 static void test_fontstream(skiatest::Reporter* reporter, SkStrea argument
151 test_fontstream(skiatest::Reporter* reporter) argument
168 test_tables(skiatest::Reporter* reporter, SkTypeface* face) argument
211 test_tables(skiatest::Reporter* reporter) argument
236 test_advances(skiatest::Reporter* reporter) argument
[all...]
H A DPDFPrimitivesTest.cpp71 static void CheckObjectOutput(skiatest::Reporter* reporter, SkPDFObject* obj, argument
80 REPORTER_ASSERT(reporter, directSize == expectedSize);
84 REPORTER_ASSERT(reporter, directSize == buffer.getOffset());
85 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedData,
98 REPORTER_ASSERT(reporter,
103 REPORTER_ASSERT(reporter, indirectSize == buffer.getOffset());
104 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, header, headerLen));
105 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen, expectedData,
107 REPORTER_ASSERT(reporter, stream_equals(buffer, headerLen + directSize,
112 static void SimpleCheckObjectOutput(skiatest::Reporter* reporter, argument
119 TestPDFStream(skiatest::Reporter* reporter) argument
168 TestCatalog(skiatest::Reporter* reporter) argument
194 TestObjectRef(skiatest::Reporter* reporter) argument
213 TestSubstitute(skiatest::Reporter* reporter) argument
250 TestImage(skiatest::Reporter* reporter, const SkBitmap& bitmap, const char* expected, bool useDCTEncoder) argument
271 TestUncompressed(skiatest::Reporter* reporter) argument
285 TestFlateDecode(skiatest::Reporter* reporter) argument
303 TestDCTDecode(skiatest::Reporter* reporter) argument
319 TestImages(skiatest::Reporter* reporter) argument
[all...]
H A DPathOpsCubicToQuadsTest.cpp16 static void test(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, argument
28 REPORTER_ASSERT(reporter, quads.count() == 1);
32 static void test(skiatest::Reporter* reporter, const SkDQuad* quadTests, const char* name, argument
45 REPORTER_ASSERT(reporter, quads.count() <= 2);
49 static void testC(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, argument
61 REPORTER_ASSERT(reporter, 0);
67 REPORTER_ASSERT(reporter, 0);
72 static void testC(skiatest::Reporter* reporter, const SkDCubic(* cubics)[2], const char* name, argument
84 REPORTER_ASSERT(reporter, 0);
90 REPORTER_ASSERT(reporter,
173 oneOff(skiatest::Reporter* reporter, size_t x) argument
[all...]
H A DRegionTest.cpp16 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect))
17 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect))
18 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect))
22 static void test_fromchrome(skiatest::Reporter* reporter) { argument
79 static void test_empties(skiatest::Reporter* reporter) { argument
83 REPORTER_ASSERT(reporter, empty.isEmpty());
84 REPORTER_ASSERT(reporter, !valid.isEmpty());
87 REPORTER_ASSERT(reporter, !empty.intersects(empty2));
88 REPORTER_ASSERT(reporter, !valid.intersects(empty));
91 REPORTER_ASSERT(reporter, !empt
133 test_contains_iter(skiatest::Reporter* reporter, const SkRegion& rgn) argument
144 contains_proc(skiatest::Reporter* reporter, const SkRegion& a, const SkRegion& b) argument
162 test_intersects_iter(skiatest::Reporter* reporter, const SkRegion& rgn) argument
173 intersects_proc(skiatest::Reporter* reporter, const SkRegion& a, const SkRegion& b) argument
183 test_proc(skiatest::Reporter* reporter, void (*proc)(skiatest::Reporter*, const SkRegion& a, const SkRegion&)) argument
[all...]
H A DResourceCacheTest.cpp19 static void test_cache(skiatest::Reporter* reporter, argument
55 REPORTER_ASSERT(reporter, curCacheSize <= maxCacheSize);
108 static void test_purge_invalidated(skiatest::Reporter* reporter, GrContext* context) { argument
135 REPORTER_ASSERT(reporter, 3 == TestResource::alive());
139 REPORTER_ASSERT(reporter, 0 == TestResource::alive());
142 static void test_cache_delete_on_destruction(skiatest::Reporter* reporter, argument
165 REPORTER_ASSERT(reporter, 2 == TestResource::alive());
167 REPORTER_ASSERT(reporter, 0 == TestResource::alive());
184 REPORTER_ASSERT(reporter, 0 == TestResource::alive());
188 static void test_resource_size_changed(skiatest::Reporter* reporter, argument
[all...]
H A DScalarTest.cpp15 static void test_roundtoint(skiatest::Reporter* reporter) { argument
20 REPORTER_ASSERT(reporter, 1 == ix);
25 REPORTER_ASSERT(reporter, 0 == ix);
34 static void test_isRectFinite(skiatest::Reporter* reporter) { argument
73 REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite);
112 static void test_floatclass(skiatest::Reporter* reporter, float value, FloatClass fc) { argument
115 REPORTER_ASSERT(reporter, !!sk_float_isfinite(value) == (fc == kFinite));
116 REPORTER_ASSERT(reporter, !!sk_float_isinf(value) == (fc == kInfinite));
117 REPORTER_ASSERT(reporter, !!sk_float_isnan(value) == (fc == kNaN));
127 static void test_isfinite(skiatest::Reporter* reporter) { argument
[all...]
H A DSerializationTest.cpp23 static void TestAlignment(T* testObj, skiatest::Reporter* reporter) { argument
27 REPORTER_ASSERT(reporter, SkAlign4(bytesWrittenToMemory) == bytesWrittenToMemory);
29 REPORTER_ASSERT(reporter, SkAlign4(bytesReadFromMemory) == bytesReadFromMemory);
134 static void TestObjectSerializationNoAlign(T* testObj, skiatest::Reporter* reporter) { argument
138 REPORTER_ASSERT(reporter, SkAlign4(bytesWritten) == bytesWritten);
149 REPORTER_ASSERT(reporter, !buffer.isValid());
158 REPORTER_ASSERT(reporter, buffer2.isValid() == !testInvalid);
161 REPORTER_ASSERT(reporter, static_cast<size_t>(peekAfter - peekBefore) == bytesWritten);
165 static void TestObjectSerialization(T* testObj, skiatest::Reporter* reporter) { argument
166 TestObjectSerializationNoAlign<T, false>(testObj, reporter);
171 TestFlattenableSerialization(T* testObj, bool shouldSucceed, skiatest::Reporter* reporter) argument
210 TestArraySerialization(T* data, skiatest::Reporter* reporter) argument
234 TestBitmapSerialization(const SkBitmap& validBitmap, const SkBitmap& invalidBitmap, bool shouldSucceed, skiatest::Reporter* reporter) argument
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dleveldb_main.cc54 CorruptionReporter reporter; local
55 log::Reader reader(file, &reporter, true, 0);
H A Drepair.cc185 LogReporter reporter; local
186 reporter.env = env_;
187 reporter.info_log = options_.info_log;
188 reporter.lognum = log;
193 log::Reader reader(lfile, &reporter, false/*do not checksum*/,
205 reporter.Corruption(
/external/chromium_org/third_party/skia/forth/
H A DForthTests.cpp22 #define FORTH_ASSERT(reporter, expression) \
25 reporter->reportFailure(#expression, __FILE__, __LINE__); \
29 static void drop_test0(ForthWord* word, ForthEngine* fe, Reporter* reporter) { argument
32 FORTH_ASSERT(reporter, 0 == fe->depth());
35 static void drop_test1(ForthWord* word, ForthEngine* fe, Reporter* reporter) { argument
39 FORTH_ASSERT(reporter, 1 == fe->depth());
40 FORTH_ASSERT(reporter, -17 == fe->peek(0));
43 static void dup_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) { argument
46 FORTH_ASSERT(reporter, 2 == fe->depth());
47 FORTH_ASSERT(reporter,
51 swap_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
60 over_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
70 rot_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
81 rrot_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
92 swap2_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
105 dup2_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
116 over2_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
131 drop2_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
144 iadd_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
156 isub_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
164 imul_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
176 idiv_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
194 imod_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
206 idivmod_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
215 idot_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
223 iabs_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
234 inegate_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
245 imin_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
257 imax_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
271 logical_and_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
288 logical_or_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
305 logical_not_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
320 if_dup_test(ForthWord* word, ForthEngine* fe, Reporter* reporter) argument
384 Reporter reporter; local
[all...]
/external/chromium_org/third_party/skia/tests/
H A DBlitRowTest.cpp84 skiatest::Reporter* reporter) {
91 ERRORF(reporter, "BlitRow colortype=%s [%d %d] expected %x got %x",
100 static void test_00_FF(skiatest::Reporter* reporter) { argument
149 gSrcRec[j].fResult8, reporter)) {
190 static void test_diagonal(skiatest::Reporter* reporter) { argument
250 ERRORF(reporter, "Diagonal colortype=%s bg=0x%x dither=%d"
261 DEF_TEST(BlitRow, reporter) {
262 test_00_FF(reporter);
263 test_diagonal(reporter);
82 check_color(const SkBitmap& bm, SkPMColor expect32, uint16_t expect16, uint8_t expect8, skiatest::Reporter* reporter) argument
H A DCachedDecodingPixelRefTest.cpp53 static void compare_bitmaps(skiatest::Reporter* reporter, argument
56 REPORTER_ASSERT(reporter, b1.empty() == b2.empty());
57 REPORTER_ASSERT(reporter, b1.width() == b2.width());
58 REPORTER_ASSERT(reporter, b1.height() == b2.height());
59 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull());
62 REPORTER_ASSERT(reporter, b1.isNull() == b2.isNull());
66 REPORTER_ASSERT(reporter, b1.getPixels());
67 REPORTER_ASSERT(reporter, b2.getPixels());
87 REPORTER_ASSERT(reporter, 0 == pixelErrors);
95 static void test_three_encodings(skiatest::Reporter* reporter, argument
179 TestImageGenerator(TestType type, skiatest::Reporter* reporter) argument
221 check_test_image_generator_bitmap(skiatest::Reporter* reporter, const SkBitmap& bm) argument
247 check_pixelref(TestImageGenerator::TestType type, skiatest::Reporter* reporter, PixelRefType pixelRefType, SkDiscardableMemory::Factory* factory) argument
274 test_newlockdelete(skiatest::Reporter* reporter) argument
[all...]
H A DDataRefTest.cpp16 static void test_is_equal(skiatest::Reporter* reporter, argument
18 REPORTER_ASSERT(reporter, a->count() == b->count());
23 REPORTER_ASSERT(reporter, sizea == sizeb);
24 REPORTER_ASSERT(reporter, !memcmp(mema, memb, sizea));
28 static void test_datatable_is_empty(skiatest::Reporter* reporter, argument
30 REPORTER_ASSERT(reporter, table->isEmpty());
31 REPORTER_ASSERT(reporter, 0 == table->count());
34 static void test_emptytable(skiatest::Reporter* reporter) { argument
41 test_datatable_is_empty(reporter, table0);
42 test_datatable_is_empty(reporter, table
51 test_simpletable(skiatest::Reporter* reporter) argument
66 test_vartable(skiatest::Reporter* reporter) argument
92 test_tablebuilder(skiatest::Reporter* reporter) argument
118 test_globaltable(skiatest::Reporter* reporter) argument
152 assert_len(skiatest::Reporter* reporter, SkData* ref, size_t len) argument
156 assert_data(skiatest::Reporter* reporter, SkData* ref, const void* data, size_t len) argument
162 test_cstring(skiatest::Reporter* reporter) argument
176 test_files(skiatest::Reporter* reporter) argument
[all...]
H A DDrawBitmapRectTest.cpp37 static void test_faulty_pixelref(skiatest::Reporter* reporter) { argument
43 REPORTER_ASSERT(reporter, installSuccess);
92 static void test_treatAsSprite(skiatest::Reporter* reporter) { argument
104 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, 0));
113 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, 0));
114 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
122 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
124 REPORTER_ASSERT(reporter, !treat_as_sprite(mat, size, bilerBits));
128 REPORTER_ASSERT(reporter, treat_as_sprite(mat, size, bilerBits));
130 REPORTER_ASSERT(reporter, treat_as_sprit
151 assert_ifDrawnTo(skiatest::Reporter* reporter, const SkBitmap& bm, bool shouldBeDrawn) argument
171 test_wacky_bitmapshader(skiatest::Reporter* reporter, int width, int height, bool shouldBeDrawn) argument
232 test_giantrepeat_crbug118018(skiatest::Reporter* reporter) argument
[all...]
H A DFontHostTest.cpp34 static void test_unitsPerEm(skiatest::Reporter* reporter, SkTypeface* face) { argument
47 REPORTER_ASSERT(reporter, tableUPEM == nativeUPEM);
53 static void test_countGlyphs(skiatest::Reporter* reporter, SkTypeface* face) { argument
66 REPORTER_ASSERT(reporter, tableGlyphs == nativeGlyphs);
89 static void test_charsToGlyphs(skiatest::Reporter* reporter, SkTypeface* face) { argument
109 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str());
114 static void test_fontstream(skiatest::Reporter* reporter, argument
120 REPORTER_ASSERT(reporter, n == n2);
135 REPORTER_ASSERT(reporter, gKnownTableSizes[j].fSize == size);
141 static void test_fontstream(skiatest::Reporter* reporter, SkStrea argument
151 test_fontstream(skiatest::Reporter* reporter) argument
168 test_tables(skiatest::Reporter* reporter, SkTypeface* face) argument
211 test_tables(skiatest::Reporter* reporter) argument
239 test_advances(skiatest::Reporter* reporter) argument
[all...]
H A DPathOpsCubicToQuadsTest.cpp16 static void test(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, argument
28 REPORTER_ASSERT(reporter, quads.count() == 1);
32 static void test(skiatest::Reporter* reporter, const SkDQuad* quadTests, const char* name, argument
45 REPORTER_ASSERT(reporter, quads.count() <= 2);
49 static void testC(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name, argument
61 REPORTER_ASSERT(reporter, 0);
67 REPORTER_ASSERT(reporter, 0);
72 static void testC(skiatest::Reporter* reporter, const SkDCubic(* cubics)[2], const char* name, argument
84 REPORTER_ASSERT(reporter, 0);
90 REPORTER_ASSERT(reporter,
173 oneOff(skiatest::Reporter* reporter, size_t x) argument
[all...]
H A DRegionTest.cpp16 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect))
17 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect))
18 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect))
22 static void test_fromchrome(skiatest::Reporter* reporter) { argument
79 static void test_empties(skiatest::Reporter* reporter) { argument
83 REPORTER_ASSERT(reporter, empty.isEmpty());
84 REPORTER_ASSERT(reporter, !valid.isEmpty());
87 REPORTER_ASSERT(reporter, !empty.intersects(empty2));
88 REPORTER_ASSERT(reporter, !valid.intersects(empty));
91 REPORTER_ASSERT(reporter, !empt
133 test_contains_iter(skiatest::Reporter* reporter, const SkRegion& rgn) argument
144 contains_proc(skiatest::Reporter* reporter, const SkRegion& a, const SkRegion& b) argument
162 test_intersects_iter(skiatest::Reporter* reporter, const SkRegion& rgn) argument
173 intersects_proc(skiatest::Reporter* reporter, const SkRegion& a, const SkRegion& b) argument
183 test_proc(skiatest::Reporter* reporter, void (*proc)(skiatest::Reporter*, const SkRegion& a, const SkRegion&)) argument
[all...]
H A DResourceCacheTest.cpp20 static void test_cache(skiatest::Reporter* reporter, argument
56 REPORTER_ASSERT(reporter, curCacheSize <= maxCacheSize);
110 static void test_purge_invalidated(skiatest::Reporter* reporter, GrContext* context) { argument
137 REPORTER_ASSERT(reporter, 3 == TestResource::alive());
141 REPORTER_ASSERT(reporter, 0 == TestResource::alive());
144 static void test_cache_delete_on_destruction(skiatest::Reporter* reporter, argument
167 REPORTER_ASSERT(reporter, 2 == TestResource::alive());
169 REPORTER_ASSERT(reporter, 0 == TestResource::alive());
186 REPORTER_ASSERT(reporter, 0 == TestResource::alive());
190 static void test_resource_size_changed(skiatest::Reporter* reporter, argument
[all...]
H A DScalarTest.cpp15 static void test_roundtoint(skiatest::Reporter* reporter) { argument
20 REPORTER_ASSERT(reporter, 1 == ix);
25 REPORTER_ASSERT(reporter, 0 == ix);
34 static void test_isRectFinite(skiatest::Reporter* reporter) { argument
73 REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite);
112 static void test_floatclass(skiatest::Reporter* reporter, float value, FloatClass fc) { argument
115 REPORTER_ASSERT(reporter, !!sk_float_isfinite(value) == (fc == kFinite));
116 REPORTER_ASSERT(reporter, !!sk_float_isinf(value) == (fc == kInfinite));
117 REPORTER_ASSERT(reporter, !!sk_float_isnan(value) == (fc == kNaN));
127 static void test_isfinite(skiatest::Reporter* reporter) { argument
[all...]
H A DAAClipTest.cpp132 static void test_rgn(skiatest::Reporter* reporter) { argument
137 REPORTER_ASSERT(reporter, equalsAAClip(rgn));
145 REPORTER_ASSERT(reporter, equalsAAClip(rgn));
153 REPORTER_ASSERT(reporter, equalsAAClip(rgn));
180 static void test_path_bounds(skiatest::Reporter* reporter) { argument
187 REPORTER_ASSERT(reporter, sheight == path.getBounds().height());
189 REPORTER_ASSERT(reporter, height == clip.getBounds().height());
201 REPORTER_ASSERT(reporter, sheight == path.getBounds().height());
203 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height());
206 static void test_empty(skiatest::Reporter* reporter) { argument
245 test_irect(skiatest::Reporter* reporter) argument
288 test_path_with_hole(skiatest::Reporter* reporter) argument
321 test_really_a_rect(skiatest::Reporter* reporter) argument
372 did_dx_affect(skiatest::Reporter* reporter, const SkScalar dx[], size_t count, bool changed) argument
396 test_nearly_integral(skiatest::Reporter* reporter) argument
[all...]

Completed in 347 milliseconds

1234567891011>>