150 Q_ASSERT_X(
size >= 0,
"QBitArray::QBitArray",
"Size must be greater than or equal to 0.");
155 memset(
c + 1,
value ? 0xff : 0, d.
size() - 1);
158 *(
c + 1 +
size / 8) &= (1 << (
size & 7)) - 1;
205 return on ? numBits :
size() - numBits;
229 memset(
c +
s, 0, d.
size() -
s);
231 *(
c + 1 +
size / 8) &= (1 << (
size & 7)) - 1;
339 bits[nbytes] &= 0xffU >> (8 - (
size & 7));
369 const auto index = endianness == QSysInfo::Endian::LittleEndian ?
i : (_size -
i - 1);
643 *(
a2 - 1) &= (1 << (sz % 8)) - 1;
761 #ifndef QT_NO_DATASTREAM
776 out.writeRawData(
ba.d.constData() + 1,
ba.d.
size() - 1);
782 out.writeRawData(
ba.d.constData() + 1,
ba.d.
size() - 1);
817 while (allocated < totalBytes) {
829 if (paddingMask != ~0x0 && (
ba.d.constData()[
ba.d.
size() - 1] & paddingMask)) {
840 #ifndef QT_NO_DEBUG_STREAM
851 if (!(
i % 4) && (
i <
array.size()))
small capitals from c petite p scientific i
[1]
The QBitArray class provides an array of bits.
QBitArray operator^(const QBitArray &a1, const QBitArray &a2)
QBitArray & operator|=(const QBitArray &)
void resize(qsizetype size)
static QBitArray fromBits(const char *data, qsizetype len)
QBitArray operator|(const QBitArray &a1, const QBitArray &a2)
quint32 toUInt32(QSysInfo::Endian endianness, bool *ok=nullptr) const noexcept
QBitArray & operator&=(const QBitArray &)
bool fill(bool val, qsizetype size=-1)
QBitArray & operator^=(const QBitArray &)
QBitArray operator~() const
QBitArray operator&(const QBitArray &a1, const QBitArray &a2)
qsizetype size() const noexcept
const char * constData() const noexcept
void resize(qsizetype size)
The QDataStream class provides serialization of binary data to a QIODevice.
operator>>(QDataStream &ds, qfloat16 &f)
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
Convenience class for custom QDebug operators.
constexpr Initialization Uninitialized
Q_DECL_CONST_FUNCTION QT_POPCOUNT_CONSTEXPR uint qPopulationCount(quint32 v) noexcept
typedef QByteArray(EGLAPIENTRYP PFNQGSGETDISPLAYSPROC)()
EGLOutputLayerEXT EGLint EGLAttrib value
QT_BEGIN_INCLUDE_NAMESPACE typedef unsigned char uchar
unsigned long long quint64
GLsizei const GLfloat * v
[13]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const void * bits
#define Q_ASSERT_X(cond, x, msg)
QtPrivate::QRegularExpressionMatchIteratorRangeBasedForIterator begin(const QRegularExpressionMatchIterator &iterator)
QTextStream out(stdout)
[7]