HomeSort by relevance Sort by last modified time
    Searched full:reporter (Results 26 - 50 of 699) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/skia/tests/
PathOpsDPointTest.cpp 23 DEF_TEST(PathOpsDPoint, reporter) {
28 REPORTER_ASSERT(reporter, p == pt);
29 REPORTER_ASSERT(reporter, !(pt != pt));
32 REPORTER_ASSERT(reporter, p == pt);
34 REPORTER_ASSERT(reporter, p == pt);
35 REPORTER_ASSERT(reporter, p.approximatelyEqual(pt));
38 REPORTER_ASSERT(reporter, p == pt);
39 REPORTER_ASSERT(reporter, p.approximatelyEqual(sPt));
40 REPORTER_ASSERT(reporter, p.roughlyEqual(pt));
41 REPORTER_ASSERT(reporter, p.moreRoughlyEqual(pt))
    [all...]
StringTest.cpp 35 DEF_TEST(String, reporter) {
41 REPORTER_ASSERT(reporter, a.isEmpty());
42 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
50 REPORTER_ASSERT(reporter, !a.isEmpty());
51 REPORTER_ASSERT(reporter, a.size() == 5);
52 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
53 REPORTER_ASSERT(reporter, a.equals("hello", 5));
54 REPORTER_ASSERT(reporter, a.equals("hello"));
55 REPORTER_ASSERT(reporter, !a.equals("help"));
57 REPORTER_ASSERT(reporter, a.startsWith("hell"))
    [all...]
BitmapHasherTest.cpp 19 SkColor color, skiatest::Reporter* reporter) {
21 REPORTER_ASSERT(reporter, bitmap->allocPixels(info));
25 DEF_TEST(BitmapHasher, reporter) {
30 CreateTestBitmap(&bitmap, 333, 555, SK_ColorBLUE, reporter);
31 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
32 REPORTER_ASSERT(reporter, digest == 0xfb2903562766ef87ULL);
34 CreateTestBitmap(&bitmap, 555, 333, SK_ColorBLUE, reporter);
35 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
36 REPORTER_ASSERT(reporter, digest == 0xfe04023fb97d0f61ULL)
    [all...]
DequeTest.cpp 11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) {
13 REPORTER_ASSERT(reporter, deq.empty());
14 REPORTER_ASSERT(reporter, 0 == deq.count());
15 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize());
16 REPORTER_ASSERT(reporter, NULL == deq.front());
17 REPORTER_ASSERT(reporter, NULL == deq.back());
19 REPORTER_ASSERT(reporter, !deq.empty());
20 REPORTER_ASSERT(reporter, count == deq.count());
21 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize())
    [all...]
DocumentTest.cpp 8 static void test_empty(skiatest::Reporter* reporter) {
15 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
18 static void test_abort(skiatest::Reporter* reporter) {
28 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
31 static void test_abortWithFile(skiatest::Reporter* reporter) {
56 REPORTER_ASSERT(reporter, fread(buffer, 1, 1, file) == 0);
60 static void test_file(skiatest::Reporter* reporter)
    [all...]
FrontBufferedStreamTest.cpp 14 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream,
20 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd());
21 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0);
24 static void test_rewind(skiatest::Reporter* reporter,
27 REPORTER_ASSERT(reporter, success == shouldSucceed);
34 static void test_hasLength(skiatest::Reporter* reporter,
38 REPORTER_ASSERT(reporter, bufferedStream.hasLength())
    [all...]
MemoryTest.cpp 3 DEF_TEST(memory_calloc, reporter) {
8 REPORTER_ASSERT(reporter, 0 == zeros[i]);
Writer32Test.cpp 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer,
16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size);
18 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size));
22 static void test_reserve(skiatest::Reporter* reporter) {
30 static void test_string_null(skiatest::Reporter* reporter) {
37 check_contents(reporter, writer, expected, sizeof(expected));
40 static void test_rewind(skiatest::Reporter* reporter)
    [all...]
MathTest.cpp 17 static void test_clz(skiatest::Reporter* reporter) {
18 REPORTER_ASSERT(reporter, 32 == SkCLZ(0));
19 REPORTER_ASSERT(reporter, 31 == SkCLZ(1));
20 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30));
21 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U));
31 REPORTER_ASSERT(reporter, intri == porta);
51 static void test_floor_value(skiatest::Reporter* reporter, float value) {
54 REPORTER_ASSERT(reporter, std == fast)
    [all...]
GradientTest.cpp 24 void gradCheck(skiatest::Reporter* reporter, SkShader* shader,
33 REPORTER_ASSERT(reporter, shader->asAGradient(info) == gt);
35 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount);
36 REPORTER_ASSERT(reporter,
38 REPORTER_ASSERT(reporter,
40 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode);
45 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) {
47 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(NULL))
    [all...]
FontMgrTest.cpp 15 static void test_font(skiatest::Reporter* reporter) {
19 REPORTER_ASSERT(reporter, NULL != font->getTypeface());
20 REPORTER_ASSERT(reporter, 24 == font->getSize());
21 REPORTER_ASSERT(reporter, 1 == font->getScaleX());
22 REPORTER_ASSERT(reporter, 0 == font->getSkewX());
23 REPORTER_ASSERT(reporter, SkFont::kA8_MaskType == font->getMaskType());
30 REPORTER_ASSERT(reporter, 5 == count);
32 REPORTER_ASSERT(reporter, 0 != glyphs[i]);
34 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e
    [all...]
PathOpsExtendedTest.h 21 void (*fun)(skiatest::Reporter*, const char* filename);
29 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
31 extern bool testPathFailOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
33 extern bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
37 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename);
39 int initializeTests(skiatest::Reporter* reporter, const char* testName)
    [all...]
  /external/skia/tests/
PathOpsDPointTest.cpp 23 DEF_TEST(PathOpsDPoint, reporter) {
28 REPORTER_ASSERT(reporter, p == pt);
29 REPORTER_ASSERT(reporter, !(pt != pt));
32 REPORTER_ASSERT(reporter, p == pt);
34 REPORTER_ASSERT(reporter, p == pt);
35 REPORTER_ASSERT(reporter, p.approximatelyEqual(pt));
38 REPORTER_ASSERT(reporter, p == pt);
39 REPORTER_ASSERT(reporter, p.approximatelyEqual(sPt));
40 REPORTER_ASSERT(reporter, p.roughlyEqual(pt));
41 REPORTER_ASSERT(reporter, p.moreRoughlyEqual(pt))
    [all...]
StringTest.cpp 35 DEF_TEST(String, reporter) {
41 REPORTER_ASSERT(reporter, a.isEmpty());
42 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
50 REPORTER_ASSERT(reporter, !a.isEmpty());
51 REPORTER_ASSERT(reporter, a.size() == 5);
52 REPORTER_ASSERT(reporter, a == b && a == c && a == d);
53 REPORTER_ASSERT(reporter, a.equals("hello", 5));
54 REPORTER_ASSERT(reporter, a.equals("hello"));
55 REPORTER_ASSERT(reporter, !a.equals("help"));
57 REPORTER_ASSERT(reporter, a.startsWith("hell"))
    [all...]
BitmapHasherTest.cpp 19 SkColor color, skiatest::Reporter* reporter) {
21 REPORTER_ASSERT(reporter, bitmap->allocPixels(info));
25 DEF_TEST(BitmapHasher, reporter) {
30 CreateTestBitmap(&bitmap, 333, 555, SK_ColorBLUE, reporter);
31 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
32 REPORTER_ASSERT(reporter, digest == 0xfb2903562766ef87ULL);
34 CreateTestBitmap(&bitmap, 555, 333, SK_ColorBLUE, reporter);
35 REPORTER_ASSERT(reporter, SkBitmapHasher::ComputeDigest(bitmap, &digest));
36 REPORTER_ASSERT(reporter, digest == 0xfe04023fb97d0f61ULL)
    [all...]
DequeTest.cpp 11 static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int count) {
13 REPORTER_ASSERT(reporter, deq.empty());
14 REPORTER_ASSERT(reporter, 0 == deq.count());
15 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize());
16 REPORTER_ASSERT(reporter, NULL == deq.front());
17 REPORTER_ASSERT(reporter, NULL == deq.back());
19 REPORTER_ASSERT(reporter, !deq.empty());
20 REPORTER_ASSERT(reporter, count == deq.count());
21 REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize())
    [all...]
DocumentTest.cpp 8 static void test_empty(skiatest::Reporter* reporter) {
15 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
18 static void test_abort(skiatest::Reporter* reporter) {
28 REPORTER_ASSERT(reporter, stream.bytesWritten() == 0);
31 static void test_abortWithFile(skiatest::Reporter* reporter) {
56 REPORTER_ASSERT(reporter, fread(buffer, 1, 1, file) == 0);
60 static void test_file(skiatest::Reporter* reporter)
    [all...]
FrontBufferedStreamTest.cpp 14 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream,
20 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd());
21 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0);
24 static void test_rewind(skiatest::Reporter* reporter,
27 REPORTER_ASSERT(reporter, success == shouldSucceed);
34 static void test_hasLength(skiatest::Reporter* reporter,
38 REPORTER_ASSERT(reporter, bufferedStream.hasLength())
    [all...]
MemoryTest.cpp 3 DEF_TEST(memory_calloc, reporter) {
8 REPORTER_ASSERT(reporter, 0 == zeros[i]);
Writer32Test.cpp 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer,
16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size);
18 REPORTER_ASSERT(reporter, !memcmp(storage.get(), expected, size));
22 static void test_reserve(skiatest::Reporter* reporter) {
30 static void test_string_null(skiatest::Reporter* reporter) {
37 check_contents(reporter, writer, expected, sizeof(expected));
40 static void test_rewind(skiatest::Reporter* reporter)
    [all...]
MathTest.cpp 17 static void test_clz(skiatest::Reporter* reporter) {
18 REPORTER_ASSERT(reporter, 32 == SkCLZ(0));
19 REPORTER_ASSERT(reporter, 31 == SkCLZ(1));
20 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30));
21 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U));
31 REPORTER_ASSERT(reporter, intri == porta);
51 static void test_floor_value(skiatest::Reporter* reporter, float value) {
54 REPORTER_ASSERT(reporter, std == fast)
    [all...]
GradientTest.cpp 24 void gradCheck(skiatest::Reporter* reporter, SkShader* shader,
33 REPORTER_ASSERT(reporter, shader->asAGradient(info) == gt);
35 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount);
36 REPORTER_ASSERT(reporter,
38 REPORTER_ASSERT(reporter,
40 REPORTER_ASSERT(reporter, fTileMode == info->fTileMode);
45 static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) {
47 REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(NULL))
    [all...]
FontMgrTest.cpp 15 static void test_font(skiatest::Reporter* reporter) {
19 REPORTER_ASSERT(reporter, NULL != font->getTypeface());
20 REPORTER_ASSERT(reporter, 24 == font->getSize());
21 REPORTER_ASSERT(reporter, 1 == font->getScaleX());
22 REPORTER_ASSERT(reporter, 0 == font->getSkewX());
23 REPORTER_ASSERT(reporter, SkFont::kA8_MaskType == font->getMaskType());
30 REPORTER_ASSERT(reporter, 5 == count);
32 REPORTER_ASSERT(reporter, 0 != glyphs[i]);
34 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e
    [all...]
PathOpsExtendedTest.h 21 void (*fun)(skiatest::Reporter*, const char* filename);
29 extern bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
31 extern bool testPathFailOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
33 extern bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
37 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename);
39 int initializeTests(skiatest::Reporter* reporter, const char* testName)
    [all...]
  /external/chromium_org/content/renderer/media/crypto/
key_systems_support_uma.cc 54 class KeySystemsSupportUMA::Reporter {
56 explicit Reporter(const std::string& key_system);
57 ~Reporter();
70 KeySystemsSupportUMA::Reporter::Reporter(const std::string& key_system)
77 KeySystemsSupportUMA::Reporter::~Reporter() {}
79 void KeySystemsSupportUMA::Reporter::Report(bool has_type, bool is_supported) {
98 reporters_.set(key_system, scoped_ptr<Reporter>(new Reporter(key_system)))
103 Reporter* reporter = GetReporter(key_system); local
111 Reporter* reporter = GetReporter(key_system); local
119 Reporters::iterator reporter = reporters_.find(key_system); local
    [all...]

Completed in 406 milliseconds

12 3 4 5 6 7 8 91011>>