Lines Matching refs:bitset2
42 static pANTLR3_BITSET antlr3BitsetOR (pANTLR3_BITSET bitset1, pANTLR3_BITSET bitset2);
43 static void antlr3BitsetORInPlace (pANTLR3_BITSET bitset, pANTLR3_BITSET bitset2);
46 static ANTLR3_BOOLEAN antlr3BitsetEquals (pANTLR3_BITSET bitset1, pANTLR3_BITSET bitset2);
354 antlr3BitsetOR(pANTLR3_BITSET bitset1, pANTLR3_BITSET bitset2)
360 return antlr3BitsetClone(bitset2);
363 if (bitset2 == NULL)
372 antlr3BitsetORInPlace(bitset, bitset2);
440 antlr3BitsetORInPlace(pANTLR3_BITSET bitset, pANTLR3_BITSET bitset2)
445 if (bitset2 == NULL)
454 if (bitset->blist.length < bitset2->blist.length)
456 growToInclude(bitset, (bitset2->blist.length * sizeof(ANTLR3_BITWORD)));
461 if (bitset->blist.length < bitset2->blist.length)
467 minimum = bitset2->blist.length;
472 bitset->blist.bits[i-1] |= bitset2->blist.bits[i-1];
512 antlr3BitsetEquals(pANTLR3_BITSET bitset1, pANTLR3_BITSET bitset2)
517 if (bitset1 == NULL || bitset2 == NULL)
524 if (bitset1->blist.length < bitset2->blist.length)
530 minimum = bitset2->blist.length;
537 if (bitset1->blist.bits[i] != bitset2->blist.bits[i])
556 else if (bitset2->blist.length > (ANTLR3_UINT32)minimum)
558 for (i = minimum; (ANTLR3_UINT32)i < bitset2->blist.length; i++)
560 if (bitset2->blist.bits[i] != 0)