@swiftbrowser/wasm-sdk-foundation 0.0.0-stage → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +1445 -0
- package/README.md +24 -2
- package/files.json +366 -0
- package/package.json +18 -4
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLparser.h +320 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLtree.h +147 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX.h +204 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX2.h +173 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/c14n.h +128 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/catalog.h +182 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/chvalid.h +230 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/debugXML.h +217 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/dict.h +81 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/encoding.h +233 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/entities.h +151 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/globals.h +529 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/hash.h +236 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/list.h +137 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanoftp.h +186 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanohttp.h +81 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parser.h +1265 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parserInternals.h +662 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/pattern.h +100 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/relaxng.h +218 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schemasInternals.h +958 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schematron.h +142 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/threads.h +94 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h +1314 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/uri.h +94 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/valid.h +448 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xinclude.h +129 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xlink.h +189 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlIO.h +369 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlautomata.h +146 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlerror.h +919 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlexports.h +50 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmemory.h +228 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmodule.h +57 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h +428 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlregexp.h +222 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlsave.h +88 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemas.h +246 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemastypes.h +152 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlstring.h +140 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlunicode.h +202 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlversion.h +526 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlwriter.h +488 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpath.h +575 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpathInternals.h +632 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpointer.h +137 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFArray.h +673 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedString.h +157 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedStringPriv.h +25 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAvailability.h +236 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBag.h +97 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBase.h +702 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBigNumber.h +76 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBinaryHeap.h +294 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBitVector.h +49 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle.h +349 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundlePriv.h +334 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle_BinaryTypes.h +61 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBurstTrie.h +181 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFByteOrder.h +305 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendar.h +116 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendarPriv.h +52 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSet.h +387 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSetPriv.h +78 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFConstantKeys.h +128 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFData.h +79 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDate.h +113 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateComponents.h +92 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter_Private.h +31 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateInterval.h +62 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateIntervalFormatter.h +96 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDictionary.h +674 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError.h +183 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError_Private.h +27 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFKnownLocations.h +42 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFListFormatter.h +32 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale.h +204 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale_Private.h +35 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocking.h +124 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLogUtilities.h +52 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMachPort.h +53 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMessagePort.h +66 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNotificationCenter.h +81 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber.h +129 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumberFormatter.h +174 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber_Private.h +30 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFOverflow.h +88 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugIn.h +124 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugInCOM.h +117 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPreferences.h +130 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPriv.h +721 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList.h +151 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList_Private.h +19 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRegularExpression.h +68 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRelativeDateTimeFormatter.h +61 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunArray.h +57 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunLoop.h +203 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRuntime.h +281 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSet.h +491 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSocket.h +220 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStorage.h +296 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStream.h +505 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamAbstract.h +181 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamPriv.h +126 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString.h +915 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringDefaultEncoding.h +45 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverter.h +82 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterExt.h +121 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterPriv.h +47 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingDatabase.h +23 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingExt.h +184 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString_Private.h +32 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTargetConditionals.h +284 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTimeZone.h +98 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTree.h +330 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURL.h +1256 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLAccess.h +128 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLComponents.h +123 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLPriv.h +879 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUUID.h +78 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUniChar.h +244 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodeDecomposition.h +35 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodePrecomposition.h +23 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUserNotification.h +185 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUtilities.h +27 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h +105 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForFoundationOnly.h +816 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h +689 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/module.modulemap +8 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/static-module.map +7 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.h +17 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.inc.h +14707 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapDataAccess.h +16 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsMacros.h +24 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsTargetConditionals.h +56 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CStdlib.h +169 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_FoundationCShims.h +32 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/bplist_shims.h +19 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/filemanager_shims.h +156 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/io_shims.h +89 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/module.modulemap +5 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/platform_shims.h +112 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/string_shims.h +52 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/uuid.h +81 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/alphaindex.h +766 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/appendable.h +239 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/basictz.h +248 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/brkiter.h +694 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestream.h +307 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestrie.h +568 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestriebuilder.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/calendar.h +2609 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/caniter.h +215 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/casemap.h +497 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/char16ptr.h +384 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/chariter.h +734 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/choicfmt.h +601 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coleitr.h +411 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coll.h +1387 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/compactdecimalformat.h +196 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/curramt.h +133 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currpinf.h +274 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currunit.h +146 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/datefmt.h +968 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dbbi.h +48 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dcfmtsym.h +636 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/decimfmt.h +2233 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/displayoptions.h +270 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/docmain.h +247 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtfmtsym.h +1055 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtintrv.h +163 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvfmt.h +1231 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvinf.h +524 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtptngen.h +676 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtrule.h +256 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/edits.h +531 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/enumset.h +69 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/errorcode.h +144 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fieldpos.h +298 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/filteredbrk.h +152 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fmtable.h +758 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/format.h +316 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattednumber.h +215 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattedvalue.h +318 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fpositer.h +124 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gender.h +122 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gregocal.h +737 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icudataver.h +43 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icuplug.h +391 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/idna.h +333 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/listformatter.h +291 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localebuilder.h +309 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localematcher.h +710 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localpointer.h +609 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locdspnm.h +211 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locid.h +1293 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measfmt.h +501 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measunit.h +3928 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measure.h +174 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/messagepattern.h +950 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/module.modulemap +209 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/msgfmt.h +1117 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normalizer2.h +791 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normlzr.h +816 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/nounit.h +86 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberformatter.h +2862 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberrangeformatter.h +802 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numfmt.h +1299 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numsys.h +220 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parseerr.h +94 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parsepos.h +237 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/platform.h +874 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurfmt.h +601 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurrule.h +591 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ptypes.h +66 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/putil.h +183 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbbi.h +902 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbnf.h +1153 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbtz.h +373 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/regex.h +1882 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/region.h +229 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/reldatefmt.h +758 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rep.h +266 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/resbund.h +489 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/schriter.h +187 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/scientificnumberformatter.h +222 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/search.h +580 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/selfmt.h +374 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpleformatter.h +414 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simplenumberformatter.h +326 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpletz.h +940 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/smpdtfmt.h +1383 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/sortkey.h +344 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/std_string.h +41 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/strenum.h +281 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringoptions.h +190 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringpiece.h +354 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringtriebuilder.h +426 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stsearch.h +509 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/symtable.h +119 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tblcoll.h +886 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/timezone.h +1067 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmunit.h +142 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutamt.h +174 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutfmt.h +238 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/translit.h +1593 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzfmt.h +1102 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tznames.h +419 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzrule.h +820 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tztrans.h +201 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ualoc.h +372 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureformat.h +487 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureunit.h +249 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimeunitformat.h +377 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimezone.h +114 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubidi.h +2368 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubiditransform.h +326 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubrk.h +684 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucal.h +1825 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucasemap.h +388 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucat.h +160 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchar.h +4410 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstrie.h +623 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstriebuilder.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchriter.h +393 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uclean.h +262 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv.h +2053 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_cb.h +164 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_err.h +465 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnvsel.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucol.h +1649 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucoleitr.h +344 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uconfig.h +501 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucpmap.h +158 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucptrie.h +645 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucsdet.h +426 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucurr.h +466 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udat.h +1767 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udata.h +454 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udateintervalformat.h +458 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatintv.h +146 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatpg.h +806 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplaycontext.h +233 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplayoptions.h +321 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uenum.h +209 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ufieldpositer.h +123 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattable.h +290 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattednumber.h +224 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattedvalue.h +445 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ugender.h +86 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uidna.h +794 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uiter.h +709 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uldnames.h +307 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulistformatter.h +333 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uloc.h +1437 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocale.h +226 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocbuilder.h +437 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocdata.h +299 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umachine.h +491 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umisc.h +62 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umsg.h +628 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umutablecptrie.h +240 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifilt.h +136 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifunct.h +132 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unimatch.h +168 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unirepl.h +103 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uniset.h +1909 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unistr.h +5095 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm.h +476 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm2.h +626 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unum.h +1524 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberformatter.h +576 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberoptions.h +173 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberrangeformatter.h +471 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumsys.h +176 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uobject.h +324 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uplrule.h +82 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/upluralrules.h +263 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urbtok.h +276 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregex.h +1617 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregion.h +252 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ureldatefmt.h +510 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urename.h +4026 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urep.h +157 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ures.h +912 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uscript.h +742 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usearch.h +911 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uset.h +1898 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usetiter.h +323 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ushape.h +476 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usimplenumberformatter.h +297 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uspoof.h +1852 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usprep.h +274 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustdio.h +1021 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustream.h +69 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustring.h +1719 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustringtrie.h +97 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utext.h +1613 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf.h +225 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf16.h +740 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf32.h +25 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf8.h +882 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf_old.h +1207 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utmscale.h +490 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrace.h +506 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrans.h +660 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utypes.h +826 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uvernum.h +191 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uversion.h +230 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/vtzone.h +471 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Foundation.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationEssentials.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationInternationalization.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationXML.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_FoundationCollections.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libCoreFoundation.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationXML.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_CFXMLInterface.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCShims.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
// © 2017 and later: Unicode, Inc. and others.
|
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
|
3
|
+
|
|
4
|
+
// stringoptions.h
|
|
5
|
+
// created: 2017jun08 Markus W. Scherer
|
|
6
|
+
|
|
7
|
+
#ifndef __STRINGOPTIONS_H__
|
|
8
|
+
#define __STRINGOPTIONS_H__
|
|
9
|
+
|
|
10
|
+
#include <_foundation_unicode/utypes.h>
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* \file
|
|
14
|
+
* \brief C API: Bit set option bit constants for various string and character processing functions.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Option value for case folding: Use default mappings defined in CaseFolding.txt.
|
|
19
|
+
*
|
|
20
|
+
* @stable ICU 2.0
|
|
21
|
+
*/
|
|
22
|
+
#define U_FOLD_CASE_DEFAULT 0
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Option value for case folding:
|
|
26
|
+
*
|
|
27
|
+
* Use the modified set of mappings provided in CaseFolding.txt to handle dotted I
|
|
28
|
+
* and dotless i appropriately for Turkic languages (tr, az).
|
|
29
|
+
*
|
|
30
|
+
* Before Unicode 3.2, CaseFolding.txt contains mappings marked with 'I' that
|
|
31
|
+
* are to be included for default mappings and
|
|
32
|
+
* excluded for the Turkic-specific mappings.
|
|
33
|
+
*
|
|
34
|
+
* Unicode 3.2 CaseFolding.txt instead contains mappings marked with 'T' that
|
|
35
|
+
* are to be excluded for default mappings and
|
|
36
|
+
* included for the Turkic-specific mappings.
|
|
37
|
+
*
|
|
38
|
+
* @stable ICU 2.0
|
|
39
|
+
*/
|
|
40
|
+
#define U_FOLD_CASE_EXCLUDE_SPECIAL_I 1
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Titlecase the string as a whole rather than each word.
|
|
44
|
+
* (Titlecase only the character at index 0, possibly adjusted.)
|
|
45
|
+
* Option bits value for titlecasing APIs that take an options bit set.
|
|
46
|
+
*
|
|
47
|
+
* It is an error to specify multiple titlecasing iterator options together,
|
|
48
|
+
* including both an options bit and an explicit BreakIterator.
|
|
49
|
+
*
|
|
50
|
+
* @see U_TITLECASE_ADJUST_TO_CASED
|
|
51
|
+
* @stable ICU 60
|
|
52
|
+
*/
|
|
53
|
+
#define U_TITLECASE_WHOLE_STRING 0x20
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Titlecase sentences rather than words.
|
|
57
|
+
* (Titlecase only the first character of each sentence, possibly adjusted.)
|
|
58
|
+
* Option bits value for titlecasing APIs that take an options bit set.
|
|
59
|
+
*
|
|
60
|
+
* It is an error to specify multiple titlecasing iterator options together,
|
|
61
|
+
* including both an options bit and an explicit BreakIterator.
|
|
62
|
+
*
|
|
63
|
+
* @see U_TITLECASE_ADJUST_TO_CASED
|
|
64
|
+
* @stable ICU 60
|
|
65
|
+
*/
|
|
66
|
+
#define U_TITLECASE_SENTENCES 0x40
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Do not lowercase non-initial parts of words when titlecasing.
|
|
70
|
+
* Option bit for titlecasing APIs that take an options bit set.
|
|
71
|
+
*
|
|
72
|
+
* By default, titlecasing will titlecase the character at each
|
|
73
|
+
* (possibly adjusted) BreakIterator index and
|
|
74
|
+
* lowercase all other characters up to the next iterator index.
|
|
75
|
+
* With this option, the other characters will not be modified.
|
|
76
|
+
*
|
|
77
|
+
* @see U_TITLECASE_ADJUST_TO_CASED
|
|
78
|
+
* @see UnicodeString::toTitle
|
|
79
|
+
* @see CaseMap::toTitle
|
|
80
|
+
* @see ucasemap_setOptions
|
|
81
|
+
* @see ucasemap_toTitle
|
|
82
|
+
* @see ucasemap_utf8ToTitle
|
|
83
|
+
* @stable ICU 3.8
|
|
84
|
+
*/
|
|
85
|
+
#define U_TITLECASE_NO_LOWERCASE 0x100
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Do not adjust the titlecasing BreakIterator indexes;
|
|
89
|
+
* titlecase exactly the characters at breaks from the iterator.
|
|
90
|
+
* Option bit for titlecasing APIs that take an options bit set.
|
|
91
|
+
*
|
|
92
|
+
* By default, titlecasing will take each break iterator index,
|
|
93
|
+
* adjust it to the next relevant character (see U_TITLECASE_ADJUST_TO_CASED),
|
|
94
|
+
* and titlecase that one.
|
|
95
|
+
*
|
|
96
|
+
* Other characters are lowercased.
|
|
97
|
+
*
|
|
98
|
+
* It is an error to specify multiple titlecasing adjustment options together.
|
|
99
|
+
*
|
|
100
|
+
* @see U_TITLECASE_ADJUST_TO_CASED
|
|
101
|
+
* @see U_TITLECASE_NO_LOWERCASE
|
|
102
|
+
* @see UnicodeString::toTitle
|
|
103
|
+
* @see CaseMap::toTitle
|
|
104
|
+
* @see ucasemap_setOptions
|
|
105
|
+
* @see ucasemap_toTitle
|
|
106
|
+
* @see ucasemap_utf8ToTitle
|
|
107
|
+
* @stable ICU 3.8
|
|
108
|
+
*/
|
|
109
|
+
#define U_TITLECASE_NO_BREAK_ADJUSTMENT 0x200
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Adjust each titlecasing BreakIterator index to the next cased character.
|
|
113
|
+
* (See the Unicode Standard, chapter 3, Default Case Conversion, R3 toTitlecase(X).)
|
|
114
|
+
* Option bit for titlecasing APIs that take an options bit set.
|
|
115
|
+
*
|
|
116
|
+
* This used to be the default index adjustment in ICU.
|
|
117
|
+
* Since ICU 60, the default index adjustment is to the next character that is
|
|
118
|
+
* a letter, number, symbol, or private use code point.
|
|
119
|
+
* (Uncased modifier letters are skipped.)
|
|
120
|
+
* The difference in behavior is small for word titlecasing,
|
|
121
|
+
* but the new adjustment is much better for whole-string and sentence titlecasing:
|
|
122
|
+
* It yields "49ers" and "«丰(abc)»" instead of "49Ers" and "«丰(Abc)»".
|
|
123
|
+
*
|
|
124
|
+
* It is an error to specify multiple titlecasing adjustment options together.
|
|
125
|
+
*
|
|
126
|
+
* @see U_TITLECASE_NO_BREAK_ADJUSTMENT
|
|
127
|
+
* @stable ICU 60
|
|
128
|
+
*/
|
|
129
|
+
#define U_TITLECASE_ADJUST_TO_CASED 0x400
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Option for string transformation functions to not first reset the Edits object.
|
|
133
|
+
* Used for example in some case-mapping and normalization functions.
|
|
134
|
+
*
|
|
135
|
+
* @see CaseMap
|
|
136
|
+
* @see Edits
|
|
137
|
+
* @see Normalizer2
|
|
138
|
+
* @stable ICU 60
|
|
139
|
+
*/
|
|
140
|
+
#define U_EDITS_NO_RESET 0x2000
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Omit unchanged text when recording how source substrings
|
|
144
|
+
* relate to changed and unchanged result substrings.
|
|
145
|
+
* Used for example in some case-mapping and normalization functions.
|
|
146
|
+
*
|
|
147
|
+
* @see CaseMap
|
|
148
|
+
* @see Edits
|
|
149
|
+
* @see Normalizer2
|
|
150
|
+
* @stable ICU 60
|
|
151
|
+
*/
|
|
152
|
+
#define U_OMIT_UNCHANGED_TEXT 0x4000
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Option bit for u_strCaseCompare, u_strcasecmp, unorm_compare, etc:
|
|
156
|
+
* Compare strings in code point order instead of code unit order.
|
|
157
|
+
* @stable ICU 2.2
|
|
158
|
+
*/
|
|
159
|
+
#define U_COMPARE_CODE_POINT_ORDER 0x8000
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Option bit for unorm_compare:
|
|
163
|
+
* Perform case-insensitive comparison.
|
|
164
|
+
* @stable ICU 2.2
|
|
165
|
+
*/
|
|
166
|
+
#define U_COMPARE_IGNORE_CASE 0x10000
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Option bit for unorm_compare:
|
|
170
|
+
* Both input strings are assumed to fulfill FCD conditions.
|
|
171
|
+
* @stable ICU 2.2
|
|
172
|
+
*/
|
|
173
|
+
#define UNORM_INPUT_IS_FCD 0x20000
|
|
174
|
+
|
|
175
|
+
// Related definitions elsewhere.
|
|
176
|
+
// Options that are not meaningful in the same functions
|
|
177
|
+
// can share the same bits.
|
|
178
|
+
//
|
|
179
|
+
// Public:
|
|
180
|
+
// unicode/unorm.h #define UNORM_COMPARE_NORM_OPTIONS_SHIFT 20
|
|
181
|
+
//
|
|
182
|
+
// Internal: (may change or be removed)
|
|
183
|
+
// ucase.h #define _STRCASECMP_OPTIONS_MASK 0xffff
|
|
184
|
+
// ucase.h #define _FOLD_CASE_OPTIONS_MASK 7
|
|
185
|
+
// ucasemap_imp.h #define U_TITLECASE_ITERATOR_MASK 0xe0
|
|
186
|
+
// ucasemap_imp.h #define U_TITLECASE_ADJUSTMENT_MASK 0x600
|
|
187
|
+
// ustr_imp.h #define _STRNCMP_STYLE 0x1000
|
|
188
|
+
// unormcmp.cpp #define _COMPARE_EQUIV 0x80000
|
|
189
|
+
|
|
190
|
+
#endif // __STRINGOPTIONS_H__
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
// © 2016 and later: Unicode, Inc. and others.
|
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
|
3
|
+
// Copyright (C) 2009-2013, International Business Machines
|
|
4
|
+
// Corporation and others. All Rights Reserved.
|
|
5
|
+
//
|
|
6
|
+
// Copyright 2001 and onwards Google Inc.
|
|
7
|
+
// Author: Sanjay Ghemawat
|
|
8
|
+
|
|
9
|
+
// This code is a contribution of Google code, and the style used here is
|
|
10
|
+
// a compromise between the original Google code and the ICU coding guidelines.
|
|
11
|
+
// For example, data types are ICU-ified (size_t,int->int32_t),
|
|
12
|
+
// and API comments doxygen-ified, but function names and behavior are
|
|
13
|
+
// as in the original, if possible.
|
|
14
|
+
// Assertion-style error handling, not available in ICU, was changed to
|
|
15
|
+
// parameter "pinning" similar to UnicodeString.
|
|
16
|
+
//
|
|
17
|
+
// In addition, this is only a partial port of the original Google code,
|
|
18
|
+
// limited to what was needed so far. The (nearly) complete original code
|
|
19
|
+
// is in the ICU svn repository at icuhtml/trunk/design/strings/contrib
|
|
20
|
+
// (see ICU ticket 6765, r25517).
|
|
21
|
+
|
|
22
|
+
#ifndef __STRINGPIECE_H__
|
|
23
|
+
#define __STRINGPIECE_H__
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* \file
|
|
27
|
+
* \brief C++ API: StringPiece: Read-only byte string wrapper class.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
#include <_foundation_unicode/utypes.h>
|
|
31
|
+
|
|
32
|
+
#if U_SHOW_CPLUSPLUS_API
|
|
33
|
+
|
|
34
|
+
#include <cstddef>
|
|
35
|
+
#include <string_view>
|
|
36
|
+
#include <type_traits>
|
|
37
|
+
|
|
38
|
+
#include <_foundation_unicode/uobject.h>
|
|
39
|
+
#include <_foundation_unicode/std_string.h>
|
|
40
|
+
|
|
41
|
+
// Arghh! I wish C++ literals were "string".
|
|
42
|
+
|
|
43
|
+
U_NAMESPACE_BEGIN
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* A string-like object that points to a sized piece of memory.
|
|
47
|
+
*
|
|
48
|
+
* We provide non-explicit singleton constructors so users can pass
|
|
49
|
+
* in a "const char*" or a "string" wherever a "StringPiece" is
|
|
50
|
+
* expected.
|
|
51
|
+
*
|
|
52
|
+
* Functions or methods may use StringPiece parameters to accept either a
|
|
53
|
+
* "const char*" or a "string" value that will be implicitly converted to a
|
|
54
|
+
* StringPiece.
|
|
55
|
+
*
|
|
56
|
+
* Systematic usage of StringPiece is encouraged as it will reduce unnecessary
|
|
57
|
+
* conversions from "const char*" to "string" and back again.
|
|
58
|
+
*
|
|
59
|
+
* @stable ICU 4.2
|
|
60
|
+
*/
|
|
61
|
+
class U_COMMON_API StringPiece : public UMemory {
|
|
62
|
+
private:
|
|
63
|
+
const char* ptr_;
|
|
64
|
+
int32_t length_;
|
|
65
|
+
|
|
66
|
+
public:
|
|
67
|
+
/**
|
|
68
|
+
* Default constructor, creates an empty StringPiece.
|
|
69
|
+
* @stable ICU 4.2
|
|
70
|
+
*/
|
|
71
|
+
StringPiece() : ptr_(nullptr), length_(0) { }
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Constructs from a NUL-terminated const char * pointer.
|
|
75
|
+
* @param str a NUL-terminated const char * pointer
|
|
76
|
+
* @stable ICU 4.2
|
|
77
|
+
*/
|
|
78
|
+
StringPiece(const char* str);
|
|
79
|
+
#if defined(__cpp_char8_t) || defined(U_IN_DOXYGEN)
|
|
80
|
+
/**
|
|
81
|
+
* Constructs from a NUL-terminated const char8_t * pointer.
|
|
82
|
+
* @param str a NUL-terminated const char8_t * pointer
|
|
83
|
+
* @stable ICU 67
|
|
84
|
+
*/
|
|
85
|
+
StringPiece(const char8_t* str) : StringPiece(reinterpret_cast<const char*>(str)) {}
|
|
86
|
+
#endif
|
|
87
|
+
/**
|
|
88
|
+
* Constructs an empty StringPiece.
|
|
89
|
+
* Needed for type disambiguation from multiple other overloads.
|
|
90
|
+
* @param p nullptr
|
|
91
|
+
* @stable ICU 67
|
|
92
|
+
*/
|
|
93
|
+
StringPiece(std::nullptr_t p) : ptr_(p), length_(0) {}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Constructs from a std::string.
|
|
97
|
+
* @stable ICU 4.2
|
|
98
|
+
*/
|
|
99
|
+
StringPiece(const std::string& str)
|
|
100
|
+
: ptr_(str.data()), length_(static_cast<int32_t>(str.size())) { }
|
|
101
|
+
#if defined(__cpp_lib_char8_t) || defined(U_IN_DOXYGEN)
|
|
102
|
+
/**
|
|
103
|
+
* Constructs from a std::u8string.
|
|
104
|
+
* @stable ICU 67
|
|
105
|
+
*/
|
|
106
|
+
StringPiece(const std::u8string& str)
|
|
107
|
+
: ptr_(reinterpret_cast<const char*>(str.data())),
|
|
108
|
+
length_(static_cast<int32_t>(str.size())) { }
|
|
109
|
+
#endif
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Constructs from some other implementation of a string piece class, from any
|
|
113
|
+
* C++ record type that has these two methods:
|
|
114
|
+
*
|
|
115
|
+
* \code{.cpp}
|
|
116
|
+
*
|
|
117
|
+
* struct OtherStringPieceClass {
|
|
118
|
+
* const char* data(); // or const char8_t*
|
|
119
|
+
* size_t size();
|
|
120
|
+
* };
|
|
121
|
+
*
|
|
122
|
+
* \endcode
|
|
123
|
+
*
|
|
124
|
+
* The other string piece class will typically be std::string_view from C++17
|
|
125
|
+
* or absl::string_view from Abseil.
|
|
126
|
+
*
|
|
127
|
+
* Starting with C++20, data() may also return a const char8_t* pointer,
|
|
128
|
+
* as from std::u8string_view.
|
|
129
|
+
*
|
|
130
|
+
* @param str the other string piece
|
|
131
|
+
* @stable ICU 65
|
|
132
|
+
*/
|
|
133
|
+
template <typename T,
|
|
134
|
+
typename = std::enable_if_t<
|
|
135
|
+
(std::is_same_v<decltype(T().data()), const char*>
|
|
136
|
+
#if defined(__cpp_char8_t)
|
|
137
|
+
|| std::is_same_v<decltype(T().data()), const char8_t*>
|
|
138
|
+
#endif
|
|
139
|
+
) &&
|
|
140
|
+
std::is_same_v<decltype(T().size()), size_t>>>
|
|
141
|
+
StringPiece(T str)
|
|
142
|
+
: ptr_(reinterpret_cast<const char*>(str.data())),
|
|
143
|
+
length_(static_cast<int32_t>(str.size())) {}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Constructs from a const char * pointer and a specified length.
|
|
147
|
+
* @param offset a const char * pointer (need not be terminated)
|
|
148
|
+
* @param len the length of the string; must be non-negative
|
|
149
|
+
* @stable ICU 4.2
|
|
150
|
+
*/
|
|
151
|
+
StringPiece(const char* offset, int32_t len) : ptr_(offset), length_(len) { }
|
|
152
|
+
#if defined(__cpp_char8_t) || defined(U_IN_DOXYGEN)
|
|
153
|
+
/**
|
|
154
|
+
* Constructs from a const char8_t * pointer and a specified length.
|
|
155
|
+
* @param str a const char8_t * pointer (need not be terminated)
|
|
156
|
+
* @param len the length of the string; must be non-negative
|
|
157
|
+
* @stable ICU 67
|
|
158
|
+
*/
|
|
159
|
+
StringPiece(const char8_t* str, int32_t len) :
|
|
160
|
+
StringPiece(reinterpret_cast<const char*>(str), len) {}
|
|
161
|
+
#endif
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Substring of another StringPiece.
|
|
165
|
+
* @param x the other StringPiece
|
|
166
|
+
* @param pos start position in x; must be non-negative and <= x.length().
|
|
167
|
+
* @stable ICU 4.2
|
|
168
|
+
*/
|
|
169
|
+
StringPiece(const StringPiece& x, int32_t pos);
|
|
170
|
+
/**
|
|
171
|
+
* Substring of another StringPiece.
|
|
172
|
+
* @param x the other StringPiece
|
|
173
|
+
* @param pos start position in x; must be non-negative and <= x.length().
|
|
174
|
+
* @param len length of the substring;
|
|
175
|
+
* must be non-negative and will be pinned to at most x.length() - pos.
|
|
176
|
+
* @stable ICU 4.2
|
|
177
|
+
*/
|
|
178
|
+
StringPiece(const StringPiece& x, int32_t pos, int32_t len);
|
|
179
|
+
|
|
180
|
+
#ifndef U_HIDE_INTERNAL_API
|
|
181
|
+
/**
|
|
182
|
+
* Converts to a std::string_view().
|
|
183
|
+
* @internal
|
|
184
|
+
*/
|
|
185
|
+
inline operator std::string_view() const {
|
|
186
|
+
return {data(), static_cast<std::string_view::size_type>(size())};
|
|
187
|
+
}
|
|
188
|
+
#endif // U_HIDE_INTERNAL_API
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Returns the string pointer. May be nullptr if it is empty.
|
|
192
|
+
*
|
|
193
|
+
* data() may return a pointer to a buffer with embedded NULs, and the
|
|
194
|
+
* returned buffer may or may not be null terminated. Therefore it is
|
|
195
|
+
* typically a mistake to pass data() to a routine that expects a NUL
|
|
196
|
+
* terminated string.
|
|
197
|
+
* @return the string pointer
|
|
198
|
+
* @stable ICU 4.2
|
|
199
|
+
*/
|
|
200
|
+
const char* data() const { return ptr_; }
|
|
201
|
+
/**
|
|
202
|
+
* Returns the string length. Same as length().
|
|
203
|
+
* @return the string length
|
|
204
|
+
* @stable ICU 4.2
|
|
205
|
+
*/
|
|
206
|
+
int32_t size() const { return length_; }
|
|
207
|
+
/**
|
|
208
|
+
* Returns the string length. Same as size().
|
|
209
|
+
* @return the string length
|
|
210
|
+
* @stable ICU 4.2
|
|
211
|
+
*/
|
|
212
|
+
int32_t length() const { return length_; }
|
|
213
|
+
/**
|
|
214
|
+
* Returns whether the string is empty.
|
|
215
|
+
* @return true if the string is empty
|
|
216
|
+
* @stable ICU 4.2
|
|
217
|
+
*/
|
|
218
|
+
UBool empty() const { return length_ == 0; }
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Sets to an empty string.
|
|
222
|
+
* @stable ICU 4.2
|
|
223
|
+
*/
|
|
224
|
+
void clear() { ptr_ = nullptr; length_ = 0; }
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Reset the stringpiece to refer to new data.
|
|
228
|
+
* @param xdata pointer the new string data. Need not be nul terminated.
|
|
229
|
+
* @param len the length of the new data
|
|
230
|
+
* @stable ICU 4.8
|
|
231
|
+
*/
|
|
232
|
+
void set(const char* xdata, int32_t len) { ptr_ = xdata; length_ = len; }
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Reset the stringpiece to refer to new data.
|
|
236
|
+
* @param str a pointer to a NUL-terminated string.
|
|
237
|
+
* @stable ICU 4.8
|
|
238
|
+
*/
|
|
239
|
+
void set(const char* str);
|
|
240
|
+
|
|
241
|
+
#if defined(__cpp_char8_t) || defined(U_IN_DOXYGEN)
|
|
242
|
+
/**
|
|
243
|
+
* Resets the stringpiece to refer to new data.
|
|
244
|
+
* @param xdata pointer the new string data. Need not be NUL-terminated.
|
|
245
|
+
* @param len the length of the new data
|
|
246
|
+
* @stable ICU 67
|
|
247
|
+
*/
|
|
248
|
+
inline void set(const char8_t* xdata, int32_t len) {
|
|
249
|
+
set(reinterpret_cast<const char*>(xdata), len);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Resets the stringpiece to refer to new data.
|
|
254
|
+
* @param str a pointer to a NUL-terminated string.
|
|
255
|
+
* @stable ICU 67
|
|
256
|
+
*/
|
|
257
|
+
inline void set(const char8_t* str) {
|
|
258
|
+
set(reinterpret_cast<const char*>(str));
|
|
259
|
+
}
|
|
260
|
+
#endif
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Removes the first n string units.
|
|
264
|
+
* @param n prefix length, must be non-negative and <=length()
|
|
265
|
+
* @stable ICU 4.2
|
|
266
|
+
*/
|
|
267
|
+
void remove_prefix(int32_t n) {
|
|
268
|
+
if (n >= 0) {
|
|
269
|
+
if (n > length_) {
|
|
270
|
+
n = length_;
|
|
271
|
+
}
|
|
272
|
+
ptr_ += n;
|
|
273
|
+
length_ -= n;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Removes the last n string units.
|
|
279
|
+
* @param n suffix length, must be non-negative and <=length()
|
|
280
|
+
* @stable ICU 4.2
|
|
281
|
+
*/
|
|
282
|
+
void remove_suffix(int32_t n) {
|
|
283
|
+
if (n >= 0) {
|
|
284
|
+
if (n <= length_) {
|
|
285
|
+
length_ -= n;
|
|
286
|
+
} else {
|
|
287
|
+
length_ = 0;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Searches the StringPiece for the given search string (needle);
|
|
294
|
+
* @param needle The string for which to search.
|
|
295
|
+
* @param offset Where to start searching within this string (haystack).
|
|
296
|
+
* @return The offset of needle in haystack, or -1 if not found.
|
|
297
|
+
* @stable ICU 67
|
|
298
|
+
*/
|
|
299
|
+
int32_t find(StringPiece needle, int32_t offset);
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Compares this StringPiece with the other StringPiece, with semantics
|
|
303
|
+
* similar to std::string::compare().
|
|
304
|
+
* @param other The string to compare to.
|
|
305
|
+
* @return below zero if this < other; above zero if this > other; 0 if this == other.
|
|
306
|
+
* @stable ICU 67
|
|
307
|
+
*/
|
|
308
|
+
int32_t compare(StringPiece other);
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Maximum integer, used as a default value for substring methods.
|
|
312
|
+
* @stable ICU 4.2
|
|
313
|
+
*/
|
|
314
|
+
static const int32_t npos; // = 0x7fffffff;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Returns a substring of this StringPiece.
|
|
318
|
+
* @param pos start position; must be non-negative and <= length().
|
|
319
|
+
* @param len length of the substring;
|
|
320
|
+
* must be non-negative and will be pinned to at most length() - pos.
|
|
321
|
+
* @return the substring StringPiece
|
|
322
|
+
* @stable ICU 4.2
|
|
323
|
+
*/
|
|
324
|
+
StringPiece substr(int32_t pos, int32_t len = npos) const {
|
|
325
|
+
return StringPiece(*this, pos, len);
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Global operator == for StringPiece
|
|
331
|
+
* @param x The first StringPiece to compare.
|
|
332
|
+
* @param y The second StringPiece to compare.
|
|
333
|
+
* @return true if the string data is equal
|
|
334
|
+
* @stable ICU 4.8
|
|
335
|
+
*/
|
|
336
|
+
U_EXPORT UBool U_EXPORT2
|
|
337
|
+
operator==(const StringPiece& x, const StringPiece& y);
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Global operator != for StringPiece
|
|
341
|
+
* @param x The first StringPiece to compare.
|
|
342
|
+
* @param y The second StringPiece to compare.
|
|
343
|
+
* @return true if the string data is not equal
|
|
344
|
+
* @stable ICU 4.8
|
|
345
|
+
*/
|
|
346
|
+
inline bool operator!=(const StringPiece& x, const StringPiece& y) {
|
|
347
|
+
return !(x == y);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
U_NAMESPACE_END
|
|
351
|
+
|
|
352
|
+
#endif /* U_SHOW_CPLUSPLUS_API */
|
|
353
|
+
|
|
354
|
+
#endif // __STRINGPIECE_H__
|