QtBase  v6.3.1
Classes | Namespaces | Functions
qbytearrayalgorithms.h File Reference
#include <QtCore/qnamespace.h>
#include <string.h>
#include <stdarg.h>
Include dependency graph for qbytearrayalgorithms.h:

Go to the source code of this file.

Classes

class  QtPrivate::ParsedNumber< T >
 

Namespaces

 QtPrivate
 

Functions

Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::startsWith (QByteArrayView haystack, QByteArrayView needle) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::endsWith (QByteArrayView haystack, QByteArrayView needle) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::findByteArray (QByteArrayView haystack, qsizetype from, QByteArrayView needle) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::lastIndexOf (QByteArrayView haystack, qsizetype from, QByteArrayView needle) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::count (QByteArrayView haystack, QByteArrayView needle) noexcept
 
Q_CORE_EXPORT int QtPrivate::compareMemory (QByteArrayView lhs, QByteArrayView rhs)
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QByteArrayView QtPrivate::trimmed (QByteArrayView s) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::isValidUtf8 (QByteArrayView s) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< double > QtPrivate::toDouble (QByteArrayView a) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< float > QtPrivate::toFloat (QByteArrayView a) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< qlonglongQtPrivate::toSignedInteger (QByteArrayView data, int base)
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< qulonglongQtPrivate::toUnsignedInteger (QByteArrayView data, int base)
 
Q_CORE_EXPORT char * qstrdup (const char *)
 
size_t qstrlen (const char *str)
 
size_t qstrnlen (const char *str, size_t maxlen)
 
Q_CORE_EXPORT char * qstrcpy (char *dst, const char *src)
 
Q_CORE_EXPORT char * qstrncpy (char *dst, const char *src, size_t len)
 
Q_CORE_EXPORT int qstrcmp (const char *str1, const char *str2)
 
int qstrncmp (const char *str1, const char *str2, size_t len)
 
Q_CORE_EXPORT int qstricmp (const char *, const char *)
 
Q_CORE_EXPORT int qstrnicmp (const char *, const char *, size_t len)
 
Q_CORE_EXPORT int qstrnicmp (const char *, qsizetype, const char *, qsizetype=-1)
 
Q_CORE_EXPORT int qvsnprintf (char *str, size_t n, const char *fmt, va_list ap)
 
Q_CORE_EXPORT int qsnprintf (char *str, size_t n, const char *fmt,...)
 
Q_CORE_EXPORT quint16 qChecksum (QByteArrayView data, Qt::ChecksumType standard=Qt::ChecksumIso3309)
 

Function Documentation

◆ qChecksum()

Q_CORE_EXPORT quint16 qChecksum ( QByteArrayView  data,
Qt::ChecksumType  standard = Qt::ChecksumIso3309 
)
related
Here is the caller graph for this function:

◆ qsnprintf()

Q_CORE_EXPORT int qsnprintf ( char *  str,
size_t  n,
const char *  fmt,
  ... 
)
related
Here is the caller graph for this function:

◆ qstrcmp()

Q_CORE_EXPORT int qstrcmp ( const char *  str1,
const char *  str2 
)
related
Here is the caller graph for this function:

◆ qstrcpy()

Q_CORE_EXPORT char* qstrcpy ( char *  dst,
const char *  src 
)
related

◆ qstrdup()

Q_CORE_EXPORT char* qstrdup ( const char *  )
related
Here is the caller graph for this function:

◆ qstricmp()

Q_CORE_EXPORT int qstricmp ( const char *  ,
const char *   
)
related

◆ qstrlen()

size_t qstrlen ( const char *  str)
related

Definition at line 134 of file qbytearrayalgorithms.h.

Here is the caller graph for this function:

◆ qstrncmp()

int qstrncmp ( const char *  str1,
const char *  str2,
size_t  len 
)
related

Definition at line 160 of file qbytearrayalgorithms.h.

Here is the caller graph for this function:

◆ qstrncpy()

Q_CORE_EXPORT char* qstrncpy ( char *  dst,
const char *  src,
size_t  len 
)
related
Here is the caller graph for this function:

◆ qstrnicmp() [1/2]

Q_CORE_EXPORT int qstrnicmp ( const char *  ,
const char *  ,
size_t  len 
)
related

◆ qstrnicmp() [2/2]

Q_CORE_EXPORT int qstrnicmp ( const char *  str1,
qsizetype  len1,
const char *  str2,
qsizetype  len2 = -1 
)

Definition at line 374 of file qbytearray.cpp.

◆ qstrnlen()

size_t qstrnlen ( const char *  str,
size_t  maxlen 
)
related

Definition at line 146 of file qbytearrayalgorithms.h.

◆ qvsnprintf()

Q_CORE_EXPORT int qvsnprintf ( char *  str,
size_t  n,
const char *  fmt,
va_list  ap 
)
related
Here is the caller graph for this function: