Searched refs:bmp2 (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | bitmask.h | 156 struct bitmask *bitmask_copy(struct bitmask *bmp1, const struct bitmask *bmp2); 174 int bitmask_equal(const struct bitmask *bmp1, const struct bitmask *bmp2); 175 int bitmask_subset(const struct bitmask *bmp1, const struct bitmask *bmp2); 176 int bitmask_disjoint(const struct bitmask *bmp1, const struct bitmask *bmp2); 177 int bitmask_intersects(const struct bitmask *bmp1, const struct bitmask *bmp2); 187 const struct bitmask *bmp2); 189 const struct bitmask *bmp2, unsigned int n); 191 const struct bitmask *bmp2, unsigned int n); 193 struct bitmask *bitmask_and(struct bitmask *bmp1,const struct bitmask *bmp2, 195 struct bitmask *bitmask_andnot(struct bitmask *bmp1, const struct bitmask *bmp2, [all …]
|
D | libbitmask.c | 352 struct bitmask *bitmask_copy(struct bitmask *bmp1, const struct bitmask *bmp2) in bitmask_copy() argument 356 _setbit(bmp1, i, _getbit(bmp2, i)); in bitmask_copy() 474 int bitmask_equal(const struct bitmask *bmp1, const struct bitmask *bmp2) in bitmask_equal() argument 477 for (i = 0; i < bmp1->size || i < bmp2->size; i++) in bitmask_equal() 478 if (_getbit(bmp1, i) != _getbit(bmp2, i)) in bitmask_equal() 484 int bitmask_subset(const struct bitmask *bmp1, const struct bitmask *bmp2) in bitmask_subset() argument 488 if (_getbit(bmp1, i) > _getbit(bmp2, i)) in bitmask_subset() 494 int bitmask_disjoint(const struct bitmask *bmp1, const struct bitmask *bmp2) in bitmask_disjoint() argument 498 if (_getbit(bmp1, i) & _getbit(bmp2, i)) in bitmask_disjoint() 504 int bitmask_intersects(const struct bitmask *bmp1, const struct bitmask *bmp2) in bitmask_intersects() argument [all …]
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | BitmapUtils.java | 36 private static Boolean compareBasicBitmapsInfo(Bitmap bmp1, Bitmap bmp2) { in compareBasicBitmapsInfo() argument 37 if (bmp1 == bmp2) { in compareBasicBitmapsInfo() 46 if (bmp2 == null) { in compareBasicBitmapsInfo() 51 if ((bmp1.getWidth() != bmp2.getWidth()) || (bmp1.getHeight() != bmp2.getHeight())) { in compareBasicBitmapsInfo() 61 + bmp2.getWidth() in compareBasicBitmapsInfo() 63 + bmp2.getHeight() in compareBasicBitmapsInfo() 68 if (bmp1.getConfig() != bmp2.getConfig()) { in compareBasicBitmapsInfo() 76 + bmp2.getConfig() in compareBasicBitmapsInfo() 85 public static boolean compareBitmaps(Bitmap bmp1, Bitmap bmp2) { in compareBitmaps() argument 86 final Boolean basicComparison = compareBasicBitmapsInfo(bmp1, bmp2); in compareBitmaps() [all …]
|
/external/pdfium/xfa/fgas/graphics/ |
D | cfgas_gegraphics.cpp | 416 RetainPtr<CFX_DIBitmap> bmp2 = bmp1->TransformTo(m, &left, &top); in SetDIBitsWithMatrix() local 417 m_renderDevice->SetDIBits(bmp2, left, top); in SetDIBitsWithMatrix()
|
/external/python/cpython3/Lib/test/ |
D | test_unicode.py | 2415 bmp2 = '\uffff' * N 2421 bmp, bmp2, 2465 self.assertTrue(bmp < bmp2) 2469 self.assertFalse(bmp >= bmp2) 2474 self.assertFalse(astral < bmp2) 2478 self.assertTrue(astral >= bmp2) 2874 bmp2 = '\uffff' 2878 self.assertEqual(unicode_asutf8(bmp2), b'\xef\xbf\xbf') 2888 bmp2 = '\uffff' 2892 self.assertEqual(unicode_asutf8andsize(bmp2), (b'\xef\xbf\xbf', 3))
|