![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qbytearrayview.h>
Go to the source code of this file.
Functions | |
void | myfun1 (QByteArrayView bv) |
[0] | |
void | myfun2 (const QByteArrayView &bv) |
void | fun (QByteArrayView bv) |
[0] | |
void | fun (char ch) |
Variables | |
QByteArrayView | str ("FF") |
[1] | |
bool | ok |
[2] | |
int | hex = str.toInt(&ok, 16) |
int | dec = str.toInt(&ok, 10) |
QByteArrayView | string ("1234.56 Volt") |
[3] | |
float | a = str.toFloat(&ok) |
void fun | ( | char | ch | ) |
Definition at line 12 of file src_corelib_text_qbytearrayview.cpp.
void fun | ( | QByteArrayView | bv | ) |
[0]
[1]
void myfun1 | ( | QByteArrayView | bv | ) |
[0]
void myfun2 | ( | const QByteArrayView & | bv | ) |
Definition at line 32 of file src_corelib_text_qbytearrayview.cpp.
Definition at line 19 of file src_corelib_text_qbytearrayview.cpp.
Referenced by QV4::Compiler::Codegen::binopHelper(), QDoubleValidator::decimals(), QQuickPathView::setFlickDeceleration(), Widget::toIntFunction(), Widget::toLongFunction(), Widget::toLongLongFunction(), Widget::toShortFunction(), Widget::toUIntFunction(), Widget::toULongFunction(), Widget::toULongLongFunction(), Widget::toUShortFunction(), QV4::Compiler::Codegen::unop(), QDoubleSpinBoxPrivate::validateAndInterpret(), and wrapInFunction().
Definition at line 18 of file src_corelib_text_qbytearrayview.cpp.
Referenced by VulkanWrapperPrivate::VulkanWrapperPrivate(), Driver::headerFileName(), qsvg_h2i(), QByteArray::toHex(), QPdf::toHex(), QPdf::toHex(), Widget::toIntFunction(), Widget::toLongFunction(), Widget::toLongLongFunction(), Widget::toShortFunction(), Widget::toUIntFunction(), Widget::toULongFunction(), Widget::toULongLongFunction(), Widget::toUShortFunction(), and wrapInFunction().
bool ok |
[2]
[1]
[3]
[3-qstringview]
[2]
[4]
Definition at line 17 of file src_corelib_text_qbytearrayview.cpp.
Referenced by GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), NmeaParameters::NmeaParameters(), NmeaSatelliteSource::NmeaSatelliteSource(), QAndroidPlatformIntegration::QAndroidPlatformIntegration(), QDBusBlockingCallWatcher::QDBusBlockingCallWatcher(), QDirectFbInput::QDirectFbInput(), QEvdevTouchScreenHandler::QEvdevTouchScreenHandler(), QGeoMappingManagerEngineMapboxGL::QGeoMappingManagerEngineMapboxGL(), QGeoTiledMappingManagerEngineMapbox::QGeoTiledMappingManagerEngineMapbox(), QGeoTiledMappingManagerEngineNokia::QGeoTiledMappingManagerEngineNokia(), QGeoTiledMappingManagerEngineOsm::QGeoTiledMappingManagerEngineOsm(), QIBusPlatformInputContext::QIBusPlatformInputContext(), QMimeMagicRule::QMimeMagicRule(), QNmeaRealTimeReader::QNmeaRealTimeReader(), QQnxWindow::QQnxWindow(), QtWaylandClient::QWaylandGLContext::QWaylandGLContext(), QtWaylandClient::QWaylandWindow::QWaylandWindow(), QWindowsGLContext::QWindowsGLContext(), QXcbIntegration::QXcbIntegration(), RemoteDeviceManager::RemoteDeviceManager(), ShmServerBuffer::ShmServerBuffer(), VulkanWrapperPrivate::VulkanWrapperPrivate(), QPrintPreviewDialogPrivate::_q_pageNumEdited(), QPrintPreviewDialogPrivate::_q_zoomFactorChanged(), QQuickParentChange::actions(), adapterWithDBusPeripheralInterface(), QGraphicsAnchorLayout::addAnchors(), QTapTestLogger::addIncident(), QGraphicsItemGroup::addToGroup(), QV4::ResolvedTypeReference::addToHash(), addTypeReferenceChecksumsToHash(), QQnxScreen::adjustOrientation(), QLayout::adoptLayout(), QImageReader::allocationLimit(), allowSyntheticRightClick(), QtObject::alpha(), QPdfBookmarkModelPrivate::appendChildNode(), QV4::Lookup::arrayLengthSetter(), QV4::Value::asArrayLength(), MainWindow::averageItems(), QWin32PrintEngine::begin(), QBlitterPaintEngine::begin(), QRhiVulkan::beginFrame(), QQmlScriptString::booleanLiteral(), buildAndroidProject(), QLocaleData::bytearrayToLongLong(), QLocaleData::bytearrayToUnsLongLong(), cacheSize(), cacheSize(), calculatePosixDate(), QV4::Runtime::ObjectLiteral::call(), QV4::CallPrecise(), DarwinBluetooth::cb_uuid(), QDir::cd(), CFDictionaryGetInt64(), checked_var_value(), D3DPresentEngine::checkFormat(), QQmlPropertyCache::checksum(), QXcbClipboard::clipboardReadProperty(), QtObject::color(), QtObject::colorEqual(), QQmlColorProvider::colorFromString(), QQmlStringConverters::colorFromString(), QQuickColorProvider::colorFromString(), colorVariantFromJSValue(), QLocalSocket::connectToServer(), constructColor(), QHttpNetworkHeaderPrivate::contentLength(), QVariant::convert(), QLocaleData::convertDoubleToFloat(), convertToEnum(), convertToExtendedType(), convertToNumber(), QQuickPropertyAnimationPrivate::convertVariant(), QMetalGraphicsPipeline::create(), QQuickFontValueType::create(), QDomDocumentPrivate::createAttribute(), QDomDocumentPrivate::createAttributeNS(), QDomDocumentPrivate::createCDATASection(), QDomDocumentPrivate::createComment(), createDeviceInfoFromBluez5Device(), QDomImplementation::createDocumentType(), QDomDocumentPrivate::createElement(), QDomDocumentPrivate::createElementNS(), QDomDocumentPrivate::createEntityReference(), QThreadPrivate::createEventDispatcher(), QEglFSOpenWFDIntegration::createNativeWindow(), QEglFSRcarIntegration::createNativeWindow(), createPixmapDataSync(), QV4::ExecutionEngine::createPrimitive(), QDomDocumentPrivate::createProcessingInstruction(), createRectNode(), QKmsDevice::createScreenForConnector(), QKmsDevice::createScreens(), QDBusArgumentPrivate::createSignature(), QDomDocumentPrivate::createTextNode(), createTextureFromShm(), VulkanWrapperPrivate::createTextureImageFromData(), QVideoTextureHelper::createTexturesFromHandles(), QVideoTextureHelper::createTexturesFromMemory(), createValueTypeFromNumberString(), QtObject::darker(), QMYSQLResult::data(), QPSQLResult::data(), decode(), QPlatformTheme::defaultThemeHint(), QLCDNumber::display(), QTranslatorPrivate::do_load(), QTranslatorPrivate::do_load(), QQuickParentChangePrivate::doChange(), QEGLPlatformContext::doneCurrent(), QRhiVulkan::elapsedSecondsFromTimestamp(), encode(), QRhiVulkan::endOffscreenFrame(), QSGGuiThreadRenderLoop::ensureRhi(), QVkSwapChain::ensureSurface(), enumForSingleton(), QQmlType::enumValue(), QQmlType::enumValue(), QQmlType::enumValue(), QQmlBindPrivate::evalDelayed(), QQmlCustomParser::evaluateEnum(), QIBaseResult::exec(), QWindowsXpNativeFileDialog::existingDirCallback(), QAndroidMetaData::extractMetadata(), QDB2Result::fetch(), QODBCResult::fetch(), QPSQLResult::fetch(), QGeoFileTileCacheMapbox::filenameToTileSpec(), QGeoFileTileCacheNokia::filenameToTileSpec(), QGeoFileTileCacheOsm::filenameToTileSpec(), QGeoFileTileCache::filenameToTileSpecDefault(), findAdapterForAddress(), findRemoteDevicePath(), findSectionName(), findSlot(), fixedCDataSection(), fixedCharData(), fixedComment(), fixedPIData(), fixedPubidLiteral(), fixedSystemLiteral(), fixedXmlName(), QIntValidator::fixup(), QDoubleValidatorPrivate::fixupWithLocale(), QSSGMesh::Mesh::fromAssetData(), QPageRanges::fromString(), QQmlJS::Dom::Path::fromString(), QQmlJS::Dom::Version::fromString(), QuickTestResult::fuzzyCompare(), QPdfDocumentPrivate::getCharBox(), QPdfDocumentPrivate::getCharPosition(), QHttpNetworkReplyPrivate::getChunkSize(), getContextCapabilities(), QDate::getDate(), QInputDialog::getDouble(), QFreetypeFace::getFace(), QFontDialogPrivate::getFont(), QFontDialog::getFont(), QFontDialog::getFont(), QInputDialog::getInt(), QInputDialog::getItem(), getLockInfo_helper(), QInputDialog::getMultiLineText(), QBenchmarkValgrindUtils::getNewestFileName(), QTextStreamPrivate::getReal(), QLocationUtils::getSatInfoFromNmea(), QInputDialog::getText(), QQuickWheelHandler::handleEventPoint(), QAndroidInputContext::handleLocationChanged(), QLocationUtils::hasValidNmeaChecksum(), QQuickMaterialStyle::initGlobals(), QQuickUniversalStyle::initGlobals(), QWin32PrintEnginePrivate::initialize(), QColorDialogPrivate::initWidgets(), QSettingsPrivate::iniUnescapedKey(), QNetworkInterfaceManager::interfaceFromName(), QNetworkInterface::interfaceIndexFromName(), intValueHelper(), QEglFSWindow::invalidateSurface(), QTest::TestMethods::invokeTests(), isAscii_helper(), isJitEnabled(), QLibrary::isLibrary(), QGraphicsItem::itemTransform(), QQuickItem::itemTransform(), QQmlJS::Dom::ModuleIndex::iterateDirectSubpaths(), QMetaEnum::keysToValue(), QMetaEnum::keyToValue(), QQmlJS::AST::IfStatement::lastSourceLocation(), QtObject::lighter(), QOpenGLShaderProgramPrivate::linkBinary(), QGtk3Json::load(), QQuickPixmap::load(), QBasicPlatformVulkanInstance::loadVulkanLibrary(), QBluetoothSocketPrivateBluezDBus::localAddress(), QBluetoothSocketPrivateBluezDBus::localName(), QBluetoothSocketPrivateWinRT::localPort(), AndroidCamera::lock(), main(), main(), QEGLPlatformContext::makeCurrent(), QMimeMagicRule::matches(), maybeDisableCoreDump(), QV4::GlobalFunctions::method_decodeURI(), QV4::GlobalFunctions::method_decodeURIComponent(), QV4::ObjectPrototype::method_defineGetter(), QV4::ObjectPrototype::method_defineProperties(), QV4::ObjectPrototype::method_defineSetter(), QV4::GlobalFunctions::method_encodeURI(), QV4::GlobalFunctions::method_encodeURIComponent(), QV4::ArrayPrototype::method_every(), QV4::IntrinsicTypedArrayPrototype::method_every(), QV4::GlobalFunctions::method_parseFloat(), QV4::ArrayPrototype::method_reverse(), QV4::IntrinsicTypedArrayPrototype::method_reverse(), QV4::PropertyListPrototype::method_set_length(), QV4::method_set_length(), QV4::ObjectPrototype::method_set_proto(), QV4::ObjectPrototype::method_setPrototypeOf(), QV4::ArrayPrototype::method_shift(), QV4::ArrayPrototype::method_splice(), QV4::ArrayPrototype::method_unshift(), minimumType(), nextGeometryToken(), QQmlScriptString::numberLiteral(), obtainSDKVersion(), QUtcTimeZonePrivate::offsetFromUtcString(), ok(), QMYSQLDriver::open(), QSQLiteDriver::open(), AndroidCamera::open(), output6ForWindow(), outputDesc1ForWindow(), panTouchPoints(), parseAnimateColorNode(), parseAnimateTransformNode(), QQmlDebugServerImpl::parseArguments(), parseBufferLevel(), parseClockValue(), RCCResourceLibrary::parseCompressionLevel(), parseCoordinate(), parseEarlyArguments(), QTextHtmlParser::parseEntity(), QTlsPrivate::X509CertificateGeneric::parseExtension(), parseFont(), parseHeaderValue(), parseInt(), parseIntOption(), parseLength(), QMimeTypeParserBase::parseNumber(), parseOpacity(), parsePathDataFast(), Moc::parsePropertyAttributes(), Moc::parseRevision(), parseServerList(), QNetworkCookiePrivate::parseSetCookieHeaderLine(), QHttpHeaderParser::parseStatus(), parseStopNode(), QHostAddress::parseSubnet(), parseTzHeader(), parseVersion(), parseVersion(), parseXftDpi(), parseXftInt(), LocationSingleton::path(), QBluetoothSocketPrivateWinRT::peerPort(), QEglFSOpenWFDIntegration::platformInit(), QEglFSRcarIntegration::platformInit(), QQmlStringConverters::pointFFromString(), QSGBatchRenderer::Renderer::prepareRenderPass(), QSGRhiGuiThreadShaderEffectManager::prepareShaderCode(), prepareStackTrace(), QCss::Scanner::preprocess(), QtWaylandClient::QWaylandVulkanInstance::presentAboutToBeQueued(), QRhi::probe(), putDataAndIncrement(), Q_LOGGING_CATEGORY(), QTlsPrivate::q_X509Callback(), QTlsPrivate::q_X509CallbackDirect(), dtlscallbacks::q_X509DtlsCallback(), qEnvironmentVariableOptionalInt(), qEnvironmentVariableOptionalReal(), qlocationutils_readGsa(), qmlsqldatabase_changeVersion(), qNumVariantToHelper(), qParseFontSizeFromToken(), qParseOpts(), qSetFontSizeFromToken(), QSqlDatabase_snippets(), qstrntod(), qstrtod(), qsvg_get_hex_rgb(), qsvg_h2i(), qsvg_hex2int(), qsvg_hex2int(), qt_cleanPath(), qt_color_from_string(), qt_normalizePathSegments(), qt_sg_envFloat(), qt_sg_envInt(), QTlsPrivate::qt_X509Callback(), qTzName(), queryDarkBorder(), QInputMethod::queryFocusObject(), QDDSHandler::read(), read_pbm_body(), read_pbm_header(), read_pbm_int(), QWavefrontMesh::readData(), QAudioOutputStream::readData(), readDependencies(), QConfFileSettingsPrivate::readIniFile(), QConfFileSettingsPrivate::readIniSection(), QHttpNetworkReplyPrivate::readStatus(), QCss::Declaration::realValue(), AndroidCamera::reconnect(), QQmlStringConverters::rectFFromString(), QWidgetTextControlPrivate::rectForPosition(), QDynamicFileResourceRoot::registerSelf(), QEventDispatcherWin32Private::registerTimer(), QSortFilterProxyModel::removeColumns(), QGraphicsItemGroup::removeFromGroup(), QDir::removeRecursively(), QSortFilterProxyModel::removeRows(), QTemporaryFileEngine::rename(), QTemporaryFileEngine::renameOverwrite(), resolveColor(), QQmlPrivate::AOTCompiledContext::resolveLoggingCategory(), QDockAreaLayout::restoreState(), QQmlColorProvider::rgbaFromString(), QQmlStringConverters::rgbaFromString(), QQuickColorProvider::rgbaFromString(), QmlTypeRegistrar::runExtract(), runRcc(), QOpenGLProgramBinaryCache::save(), QQmlType::scopedEnumIndex(), QQmlType::scopedEnumIndex(), QQmlType::scopedEnumValue(), QQmlType::scopedEnumValue(), QQmlType::scopedEnumValue(), QQmlType::scopedEnumValue(), QLowEnergyService::serviceName(), QV4::Object::setArrayLength(), setAVMetadataItemForKey(), QNmeaSatelliteInfoSource::setBackendProperty(), QWindowsCamera::setCameraFormat(), QQuickContext2DTexture::setCanvasWindow(), QWindowsWindow::setDarkBorderToWindow(), AndroidMediaMetadataRetriever::setDataSource(), QTest::setFailed(), QQuickFontValueType::setFeatures(), setFloatAttribute(), setFontProperty(), QQuickRectangle::setGradient(), setIntAttribute(), setLetterSpacingFromValue(), QQmlListAccessor::setList(), QQuickShaderEffectPrivate::setMesh(), QJp2Handler::setOption(), QMacJp2Handler::setOption(), QFSFileEngine::setPermissions(), AndroidCamera::setPreviewDisplay(), AndroidCamera::setPreviewTexture(), QV4::QObjectWrapper::setProperty(), QQnxScreen::setRootWindow(), QGradient::setStops(), setWidthAttribute(), setWordSpacingFromValue(), QQuickShaderEffectPrivate::shaderCodePrepared(), signPackage(), QNetworkReplyFileImpl::size(), QQmlStringConverters::sizeFFromString(), QHttpSocketEngine::slotSocketReadNotification(), splitRuntimeMeshPath(), sql_intro_snippets(), QLocaleData::stringToDouble(), QLocaleData::stringToLongLong(), QV4::RuntimeHelpers::stringToNumber(), QLocaleData::stringToUnsLongLong(), QXcbIntegration::styleHint(), MainWindow::sumItems(), QGeoPositionInfoSourceGeoclue2::supportedPositioningMethods(), QWindowsVulkanInstance::supportsPresent(), QXcbVulkanInstance::supportsPresent(), QtWaylandClient::QWaylandVulkanInstance::supportsPresent(), QEGLPlatformContext::swapBuffers(), QMacSettingsPrivate::sync(), QtObject::tint(), QAsn1Element::toBool(), QVariant::toDouble(), QByteArray::toDouble(), QByteArrayView::toDouble(), QLatin1StringView::toDouble(), QString::toDouble(), QStringView::toDouble(), toDouble(), QLocale::toDouble(), QLocale::toDouble(), toDouble(), Widget::toDoubleFunction(), toEnumValue(), toEnumValue(), QVariant::toFloat(), QByteArray::toFloat(), QByteArrayView::toFloat(), QLatin1StringView::toFloat(), QString::toFloat(), QStringView::toFloat(), QLocale::toFloat(), QtPrivate::toFloat(), QLocale::toFloat(), Widget::toFloatFunction(), QVariant::toInt(), QByteArray::toInt(), QByteArrayView::toInt(), QLatin1StringView::toInt(), QString::toInt(), QStringView::toInt(), QLocale::toInt(), QLocale::toInt(), QAsn1Element::toInteger(), QtPrivate::toIntegral(), toIntegral(), toIntegral_helper(), Widget::toIntFunction(), QHostAddress::toIPv4Address(), QByteArray::toLong(), QByteArrayView::toLong(), QLatin1StringView::toLong(), QString::toLong(), QStringView::toLong(), QLocale::toLong(), QLocale::toLong(), Widget::toLongFunction(), QVariant::toLongLong(), QByteArray::toLongLong(), QByteArrayView::toLongLong(), QLatin1StringView::toLongLong(), QStringView::toLongLong(), QLocale::toLongLong(), QLocale::toLongLong(), Widget::toLongLongFunction(), QLocale::toLower(), QJSManagedValue::toPrimitive(), QQmlMetaType::toQObject(), QV4::Value::toQString(), QVariant::toReal(), QByteArray::toShort(), QByteArrayView::toShort(), QLatin1StringView::toShort(), QString::toShort(), QStringView::toShort(), QLocale::toShort(), QLocale::toShort(), Widget::toShortFunction(), QtPrivate::toSignedInteger(), QV4::String::toUInt(), QVariant::toUInt(), QByteArray::toUInt(), QByteArrayView::toUInt(), QLatin1StringView::toUInt(), QString::toUInt(), QStringView::toUInt(), QLocale::toUInt(), QLocale::toUInt(), QBluetoothUuid::toUInt16(), QBluetoothUuid::toUInt32(), QBitArray::toUInt32(), Widget::toUIntFunction(), QByteArray::toULong(), QByteArrayView::toULong(), QLatin1StringView::toULong(), QString::toULong(), QStringView::toULong(), QLocale::toULong(), QLocale::toULong(), Widget::toULongFunction(), QVariant::toULongLong(), QByteArray::toULongLong(), QByteArrayView::toULongLong(), QLatin1StringView::toULongLong(), QStringView::toULongLong(), QLocale::toULongLong(), QLocale::toULongLong(), Widget::toULongLongFunction(), QtPrivate::toUnsignedInteger(), QLocale::toUpper(), QByteArray::toUShort(), QByteArrayView::toUShort(), QLatin1StringView::toUShort(), QString::toUShort(), QStringView::toUShort(), QLocale::toUShort(), QLocale::toUShort(), Widget::toUShortFunction(), QQuickParentAnimation::transition(), tryConvertAndAssign(), QD3D11Timestamps::tryQueryTimestamps(), QLowEnergyDescriptor::type(), AndroidCamera::unlock(), QPdfLinkModelPrivate::update(), QGeoTiledMapRootNode::updateTiles(), QIntValidator::validate(), QSpinBoxPrivate::validateAndInterpret(), QDoubleSpinBoxPrivate::validateAndInterpret(), QDoubleValidatorPrivate::validateWithLocale(), QQmlStringConverters::variantFromString(), QV4::ArrayCtor::virtualCallAsConstructor(), QV4::ArrayObject::virtualDefineOwnProperty(), QV4::QQmlTypeWrapper::virtualGet(), QV4::QQmlScopedEnumWrapper::virtualGet(), QV4::QQmlTypeWrapper::virtualResolveLookupGetter(), QV4::Compiler::Codegen::visit(), waitToFinish(), wrapInFunction(), src_gui_vulkan_qvulkaninstance::wrapper0(), src_gui_vulkan_qvulkaninstance::wrapper1(), QQmlPropertyPrivate::write(), QMetaProperty::write(), QQmlPropertyPrivate::writeEnumProperty(), QIIOFHelper::writeImage(), QXcbConnection::xi2SetMouseGrabEnabled(), and zipalignPath().
QByteArrayView str("FF") | ( | "FF" | ) |
[1]
[2]
[3]
QByteArrayView string("1234.56 Volt") | ( | "1234.56 Volt" | ) |
[3]
[4]