Home
last modified time | relevance | path

Searched refs:bmp1 (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibbitmask.c352 struct bitmask *bitmask_copy(struct bitmask *bmp1, const struct bitmask *bmp2) in bitmask_copy() argument
355 for (i = 0; i < bmp1->size; i++) in bitmask_copy()
356 _setbit(bmp1, i, _getbit(bmp2, i)); in bitmask_copy()
357 return bmp1; 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
487 for (i = 0; i < bmp1->size; i++) in bitmask_subset()
488 if (_getbit(bmp1, i) > _getbit(bmp2, i)) in bitmask_subset()
[all …]
Dbitmask.h156 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);
186 struct bitmask *bitmask_complement(struct bitmask *bmp1,
188 struct bitmask *bitmask_shiftright(struct bitmask *bmp1,
190 struct bitmask *bitmask_shiftleft(struct bitmask *bmp1,
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 …]
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DBitmapUtils.java36 private static Boolean compareBasicBitmapsInfo(Bitmap bmp1, Bitmap bmp2) { in compareBasicBitmapsInfo() argument
37 if (bmp1 == bmp2) { in compareBasicBitmapsInfo()
41 if (bmp1 == null) { in compareBasicBitmapsInfo()
51 if ((bmp1.getWidth() != bmp2.getWidth()) || (bmp1.getHeight() != bmp2.getHeight())) { in compareBasicBitmapsInfo()
56 + bmp1.getWidth() in compareBasicBitmapsInfo()
58 + bmp1.getHeight() in compareBasicBitmapsInfo()
68 if (bmp1.getConfig() != bmp2.getConfig()) { in compareBasicBitmapsInfo()
73 + bmp1.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/
Dcfgas_gegraphics.cpp415 RetainPtr<CFX_DIBitmap> bmp1 = source->FlipImage(false, true); in SetDIBitsWithMatrix() local
416 RetainPtr<CFX_DIBitmap> bmp2 = bmp1->TransformTo(m, &left, &top); in SetDIBitsWithMatrix()
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py6119 bmp1 = io_ops.read_file(os.path.join(base, "rgb_small.bmp"))
6121 image3 = image_ops.decode_bmp(bmp1)