Lines Matching refs:BitStringChar
27 struct BitStringChar;
28 inline std::ostream& operator<<(std::ostream& os, const BitStringChar& bc);
39 struct BitStringChar { struct
44 BitStringChar() : data_(0u), bitlength_(0u) { } in BitStringChar() argument
47 BitStringChar(StorageType data, size_t bitlength) in BitStringChar() argument
78 bool operator==(const BitStringChar& other) const {
83 bool operator!=(const BitStringChar& other) const {
89 BitStringChar operator+(StorageType storage) const {
91 return BitStringChar(data_ + storage, bitlength_);
96 BitStringChar MaximumValue() const { in MaximumValue() argument
98 return BitStringChar(maximimum_data, bitlength_); in MaximumValue()
108 inline std::ostream& operator<<(std::ostream& os, const BitStringChar& bc) {
110 << static_cast<BitStringChar::StorageType>(bc) << ")";
143 using StorageType = BitStringChar::StorageType;
182 BitStringChar operator[](size_t idx) const {
187 return BitStringChar(data, kBitSizeAtPosition[idx]);
193 void SetAt(size_t idx, BitStringChar bitchar) { in SetAt()
211 BitStringChar bc = (*this)[i]; in Length()
287 BitStringChar bc = bit_string[i];