Searched refs:bits_isonly (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | Matrix44Test.cpp | 74 static bool bits_isonly(int value, int mask) { in bits_isonly() function 122 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kIdentity_Mask)); in test_translate() 124 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kTranslate_Mask)); in test_translate() 126 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kTranslate_Mask)); in test_translate() 150 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kIdentity_Mask)); in test_scale() 152 REPORTER_ASSERT(reporter, bits_isonly(mat.getType(), SkMatrix44::kScale_Mask)); in test_scale() 154 REPORTER_ASSERT(reporter, bits_isonly(inverse.getType(), SkMatrix44::kScale_Mask)); in test_scale()
|
/external/skia/src/utils/ |
D | SkMatrix44.cpp | 350 static bool bits_isonly(int value, int mask) { in bits_isonly() function 372 if (bits_isonly(a_mask | b_mask, kScale_Mask | kTranslate_Mask)) { in setConcat()
|