Lines Matching refs:bitmap2
49 const unsigned long *bitmap2, unsigned int bits)
53 if (bitmap1[k] != bitmap2[k])
57 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
65 const unsigned long *bitmap2,
73 if ((bitmap1[k] | bitmap2[k]) != bitmap3[k])
80 tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k];
241 const unsigned long *bitmap2, unsigned int bits)
248 result |= (dst[k] = bitmap1[k] & bitmap2[k]);
250 result |= (dst[k] = bitmap1[k] & bitmap2[k] &
257 const unsigned long *bitmap2, unsigned int bits)
263 dst[k] = bitmap1[k] | bitmap2[k];
268 const unsigned long *bitmap2, unsigned int bits)
274 dst[k] = bitmap1[k] ^ bitmap2[k];
279 const unsigned long *bitmap2, unsigned int bits)
286 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]);
288 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] &
307 const unsigned long *bitmap2, unsigned int bits)
311 if (bitmap1[k] & bitmap2[k])
315 if ((bitmap1[k] & bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
322 const unsigned long *bitmap2, unsigned int bits)
326 if (bitmap1[k] & ~bitmap2[k])
330 if ((bitmap1[k] & ~bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits))
356 const unsigned long *bitmap2, unsigned int bits)
358 return BITMAP_WEIGHT(bitmap1[idx] & bitmap2[idx], bits);