Home
last modified time | relevance | path

Searched refs:ERRORF (Results 1 – 25 of 60) sorted by relevance

123

/external/skia/tests/
DClearTest.cpp82 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
93 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
104 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
115 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
126 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
144 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
155 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
168 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
175 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DCodecPartialTest.cpp40 ERRORF(r, "Bitmaps have different image infos!"); in compare_bitmaps()
58 ERRORF(r, "Failed to decode %s\n", name); in test_partial()
71 ERRORF(r, "Failed to create codec for %s", name); in test_partial()
88 ERRORF(r, "Failed to start incremental decode\n"); in test_partial()
107 ERRORF(r, "Failed to completely decode %s", name); in test_partial()
151 ERRORF(r, "Failed to create codec from %s", path); in DEF_TEST()
157 ERRORF(r, "Test is uninteresting with 0 or 1 frames"); in DEF_TEST()
165 ERRORF(r, "Should have created a partial codec for %s", path); in DEF_TEST()
227 ERRORF(r, "Failed to decode frame %i from %s", i, path); in DEF_TEST()
238 ERRORF(r, "Failed to create a partial codec from %s with %i bytes out of %i", in DEF_TEST()
[all …]
DCodecAnimTest.cpp180 ERRORF(r, "Failed to create an SkCodec from '%s'", rec.fName); in DEF_TEST()
191 ERRORF(r, "%s repetition count does not match! expected: %i\tactual: %i", in DEF_TEST()
197 ERRORF(r, "'%s' has wrong number entries in fRequiredFrames; expected: %i\tactual: %i", in DEF_TEST()
204 ERRORF(r, "'%s' has wrong number entries in fDurations; expected: %i\tactual: %i", in DEF_TEST()
210 ERRORF(r, "'%s' has wrong number entries in fAlphaTypes; expected: %i\tactual: %i", in DEF_TEST()
216 ERRORF(r, "'%s' has wrong number entries in fDisposalMethods; " in DEF_TEST()
246 ERRORF(r, "'%s' expected frame count: %i\tactual: %i", in DEF_TEST()
269 ERRORF(r, "%s frame %i's durations do not match! expected: %i\tactual: %i", in DEF_TEST()
287 ERRORF(r, "%s's frame %i has wrong alpha type! expected: %s\tactual: %s", in DEF_TEST()
294 ERRORF(r, "%s's frame %i has wrong dependency! expected: %i\tactual: %i", in DEF_TEST()
[all …]
DPDFDeflateWStreamTest.cpp49 ERRORF(reporter, "Zlib: inflateInit failed"); in stream_inflate()
90 ERRORF(reporter, "write failed"); in stream_inflate()
100 ERRORF(reporter, "Zlib: inflateEnd failed"); in stream_inflate()
124 ERRORF(r, "something went wrong."); in DEF_TEST()
135 ERRORF(r, "Decompression failed."); in DEF_TEST()
139 ERRORF(r, "Decompression failed to get right size [%d]." in DEF_TEST()
160 ERRORF(r, "Decompression failed at byte %u.", (unsigned)i); in DEF_TEST()
DEGLImageTest.cpp91 ERRORF(reporter, "Error creating texture for EGL Image"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
96 ERRORF(reporter, "Expected backend texture to be 2D"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
104 ERRORF(reporter, "Error creating EGL Image from texture"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
132 ERRORF(reporter, "Error converting EGL Image back to texture"); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
146 ERRORF(reporter, "Error wrapping external texture in GrSurfaceContext."); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
157 ERRORF(reporter, "Should not be able to wrap an EXTERNAL texture as a RT."); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
166 ERRORF(reporter, "Should not be able to wrap an EXTERNAL texture with MSAA."); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DShadowUtilsTest.cpp22 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.", in tessellate_shadow()
27 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.", in tessellate_shadow()
32 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.", in tessellate_shadow()
37 ERRORF(reporter, "Expected shadow tessellation to %s but it did not.", in tessellate_shadow()
DSRGBReadWritePixelsTest.cpp127 ERRORF(reporter, "Could not read pixels for %s.", subtestName); in read_and_check_pixels()
137 ERRORF(reporter, "Expected 0x%08x, read back as 0x%08x in %s at %d, %d).", in read_and_check_pixels()
182 ERRORF(reporter, "Could not create SRGBA surface context."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
201 ERRORF(reporter, "Could not write srgba data to srgba texture."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
214 ERRORF(reporter, "Could not write rgba data to srgba texture."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
221 ERRORF(reporter, "Could not create RGBA surface context."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
243 ERRORF(reporter, "Could not write srgba data to rgba texture."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
252 ERRORF(reporter, "Could not write rgba data to rgba texture."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSRGBTest.cpp24 ERRORF(r, "%d -> %d\n", i, actual); in DEF_TEST()
61 ERRORF(r, "%d doesn't round trip, %d", i, reds[i]); in DEF_TEST()
79 ERRORF(r, "expected to_srgb() to map 0.0f to 0.0f, got %f", color.r()); in DEF_TEST()
85 ERRORF(r, "expected to_srgb() to map 1.0f to 1.0f, got %f (%08x)", color.g(), x); in DEF_TEST()
DCopySurfaceTest.cpp88 ERRORF(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
125 ERRORF(reporter, "Expected return value %d from copySurface, got " in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
136 ERRORF(reporter, "Error calling readPixels"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
151 ERRORF(reporter, "Expected dst %d,%d to contain " in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
160 ERRORF(reporter, "Expected dst %d,%d to be unmodified (" in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DStreamTest.cpp52 ERRORF(reporter, "Failed to create tmp file %s\n", path.c_str()); in test_filestreams()
161 ERRORF(reporter, "sizes:%x != n:%x\n", i, sizes[i], n); in TestPackedUInt()
312 ERRORF(rep, "Unexpected length."); in stream_peek_test()
326 ERRORF(rep, "Peek Failed!"); in stream_peek_test()
330 ERRORF(rep, "Peek returned wrong bytes!"); in stream_peek_test()
336 ERRORF(rep, "Read Failed!"); in stream_peek_test()
400 ERRORF(reporter, "SkStreamCopy failed"); in stream_copy_test()
405 ERRORF(reporter, "SkStreamCopy incorrect size"); in stream_copy_test()
409 ERRORF(reporter, "SkStreamCopy bad copy"); in stream_copy_test()
426 ERRORF(r, "detachAsData() memcmp failed"); in DEF_TEST()
DTestUtils.cpp27 ERRORF(reporter, "%s: Error reading from texture.", testName); in test_read_pixels()
32 ERRORF(reporter, "%s: Error, pixel value %d should be 0x%08x, got 0x%08x.", in test_read_pixels()
56 ERRORF(reporter, "%s: Error writing to texture.", testName); in test_write_pixels()
62 ERRORF(reporter, "%s: writePixels succeeded when it wasn't supposed to.", testName); in test_write_pixels()
DImageTest.cpp169 ERRORF(reporter, "failed to decode image!"); in test_encode()
456 ERRORF(reporter, "Error creating image."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
466 ERRORF(reporter, "makeTextureImage failed."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
471 ERRORF(reporter, "makeTextureImage returned non-texture image."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
479 ERRORF(reporter, "makeTextureImage made unnecessary texture copy."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
483 ERRORF(reporter, "makeTextureImage changed the image size."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
486 ERRORF(reporter, "makeTextureImage changed image alpha type."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
513 ERRORF(reporter, "makeNonTextureImage failed for texture-backed image."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
569 ERRORF(reporter, "Failed to create image!"); in image_test_read_pixels()
657 ERRORF(reporter, "Failed to create image."); in test_legacy_bitmap()
[all …]
DReadWriteAlphaTest.cpp33 ERRORF(reporter, in validate_alpha_data()
65 ERRORF(reporter, "Could not create alpha texture."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
123 ERRORF(reporter, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
173 ERRORF(reporter, "Failed to create RGBA texture."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DTime.cpp21 ERRORF(r, in DEF_TEST()
27 ERRORF(r, in DEF_TEST()
DApplyGammaTest.cpp114 ERRORF(reporter, "Could not create surfaces for copy surface test."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
133 ERRORF(reporter, "Error calling readPixels"); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
145 ERRORF(reporter, "Expected dst %d,%d to contain 0x%08x " in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSkLinearBitmapPipelineTest.cpp180 ERRORF(reporter, "Span: {%f, %f}, %f, %d", start.fX, start.fY, length, count); in compare_tiler_case()
181 ERRORF(reporter, "Size points: %d, size span: %d", in compare_tiler_case()
184 ERRORF(reporter, "Size points: %d, size span: %d", in compare_tiler_case()
187 ERRORF(reporter, in compare_tiler_case()
192 ERRORF(reporter, in compare_tiler_case()
DCodecExactReadTest.cpp72 ERRORF(r, "Failed to create a codec from %s, iteration %i", path, i); in DEF_TEST()
82 ERRORF(r, "Failed to getPixels from %s, iteration %i error %i", path, i, result); in DEF_TEST()
DMemsetTest.cpp31 ERRORF(r, "[%d] expected %x found %x\n", i, value, base[i]); in compare16()
41 ERRORF(r, "[%d] expected %x found %x\n", i, value, base[i]); in compare32()
DCodecTest.cpp139 ERRORF(r, "failed to start incremental decode!\ttop: %i\tbottom%i\n", in test_in_stripes()
144 ERRORF(r, "failed incremental decode starting from line %i\n", y); in test_in_stripes()
282 ERRORF(r, "Unable to decode '%s'", path); in check()
418 ERRORF(r, "Unable to decode '%s'", path); in check()
578 ERRORF(r, "Unable to create codec '%s'", path); in test_dimensions()
706 ERRORF(r, "failed writing png"); in DEF_TEST()
764 ERRORF(fReporter, "Saw an unexpected unknown chunk."); in DEF_TEST()
959 ERRORF(r, "Unable to create codec '%s'.", path); in DEF_TEST()
1135 ERRORF(r, "failed to create a codec for %s", path); in test_conversion_possible()
1211 ERRORF(r, "Failed to create codec for %s", path); in DEF_TEST()
[all …]
DGrPipelineDynamicStateTest.cpp155 ERRORF(reporter, "could not create render target context."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
188 ERRORF(reporter, "vbuff is null."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
212 ERRORF(reporter, "[scissor=%s] pixel (%i,%i): got 0x%x expected 0x%x", in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrMeshTest.cpp88 ERRORF(reporter, "could not create render target context."); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 ERRORF(reporter, #buff " is null."); \ in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
383 ERRORF(reporter, "[%s] expectation and rtc not compatible (?).", testName); in run_test()
387 ERRORF(reporter, "unexpected row bytes in gold image.", testName); in run_test()
400 ERRORF(reporter, "[%s] pixel (%i,%i): got 0x%x expected 0x%x", in run_test()
DPDFPrimitivesTest.cpp180 ERRORF(reporter, "%.9g != %s", number, result.c_str()); in assert_emit_eq_number()
441 ERRORF(reporter, "string too long: %u", (unsigned)len); in check_pdf_scalar_serialization()
445 ERRORF(reporter, "terminator misplaced."); in check_pdf_scalar_serialization()
453 ERRORF(reporter, "unscannable result: %s", floatString); in check_pdf_scalar_serialization()
457 ERRORF(reporter, "roundTripFloat (%.9g) != inputFloat (%.9g)", in check_pdf_scalar_serialization()
DSkRasterPipelineTest.cpp126 ERRORF(r, "(%u, %u) - a: %g r: %g\n", j, k, data[j][k], buffer[j][k]); in DEF_TEST()
195 ERRORF(r, "(%u, %u) - a: %g r: %g\n", j, k, answer[j][k], buffer[j][k]); in DEF_TEST()
230 ERRORF(r, "got %08x, want %08x\n", rgba[i], want); in DEF_TEST()
DSkBlend_optsTest.cpp51 ERRORF(reporter, "image is NULL"); in test_blender()
57 ERRORF(reporter, "Could not read resource"); in test_blender()
DPrimitiveProcessorTest.cpp114 ERRORF(reporter, "Could not create render target context."); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
119 ERRORF(reporter, "No attributes allowed?!"); in DEF_GPUTEST_FOR_ALL_CONTEXTS()

123