![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qtconfigmacros.h>
#include <QtCore/qtcoreexports.h>
#include <QtCore/qnumeric.h>
#include <QtCore/qtypeinfo.h>
#include <cstddef>
Go to the source code of this file.
Namespaces | |
namespace | QtPrivate |
Functions | |
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION size_t | QtPrivate::expectedAllocSize (size_t allocSize, size_t alignment) noexcept |
size_t | QtPrivate::fittedAllocSize (size_t headerSize, size_t *capacity, size_t elementSize, size_t unusedCapacity, size_t alignment) noexcept |
Computes the best allocation size for the requested minimum capacity, and updates capacity. | |
void * | QtPrivate::fittedMalloc (size_t headerSize, size_t *capacity, size_t elementSize, size_t unusedCapacity) noexcept |
void * | QtPrivate::fittedMalloc (size_t headerSize, qsizetype *capacity, size_t elementSize, size_t unusedCapacity=0) noexcept |
void * | QtPrivate::fittedRealloc (void *ptr, size_t headerSize, size_t *capacity, size_t elementSize, size_t unusedCapacity) noexcept |
void * | QtPrivate::fittedRealloc (void *ptr, size_t headerSize, qsizetype *capacity, size_t elementSize, size_t unusedCapacity=0) noexcept |
Q_CORE_EXPORT void | QtPrivate::sizedFree (void *ptr, size_t allocSize) noexcept |
void | QtPrivate::sizedFree (void *ptr, size_t capacity, size_t elementSize) noexcept |