Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_corelib_text_qbytearrayview.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <QtCore/qbytearrayview.h>
+ Include dependency graph for src_corelib_text_qbytearrayview.cpp:

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)
 

Function Documentation

◆ fun() [1/2]

void fun ( char ch)

Definition at line 12 of file src_corelib_text_qbytearrayview.cpp.

References ch, and fun.

◆ fun() [2/2]

void fun ( QByteArrayView bv)

[0]

[1]

◆ myfun1()

void myfun1 ( QByteArrayView bv)

[0]

◆ myfun2()

void myfun2 ( const QByteArrayView & bv)

Variable Documentation

◆ a

a = str.toFloat(&ok)

Definition at line 32 of file src_corelib_text_qbytearrayview.cpp.

◆ dec

◆ hex

◆ ok

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(), QAndroidPlatformWindow::QAndroidPlatformWindow(), 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(), QWindowsDirectWriteFontDatabase::addApplicationFont(), 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(), cacheSize(), cacheSize(), calculatePosixDate(), QV4::Runtime::ObjectLiteral::call(), 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(), 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(), createFeColorMatrixNode(), createFeCompositeNode(), createMarkerNode(), createMaskNode(), QEglFSOpenWFDIntegration::createNativeWindow(), QEglFSRcarIntegration::createNativeWindow(), createPatternNode(), createPixmapDataSync(), QV4::ExecutionEngine::createPrimitive(), QDomDocumentPrivate::createProcessingInstruction(), createRectNode(), QKmsDevice::createScreenForConnector(), QKmsDevice::createScreens(), QDBusArgumentPrivate::createSignature(), QDomDocumentPrivate::createTextNode(), createTextureFromShm(), VulkanWrapperPrivate::createTextureImageFromData(), QVideoTextureHelper::createTexturesFromHandles(), QtObject::darker(), QCss::Declaration::dashArray(), QMYSQLResult::data(), QPSQLResult::data(), decode(), QPlatformTheme::defaultThemeHint(), QLCDNumber::display(), QTranslatorPrivate::do_load(), QTranslatorPrivate::do_load(), QQuickParentChangePrivate::doChange(), QEGLPlatformContext::doneCurrent(), QRhiVulkan::elapsedSecondsFromTimestamp(), encode(), QRhiD3D11::endOffscreenFrame(), QRhiVulkan::endOffscreenFrame(), QSGGuiThreadRenderLoop::ensureRhi(), QVkSwapChain::ensureSurface(), enumForSingleton(), QQmlTypePrivate::enumValue(), 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(), QDoubleValidatorPrivate::fixupWithLocale(), QSSGMesh::Mesh::fromAssetData(), QPageRanges::fromString(), QQmlJS::Dom::Path::fromString(), QQmlJS::Dom::Version::fromString(), QuickTestResult::fuzzyCompare(), 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(), QFFmpeg::VideoEncoder::init(), QQuickMaterialStyle::initGlobals(), QQuickUniversalStyle::initGlobals(), QWin32PrintEnginePrivate::initialize(), QColorDialogPrivate::initWidgets(), QSettingsPrivate::iniUnescapedKey(), QNetworkInterfaceManager::interfaceFromName(), QNetworkInterface::interfaceIndexFromName(), intValueHelper(), QEglFSWindow::invalidateSurface(), QTest::invokeTestMethodIfValid(), 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(), QTest::CrashHandler::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(), obtainPid(), obtainSdkVersion(), QUtcTimeZonePrivate::offsetFromUtcString(), ok(), QMYSQLDriver::open(), QSQLiteDriver::open(), AndroidCamera::open(), QRhiD3D::output6ForWindow(), QRhiD3D::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(), QTest::CrashHandler::prepareStackTrace(), QCss::Scanner::preprocess(), QtWaylandClient::QWaylandVulkanInstance::presentAboutToBeQueued(), QRhi::probe(), putDataAndIncrement(), 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(), QInputMethod::queryFocusObject(), QDDSHandler::read(), read_pbm_body(), read_pbm_header(), read_pbm_int(), QWavefrontMesh::readData(), QAudioOutputStream::readData(), readDependencies(), QCborStreamReaderPrivate::readFullString(), QConfFileSettingsPrivate::readIniFile(), QConfFileSettingsPrivate::readIniSection(), QHttpNetworkReplyPrivate::readStatus(), QCss::Declaration::realValue(), AndroidCamera::reconnect(), QQmlStringConverters::rectFFromString(), QWidgetTextControlPrivate::rectForPosition(), QEventDispatcherWin32Private::registerTimer(), QSortFilterProxyModel::removeColumns(), QGraphicsItemGroup::removeFromGroup(), QDir::removeRecursively(), QSortFilterProxyModel::removeRows(), resolveColor(), QQmlPrivate::AOTCompiledContext::resolveLoggingCategory(), QDockAreaLayout::restoreState(), QQmlColorProvider::rgbaFromString(), QQmlStringConverters::rgbaFromString(), QQuickColorProvider::rgbaFromString(), QmlTypeRegistrar::runExtract(), runRcc(), QOpenGLProgramBinaryCache::save(), QQmlTypePrivate::scopedEnumIndex(), QQmlType::scopedEnumIndex(), QQmlType::scopedEnumIndex(), QQmlTypePrivate::scopedEnumValue(), QQmlTypePrivate::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(), setMatrix(), QQuickShaderEffectPrivate::setMesh(), QJp2Handler::setOption(), QMacJp2Handler::setOption(), QFSFileEngine::setPermissions(), AndroidCamera::setPreviewDisplay(), AndroidCamera::setPreviewTexture(), QV4::QObjectWrapper::setProperty(), QQnxScreen::setRootWindow(), QGradient::setStops(), QQuickFontValueType::setVariableAxes(), setWidthAttribute(), setWordSpacingFromValue(), QQuickShaderEffectPrivate::shaderCodePrepared(), signPackage(), QQmlStringConverters::sizeFFromString(), QHttpSocketEngine::slotSocketReadNotification(), splitRuntimeMeshPath(), sql_intro_snippets(), QLocaleData::stringToDouble(), QV4::RuntimeHelpers::stringToNumber(), 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(), QNetworkHeadersPrivate::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(), 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(), QLocale::toUpper(), QByteArray::toUShort(), QByteArrayView::toUShort(), QLatin1StringView::toUShort(), QString::toUShort(), QStringView::toUShort(), QLocale::toUShort(), QLocale::toUShort(), Widget::toUShortFunction(), QQuickParentAnimation::transition(), tryConvertAndAssign(), QD3D11SwapChainTimestamps::tryQueryTimestamps(), QLowEnergyDescriptor::type(), AndroidCamera::unlock(), QPdfLinkModelPrivate::update(), QGeoTiledMapRootNode::updateTiles(), QIntValidator::validate(), QSpinBoxPrivate::validateAndInterpret(), QDoubleSpinBoxPrivate::validateAndInterpret(), QDoubleValidatorPrivate::validateWithLocale(), QQmlStringConverters::valueTypeFromNumberString(), QQmlStringConverters::variantFromString(), QV4::ArrayCtor::virtualCallAsConstructor(), QV4::ArrayObject::virtualDefineOwnProperty(), QV4::QQmlTypeWrapper::virtualGet(), QV4::QQmlScopedEnumWrapper::virtualGet(), QV4::QQmlTypeWrapper::virtualResolveLookupGetter(), QV4::Compiler::Codegen::visit(), wrapInFunction(), src_gui_vulkan_qvulkaninstance::wrapper0(), src_gui_vulkan_qvulkaninstance::wrapper1(), QQmlPropertyPrivate::write(), QMetaProperty::write(), QQmlPropertyPrivate::writeEnumProperty(), NS_IIOF_HELPERS::QIIOFHelper::writeImage(), QXcbConnection::xi2SetMouseGrabEnabled(), and zipalignPath().

◆ str

QByteArrayView str("FF") ( "FF" )

[1]

[2]

[3]

◆ string

QByteArrayView string("1234.56 Volt") ( "1234.56 Volt" )

[3]

[4]