• Home
  • Raw
  • Download

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);
353 antlr3BitsetOR(pANTLR3_BITSET bitset1, pANTLR3_BITSET bitset2) in antlr3BitsetOR() argument
359 return antlr3BitsetClone(bitset2); in antlr3BitsetOR()
362 if (bitset2 == NULL) in antlr3BitsetOR()
371 antlr3BitsetORInPlace(bitset, bitset2); in antlr3BitsetOR()
439 antlr3BitsetORInPlace(pANTLR3_BITSET bitset, pANTLR3_BITSET bitset2) in antlr3BitsetORInPlace() argument
444 if (bitset2 == NULL) in antlr3BitsetORInPlace()
453 if (bitset->blist.length < bitset2->blist.length) in antlr3BitsetORInPlace()
455 growToInclude(bitset, (bitset2->blist.length * sizeof(ANTLR3_BITWORD))); in antlr3BitsetORInPlace()
460 if (bitset->blist.length < bitset2->blist.length) in antlr3BitsetORInPlace()
466 minimum = bitset2->blist.length; in antlr3BitsetORInPlace()
471 bitset->blist.bits[i-1] |= bitset2->blist.bits[i-1]; in antlr3BitsetORInPlace()
511 antlr3BitsetEquals(pANTLR3_BITSET bitset1, pANTLR3_BITSET bitset2) in antlr3BitsetEquals() argument
516 if (bitset1 == NULL || bitset2 == NULL) in antlr3BitsetEquals()
523 if (bitset1->blist.length < bitset2->blist.length) in antlr3BitsetEquals()
529 minimum = bitset2->blist.length; in antlr3BitsetEquals()
536 if (bitset1->blist.bits[i] != bitset2->blist.bits[i]) in antlr3BitsetEquals()
555 else if (bitset2->blist.length > (ANTLR3_UINT32)minimum) in antlr3BitsetEquals()
557 for (i = minimum; (ANTLR3_UINT32)i < bitset2->blist.length; i++) in antlr3BitsetEquals()
559 if (bitset2->blist.bits[i] != 0) in antlr3BitsetEquals()