4#include <private/qv4identifierhash_p.h>
5#include <private/qv4identifiertable_p.h>
6#include <private/qv4string_p.h>
7#include <private/qv4identifierhashdata_p.h>
8#include <private/qprimefornumbits_p.h>
45 if (!
e.identifier.isValid())
47 uint idx =
e.identifier.id() % newAlloc;
48 while (newEntries[idx].identifier.
isValid()) {
71const IdentifierHashEntry *IdentifierHash::lookup(PropertyKey identifier)
const
73 if (!d || !identifier.isStringOrSymbol())
89const IdentifierHashEntry *IdentifierHash::lookup(
const QString &
str)
const
99const IdentifierHashEntry *IdentifierHash::lookup(String *
str)
const
106 return lookup(
str->toQString());
110const PropertyKey IdentifierHash::toIdentifier(
const QString &
str)
const
117const PropertyKey IdentifierHash::toIdentifier(Heap::String *
str)
const
128 if (
e->identifier.isValid() &&
e->value ==
value)
129 return e->identifier.toQString();
144 if (
d && !
d->refCount.deref())
151 other.d->refCount.ref();
152 if (
d && !
d->refCount.deref())
160 return d ?
d->size : 0;
178 return e ?
e->value : -1;
184 return e ?
e->value : -1;
T loadAcquire() const noexcept
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
\qmltype Particle \inqmlmodule QtQuick.Particles
static int grow(QLayoutStruct &ls, int delta)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
QT_BEGIN_NAMESPACE int qPrimeForNumBits(int numBits)
IdentifierHashEntry * entries
IdentifierTable * identifierTable
QString findId(int value) const
void add(const QString &str, int value)
int value(const QString &str) const
IdentifierHash & operator=(const IdentifierHash &other)
PropertyKey asPropertyKey(const Heap::String *str)
bool isStringOrSymbol() const