Lines Matching defs:bit
766 bool RegisterValue::ClearBit(uint32_t bit) {
776 if (bit < (GetByteSize() * 8)) {
777 return m_scalar.ClearBit(bit);
791 byte_idx = buffer.bytes.size() - (bit / 8) - 1;
793 byte_idx = bit / 8;
795 const uint32_t byte_bit = bit % 8;
806 bool RegisterValue::SetBit(uint32_t bit) {
816 if (bit < (GetByteSize() * 8)) {
817 return m_scalar.SetBit(bit);
831 byte_idx = buffer.bytes.size() - (bit / 8) - 1;
833 byte_idx = bit / 8;
835 const uint32_t byte_bit = bit % 8;