/external/skia/tests/ |
PackedConfigsTextureTest.cpp | 25 static void check_component(skiatest::Reporter* reporter, uint8_t control, uint8_t test) { 32 REPORTER_ASSERT(reporter, diff < TOL); 42 static void check_4444(skiatest::Reporter* reporter, 53 check_component(reporter, ctrlComp, testComp); 58 check_component(reporter, ctrlComp, testComp); 63 check_component(reporter, ctrlComp, testComp); 68 check_component(reporter, ctrlComp, testComp); 73 static void check_565(skiatest::Reporter* reporter [all...] |
ScalarTest.cpp | 15 static void test_roundtoint(skiatest::Reporter* reporter) { 20 REPORTER_ASSERT(reporter, 1 == ix); 25 REPORTER_ASSERT(reporter, 0 == ix); 34 static void test_isRectFinite(skiatest::Reporter* reporter) { 73 REPORTER_ASSERT(reporter, gSets[i].fIsFinite == rectIsFinite); 112 static void test_floatclass(skiatest::Reporter* reporter, float value, FloatClass fc) { 115 REPORTER_ASSERT(reporter, !!sk_float_isfinite(value) == (fc == kFinite)) [all...] |
TestUtils.cpp | 16 void test_read_pixels(skiatest::Reporter* reporter, 27 ERRORF(reporter, "%s: Error reading from texture.", testName); 32 ERRORF(reporter, "%s: Error, pixel value %d should be 0x%08x, got 0x%08x.", 39 void test_write_pixels(skiatest::Reporter* reporter, 56 ERRORF(reporter, "%s: Error writing to texture.", testName); 62 ERRORF(reporter, "%s: writePixels succeeded when it wasn't supposed to.", testName); 66 test_read_pixels(reporter, dstContext, pixels.get(), testName); 69 void test_copy_from_surface(skiatest::Reporter* reporter, GrContext* context [all...] |
BlitMaskClip.cpp | 15 TestBlitter(SkIRect bounds, skiatest::Reporter* reporter) 17 , fReporter(reporter) { } 33 skiatest::Reporter* fReporter; 38 DEF_TEST(BlitAndClip, reporter) { 55 TestBlitter tb(mask.fBounds, reporter);
|
RectTest.cpp | 25 static void test_stroke_width_clipping(skiatest::Reporter* reporter) { 41 REPORTER_ASSERT(reporter, !has_green_pixels(bm)); 46 REPORTER_ASSERT(reporter, has_green_pixels(bm)); 49 static void test_skbug4406(skiatest::Reporter* reporter) { 70 REPORTER_ASSERT(reporter, !has_green_pixels(bm)); 84 REPORTER_ASSERT(reporter, has_green_pixels(bm)); 87 DEF_TEST(Rect, reporter) { 88 test_stroke_width_clipping(reporter); [all...] |
TArrayTest.cpp | 15 static void TestTSet_basic(skiatest::Reporter* reporter) { 19 REPORTER_ASSERT(reporter, a.empty()); 20 REPORTER_ASSERT(reporter, a.count() == 0); 24 REPORTER_ASSERT(reporter, !a.empty()); 25 REPORTER_ASSERT(reporter, a.count() == 1); 29 REPORTER_ASSERT(reporter, a.empty()); 30 REPORTER_ASSERT(reporter, a.count() == 0); 34 REPORTER_ASSERT(reporter, a.push_back() = 1); 36 REPORTER_ASSERT(reporter, !a.empty()) [all...] |
MathTest.cpp | 22 static void test_clz(skiatest::Reporter* reporter) { 23 REPORTER_ASSERT(reporter, 32 == SkCLZ(0)); 24 REPORTER_ASSERT(reporter, 31 == SkCLZ(1)); 25 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30)); 26 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U)); 36 REPORTER_ASSERT(reporter, intri == porta); 40 static void test_quick_div(skiatest::Reporter* reporter) { 51 REPORTER_ASSERT(reporter, table[i] == gFDot6INVERSE[i + kInverseTableSize]) [all...] |
RegionTest.cpp | 18 #define TEST_NO_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, !rgn.intersects(rect)) 19 #define TEST_INTERSECT(rgn, rect) REPORTER_ASSERT(reporter, rgn.intersects(rect)) 20 #define TEST_NO_CONTAINS(rgn, rect) REPORTER_ASSERT(reporter, !rgn.contains(rect)) 24 static void test_fromchrome(skiatest::Reporter* reporter) { 81 static void test_empties(skiatest::Reporter* reporter) { 85 REPORTER_ASSERT(reporter, empty.isEmpty()); 86 REPORTER_ASSERT(reporter, !valid.isEmpty()); 89 REPORTER_ASSERT(reporter, !empty.intersects(empty2)) [all...] |
Writer32Test.cpp | 14 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, 17 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); 19 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size)); 23 static void test_reserve(skiatest::Reporter* reporter) { 31 static void test_string_null(skiatest::Reporter* reporter) { 38 check_contents(reporter, writer, expected, sizeof(expected)); 41 static void test_rewind(skiatest::Reporter* reporter) [all...] |
BitmapTest.cpp | 13 static void test_peekpixels(skiatest::Reporter* reporter) { 20 REPORTER_ASSERT(reporter, !bm.peekPixels(nullptr)); 21 REPORTER_ASSERT(reporter, !bm.peekPixels(&pmap)); 25 REPORTER_ASSERT(reporter, !bm.peekPixels(nullptr)); 26 REPORTER_ASSERT(reporter, !bm.peekPixels(&pmap)); 30 REPORTER_ASSERT(reporter, bm.peekPixels(nullptr)); 31 REPORTER_ASSERT(reporter, bm.peekPixels(&pmap)); 32 REPORTER_ASSERT(reporter, pmap.info() == bm.info()); 33 REPORTER_ASSERT(reporter, pmap.addr() == bm.getPixels()) [all...] |
PDFDocumentTest.cpp | 19 static void test_empty(skiatest::Reporter* reporter) { 26 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0); 29 static void test_abort(skiatest::Reporter* reporter) { 40 REPORTER_ASSERT(reporter, stream.bytesWritten() < 256); 43 static void test_abortWithFile(skiatest::Reporter* reporter) { 68 REPORTER_ASSERT(reporter, fread(buffer, 1, sizeof(buffer), file) < sizeof(buffer)); 72 static void test_file(skiatest::Reporter* reporter) [all...] |
Point3Test.cpp | 13 static void test_eq_ops(skiatest::Reporter* reporter) { 18 REPORTER_ASSERT(reporter, p0 != p1); 19 REPORTER_ASSERT(reporter, p1 == p2); 22 static void test_ops(skiatest::Reporter* reporter) { 25 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(v.length(), SK_Scalar1)); 29 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(p.length(), 3.0f)); 32 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(p.length(), SK_Scalar1)); 39 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(p.x(), 0.0f)) [all...] |
SkResourceCacheTest.cpp | 31 static void check_data(skiatest::Reporter* reporter, const SkCachedData* data, 33 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt); 34 REPORTER_ASSERT(reporter, data->testing_only_isInCache() == (kInCache == cacheState)); 36 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); 39 static void test_mipmapcache(skiatest::Reporter* reporter, SkResourceCache* cache) { 50 REPORTER_ASSERT(reporter, nullptr == mipmap); 53 REPORTER_ASSERT(reporter, mipmap); 58 REPORTER_ASSERT(reporter, mm) [all...] |
Reader32Test.cpp | 11 static void assert_eof(skiatest::Reporter* reporter, const SkReader32& reader) { 12 REPORTER_ASSERT(reporter, reader.eof()); 13 REPORTER_ASSERT(reporter, reader.size() == reader.offset()); 14 REPORTER_ASSERT(reporter, (const char*)reader.peek() == 18 static void assert_start(skiatest::Reporter* reporter, const SkReader32& reader) { 19 REPORTER_ASSERT(reporter, 0 == reader.offset()); 20 REPORTER_ASSERT(reporter, reader.size() == reader.available()); 21 REPORTER_ASSERT(reporter, reader.isAvailable(reader.size())) [all...] |
StreamBufferTest.cpp | 18 static void test_get_data_at_position(skiatest::Reporter* r, SkStreamBuffer* buffer, size_t position, 28 static void test_buffer_from_beginning(skiatest::Reporter* r, SkStream* stream, size_t length) { 45 static void test_flushing(skiatest::Reporter* r, SkStream* stream, size_t length,
|
/prebuilts/clang/host/darwin-x86/clang-2812033/tools/scan-view/ |
Makefile | 19 $(ShareDir)/scan-view/Reporter.py \
|
/prebuilts/clang/host/linux-x86/clang-2812033/tools/scan-view/ |
Makefile | 19 $(ShareDir)/scan-view/Reporter.py \
|
/external/mockito/src/main/java/org/mockito/internal/verification/checkers/ |
AtLeastXNumberOfInvocationsChecker.java | 14 import static org.mockito.internal.exceptions.Reporter.tooLittleActualInvocations; 15 import static org.mockito.internal.exceptions.Reporter.tooLittleActualInvocationsInOrder;
|
/external/objenesis/tck/src/main/java/org/objenesis/tck/ |
TCK.java | 31 * implementations, reporting the results to a {@link Reporter}. 45 * Reporter reporter = new TextReporter(System.out, System.err); 46 * tck.runTests(reporter); 51 * @see Reporter 85 * @param reporter Where to report the results of the test to. 87 public void runTests(Reporter reporter) { 88 reporter.startTests(describePlatform(), findAllDescriptions(candidates, descriptions), 97 reporter.startTest(candidateDescription, objenesisDescription) [all...] |
/external/protobuf/src/google/protobuf/util/ |
message_differencer.h | 71 // are found, the Compare method will return false, and any differencer reporter 216 class LIBPROTOBUF_EXPORT Reporter { 218 Reporter(); 219 virtual ~Reporter(); 273 // these fields at all. It is up to the Reporter to decide whether 283 // path has a null field. This could break existing Reporter. 289 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Reporter); 339 // To add a Reporter, construct default here, then use ReportDifferencesTo or 481 // ReportIgnored is called on the reporter, if one is specified. 543 // two messages will be reported if a Reporter was specified vi [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/ |
message_differencer.h | 71 // are found, the Compare method will return false, and any differencer reporter 216 class LIBPROTOBUF_EXPORT Reporter { 218 Reporter(); 219 virtual ~Reporter(); 273 // these fields at all. It is up to the Reporter to decide whether 283 // path has a null field. This could break existing Reporter. 289 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Reporter); 339 // To add a Reporter, construct default here, then use ReportDifferencesTo or 481 // ReportIgnored is called on the reporter, if one is specified. 543 // two messages will be reported if a Reporter was specified vi [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/ |
check.py | 12 from docutils.utils import Reporter
18 class SilentReporter(Reporter):
23 Reporter.__init__(self, source, report_level, halt_level, stream,
127 reporter = SilentReporter(source_path,
135 document = nodes.document(settings, reporter, source=source_path)
140 reporter.messages.append((-1, 'Could not finish the parsing.',
143 return reporter.messages
|
/external/google-breakpad/src/common/ |
dwarf_cfi_to_module.cc | 269 void DwarfCFIToModule::Reporter::UnnamedRegister(size_t offset, int reg) { 276 void DwarfCFIToModule::Reporter::UndefinedNotSupported(size_t offset, 285 void DwarfCFIToModule::Reporter::ExpressionsNotSupported(size_t offset,
|
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/command/ |
check.py | 13 from docutils.utils import Reporter 19 class SilentReporter(Reporter): 24 Reporter.__init__(self, source, report_level, halt_level, stream, 133 reporter = SilentReporter(source_path, 141 document = nodes.document(settings, reporter, source=source_path) 146 reporter.messages.append((-1, 'Could not finish the parsing.', 149 return reporter.messages
|
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/command/ |
check.py | 13 from docutils.utils import Reporter 19 class SilentReporter(Reporter): 24 Reporter.__init__(self, source, report_level, halt_level, stream, 133 reporter = SilentReporter(source_path, 141 document = nodes.document(settings, reporter, source=source_path) 146 reporter.messages.append((-1, 'Could not finish the parsing.', 149 return reporter.messages
|