Home
last modified time | relevance | path

Searched refs:bmp2 (Results 1 - 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dbitmask.h44 * bitmask_copy(bmp1, bmp2): Copy bmp2 to bmp1
70 * ==== Binary Boolean operations: bmp1 op? bmp2
72 * bitmask_equal(bmp1, bmp2): True if two bitmasks are equal
73 * bitmask_subset(bmp1, bmp2): True if first bitmask is subset of second
74 * bitmask_disjoint(bmp1, bmp2): True if two bitmasks don't overlap
75 * bitmask_intersects(bmp1, bmp2): True if two bitmasks do overlap
85 * bitmask_complement(bmp1, bmp2): Complement: bmp1 = ~bmp2
86 * bitmask_shiftright(bmp1, bmp2,
[all...]
H A Dlibbitmask.c351 /* Copy bmp2 to bmp1 */
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()
470 * Binary Boolean operations: bmp1 op? bmp2
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
504 bitmask_intersects(const struct bitmask *bmp1, const struct bitmask *bmp2) bitmask_intersects() argument
551 bitmask_complement(struct bitmask *bmp1, const struct bitmask *bmp2) bitmask_complement() argument
561 bitmask_shiftright(struct bitmask *bmp1, const struct bitmask *bmp2, unsigned int n) bitmask_shiftright() argument
571 bitmask_shiftleft(struct bitmask *bmp1, const struct bitmask *bmp2, unsigned int n) bitmask_shiftleft() argument
585 bitmask_and(struct bitmask *bmp1, const struct bitmask *bmp2, const struct bitmask *bmp3) bitmask_and() argument
595 bitmask_andnot(struct bitmask *bmp1, const struct bitmask *bmp2, const struct bitmask *bmp3) bitmask_andnot() argument
605 bitmask_or(struct bitmask *bmp1, const struct bitmask *bmp2, const struct bitmask *bmp3) bitmask_or() argument
615 bitmask_eor(struct bitmask *bmp1, const struct bitmask *bmp2, const struct bitmask *bmp3) bitmask_eor() argument
[all...]
/third_party/python/Lib/test/test_capi/
H A Dtest_unicode.py363 bmp2 = '\uffff'
367 self.assertEqual(unicode_asutf8(bmp2), b'\xef\xbf\xbf')
378 bmp2 = '\uffff'
382 self.assertEqual(unicode_asutf8andsize(bmp2), (b'\xef\xbf\xbf', 3))
/third_party/python/Lib/test/
H A Dtest_unicode.py2529 bmp2 = '\uffff' * N
2535 bmp, bmp2,
2579 self.assertTrue(bmp < bmp2)
2583 self.assertFalse(bmp >= bmp2)
2588 self.assertFalse(astral < bmp2)
2592 self.assertTrue(astral >= bmp2)

Completed in 7 milliseconds