/external/python/cpython2/Lib/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( 149 return reporter.messages
|
/external/skia/tests/ |
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,
|
SurfaceSemaphoreTest.cpp | 27 void check_pixels(skiatest::Reporter* reporter, const SkBitmap& bitmap) { 46 ERRORF(reporter, "Wrong color at %d, %d. Got 0x%08x when we expected 0x%08x", 53 void draw_child(skiatest::Reporter* reporter, 95 check_pixels(reporter, bitmap); 98 void surface_semaphore_test(skiatest::Reporter* reporter, 123 draw_child(reporter, childInfo1, backendImage, semaphores[0]); 135 draw_child(reporter, childInfo2, backendImage, semaphores[1]) [all...] |
TemplatesTest.cpp | 12 static void test_automalloc_realloc(skiatest::Reporter* reporter) { 17 REPORTER_ASSERT(reporter, array[0] == 1); 23 REPORTER_ASSERT(reporter, array[0] == 1); 27 REPORTER_ASSERT(reporter, array[0] == 1); 31 REPORTER_ASSERT(reporter, array[0] == 1); 43 REPORTER_ASSERT(reporter, array[i] == 10 - i); 47 REPORTER_ASSERT(reporter, array[i] == 10 - i); 51 REPORTER_ASSERT(reporter, array[0] = 10); 59 REPORTER_ASSERT(reporter, array[0] == 1) [all...] |
SkResourceCacheTest.cpp | 32 static void check_data(skiatest::Reporter* reporter, const SkCachedData* data, 34 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt); 35 REPORTER_ASSERT(reporter, data->testing_only_isInCache() == (kInCache == cacheState)); 37 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); 40 static void test_mipmapcache(skiatest::Reporter* reporter, SkResourceCache* cache) { 51 REPORTER_ASSERT(reporter, nullptr == mipmap); 54 REPORTER_ASSERT(reporter, mipmap); 59 REPORTER_ASSERT(reporter, mm) [all...] |
CTest.cpp | 15 static void shader_test(skiatest::Reporter* reporter) { 33 REPORTER_ASSERT(reporter, shader != nullptr); 39 REPORTER_ASSERT(reporter, shader != nullptr); 46 REPORTER_ASSERT(reporter, shader != nullptr); 55 static void test_c(skiatest::Reporter* reporter) { 70 REPORTER_ASSERT(reporter, 0xFF000000 == pixel[0]); 74 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]); 79 REPORTER_ASSERT(reporter, 0x80404040 == pixel[0]) [all...] |
CachedDataTest.cpp | 22 static void check_data(skiatest::Reporter* reporter, SkCachedData* data, 24 REPORTER_ASSERT(reporter, data->testing_only_getRefCnt() == refcnt); 25 REPORTER_ASSERT(reporter, data->testing_only_isInCache() == (kInCache == cacheState)); 26 REPORTER_ASSERT(reporter, data->testing_only_isLocked() == (lockedState == kLocked)); 41 static SkCachedData* test_locking(skiatest::Reporter* reporter, 47 check_data(reporter, data, 1, kNotInCache, kLocked); 50 check_data(reporter, data, 2, kNotInCache, kLocked); 52 check_data(reporter, data, 1, kNotInCache, kLocked) [all...] |
CachedDecodingPixelRefTest.cpp | 35 TestImageGenerator(TestType type, skiatest::Reporter* reporter, 37 : INHERITED(GetMyInfo(colorType)), fType(type), fReporter(reporter) { 82 skiatest::Reporter* const fReporter;
|
InfRectTest.cpp | 21 static void test_center(skiatest::Reporter* reporter) { 30 REPORTER_ASSERT(reporter, 32 REPORTER_ASSERT(reporter, 44 REPORTER_ASSERT(reporter, ((r.left() + r.right()) >> 1) == cx); 45 REPORTER_ASSERT(reporter, ((r.top() + r.bottom()) >> 1) == cy); 49 static void check_invalid(skiatest::Reporter* reporter, 53 REPORTER_ASSERT(reporter, !rect.isFinite()); 58 DEF_TEST(InfRect, reporter) { [all...] |
ParametricStageTest.cpp | 12 static void check_error(skiatest::Reporter* r, float limit, SkColorSpaceTransferFn fn) { 43 static void check_error(skiatest::Reporter* r, float limit, float gamma) {
|
PixelRefTest.cpp | 18 static void test_dont_leak_install(skiatest::Reporter* reporter) { 27 REPORTER_ASSERT(reporter, true == success); 29 REPORTER_ASSERT(reporter, 0 == release_counter); 34 REPORTER_ASSERT(reporter, true == success); 36 REPORTER_ASSERT(reporter, 0 == release_counter); 41 REPORTER_ASSERT(reporter, false == success); 43 REPORTER_ASSERT(reporter, 0 == release_counter); 46 static void test_install(skiatest::Reporter* reporter) { [all...] |
UnicodeTest.cpp | 26 static void test_uvs(skiatest::Reporter* reporter) { 36 REPORTER_ASSERT(reporter, uvs0 == uvs1); 44 static void test_textencodings(skiatest::Reporter* reporter) { 72 REPORTER_ASSERT(reporter, (int)len8 == count8); 73 REPORTER_ASSERT(reporter, (int)len8 == count16); 74 REPORTER_ASSERT(reporter, (int)len8 == count32); 76 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_t))); 77 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_t))) [all...] |
PDFPrimitivesTest.cpp | 55 static void assert_eql(skiatest::Reporter* reporter, 60 REPORT_FAILURE(reporter, "", SkStringPrintf( 65 static void assert_eq(skiatest::Reporter* reporter, 68 assert_eql(reporter, skString, str, strlen(str)); 73 static void assert_emit_eq(skiatest::Reporter* reporter, 77 assert_eq(reporter, result, string); 80 static void TestPDFStream(skiatest::Reporter* reporter) [all...] |
PathOpsCubicIntersectionTest.cpp | 19 static void standardTestCases(skiatest::Reporter* reporter) { 66 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)); 68 reporter->bumpTestCount(); 387 static void oneOff(skiatest::Reporter* reporter, const CubicPts& cubic1, const CubicPts& cubic2, 416 REPORTER_ASSERT(reporter, !coin || intersections.used() >= 2); 430 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(iPt)); 431 REPORTER_ASSERT(reporter, xy2.approximatelyEqual(iPt)); 432 REPORTER_ASSERT(reporter, xy1.approximatelyEqual(xy2)) [all...] |
/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
|
/prebuilts/python/darwin-x86/2.7.5/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/python/linux-x86/2.7.5/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
|
/external/google-breakpad/src/common/dwarf/ |
dwarf2reader.h | 573 // A reporter class, which CallFrameInfo uses to report errors 575 class Reporter; 579 // REPORTER is an error reporter the parser should use to report 641 ByteReader *reader, Handler *handler, Reporter *reporter, 644 reader_(reader), handler_(handler), reporter_(reporter), [all...] |
/external/autotest/site_utils/ |
diagnosis_utils_unittest.py | 19 reporting.Reporter.__init__ = mock.Mock(return_value=None) 20 reporting.Reporter.report = mock.Mock(return_value=(None, 0))
|
/external/autotest/site_utils/suite_scheduler/ |
deduping_scheduler_unittest.py | 273 returned by Reporter._create_bug_report 277 self.mox.StubOutWithMock(reporting.Reporter, '__init__') 278 self.mox.StubOutWithMock(reporting.Reporter, '_create_bug_report') 279 self.mox.StubOutWithMock(reporting.Reporter, '_check_tracker') 280 self.mox.StubOutWithMock(reporting.Reporter, '_find_issue_by_marker') 311 reporting.Reporter.__init__() 312 reporting.Reporter._check_tracker().AndReturn(True) 313 (reporting.Reporter._find_issue_by_marker(mox.IgnoreArg()) 315 reporting.Reporter._create_bug_report(
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
ReplaceIcuTags.java | 18 import com.google.currysrc.api.process.Reporter; 35 protected boolean visitTagElement(Reporter reporter, ASTRewrite rewrite, TagElement tag) {
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
StubberImpl.java | 7 import static org.mockito.internal.exceptions.Reporter.notAMockPassedToWhenMethod; 8 import static org.mockito.internal.exceptions.Reporter.nullPassedToWhenMethod;
|
/external/skia/tools/ |
ok_test.cpp | 36 struct : public skiatest::Reporter { 46 } reporter; variable in typeref:struct:TestStream::TestSrc::__anon31301 47 reporter.extended = extended; 48 reporter.verbose_ = verbose; 57 test.proc(&reporter, factory); 58 return reporter.status; 99 Reporter* reporter, sk_gpu_test::GrContextFactory* factory) {
|