Home
last modified time | relevance | path

Searched refs:testRect (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DClipStackTest.cpp628 SkRect testRect = SkRect::MakeLTRB(10, 10, 40, 40); in test_quickContains() local
647 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
654 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
662 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
671 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
681 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
688 REPORTER_ASSERT(reporter, true == stack.quickContains(testRect)); in test_quickContains()
694 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
700 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
706 REPORTER_ASSERT(reporter, false == stack.quickContains(testRect)); in test_quickContains()
[all …]
DSurfaceTest.cpp270 const SkRect testRect = in test_copy_on_write() local
297 testRRect.setRectXY(testRect, SK_Scalar1, SK_Scalar1); in test_copy_on_write()
328 EXPECT_COPY_ON_WRITE(drawOval(testRect, testPaint)) in test_copy_on_write()
329 EXPECT_COPY_ON_WRITE(drawRect(testRect, testPaint)) in test_copy_on_write()
333 EXPECT_COPY_ON_WRITE(drawBitmapRect(testBitmap, testRect, nullptr)) in test_copy_on_write()
334 EXPECT_COPY_ON_WRITE(drawBitmapNine(testBitmap, testIRect, testRect, nullptr)) in test_copy_on_write()
DPathTest.cpp2170 const SkRect testRect = SkRect::MakeXYWH(10, 10, 50, 70); in test_is_simple_closed_rect() local
2176 path.addRect(testRect, dir, start); in test_is_simple_closed_rect()
2177 check_simple_closed_rect(reporter, path, testRect, dir, start); in test_is_simple_closed_rect()
2179 check_simple_closed_rect(reporter, path, testRect, dir, start); in test_is_simple_closed_rect()
2187 path2.addRect(testRect, dir, start); in test_is_simple_closed_rect()
2212 check_simple_closed_rect(reporter, path2, testRect, dir, start); in test_is_simple_closed_rect()
2215 check_simple_closed_rect(reporter, path2, testRect, dir, start); in test_is_simple_closed_rect()
2220 SkRect degenRect = testRect; in test_is_simple_closed_rect()
2225 degenRect = testRect; in test_is_simple_closed_rect()
2236 SkRect swapRect = testRect; in test_is_simple_closed_rect()
[all …]
/external/python/cpython2/Mac/Modules/icn/
D_Icnmodule.c380 Rect testRect; in Icn_RectInIconID() local
388 PyMac_GetRect, &testRect, in Icn_RectInIconID()
393 _rv = RectInIconID(&testRect, in Icn_RectInIconID()
406 Rect testRect; in Icn_RectInIconSuite() local
414 PyMac_GetRect, &testRect, in Icn_RectInIconSuite()
419 _rv = RectInIconSuite(&testRect, in Icn_RectInIconSuite()
1164 Rect testRect; in Icn_RectInIconRef() local
1173 PyMac_GetRect, &testRect, in Icn_RectInIconRef()
1179 _rv = RectInIconRef(&testRect, in Icn_RectInIconRef()
/external/dng_sdk/source/
Ddng_bad_pixels.cpp430 dng_rect testRect (pt.v - radius, in IsPointIsolated() local
438 if ((testRect & Rect (n)).NotEmpty ()) in IsPointIsolated()
457 dng_rect testRect = Rect (index); in IsRectIsolated() local
459 testRect.t -= radius; in IsRectIsolated()
460 testRect.l -= radius; in IsRectIsolated()
461 testRect.b += radius; in IsRectIsolated()
462 testRect.r += radius; in IsRectIsolated()
470 if ((testRect & Rect (n)).NotEmpty ()) in IsRectIsolated()
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c14380 Rect testRect; in Qt_SCSetTestImagePictHandle() local
14392 &testRect, in Qt_SCSetTestImagePictHandle()
14396 PyMac_BuildRect, &testRect); in Qt_SCSetTestImagePictHandle()
14406 Rect testRect; in Qt_SCSetTestImagePictFile() local
14418 &testRect, in Qt_SCSetTestImagePictFile()
14422 PyMac_BuildRect, &testRect); in Qt_SCSetTestImagePictFile()
14432 Rect testRect; in Qt_SCSetTestImagePixMap() local
14444 &testRect, in Qt_SCSetTestImagePixMap()
14448 PyMac_BuildRect, &testRect); in Qt_SCSetTestImagePixMap()