![]() |
Qt 6.x
The Qt SDK
|
#include <qvarlengtharray.h>
Public Member Functions | |
QVarLengthArray () noexcept | |
QVarLengthArray (qsizetype size) | |
template<typename U = T, if_copyable< U > = true> | |
QVarLengthArray (qsizetype sz, const T &v) | |
QVarLengthArray (const QVarLengthArray &other) | |
QVarLengthArray (QVarLengthArray &&other) noexcept(std::is_nothrow_move_constructible_v< T >) | |
QVarLengthArray (std::initializer_list< T > args) | |
template<typename InputIterator , if_input_iterator< InputIterator > = true> | |
QVarLengthArray (InputIterator first, InputIterator last) | |
~QVarLengthArray () | |
QVarLengthArray< T, Prealloc > & | operator= (const QVarLengthArray< T, Prealloc > &other) |
QVarLengthArray & | operator= (QVarLengthArray &&other) noexcept(std::is_nothrow_move_constructible_v< T >) |
QVarLengthArray< T, Prealloc > & | operator= (std::initializer_list< T > list) |
void | removeLast () |
qsizetype | count () const |
qsizetype | length () const |
T & | first () |
const T & | first () const |
T & | last () |
const T & | last () const |
bool | isEmpty () const |
void | resize (qsizetype sz) |
template<typename U = T, if_copyable< U > = true> | |
void | resize (qsizetype sz, const T &v) |
void | squeeze () |
void | reserve (qsizetype sz) |
const T & | at (qsizetype idx) const |
void | append (const T &t) |
void | append (T &&t) |
void | append (const T *buf, qsizetype sz) |
QVarLengthArray< T, Prealloc > & | operator<< (const T &t) |
QVarLengthArray< T, Prealloc > & | operator<< (T &&t) |
QVarLengthArray< T, Prealloc > & | operator+= (const T &t) |
QVarLengthArray< T, Prealloc > & | operator+= (T &&t) |
void | insert (qsizetype i, T &&t) |
void | insert (qsizetype i, const T &t) |
void | insert (qsizetype i, qsizetype n, const T &t) |
QVarLengthArray & | assign (qsizetype n, const T &t) |
template<typename InputIterator , if_input_iterator< InputIterator > = true> | |
QVarLengthArray & | assign (InputIterator first, InputIterator last) |
QVarLengthArray & | assign (std::initializer_list< T > list) |
const T * | constData () const |
auto | constBegin () const -> const_iterator |
const_iterator | constEnd () const |
iterator | insert (const_iterator before, qsizetype n, const T &x) |
iterator | insert (const_iterator before, T &&x) |
iterator | insert (const_iterator before, const T &x) |
void | push_back (const T &t) |
void | push_back (T &&t) |
void | shrink_to_fit () |
template<typename... Args> | |
iterator | emplace (const_iterator pos, Args &&...args) |
template<typename... Args> | |
T & | emplace_back (Args &&...args) |
void | clear () |
template<typename AT = T> | |
qsizetype | indexOf (const AT &t, qsizetype from=0) const |
template<typename AT > | |
Q_INLINE_TEMPLATE qsizetype | indexOf (const AT &t, qsizetype from) const |
template<typename AT = T> | |
qsizetype | lastIndexOf (const AT &t, qsizetype from=-1) const |
template<typename AT > | |
Q_INLINE_TEMPLATE qsizetype | lastIndexOf (const AT &t, qsizetype from) const |
template<typename AT = T> | |
bool | contains (const AT &t) const |
template<typename AT > | |
Q_INLINE_TEMPLATE bool | contains (const AT &t) const |
value_type | value (qsizetype i) const |
value_type | value (qsizetype i, const T &defaultValue) const |
void | replace (qsizetype i, const T &t) |
void | remove (qsizetype i, qsizetype n=1) |
template<typename AT = T> | |
qsizetype | removeAll (const AT &t) |
template<typename AT = T> | |
bool | removeOne (const AT &t) |
template<typename Predicate > | |
qsizetype | removeIf (Predicate pred) |
T * | data () noexcept |
const T * | data () const noexcept |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
const_iterator | cbegin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cend () const noexcept |
reverse_iterator | rbegin () noexcept |
const_reverse_iterator | rbegin () const noexcept |
const_reverse_iterator | crbegin () const noexcept |
reverse_iterator | rend () noexcept |
const_reverse_iterator | rend () const noexcept |
const_reverse_iterator | crend () const noexcept |
iterator | erase (const_iterator begin, const_iterator end) |
iterator | erase (const_iterator pos) |
void | pop_back () |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
![]() | |
T * | data () noexcept |
const T * | data () const noexcept |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
const_iterator | cbegin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cend () const noexcept |
reverse_iterator | rbegin () noexcept |
const_reverse_iterator | rbegin () const noexcept |
const_reverse_iterator | crbegin () const noexcept |
reverse_iterator | rend () noexcept |
const_reverse_iterator | rend () const noexcept |
const_reverse_iterator | crend () const noexcept |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
void | pop_back () |
template<typename AT = T> | |
qsizetype | indexOf (const AT &t, qsizetype from=0) const |
template<typename AT = T> | |
qsizetype | lastIndexOf (const AT &t, qsizetype from=-1) const |
template<typename AT = T> | |
bool | contains (const AT &t) const |
reference | operator[] (qsizetype idx) |
const_reference | operator[] (qsizetype idx) const |
value_type | value (qsizetype i) const |
value_type | value (qsizetype i, const T &defaultValue) const |
void | replace (qsizetype i, const T &t) |
void | remove (qsizetype i, qsizetype n=1) |
template<typename AT = T> | |
qsizetype | removeAll (const AT &t) |
template<typename AT = T> | |
bool | removeOne (const AT &t) |
template<typename Predicate > | |
qsizetype | removeIf (Predicate pred) |
void | clear () |
iterator | erase (const_iterator begin, const_iterator end) |
iterator | erase (const_iterator pos) |
size_t | hash (size_t seed) const noexcept(QtPrivate::QNothrowHashable_v< T >) |
template<typename AT > | |
Q_INLINE_TEMPLATE qsizetype | indexOf (const AT &t, qsizetype from) const |
template<typename AT > | |
Q_INLINE_TEMPLATE qsizetype | lastIndexOf (const AT &t, qsizetype from) const |
template<typename AT > | |
Q_INLINE_TEMPLATE bool | contains (const AT &t) const |
template<typename Iterator > | |
Q_OUTOFLINE_TEMPLATE void | assign_impl (qsizetype prealloc, void *array, Iterator first, Iterator last) |
template<typename... Args> | |
Q_OUTOFLINE_TEMPLATE auto | emplace_impl (qsizetype prealloc, void *array, const_iterator before, Args &&...args) -> iterator |
![]() | |
constexpr size_type | capacity () const noexcept |
constexpr size_type | size () const noexcept |
constexpr bool | empty () const noexcept |
Friends | |
template<class S , qsizetype Prealloc2> | |
class | QVarLengthArray |
template<typename U = T, qsizetype Prealloc2 = Prealloc> | |
QTypeTraits::compare_eq_result< U > | operator== (const QVarLengthArray< T, Prealloc > &l, const QVarLengthArray< T, Prealloc2 > &r) |
template<typename U = T, qsizetype Prealloc2 = Prealloc> | |
QTypeTraits::compare_eq_result< U > | operator!= (const QVarLengthArray< T, Prealloc > &l, const QVarLengthArray< T, Prealloc2 > &r) |
template<typename U = T, qsizetype Prealloc2 = Prealloc> | |
QTypeTraits::compare_lt_result< U > | operator< (const QVarLengthArray< T, Prealloc > &lhs, const QVarLengthArray< T, Prealloc2 > &rhs) noexcept(noexcept(std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end()))) |
template<typename U = T, qsizetype Prealloc2 = Prealloc> | |
QTypeTraits::compare_lt_result< U > | operator> (const QVarLengthArray< T, Prealloc > &lhs, const QVarLengthArray< T, Prealloc2 > &rhs) noexcept(noexcept(lhs< rhs)) |
template<typename U = T, qsizetype Prealloc2 = Prealloc> | |
QTypeTraits::compare_lt_result< U > | operator<= (const QVarLengthArray< T, Prealloc > &lhs, const QVarLengthArray< T, Prealloc2 > &rhs) noexcept(noexcept(lhs< rhs)) |
template<typename U = T, qsizetype Prealloc2 = Prealloc> | |
QTypeTraits::compare_lt_result< U > | operator>= (const QVarLengthArray< T, Prealloc > &lhs, const QVarLengthArray< T, Prealloc2 > &rhs) noexcept(noexcept(lhs< rhs)) |
Additional Inherited Members | |
![]() | |
using | malloced_ptr = std::unique_ptr< void, free_deleter > |
![]() | |
~QVLAStorage ()=default | |
![]() | |
~QVLABase ()=default | |
void | growBy (qsizetype prealloc, void *array, qsizetype increment) |
template<typename... Args> | |
reference | emplace_back_impl (qsizetype prealloc, void *array, Args &&...args) |
template<typename... Args> | |
iterator | emplace_impl (qsizetype prealloc, void *array, const_iterator pos, Args &&...arg) |
iterator | insert_impl (qsizetype prealloc, void *array, const_iterator pos, qsizetype n, const T &t) |
template<typename S > | |
bool | equal (const QVLABase< S > &other) const |
template<typename S > | |
bool | less_than (const QVLABase< S > &other) const |
void | append_impl (qsizetype prealloc, void *array, const T *buf, qsizetype n) |
void | reallocate_impl (qsizetype prealloc, void *array, qsizetype size, qsizetype alloc) |
void | resize_impl (qsizetype prealloc, void *array, qsizetype sz, const T &v) |
void | resize_impl (qsizetype prealloc, void *array, qsizetype sz) |
void | assign_impl (qsizetype prealloc, void *array, qsizetype n, const T &t) |
template<typename Iterator > | |
void | assign_impl (qsizetype prealloc, void *array, Iterator first, Iterator last) |
bool | isValidIterator (const const_iterator &i) const |
![]() | |
~QVLABaseBase ()=default | |
Q_ALWAYS_INLINE constexpr void | verify (qsizetype pos=0, qsizetype n=1) const |
![]() | |
char | array [Prealloc *(Align > Size ? Align :Size)] |
QT_WARNING_PUSH | QT_WARNING_DISABLE_DEPRECATED |
![]() | |
qsizetype | a |
qsizetype | s |
void * | ptr |
Definition at line 259 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::const_iterator = typename Base::const_iterator |
Definition at line 290 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::const_pointer = typename Base::const_pointer |
Definition at line 284 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::const_reference = typename Base::const_reference |
Definition at line 286 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::const_reverse_iterator = typename Base::const_reverse_iterator |
Definition at line 292 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::difference_type = typename Base::difference_type |
Definition at line 287 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::iterator = typename Base::iterator |
Definition at line 289 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::pointer = typename Base::pointer |
Definition at line 283 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::reference = typename Base::reference |
Definition at line 285 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::reverse_iterator = typename Base::reverse_iterator |
Definition at line 291 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::size_type = typename Base::size_type |
Definition at line 281 of file qvarlengtharray.h.
using QVarLengthArray< T, Prealloc >::value_type = typename Base::value_type |
Definition at line 282 of file qvarlengtharray.h.
|
inlinenoexcept |
Definition at line 294 of file qvarlengtharray.h.
References ptr().
|
inlineexplicit |
Definition at line 675 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::data(), QVLABaseBase::ptr, Q_ASSERT_X, and Q_CHECK_PTR().
|
inlineexplicit |
Definition at line 306 of file qvarlengtharray.h.
References resize().
|
inline |
Definition at line 312 of file qvarlengtharray.h.
References append(), and other().
|
inlinenoexcept |
Definition at line 318 of file qvarlengtharray.h.
References other(), ptr(), and QtPrivate::q_uninitialized_relocate_n().
|
inline |
Definition at line 336 of file qvarlengtharray.h.
|
inline |
Definition at line 342 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::last(), and QtPrivate::reserveIfForwardIterator().
|
inline |
Definition at line 349 of file qvarlengtharray.h.
|
inline |
Definition at line 470 of file qvarlengtharray.h.
References capacity, and QVarLengthArray< T, Prealloc >::emplace_back().
Referenced by QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription(), QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription(), QRhiTextureRenderTargetDescription::QRhiTextureRenderTargetDescription(), QRhiTextureUploadDescription::QRhiTextureUploadDescription(), QSSGRhiShaderPipeline::addStage(), QQuickSwipeDelegatePrivate::attachedObjectsSetPressed(), QRhiVulkan::beginComputePass(), QRhiVulkan::beginExternal(), QRhiVulkan::beginPass(), QRhiGles2::bindShaderResources(), QSGBatchRenderer::calculateVertexInputLayout(), QSctpSocketPrivate::canReadNotification(), QtAndroidAccessibility::childIdListForAccessibleObject_helper(), QOpenGLShader::compileSourceCode(), QD3D11GraphicsPipeline::create(), QVkTextureRenderTarget::create(), QVkShaderResourceBindings::create(), QVkGraphicsPipeline::create(), QRhiD3D11::create(), QRhiVulkan::createDefaultRenderPass(), QSSGMesh::Mesh::createLightmapUVChannel(), QRhiVulkan::createOffscreenRenderPass(), createValueTypeFromNumberString(), QRhiVulkan::debugMarkBegin(), QRhiVulkan::debugMarkMsg(), QQmlBindPrivate::decodeBinding(), QRhiVulkan::depthStencilExplicitBarrier(), QRhiVulkan::dispatch(), QQC2::QWindowsXPStyle::drawComplexControl(), QWindowsVistaStyle::drawComplexControl(), QPdfEngine::drawHyperlink(), drawPolygons(), QQmlDelegateModelPrivate::emitChanges(), QRhiVulkan::endExternal(), endTessellationComputeEncoding(), QRhiGles2::enqueueBarriersForPass(), QRhiVulkan::enqueueResourceUpdates(), QSGRhiAtlasTexture::Atlas::enqueueTextureUpload(), QRhiVulkan::enqueueTransitionPassResources(), QOCICols::execBatch(), QRhiVulkan::executeDeferredReleases(), QRhiBatchedBindings< T >::feed(), fillPrefilterValues(), QSGRhiTextureGlyphCache::fillTexture(), from_string(), QUnicodeTools::initScripts(), QQuickTextNodeEngine::BinaryTreeNode::inOrder(), QQuickParticleVarLengthArray< T, Prealloc >::insert(), QQuickTextNodeEngine::BinaryTreeNode::insert(), QQmlDelegateModelPrivate::itemsChanged(), QTextDocumentLayoutPrivate::layoutTable(), QBasicPlatformVulkanInstance::loadVulkanLibrary(), makeDistanceField(), QTransform::map(), QSSGQmlUtilities::nodeListFromJson(), VDMAbstractItemModelDataType::notify(), QSSGShaderCustomMaterialAdapter::prepareCustomShader(), QRhiVulkan::prepareUploadSubres(), printMethodNotFoundWarning(), QEventDispatcherWin32::processEvents(), QGuiApplicationPrivate::processTouchEvent(), QQC2::qDrawBorderPixmap(), QSGSoftwareHelpers::qDrawBorderPixmap(), QQuick3DShaderUtilsRenderPass::qmlAppendShader(), QCoreApplication::removePostedEvents(), QSSGReflectionMapEntry::renderMips(), renderToKTXFileInternal(), QD3D11CommandBuffer::retainBufferData(), QGles2CommandBuffer::retainBufferData(), QD3D11CommandBuffer::retainData(), QGles2CommandBuffer::retainData(), QD3D11CommandBuffer::retainImage(), QGles2CommandBuffer::retainImage(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), scaledRegion(), QGuiApplication::screenAt(), QSGAreaAllocator::serialize(), QRhiMetal::setShaderResources(), QRhiVulkan::setShaderResources(), setupInstancing(), QRhiVulkan::setVertexInput(), QRhiVulkan::subresourceBarrier(), QQmlBindPrivate::targetEntry(), QRhiVulkan::trackedBufferBarrier(), QRhiVulkan::trackedImageBarrier(), QSGDistanceFieldGlyphNode::updateGeometry(), QQuick3DParticleSpriteParticle::updateParticleNode(), QRhiVulkan::updateShaderResourceBindings(), QGeoMapPolylineGeometry::updateSourcePoints(), QQuick3DCustomMaterial::updateSpatialNode(), QQuick3DEffect::updateSpatialNode(), QRhiResourceUpdateBatchPrivate::TextureOp::upload(), and QmlIR::IRBuilder::visit().
|
inline |
Definition at line 483 of file qvarlengtharray.h.
References QVLABase< T >::append_impl().
|
inline |
Definition at line 478 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::emplace_back().
|
inline |
Definition at line 507 of file qvarlengtharray.h.
References QVLABase< T >::assign_impl(), and QVarLengthArray< T, Prealloc >::last().
|
inline |
Definition at line 504 of file qvarlengtharray.h.
References QVLABase< T >::assign_impl().
Referenced by QVarLengthArray< T, Prealloc >::assign(), and QVarLengthArray< T, Prealloc >::operator=().
|
inline |
Definition at line 509 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::assign(), QList< T >::begin(), QList< T >::end(), and list.
|
inline |
Definition at line 462 of file qvarlengtharray.h.
References QVLABase< T >::operator[]().
Referenced by QQuickTextNodeEngine::addGlyphsForRanges(), QQuickSwipeDelegatePrivate::attachedObjectsSetPressed(), QSSGRhiInputAssemblerState::bakeVertexInputLocations(), QRhiGles2::bindShaderResources(), QGles2ShaderResourceBindings::create(), QQuickDeliveryAgentPrivate::deliverPointerEvent(), QRhiGles2::dispatch(), QRhiVulkan::dispatch(), findTextEntry(), QSSGRenderer::getLayerHitObjectList(), glyphRunWithInfo(), QTextureFileData::isValid(), QTextEngine::itemize(), QQmlDelegateModelPrivate::itemsChanged(), QQmlDelegateModelPrivate::itemsInserted(), QQmlDelegateModelPrivate::itemsMoved(), QQmlDelegateModelPrivate::itemsRemoved(), makeDistanceField(), QWindowsDirectWriteFontDatabase::populateFamily(), QSSGLayerRenderData::prepareForRender(), qGeomCalc(), QQuick3DShaderUtilsRenderPass::qmlShaderAt(), QRhiD3D11::setShaderResources(), QRhiGles2::setShaderResources(), QRhiMetal::setShaderResources(), QWindowsFontEngineDirectWrite::stringToCMap(), QSGBasicInternalImageNode::updateGeometry(), QRhiD3D11::updateShaderResourceBindings(), QRhiVulkan::updateShaderResourceBindings(), and QmlIR::IRBuilder::visit().
Definition at line 126 of file qvarlengtharray.h.
Referenced by QPainterPrivate::detachPainterPrivate(), QVarLengthArray< T, Prealloc >::last(), and QVarLengthArray< T, Prealloc >::last().
|
inline |
Definition at line 132 of file qvarlengtharray.h.
|
inlinenoexcept |
Definition at line 91 of file qvarlengtharray.h.
Definition at line 90 of file qvarlengtharray.h.
Referenced by QD3D11ShaderResourceBindings::create(), QGles2GraphicsPipeline::create(), QMetalShaderResourceBindings::create(), QVkShaderResourceBindings::create(), QQuickDeliveryAgentPrivate::deliverToPassiveGrabbers(), from_string(), QSSGMesh::Mesh::fromRuntimeData(), qGeomCalc(), QDomElementPrivate::save(), QSSGRenderer::syncPickAll(), QD3D11ShaderResourceBindings::updateResources(), QMetalShaderResourceBindings::updateResources(), and QVkShaderResourceBindings::updateResources().
|
inlinenoexcept |
Definition at line 92 of file qvarlengtharray.h.
Referenced by QSGBatchRenderer::calculateVertexInputLayout(), QD3D11ShaderResourceBindings::create(), QMetalShaderResourceBindings::create(), QVkShaderResourceBindings::create(), QVLABase< T >::emplace_impl(), QSGRhiTextureGlyphCache::endFillTexture(), QSGRhiAtlasTexture::Atlas::enqueueTextureUpload(), QVLABase< T >::erase(), QVarLengthArray< T, Prealloc >::insert(), QVLABase< T >::insert_impl(), QSSGRhiContext::pipeline(), QSSGLayerRenderData::prepareForRender(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), setupInstancing(), QD3D11ShaderResourceBindings::updateResources(), QMetalShaderResourceBindings::updateResources(), and QVkShaderResourceBindings::updateResources().
|
inlinenoexcept |
Definition at line 95 of file qvarlengtharray.h.
Referenced by QSGBatchRenderer::calculateVertexInputLayout(), QD3D11ShaderResourceBindings::create(), QMetalShaderResourceBindings::create(), QVkShaderResourceBindings::create(), QSGRhiTextureGlyphCache::endFillTexture(), QSGRhiAtlasTexture::Atlas::enqueueTextureUpload(), QSSGRhiContext::pipeline(), QSSGLayerRenderData::prepareForRender(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), setupInstancing(), QD3D11ShaderResourceBindings::updateResources(), QMetalShaderResourceBindings::updateResources(), and QVkShaderResourceBindings::updateResources().
Definition at line 176 of file qvarlengtharray.h.
Referenced by QRhiBatchedBindings< T >::clear(), QObject::connect(), QVkShaderResourceBindings::create(), QD3D11ShaderResourceBindings::destroy(), QGles2GraphicsPipeline::destroy(), QGles2ComputePipeline::destroy(), QMetalShaderResourceBindings::destroy(), QVkShaderResourceBindings::destroy(), QRhiVulkan::destroy(), QSSGReflectionMapEntry::destroyRhiResources(), QSSGShadowMapEntry::destroyRhiResources(), QSGRhiTextureGlyphCache::endFillTexture(), QRhiBatchedBindings< T >::feed(), makeDistanceField(), QSSGLayerRenderData::prepareForRender(), QQuick3DShaderUtilsRenderPass::qmlShaderClear(), ShadowMapPass::release(), QSSGReflectionMapEntry::renderMips(), QD3D11CommandBuffer::resetCommands(), QGles2CommandBuffer::resetCommands(), QVkCommandBuffer::resetCommands(), QSSGLayerRenderData::resetForFrame(), QVkCommandBuffer::resetState(), QSSGParticleRenderer::rhiPrepareRenderable(), QRhi::runCleanup(), QD3D11ShaderResourceBindings::updateResources(), QMetalShaderResourceBindings::updateResources(), and QVkShaderResourceBindings::updateResources().
|
inline |
Definition at line 546 of file qvarlengtharray.h.
References begin().
|
inline |
Definition at line 533 of file qvarlengtharray.h.
Referenced by QRhiVulkan::beginPass(), QRhiGles2::bindShaderResources(), bindStageBuffers(), QObject::connect(), QD3D11GraphicsPipeline::create(), QGles2GraphicsPipeline::create(), QVkTextureRenderTarget::create(), QVkShaderResourceBindings::create(), QVkGraphicsPipeline::create(), QRhiD3D11::create(), QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject(), QObject::disconnect(), QRhiVulkan::dispatch(), QDirectFbBlitter::drawCachedGlyphs(), QQC2::QWindowsXPStyle::drawComplexControl(), QWindowsVistaStyle::drawComplexControl(), QPdfEngine::drawHyperlink(), QWindowsDirect2DPaintEngine::drawStaticTextItem(), QRasterPaintEngine::drawTextItem(), QWindowsDirect2DPaintEngine::drawTextItem(), QRhiVulkan::enqueueResourceUpdates(), QOpenGL2PaintEngineExPrivate::fill(), fillRenderPassCreateInfo(), QXkbCommon::lookupString(), QXkbCommon::lookupStringNoKeysymTransformations(), QTransform::map(), printMethodNotFoundWarning(), QEventDispatcherWin32::processEvents(), qSystemDirectory(), QRhiVulkan::recordPrimaryCommandBuffer(), QSSGReflectionMapEntry::renderMips(), QRhiD3D11::resetShaderResources(), scaledRegion(), QRhiMetal::setShaderResources(), QRhiVulkan::setShaderResources(), QRhiVulkan::setVertexInput(), QLocaleData::stringToDouble(), QLocaleData::stringToLongLong(), QLocaleData::stringToUnsLongLong(), QSGDistanceFieldGlyphNode::updateGeometry(), and QRhiVulkan::updateShaderResourceBindings().
|
inline |
Definition at line 549 of file qvarlengtharray.h.
bool QVLABase< T >::contains | ( | const AT & | t | ) | const |
Referenced by QQuickParticleVarLengthArray< T, Prealloc >::insert(), QRhiVulkan::recreateSwapChain(), QGuiApplication::screenAt(), and QSSGParticleRenderer::updateUniformsForParticles().
Q_INLINE_TEMPLATE bool QVLABase< T >::contains | ( | const AT & | t | ) | const |
Definition at line 731 of file qvarlengtharray.h.
|
inline |
Definition at line 400 of file qvarlengtharray.h.
Referenced by QtAndroidAccessibility::childIdListForAccessibleObject(), QD3D11ShaderResourceBindings::create(), QD3D11GraphicsPipeline::create(), QMetalShaderResourceBindings::create(), QRhiD3D11::create(), QRhiD3D11::enqueueResourceUpdates(), init_direct(), QSSGQmlUtilities::nodeListFromJson(), QEventDispatcherWin32::processEvents(), QRhiD3D11::setShaderResources(), QRhiMetal::setShaderResources(), QD3D11ShaderResourceBindings::updateResources(), and QRhiD3D11::updateShaderResourceBindings().
|
inlinenoexcept |
Definition at line 102 of file qvarlengtharray.h.
|
inlinenoexcept |
Definition at line 105 of file qvarlengtharray.h.
Definition at line 85 of file qvarlengtharray.h.
Definition at line 84 of file qvarlengtharray.h.
Referenced by QTextLineItemIterator::QTextLineItemIterator(), QVarLengthArray< T, Prealloc >::QVarLengthArray(), VulkanWrapperPrivate::VulkanWrapperPrivate(), QWindowsFontEngineDirectWrite::addGlyphsToPath(), QFontEngine::addOutlineToPath(), QPainterPath::addText(), QRawFont::advancesForGlyphIndexes(), QTextEngine::attributes(), QRhiGles2::bindShaderResources(), QQuickParticlePainter::calcSystemOffset(), QV4::CallMethod(), QCoreTextFontEngine::canRender(), QFontEngineMulti::canRender(), QODBCDriverPrivate::checkDBMS(), QODBCDriverPrivate::checkHasMultiResults(), QtAndroidAccessibility::childIdListForAccessibleObject(), QQuickDeliveryAgentPrivate::clearFocusInScope(), QPaintEngineEx::clip(), QQuickImageParticle::commit(), QOpenGLShader::compileSourceCode(), QRhiGles2::create(), QRhiVulkan::create(), QVkKhrDisplayVulkanInstance::createOrAdoptInstance(), currentProcessIsService(), QTextLine::cursorToX(), QMimerSQLResult::data(), QWindowsTabletSupport::description(), QGridLayoutRowData::distributeMultiCells(), QCoreTextFontEngine::draw(), draw_text_item_win(), QTextDocumentLayoutPrivate::drawFrame(), QPainter::drawGlyphRun(), QPainterPrivate::drawGlyphs(), QRasterPaintEngine::drawPolygon(), QPaintEngineEx::drawPolygon(), drawPolygons(), QX11PaintEngine::drawRects(), QPainter::drawText(), QRasterPaintEngine::drawTextItem(), QOpenGL2PaintEngineEx::drawTextItem(), QTlsBackendOpenSSL::ellipticCurvesIds(), QQuickTrailEmitter::emitWindow(), QSGRhiAtlasTexture::Atlas::enqueueTextureUpload(), QVkSwapChain::ensureSurface(), QDB2Result::exec(), QIBaseResultPrivate::fetchArray(), QOpenGL2PaintEngineExPrivate::fill(), QX11PaintEnginePrivate::fillPath(), QX11PaintEnginePrivate::fillPolygon_dev(), QX11PaintEnginePrivate::fillPolygon_translated(), getFontDescription(), QQuickItemParticle::give(), init(), init_direct(), QSqlQueryModelPrivate::initColOffsets(), QQuickImageParticle::initialize(), QQuickTextNodeEngine::BinaryTreeNode::inOrder(), QQuickTextNodeEngine::BinaryTreeNode::insert(), isProcessLowIntegrity(), QTextEngine::itemize(), QCoreTextFontEngine::loadAdvancesForGlyphs(), QXkbCommon::lookupString(), QXkbCommon::lookupStringNoKeysymTransformations(), macList(), macValue(), QSplitter::moveSplitter(), QSSGQmlUtilities::nodeListFromJson(), QMetaObject::normalizedSignature(), QODBCDriver::open(), QIcc::parseDesc(), QWindowsDirectWriteFontDatabase::populateFamily(), QQuickItemParticle::prepareNextFrame(), qAppFileName(), QQC2::qDrawBorderPixmap(), QSGSoftwareHelpers::qDrawBorderPixmap(), qEnvironmentVariable(), QTest::qExec(), qGetBinaryData(), qMakeError(), qMakeFieldInfo(), qSystemDirectory(), qt_from_latin1_to_qvla(), qt_normalizePathSegments(), qWarnODBCHandle(), QAbstractSocketPrivate::readFromSocket(), QCborStreamReaderPrivate::readStringChunk_unicode(), QWindowsFontEngineDirectWrite::recalcAdvances(), QRhiVulkan::recreateSwapChain(), QQuickItemParticle::reset(), QQuickImageParticle::resetColor(), QQuickImageParticle::resetDeformation(), QQuickImageParticle::resetRotation(), QQuickItem::setFocus(), QQuickDeliveryAgentPrivate::setFocusInScope(), startQtApplication(), QCoreTextFontEngine::stringToCMap(), QWindowsFontEngineDirectWrite::stringToCMap(), QX11PaintEnginePrivate::strokePolygon_dev(), QX11PaintEnginePrivate::strokePolygon_translated(), QStringView::toDouble(), toIntegral(), QWindowsPointerHandler::translatePointerEvent(), QSGBasicInternalImageNode::updateGeometry(), QTiffHandler::write(), QDBusMetaObjectGenerator::write(), and QTextLine::xToCursor().
|
inline |
Definition at line 592 of file qvarlengtharray.h.
References args, QVLABase< T >::emplace_impl(), and pos.
|
inline |
Definition at line 595 of file qvarlengtharray.h.
References args, and QVLABase< T >::emplace_back_impl().
Referenced by QVarLengthArray< T, Prealloc >::append(), QVarLengthArray< T, Prealloc >::append(), QFutureInterfaceBasePrivate::connectOutputInterface(), QIODevicePrivate::setReadChannelCount(), and QIODevicePrivate::setWriteChannelCount().
|
inlinenoexcept |
Definition at line 94 of file qvarlengtharray.h.
Definition at line 93 of file qvarlengtharray.h.
Referenced by QD3D11ShaderResourceBindings::create(), QGles2GraphicsPipeline::create(), QMetalShaderResourceBindings::create(), QVkShaderResourceBindings::create(), QQuickDeliveryAgentPrivate::deliverToPassiveGrabbers(), QSSGMesh::Mesh::fromRuntimeData(), qGeomCalc(), QDomElementPrivate::save(), QSSGRenderer::syncPickAll(), QD3D11ShaderResourceBindings::updateResources(), QMetalShaderResourceBindings::updateResources(), and QVkShaderResourceBindings::updateResources().
Q_OUTOFLINE_TEMPLATE auto QVLABase< T >::erase | ( | const_iterator | begin, |
const_iterator | end | ||
) |
Definition at line 183 of file qvarlengtharray.h.
|
inline |
Definition at line 184 of file qvarlengtharray.h.
|
inline |
Definition at line 402 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::front().
Referenced by QRhiVulkan::updateShaderResourceBindings(), and QGeoMapPolylineGeometry::updateSourcePoints().
|
inline |
Definition at line 406 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::front().
Definition at line 114 of file qvarlengtharray.h.
Referenced by QVarLengthArray< T, Prealloc >::first(), and QVarLengthArray< T, Prealloc >::first().
|
inline |
Definition at line 120 of file qvarlengtharray.h.
Q_INLINE_TEMPLATE qsizetype QVLABase< T >::indexOf | ( | const AT & | t, |
qsizetype | from | ||
) | const |
Definition at line 696 of file qvarlengtharray.h.
qsizetype QVLABase< T >::indexOf | ( | const AT & | t, |
qsizetype | from = 0 |
||
) | const |
|
inline |
Definition at line 566 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::insert().
Referenced by QVarLengthArray< T, Prealloc >::insert().
|
inline |
Definition at line 563 of file qvarlengtharray.h.
References QVLABase< T >::insert_impl().
|
inline |
Definition at line 565 of file qvarlengtharray.h.
References emplace().
|
inline |
Definition at line 879 of file qvarlengtharray.h.
References begin(), i, insert(), and QVLABaseBase::verify().
|
inline |
Definition at line 883 of file qvarlengtharray.h.
References begin(), i, insert(), and QVLABaseBase::verify().
|
inline |
Definition at line 875 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::cbegin(), i, insert(), and QVLABaseBase::verify().
|
inline |
Definition at line 418 of file qvarlengtharray.h.
References QVLABaseBase::empty().
Referenced by QSSGRenderReflectionMap::addReflectionMapEntry(), QSSGRenderShadowMap::addShadowMapEntry(), QSGRhiTextureGlyphCache::beginFillTexture(), QRhiGles2::bindShaderResources(), QQuickDeliveryAgentPrivate::clearFocusInScope(), QD3D11ShaderResourceBindings::create(), QD3D11GraphicsPipeline::create(), QMetalShaderResourceBindings::create(), QVkGraphicsPipeline::create(), QRhiVulkan::dispatch(), draw_text_item_win(), QQC2::QWindowsXPStyle::drawComplexControl(), QWindowsVistaStyle::drawComplexControl(), QSGRhiTextureGlyphCache::endFillTexture(), QVarLengthArray< KeyValuePair, 8 >::erase(), fillRenderPassCreateInfo(), QRhiBatchedBindings< T >::finish(), QQmlData::markAsDeleted(), QVkCommandBuffer::nativeHandles(), QSSGLayerRenderData::prepareForRender(), QGuiApplicationPrivate::processTouchEvent(), qRegisterNotificationCallbacks(), ShadowMapPass::renderPrep(), QQuickDeliveryAgentPrivate::setFocusInScope(), QGeoMapPolylineGeometry::updateSourcePoints(), QSSGParticleRenderer::updateUniformsForParticles(), and QQmlBindPrivate::validate().
|
inline |
Definition at line 410 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::back().
Referenced by QVarLengthArray< T, Prealloc >::QVarLengthArray(), QVarLengthArray< T, Prealloc >::assign(), QVLABase< T >::assign_impl(), QRhiVulkan::beginExternal(), QMetalShaderResourceBindings::create(), QRhiVulkan::debugMarkBegin(), QRhiVulkan::debugMarkEnd(), QRhiVulkan::debugMarkMsg(), QRhiVulkan::dispatch(), QRhiVulkan::draw(), QRhiVulkan::drawIndexed(), QRhiVulkan::endComputePass(), QRhiVulkan::endExternal(), QRhiVulkan::endPass(), QQmlData::markAsDeleted(), QVkCommandBuffer::nativeHandles(), QD3D11CommandBuffer::retainBufferData(), QGles2CommandBuffer::retainBufferData(), QD3D11CommandBuffer::retainData(), QGles2CommandBuffer::retainData(), QD3D11CommandBuffer::retainImage(), QGles2CommandBuffer::retainImage(), QRhiVulkan::setBlendConstants(), QRhiVulkan::setComputePipeline(), QQmlBind::setDelayed(), QRhiVulkan::setGraphicsPipeline(), QRhiVulkan::setScissor(), QRhiVulkan::setShaderResources(), QRhiVulkan::setStencilRef(), QSSGRhiShaderPipeline::setUniformArray(), QRhiVulkan::setVertexInput(), QRhiVulkan::setViewport(), QRhiVulkan::startSecondaryCommandBuffer(), QQmlBindPrivate::targetEntry(), QGeoMapPolylineGeometry::updateSourcePoints(), and QQmlBindPrivate::validate().
|
inline |
Definition at line 414 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::back().
Q_INLINE_TEMPLATE qsizetype QVLABase< T >::lastIndexOf | ( | const AT & | t, |
qsizetype | from | ||
) | const |
Definition at line 712 of file qvarlengtharray.h.
qsizetype QVLABase< T >::lastIndexOf | ( | const AT & | t, |
qsizetype | from = -1 |
||
) | const |
|
inline |
Definition at line 401 of file qvarlengtharray.h.
Referenced by getFontDescription().
|
inline |
Definition at line 489 of file qvarlengtharray.h.
References append().
|
inline |
Definition at line 491 of file qvarlengtharray.h.
References append().
|
inline |
Definition at line 483 of file qvarlengtharray.h.
|
inline |
Definition at line 483 of file qvarlengtharray.h.
|
inline |
Definition at line 356 of file qvarlengtharray.h.
References append(), clear(), and other().
|
inlinenoexcept |
Definition at line 365 of file qvarlengtharray.h.
References capacity, clear(), other(), ptr(), Q_ASSERT, and QtPrivate::q_uninitialized_relocate_n().
|
inline |
Definition at line 386 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::assign(), and list.
Definition at line 138 of file qvarlengtharray.h.
Referenced by QPainterPrivate::detachPainterPrivate(), QQmlData::markAsDeleted(), and QQmlBind::setDelayed().
|
inline |
Definition at line 578 of file qvarlengtharray.h.
References append().
Referenced by QSSGSceneDesc::addNode(), dfs(), QPropertyObserverPointer::evaluateBindings(), QLocaleData::findLocaleIndex(), importImp(), QQDMIncubationTask::initializeRequiredProperties(), QSSGRenderer::intersectRayWithItem2D(), QSSGRenderer::intersectRayWithSubsetRenderable(), QQmlData::markAsDeleted(), QSSGLayerRenderData::prepareForRender(), processNode(), QQuickParticleSystem::registerParticleGroupData(), QDomElementPrivate::save(), setModelProperties(), QSSGRhiShaderPipeline::setUniform(), and QSSGRhiShaderPipeline::setUniformArray().
|
inline |
Definition at line 579 of file qvarlengtharray.h.
References append().
|
inlinenoexcept |
Definition at line 101 of file qvarlengtharray.h.
|
inlinenoexcept |
Definition at line 100 of file qvarlengtharray.h.
Referenced by QWindowsPointerHandler::translatePointerEvent().
|
inline |
Definition at line 168 of file qvarlengtharray.h.
Referenced by QQuickParticleVarLengthArray< T, Prealloc >::removeOne().
|
inline |
Definition at line 170 of file qvarlengtharray.h.
|
inline |
Definition at line 174 of file qvarlengtharray.h.
|
inline |
Definition at line 392 of file qvarlengtharray.h.
References QVLABase< T >::pop_back().
Referenced by QRhiVulkan::beginExternal(), QRhiVulkan::endComputePass(), QRhiVulkan::endExternal(), QRhiVulkan::endPass(), and QRhiVulkan::startSecondaryCommandBuffer().
|
inline |
Definition at line 172 of file qvarlengtharray.h.
|
inlinenoexcept |
Definition at line 104 of file qvarlengtharray.h.
|
inlinenoexcept |
Definition at line 103 of file qvarlengtharray.h.
Referenced by QWindowsPointerHandler::translatePointerEvent().
|
inline |
Definition at line 167 of file qvarlengtharray.h.
|
inline |
Definition at line 435 of file qvarlengtharray.h.
References capacity.
Referenced by QSGBatchRenderer::calculateVertexInputLayout(), QtAndroidAccessibility::childIdListForAccessibleObject_helper(), QSSGMesh::Mesh::createLightmapUVChannel(), QPdfEngine::drawHyperlink(), QQmlDelegateModelPrivate::emitChanges(), QSGRhiAtlasTexture::Atlas::enqueueTextureUpload(), importImp(), macValue(), QTransform::map(), processNode(), qGeomCalc(), QDomElementPrivate::save(), scaledRegion(), setModelProperties(), QIODevicePrivate::setReadChannelCount(), QIODevicePrivate::setWriteChannelCount(), and QSGDistanceFieldGlyphNode::updateGeometry().
|
inline |
Definition at line 419 of file qvarlengtharray.h.
References QVLABase< T >::resize_impl().
Referenced by QSSGRenderReflectionMap::addReflectionMapEntry(), QSSGRenderShadowMap::addShadowMapEntry(), QRhiGles2::bindShaderResources(), QQuickDeliveryAgentPrivate::deliverPointerEvent(), QTextureFileDataPrivate::ensureSize(), QVkSwapChain::ensureSurface(), QBackingStoreDefaultCompositor::flush(), getFontDescription(), QFontEngine::getGlyphPositions(), QSqlQueryModelPrivate::initColOffsets(), isProcessLowIntegrity(), QTextEngine::justify(), QXkbCommon::lookupString(), QXkbCommon::lookupStringNoKeysymTransformations(), makeDistanceField(), QQmlMetaObject::methodParameterTypes(), QRhi::nextResourceUpdateBatch(), printMethodNotFoundWarning(), qAppFileName(), QQC2::qDrawBorderPixmap(), QSGSoftwareHelpers::qDrawBorderPixmap(), qSystemDirectory(), qWarnODBCHandle(), QQmlProfilerEvent::setNumber(), QIODevicePrivate::setReadChannelCount(), QRhiMetal::setShaderResources(), QIODevicePrivate::setWriteChannelCount(), QWindowsPointerHandler::translatePointerEvent(), QRhiResourceUpdateBatchPrivate::TextureOp::upload(), and QDBusMetaObjectGenerator::write().
|
inline |
Definition at line 423 of file qvarlengtharray.h.
References QVLABase< T >::resize_impl().
|
inline |
Definition at line 590 of file qvarlengtharray.h.
References QVarLengthArray< T, Prealloc >::squeeze().
|
inline |
Definition at line 429 of file qvarlengtharray.h.
Referenced by QVarLengthArray< T, Prealloc >::shrink_to_fit().
Q_OUTOFLINE_TEMPLATE T QVLABase< T >::value | ( | qsizetype | i | ) | const |
Definition at line 164 of file qvarlengtharray.h.
Referenced by QTextEngine::justify().
Q_OUTOFLINE_TEMPLATE T QVLABase< T >::value | ( | qsizetype | i, |
const T & | defaultValue | ||
) | const |
Definition at line 165 of file qvarlengtharray.h.
|
friend |
Definition at line 269 of file qvarlengtharray.h.
|
friend |
Definition at line 620 of file qvarlengtharray.h.
|
friend |
Definition at line 625 of file qvarlengtharray.h.
|
friend |
Definition at line 640 of file qvarlengtharray.h.
|
friend |
Definition at line 614 of file qvarlengtharray.h.
|
friend |
Definition at line 634 of file qvarlengtharray.h.
|
friend |
Definition at line 648 of file qvarlengtharray.h.