Lines Matching refs:bitset2
139 Bitset<ImplTraits>* Bitset<ImplTraits>::bor(Bitset* bitset2) argument
144 return bitset2->clone();
146 if (bitset2 == NULL)
152 bitset->bitsetORInPlace(bitset2);
157 void Bitset<ImplTraits>::borInPlace(Bitset* bitset2) argument
161 if (bitset2 == NULL)
167 if ( m_blist.get_length() < bitset2->m_blist.get_length() )
168 this->growToInclude( bitset2->m_blist.get_length() * sizeof(ANTLR_BITWORD) );
172 if ( m_blist.get_length() < bitset2->m_blist.get_length() )
175 minimum = bitset2->m_blist.get_length();
178 ANTLR_BITWORD* bits2 = bitset2->m_blist.get_bits();
252 bool Bitset<ImplTraits>::equals(Bitset* bitset2) const
257 if (this == NULL || bitset2 == NULL)
262 if ( m_blist.get_length() < bitset2->m_blist.get_length() )
265 minimum = bitset2->m_blist.get_length();
272 ANTLR_BITWORD* bits2 = bitset2->m_blist.get_bits();
289 else if (bitset2->m_blist.get_length() > minimum)
292 for (i = minimum; i < bitset2->m_blist.get_length(); i++)
426 void Bitset<ImplTraits>::bitsetORInPlace(Bitset* bitset2) argument
431 if (bitset2 == NULL)
437 if ( m_blist.get_length() < bitset2->m_blist.get_length() )
438 this->growToInclude( bitset2->m_blist.get_length() * sizeof(ANTLR_BITWORD) );
442 if ( m_blist.get_length() < bitset2->m_blist.get_length() )
445 minimum = bitset2->m_blist.get_length();
448 ANTLR_BITWORD* bits2 = bitset2->m_blist.get_bits();