@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.
Files changed (368) hide show
  1. package/LICENSE.txt +1445 -0
  2. package/README.md +24 -2
  3. package/files.json +366 -0
  4. package/package.json +18 -4
  5. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLparser.h +320 -0
  6. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLtree.h +147 -0
  7. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX.h +204 -0
  8. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX2.h +173 -0
  9. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/c14n.h +128 -0
  10. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/catalog.h +182 -0
  11. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/chvalid.h +230 -0
  12. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/debugXML.h +217 -0
  13. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/dict.h +81 -0
  14. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/encoding.h +233 -0
  15. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/entities.h +151 -0
  16. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/globals.h +529 -0
  17. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/hash.h +236 -0
  18. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/list.h +137 -0
  19. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanoftp.h +186 -0
  20. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanohttp.h +81 -0
  21. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parser.h +1265 -0
  22. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parserInternals.h +662 -0
  23. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/pattern.h +100 -0
  24. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/relaxng.h +218 -0
  25. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schemasInternals.h +958 -0
  26. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schematron.h +142 -0
  27. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/threads.h +94 -0
  28. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h +1314 -0
  29. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/uri.h +94 -0
  30. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/valid.h +448 -0
  31. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xinclude.h +129 -0
  32. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xlink.h +189 -0
  33. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlIO.h +369 -0
  34. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlautomata.h +146 -0
  35. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlerror.h +919 -0
  36. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlexports.h +50 -0
  37. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmemory.h +228 -0
  38. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmodule.h +57 -0
  39. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h +428 -0
  40. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlregexp.h +222 -0
  41. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlsave.h +88 -0
  42. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemas.h +246 -0
  43. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemastypes.h +152 -0
  44. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlstring.h +140 -0
  45. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlunicode.h +202 -0
  46. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlversion.h +526 -0
  47. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlwriter.h +488 -0
  48. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpath.h +575 -0
  49. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpathInternals.h +632 -0
  50. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpointer.h +137 -0
  51. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFArray.h +673 -0
  52. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedString.h +157 -0
  53. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedStringPriv.h +25 -0
  54. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAvailability.h +236 -0
  55. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBag.h +97 -0
  56. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBase.h +702 -0
  57. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBigNumber.h +76 -0
  58. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBinaryHeap.h +294 -0
  59. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBitVector.h +49 -0
  60. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle.h +349 -0
  61. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundlePriv.h +334 -0
  62. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle_BinaryTypes.h +61 -0
  63. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBurstTrie.h +181 -0
  64. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFByteOrder.h +305 -0
  65. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendar.h +116 -0
  66. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendarPriv.h +52 -0
  67. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSet.h +387 -0
  68. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSetPriv.h +78 -0
  69. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFConstantKeys.h +128 -0
  70. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFData.h +79 -0
  71. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDate.h +113 -0
  72. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateComponents.h +92 -0
  73. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter.h +193 -0
  74. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter_Private.h +31 -0
  75. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateInterval.h +62 -0
  76. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateIntervalFormatter.h +96 -0
  77. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDictionary.h +674 -0
  78. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError.h +183 -0
  79. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError_Private.h +27 -0
  80. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFKnownLocations.h +42 -0
  81. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFListFormatter.h +32 -0
  82. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale.h +204 -0
  83. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale_Private.h +35 -0
  84. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocking.h +124 -0
  85. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLogUtilities.h +52 -0
  86. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMachPort.h +53 -0
  87. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMessagePort.h +66 -0
  88. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNotificationCenter.h +81 -0
  89. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber.h +129 -0
  90. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumberFormatter.h +174 -0
  91. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber_Private.h +30 -0
  92. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFOverflow.h +88 -0
  93. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugIn.h +124 -0
  94. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugInCOM.h +117 -0
  95. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPreferences.h +130 -0
  96. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPriv.h +721 -0
  97. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList.h +151 -0
  98. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList_Private.h +19 -0
  99. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRegularExpression.h +68 -0
  100. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRelativeDateTimeFormatter.h +61 -0
  101. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunArray.h +57 -0
  102. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunLoop.h +203 -0
  103. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRuntime.h +281 -0
  104. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSet.h +491 -0
  105. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSocket.h +220 -0
  106. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStorage.h +296 -0
  107. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStream.h +505 -0
  108. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamAbstract.h +181 -0
  109. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamPriv.h +126 -0
  110. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString.h +915 -0
  111. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringDefaultEncoding.h +45 -0
  112. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverter.h +82 -0
  113. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterExt.h +121 -0
  114. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterPriv.h +47 -0
  115. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingDatabase.h +23 -0
  116. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingExt.h +184 -0
  117. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString_Private.h +32 -0
  118. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTargetConditionals.h +284 -0
  119. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTimeZone.h +98 -0
  120. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTree.h +330 -0
  121. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURL.h +1256 -0
  122. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLAccess.h +128 -0
  123. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLComponents.h +123 -0
  124. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLPriv.h +879 -0
  125. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUUID.h +78 -0
  126. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUniChar.h +244 -0
  127. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodeDecomposition.h +35 -0
  128. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodePrecomposition.h +23 -0
  129. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUserNotification.h +185 -0
  130. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUtilities.h +27 -0
  131. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h +105 -0
  132. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForFoundationOnly.h +816 -0
  133. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h +689 -0
  134. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/module.modulemap +8 -0
  135. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/static-module.map +7 -0
  136. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.h +17 -0
  137. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.inc.h +14707 -0
  138. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapDataAccess.h +16 -0
  139. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsMacros.h +24 -0
  140. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsTargetConditionals.h +56 -0
  141. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CStdlib.h +169 -0
  142. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_FoundationCShims.h +32 -0
  143. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/bplist_shims.h +19 -0
  144. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/filemanager_shims.h +156 -0
  145. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/io_shims.h +89 -0
  146. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/module.modulemap +5 -0
  147. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/platform_shims.h +112 -0
  148. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/string_shims.h +52 -0
  149. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/uuid.h +81 -0
  150. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/alphaindex.h +766 -0
  151. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/appendable.h +239 -0
  152. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/basictz.h +248 -0
  153. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/brkiter.h +694 -0
  154. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestream.h +307 -0
  155. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestrie.h +568 -0
  156. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestriebuilder.h +193 -0
  157. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/calendar.h +2609 -0
  158. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/caniter.h +215 -0
  159. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/casemap.h +497 -0
  160. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/char16ptr.h +384 -0
  161. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/chariter.h +734 -0
  162. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/choicfmt.h +601 -0
  163. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coleitr.h +411 -0
  164. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coll.h +1387 -0
  165. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/compactdecimalformat.h +196 -0
  166. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/curramt.h +133 -0
  167. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currpinf.h +274 -0
  168. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currunit.h +146 -0
  169. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/datefmt.h +968 -0
  170. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dbbi.h +48 -0
  171. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dcfmtsym.h +636 -0
  172. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/decimfmt.h +2233 -0
  173. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/displayoptions.h +270 -0
  174. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/docmain.h +247 -0
  175. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtfmtsym.h +1055 -0
  176. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtintrv.h +163 -0
  177. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvfmt.h +1231 -0
  178. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvinf.h +524 -0
  179. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtptngen.h +676 -0
  180. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtrule.h +256 -0
  181. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/edits.h +531 -0
  182. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/enumset.h +69 -0
  183. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/errorcode.h +144 -0
  184. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fieldpos.h +298 -0
  185. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/filteredbrk.h +152 -0
  186. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fmtable.h +758 -0
  187. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/format.h +316 -0
  188. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattednumber.h +215 -0
  189. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattedvalue.h +318 -0
  190. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fpositer.h +124 -0
  191. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gender.h +122 -0
  192. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gregocal.h +737 -0
  193. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icudataver.h +43 -0
  194. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icuplug.h +391 -0
  195. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/idna.h +333 -0
  196. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/listformatter.h +291 -0
  197. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localebuilder.h +309 -0
  198. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localematcher.h +710 -0
  199. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localpointer.h +609 -0
  200. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locdspnm.h +211 -0
  201. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locid.h +1293 -0
  202. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measfmt.h +501 -0
  203. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measunit.h +3928 -0
  204. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measure.h +174 -0
  205. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/messagepattern.h +950 -0
  206. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/module.modulemap +209 -0
  207. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/msgfmt.h +1117 -0
  208. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normalizer2.h +791 -0
  209. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normlzr.h +816 -0
  210. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/nounit.h +86 -0
  211. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberformatter.h +2862 -0
  212. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberrangeformatter.h +802 -0
  213. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numfmt.h +1299 -0
  214. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numsys.h +220 -0
  215. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parseerr.h +94 -0
  216. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parsepos.h +237 -0
  217. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/platform.h +874 -0
  218. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurfmt.h +601 -0
  219. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurrule.h +591 -0
  220. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ptypes.h +66 -0
  221. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/putil.h +183 -0
  222. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbbi.h +902 -0
  223. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbnf.h +1153 -0
  224. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbtz.h +373 -0
  225. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/regex.h +1882 -0
  226. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/region.h +229 -0
  227. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/reldatefmt.h +758 -0
  228. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rep.h +266 -0
  229. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/resbund.h +489 -0
  230. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/schriter.h +187 -0
  231. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/scientificnumberformatter.h +222 -0
  232. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/search.h +580 -0
  233. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/selfmt.h +374 -0
  234. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpleformatter.h +414 -0
  235. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simplenumberformatter.h +326 -0
  236. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpletz.h +940 -0
  237. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/smpdtfmt.h +1383 -0
  238. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/sortkey.h +344 -0
  239. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/std_string.h +41 -0
  240. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/strenum.h +281 -0
  241. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringoptions.h +190 -0
  242. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringpiece.h +354 -0
  243. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringtriebuilder.h +426 -0
  244. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stsearch.h +509 -0
  245. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/symtable.h +119 -0
  246. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tblcoll.h +886 -0
  247. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/timezone.h +1067 -0
  248. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmunit.h +142 -0
  249. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutamt.h +174 -0
  250. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutfmt.h +238 -0
  251. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/translit.h +1593 -0
  252. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzfmt.h +1102 -0
  253. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tznames.h +419 -0
  254. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzrule.h +820 -0
  255. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tztrans.h +201 -0
  256. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ualoc.h +372 -0
  257. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureformat.h +487 -0
  258. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureunit.h +249 -0
  259. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimeunitformat.h +377 -0
  260. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimezone.h +114 -0
  261. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubidi.h +2368 -0
  262. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubiditransform.h +326 -0
  263. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubrk.h +684 -0
  264. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucal.h +1825 -0
  265. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucasemap.h +388 -0
  266. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucat.h +160 -0
  267. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchar.h +4410 -0
  268. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstrie.h +623 -0
  269. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstriebuilder.h +193 -0
  270. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchriter.h +393 -0
  271. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uclean.h +262 -0
  272. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv.h +2053 -0
  273. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_cb.h +164 -0
  274. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_err.h +465 -0
  275. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnvsel.h +193 -0
  276. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucol.h +1649 -0
  277. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucoleitr.h +344 -0
  278. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uconfig.h +501 -0
  279. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucpmap.h +158 -0
  280. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucptrie.h +645 -0
  281. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucsdet.h +426 -0
  282. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucurr.h +466 -0
  283. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udat.h +1767 -0
  284. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udata.h +454 -0
  285. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udateintervalformat.h +458 -0
  286. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatintv.h +146 -0
  287. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatpg.h +806 -0
  288. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplaycontext.h +233 -0
  289. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplayoptions.h +321 -0
  290. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uenum.h +209 -0
  291. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ufieldpositer.h +123 -0
  292. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattable.h +290 -0
  293. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattednumber.h +224 -0
  294. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattedvalue.h +445 -0
  295. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ugender.h +86 -0
  296. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uidna.h +794 -0
  297. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uiter.h +709 -0
  298. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uldnames.h +307 -0
  299. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulistformatter.h +333 -0
  300. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uloc.h +1437 -0
  301. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocale.h +226 -0
  302. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocbuilder.h +437 -0
  303. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocdata.h +299 -0
  304. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umachine.h +491 -0
  305. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umisc.h +62 -0
  306. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umsg.h +628 -0
  307. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umutablecptrie.h +240 -0
  308. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifilt.h +136 -0
  309. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifunct.h +132 -0
  310. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unimatch.h +168 -0
  311. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unirepl.h +103 -0
  312. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uniset.h +1909 -0
  313. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unistr.h +5095 -0
  314. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm.h +476 -0
  315. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm2.h +626 -0
  316. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unum.h +1524 -0
  317. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberformatter.h +576 -0
  318. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberoptions.h +173 -0
  319. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberrangeformatter.h +471 -0
  320. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumsys.h +176 -0
  321. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uobject.h +324 -0
  322. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uplrule.h +82 -0
  323. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/upluralrules.h +263 -0
  324. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urbtok.h +276 -0
  325. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregex.h +1617 -0
  326. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregion.h +252 -0
  327. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ureldatefmt.h +510 -0
  328. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urename.h +4026 -0
  329. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urep.h +157 -0
  330. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ures.h +912 -0
  331. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uscript.h +742 -0
  332. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usearch.h +911 -0
  333. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uset.h +1898 -0
  334. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usetiter.h +323 -0
  335. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ushape.h +476 -0
  336. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usimplenumberformatter.h +297 -0
  337. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uspoof.h +1852 -0
  338. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usprep.h +274 -0
  339. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustdio.h +1021 -0
  340. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustream.h +69 -0
  341. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustring.h +1719 -0
  342. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustringtrie.h +97 -0
  343. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utext.h +1613 -0
  344. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf.h +225 -0
  345. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf16.h +740 -0
  346. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf32.h +25 -0
  347. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf8.h +882 -0
  348. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf_old.h +1207 -0
  349. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utmscale.h +490 -0
  350. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrace.h +506 -0
  351. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrans.h +660 -0
  352. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utypes.h +826 -0
  353. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uvernum.h +191 -0
  354. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uversion.h +230 -0
  355. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/vtzone.h +471 -0
  356. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Foundation.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  357. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationEssentials.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  358. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationInternationalization.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  359. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationXML.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  360. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_FoundationCollections.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  361. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libCoreFoundation.a +0 -0
  362. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a +0 -0
  363. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a +0 -0
  364. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a +0 -0
  365. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationXML.a +0 -0
  366. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_CFXMLInterface.a +0 -0
  367. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCShims.a +0 -0
  368. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a +0 -0
@@ -0,0 +1,709 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ *******************************************************************************
5
+ *
6
+ * Copyright (C) 2002-2011 International Business Machines
7
+ * Corporation and others. All Rights Reserved.
8
+ *
9
+ *******************************************************************************
10
+ * file name: uiter.h
11
+ * encoding: UTF-8
12
+ * tab size: 8 (not used)
13
+ * indentation:4
14
+ *
15
+ * created on: 2002jan18
16
+ * created by: Markus W. Scherer
17
+ */
18
+
19
+ #ifndef __UITER_H__
20
+ #define __UITER_H__
21
+
22
+ /**
23
+ * \file
24
+ * \brief C API: Unicode Character Iteration
25
+ *
26
+ * @see UCharIterator
27
+ */
28
+
29
+ #include <_foundation_unicode/utypes.h>
30
+
31
+ #if U_SHOW_CPLUSPLUS_API
32
+ U_NAMESPACE_BEGIN
33
+
34
+ class CharacterIterator;
35
+ class Replaceable;
36
+
37
+ U_NAMESPACE_END
38
+ #endif
39
+
40
+ U_CDECL_BEGIN
41
+
42
+ struct UCharIterator;
43
+ typedef struct UCharIterator UCharIterator; /**< C typedef for struct UCharIterator. @stable ICU 2.1 */
44
+
45
+ /**
46
+ * Origin constants for UCharIterator.getIndex() and UCharIterator.move().
47
+ * @see UCharIteratorMove
48
+ * @see UCharIterator
49
+ * @stable ICU 2.1
50
+ */
51
+ typedef enum UCharIteratorOrigin {
52
+ UITER_START, UITER_CURRENT, UITER_LIMIT, UITER_ZERO, UITER_LENGTH
53
+ } UCharIteratorOrigin;
54
+
55
+ /** Constants for UCharIterator. @stable ICU 2.6 */
56
+ enum {
57
+ /**
58
+ * Constant value that may be returned by UCharIteratorMove
59
+ * indicating that the final UTF-16 index is not known, but that the move succeeded.
60
+ * This can occur when moving relative to limit or length, or
61
+ * when moving relative to the current index after a setState()
62
+ * when the current UTF-16 index is not known.
63
+ *
64
+ * It would be very inefficient to have to count from the beginning of the text
65
+ * just to get the current/limit/length index after moving relative to it.
66
+ * The actual index can be determined with getIndex(UITER_CURRENT)
67
+ * which will count the UChars if necessary.
68
+ *
69
+ * @stable ICU 2.6
70
+ */
71
+ UITER_UNKNOWN_INDEX=-2
72
+ };
73
+
74
+
75
+ /**
76
+ * Constant for UCharIterator getState() indicating an error or
77
+ * an unknown state.
78
+ * Returned by uiter_getState()/UCharIteratorGetState
79
+ * when an error occurs.
80
+ * Also, some UCharIterator implementations may not be able to return
81
+ * a valid state for each position. This will be clearly documented
82
+ * for each such iterator (none of the public ones here).
83
+ *
84
+ * @stable ICU 2.6
85
+ */
86
+ #define UITER_NO_STATE ((uint32_t)0xffffffff)
87
+
88
+ /**
89
+ * Function type declaration for UCharIterator.getIndex().
90
+ *
91
+ * Gets the current position, or the start or limit of the
92
+ * iteration range.
93
+ *
94
+ * This function may perform slowly for UITER_CURRENT after setState() was called,
95
+ * or for UITER_LENGTH, because an iterator implementation may have to count
96
+ * UChars if the underlying storage is not UTF-16.
97
+ *
98
+ * @param iter the UCharIterator structure ("this pointer")
99
+ * @param origin get the 0, start, limit, length, or current index
100
+ * @return the requested index, or U_SENTINEL in an error condition
101
+ *
102
+ * @see UCharIteratorOrigin
103
+ * @see UCharIterator
104
+ * @stable ICU 2.1
105
+ */
106
+ typedef int32_t U_CALLCONV
107
+ UCharIteratorGetIndex(UCharIterator *iter, UCharIteratorOrigin origin);
108
+
109
+ /**
110
+ * Function type declaration for UCharIterator.move().
111
+ *
112
+ * Use iter->move(iter, index, UITER_ZERO) like CharacterIterator::setIndex(index).
113
+ *
114
+ * Moves the current position relative to the start or limit of the
115
+ * iteration range, or relative to the current position itself.
116
+ * The movement is expressed in numbers of code units forward
117
+ * or backward by specifying a positive or negative delta.
118
+ * Out of bounds movement will be pinned to the start or limit.
119
+ *
120
+ * This function may perform slowly for moving relative to UITER_LENGTH
121
+ * because an iterator implementation may have to count the rest of the
122
+ * UChars if the native storage is not UTF-16.
123
+ *
124
+ * When moving relative to the limit or length, or
125
+ * relative to the current position after setState() was called,
126
+ * move() may return UITER_UNKNOWN_INDEX (-2) to avoid an inefficient
127
+ * determination of the actual UTF-16 index.
128
+ * The actual index can be determined with getIndex(UITER_CURRENT)
129
+ * which will count the UChars if necessary.
130
+ * See UITER_UNKNOWN_INDEX for details.
131
+ *
132
+ * @param iter the UCharIterator structure ("this pointer")
133
+ * @param delta can be positive, zero, or negative
134
+ * @param origin move relative to the 0, start, limit, length, or current index
135
+ * @return the new index, or U_SENTINEL on an error condition,
136
+ * or UITER_UNKNOWN_INDEX when the index is not known.
137
+ *
138
+ * @see UCharIteratorOrigin
139
+ * @see UCharIterator
140
+ * @see UITER_UNKNOWN_INDEX
141
+ * @stable ICU 2.1
142
+ */
143
+ typedef int32_t U_CALLCONV
144
+ UCharIteratorMove(UCharIterator *iter, int32_t delta, UCharIteratorOrigin origin);
145
+
146
+ /**
147
+ * Function type declaration for UCharIterator.hasNext().
148
+ *
149
+ * Check if current() and next() can still
150
+ * return another code unit.
151
+ *
152
+ * @param iter the UCharIterator structure ("this pointer")
153
+ * @return boolean value for whether current() and next() can still return another code unit
154
+ *
155
+ * @see UCharIterator
156
+ * @stable ICU 2.1
157
+ */
158
+ typedef UBool U_CALLCONV
159
+ UCharIteratorHasNext(UCharIterator *iter);
160
+
161
+ /**
162
+ * Function type declaration for UCharIterator.hasPrevious().
163
+ *
164
+ * Check if previous() can still return another code unit.
165
+ *
166
+ * @param iter the UCharIterator structure ("this pointer")
167
+ * @return boolean value for whether previous() can still return another code unit
168
+ *
169
+ * @see UCharIterator
170
+ * @stable ICU 2.1
171
+ */
172
+ typedef UBool U_CALLCONV
173
+ UCharIteratorHasPrevious(UCharIterator *iter);
174
+
175
+ /**
176
+ * Function type declaration for UCharIterator.current().
177
+ *
178
+ * Return the code unit at the current position,
179
+ * or U_SENTINEL if there is none (index is at the limit).
180
+ *
181
+ * @param iter the UCharIterator structure ("this pointer")
182
+ * @return the current code unit
183
+ *
184
+ * @see UCharIterator
185
+ * @stable ICU 2.1
186
+ */
187
+ typedef UChar32 U_CALLCONV
188
+ UCharIteratorCurrent(UCharIterator *iter);
189
+
190
+ /**
191
+ * Function type declaration for UCharIterator.next().
192
+ *
193
+ * Return the code unit at the current index and increment
194
+ * the index (post-increment, like s[i++]),
195
+ * or return U_SENTINEL if there is none (index is at the limit).
196
+ *
197
+ * @param iter the UCharIterator structure ("this pointer")
198
+ * @return the current code unit (and post-increment the current index)
199
+ *
200
+ * @see UCharIterator
201
+ * @stable ICU 2.1
202
+ */
203
+ typedef UChar32 U_CALLCONV
204
+ UCharIteratorNext(UCharIterator *iter);
205
+
206
+ /**
207
+ * Function type declaration for UCharIterator.previous().
208
+ *
209
+ * Decrement the index and return the code unit from there
210
+ * (pre-decrement, like s[--i]),
211
+ * or return U_SENTINEL if there is none (index is at the start).
212
+ *
213
+ * @param iter the UCharIterator structure ("this pointer")
214
+ * @return the previous code unit (after pre-decrementing the current index)
215
+ *
216
+ * @see UCharIterator
217
+ * @stable ICU 2.1
218
+ */
219
+ typedef UChar32 U_CALLCONV
220
+ UCharIteratorPrevious(UCharIterator *iter);
221
+
222
+ /**
223
+ * Function type declaration for UCharIterator.reservedFn().
224
+ * Reserved for future use.
225
+ *
226
+ * @param iter the UCharIterator structure ("this pointer")
227
+ * @param something some integer argument
228
+ * @return some integer
229
+ *
230
+ * @see UCharIterator
231
+ * @stable ICU 2.1
232
+ */
233
+ typedef int32_t U_CALLCONV
234
+ UCharIteratorReserved(UCharIterator *iter, int32_t something);
235
+
236
+ /**
237
+ * Function type declaration for UCharIterator.getState().
238
+ *
239
+ * Get the "state" of the iterator in the form of a single 32-bit word.
240
+ * It is recommended that the state value be calculated to be as small as
241
+ * is feasible. For strings with limited lengths, fewer than 32 bits may
242
+ * be sufficient.
243
+ *
244
+ * This is used together with setState()/UCharIteratorSetState
245
+ * to save and restore the iterator position more efficiently than with
246
+ * getIndex()/move().
247
+ *
248
+ * The iterator state is defined as a uint32_t value because it is designed
249
+ * for use in ucol_nextSortKeyPart() which provides 32 bits to store the state
250
+ * of the character iterator.
251
+ *
252
+ * With some UCharIterator implementations (e.g., UTF-8),
253
+ * getting and setting the UTF-16 index with existing functions
254
+ * (getIndex(UITER_CURRENT) followed by move(pos, UITER_ZERO)) is possible but
255
+ * relatively slow because the iterator has to "walk" from a known index
256
+ * to the requested one.
257
+ * This takes more time the farther it needs to go.
258
+ *
259
+ * An opaque state value allows an iterator implementation to provide
260
+ * an internal index (UTF-8: the source byte array index) for
261
+ * fast, constant-time restoration.
262
+ *
263
+ * After calling setState(), a getIndex(UITER_CURRENT) may be slow because
264
+ * the UTF-16 index may not be restored as well, but the iterator can deliver
265
+ * the correct text contents and move relative to the current position
266
+ * without performance degradation.
267
+ *
268
+ * Some UCharIterator implementations may not be able to return
269
+ * a valid state for each position, in which case they return UITER_NO_STATE instead.
270
+ * This will be clearly documented for each such iterator (none of the public ones here).
271
+ *
272
+ * @param iter the UCharIterator structure ("this pointer")
273
+ * @return the state word
274
+ *
275
+ * @see UCharIterator
276
+ * @see UCharIteratorSetState
277
+ * @see UITER_NO_STATE
278
+ * @stable ICU 2.6
279
+ */
280
+ typedef uint32_t U_CALLCONV
281
+ UCharIteratorGetState(const UCharIterator *iter);
282
+
283
+ /**
284
+ * Function type declaration for UCharIterator.setState().
285
+ *
286
+ * Restore the "state" of the iterator using a state word from a getState() call.
287
+ * The iterator object need not be the same one as for which getState() was called,
288
+ * but it must be of the same type (set up using the same uiter_setXYZ function)
289
+ * and it must iterate over the same string
290
+ * (binary identical regardless of memory address).
291
+ * For more about the state word see UCharIteratorGetState.
292
+ *
293
+ * After calling setState(), a getIndex(UITER_CURRENT) may be slow because
294
+ * the UTF-16 index may not be restored as well, but the iterator can deliver
295
+ * the correct text contents and move relative to the current position
296
+ * without performance degradation.
297
+ *
298
+ * @param iter the UCharIterator structure ("this pointer")
299
+ * @param state the state word from a getState() call
300
+ * on a same-type, same-string iterator
301
+ * @param pErrorCode Must be a valid pointer to an error code value,
302
+ * which must not indicate a failure before the function call.
303
+ *
304
+ * @see UCharIterator
305
+ * @see UCharIteratorGetState
306
+ * @stable ICU 2.6
307
+ */
308
+ typedef void U_CALLCONV
309
+ UCharIteratorSetState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode);
310
+
311
+
312
+ /**
313
+ * C API for code unit iteration.
314
+ * This can be used as a C wrapper around
315
+ * CharacterIterator, Replaceable, or implemented using simple strings, etc.
316
+ *
317
+ * There are two roles for using UCharIterator:
318
+ *
319
+ * A "provider" sets the necessary function pointers and controls the "protected"
320
+ * fields of the UCharIterator structure. A "provider" passes a UCharIterator
321
+ * into C APIs that need a UCharIterator as an abstract, flexible string interface.
322
+ *
323
+ * Implementations of such C APIs are "callers" of UCharIterator functions;
324
+ * they only use the "public" function pointers and never access the "protected"
325
+ * fields directly.
326
+ *
327
+ * The current() and next() functions only check the current index against the
328
+ * limit, and previous() only checks the current index against the start,
329
+ * to see if the iterator already reached the end of the iteration range.
330
+ *
331
+ * The assumption - in all iterators - is that the index is moved via the API,
332
+ * which means it won't go out of bounds, or the index is modified by
333
+ * user code that knows enough about the iterator implementation to set valid
334
+ * index values.
335
+ *
336
+ * UCharIterator functions return code unit values 0..0xffff,
337
+ * or U_SENTINEL if the iteration bounds are reached.
338
+ *
339
+ * @stable ICU 2.1
340
+ */
341
+ struct UCharIterator {
342
+ /**
343
+ * (protected) Pointer to string or wrapped object or similar.
344
+ * Not used by caller.
345
+ * @stable ICU 2.1
346
+ */
347
+ const void *context;
348
+
349
+ /**
350
+ * (protected) Length of string or similar.
351
+ * Not used by caller.
352
+ * @stable ICU 2.1
353
+ */
354
+ int32_t length;
355
+
356
+ /**
357
+ * (protected) Start index or similar.
358
+ * Not used by caller.
359
+ * @stable ICU 2.1
360
+ */
361
+ int32_t start;
362
+
363
+ /**
364
+ * (protected) Current index or similar.
365
+ * Not used by caller.
366
+ * @stable ICU 2.1
367
+ */
368
+ int32_t index;
369
+
370
+ /**
371
+ * (protected) Limit index or similar.
372
+ * Not used by caller.
373
+ * @stable ICU 2.1
374
+ */
375
+ int32_t limit;
376
+
377
+ /**
378
+ * (protected) Used by UTF-8 iterators and possibly others.
379
+ * @stable ICU 2.1
380
+ */
381
+ int32_t reservedField;
382
+
383
+ /**
384
+ * (public) Returns the current position or the
385
+ * start or limit index of the iteration range.
386
+ *
387
+ * @see UCharIteratorGetIndex
388
+ * @stable ICU 2.1
389
+ */
390
+ UCharIteratorGetIndex *getIndex;
391
+
392
+ /**
393
+ * (public) Moves the current position relative to the start or limit of the
394
+ * iteration range, or relative to the current position itself.
395
+ * The movement is expressed in numbers of code units forward
396
+ * or backward by specifying a positive or negative delta.
397
+ *
398
+ * @see UCharIteratorMove
399
+ * @stable ICU 2.1
400
+ */
401
+ UCharIteratorMove *move;
402
+
403
+ /**
404
+ * (public) Check if current() and next() can still
405
+ * return another code unit.
406
+ *
407
+ * @see UCharIteratorHasNext
408
+ * @stable ICU 2.1
409
+ */
410
+ UCharIteratorHasNext *hasNext;
411
+
412
+ /**
413
+ * (public) Check if previous() can still return another code unit.
414
+ *
415
+ * @see UCharIteratorHasPrevious
416
+ * @stable ICU 2.1
417
+ */
418
+ UCharIteratorHasPrevious *hasPrevious;
419
+
420
+ /**
421
+ * (public) Return the code unit at the current position,
422
+ * or U_SENTINEL if there is none (index is at the limit).
423
+ *
424
+ * @see UCharIteratorCurrent
425
+ * @stable ICU 2.1
426
+ */
427
+ UCharIteratorCurrent *current;
428
+
429
+ /**
430
+ * (public) Return the code unit at the current index and increment
431
+ * the index (post-increment, like s[i++]),
432
+ * or return U_SENTINEL if there is none (index is at the limit).
433
+ *
434
+ * @see UCharIteratorNext
435
+ * @stable ICU 2.1
436
+ */
437
+ UCharIteratorNext *next;
438
+
439
+ /**
440
+ * (public) Decrement the index and return the code unit from there
441
+ * (pre-decrement, like s[--i]),
442
+ * or return U_SENTINEL if there is none (index is at the start).
443
+ *
444
+ * @see UCharIteratorPrevious
445
+ * @stable ICU 2.1
446
+ */
447
+ UCharIteratorPrevious *previous;
448
+
449
+ /**
450
+ * (public) Reserved for future use. Currently NULL.
451
+ *
452
+ * @see UCharIteratorReserved
453
+ * @stable ICU 2.1
454
+ */
455
+ UCharIteratorReserved *reservedFn;
456
+
457
+ /**
458
+ * (public) Return the state of the iterator, to be restored later with setState().
459
+ * This function pointer is NULL if the iterator does not implement it.
460
+ *
461
+ * @see UCharIteratorGet
462
+ * @stable ICU 2.6
463
+ */
464
+ UCharIteratorGetState *getState;
465
+
466
+ /**
467
+ * (public) Restore the iterator state from the state word from a call
468
+ * to getState().
469
+ * This function pointer is NULL if the iterator does not implement it.
470
+ *
471
+ * @see UCharIteratorSet
472
+ * @stable ICU 2.6
473
+ */
474
+ UCharIteratorSetState *setState;
475
+ };
476
+
477
+ /**
478
+ * Helper function for UCharIterator to get the code point
479
+ * at the current index.
480
+ *
481
+ * Return the code point that includes the code unit at the current position,
482
+ * or U_SENTINEL if there is none (index is at the limit).
483
+ * If the current code unit is a lead or trail surrogate,
484
+ * then the following or preceding surrogate is used to form
485
+ * the code point value.
486
+ *
487
+ * @param iter the UCharIterator structure ("this pointer")
488
+ * @return the current code point
489
+ *
490
+ * @see UCharIterator
491
+ * @see U16_GET
492
+ * @see UnicodeString::char32At()
493
+ * @stable ICU 2.1
494
+ */
495
+ U_CAPI UChar32 U_EXPORT2
496
+ uiter_current32(UCharIterator *iter);
497
+
498
+ /**
499
+ * Helper function for UCharIterator to get the next code point.
500
+ *
501
+ * Return the code point at the current index and increment
502
+ * the index (post-increment, like s[i++]),
503
+ * or return U_SENTINEL if there is none (index is at the limit).
504
+ *
505
+ * @param iter the UCharIterator structure ("this pointer")
506
+ * @return the current code point (and post-increment the current index)
507
+ *
508
+ * @see UCharIterator
509
+ * @see U16_NEXT
510
+ * @stable ICU 2.1
511
+ */
512
+ U_CAPI UChar32 U_EXPORT2
513
+ uiter_next32(UCharIterator *iter);
514
+
515
+ /**
516
+ * Helper function for UCharIterator to get the previous code point.
517
+ *
518
+ * Decrement the index and return the code point from there
519
+ * (pre-decrement, like s[--i]),
520
+ * or return U_SENTINEL if there is none (index is at the start).
521
+ *
522
+ * @param iter the UCharIterator structure ("this pointer")
523
+ * @return the previous code point (after pre-decrementing the current index)
524
+ *
525
+ * @see UCharIterator
526
+ * @see U16_PREV
527
+ * @stable ICU 2.1
528
+ */
529
+ U_CAPI UChar32 U_EXPORT2
530
+ uiter_previous32(UCharIterator *iter);
531
+
532
+ /**
533
+ * Get the "state" of the iterator in the form of a single 32-bit word.
534
+ * This is a convenience function that calls iter->getState(iter)
535
+ * if iter->getState is not NULL;
536
+ * if it is NULL or any other error occurs, then UITER_NO_STATE is returned.
537
+ *
538
+ * Some UCharIterator implementations may not be able to return
539
+ * a valid state for each position, in which case they return UITER_NO_STATE instead.
540
+ * This will be clearly documented for each such iterator (none of the public ones here).
541
+ *
542
+ * @param iter the UCharIterator structure ("this pointer")
543
+ * @return the state word
544
+ *
545
+ * @see UCharIterator
546
+ * @see UCharIteratorGetState
547
+ * @see UITER_NO_STATE
548
+ * @stable ICU 2.6
549
+ */
550
+ U_CAPI uint32_t U_EXPORT2
551
+ uiter_getState(const UCharIterator *iter);
552
+
553
+ /**
554
+ * Restore the "state" of the iterator using a state word from a getState() call.
555
+ * This is a convenience function that calls iter->setState(iter, state, pErrorCode)
556
+ * if iter->setState is not NULL; if it is NULL, then U_UNSUPPORTED_ERROR is set.
557
+ *
558
+ * @param iter the UCharIterator structure ("this pointer")
559
+ * @param state the state word from a getState() call
560
+ * on a same-type, same-string iterator
561
+ * @param pErrorCode Must be a valid pointer to an error code value,
562
+ * which must not indicate a failure before the function call.
563
+ *
564
+ * @see UCharIterator
565
+ * @see UCharIteratorSetState
566
+ * @stable ICU 2.6
567
+ */
568
+ U_CAPI void U_EXPORT2
569
+ uiter_setState(UCharIterator *iter, uint32_t state, UErrorCode *pErrorCode);
570
+
571
+ /**
572
+ * Set up a UCharIterator to iterate over a string.
573
+ *
574
+ * Sets the UCharIterator function pointers for iteration over the string s
575
+ * with iteration boundaries start=index=0 and length=limit=string length.
576
+ * The "provider" may set the start, index, and limit values at any time
577
+ * within the range 0..length.
578
+ * The length field will be ignored.
579
+ *
580
+ * The string pointer s is set into UCharIterator.context without copying
581
+ * or reallocating the string contents.
582
+ *
583
+ * getState() simply returns the current index.
584
+ * move() will always return the final index.
585
+ *
586
+ * @param iter UCharIterator structure to be set for iteration
587
+ * @param s String to iterate over
588
+ * @param length Length of s, or -1 if NUL-terminated
589
+ *
590
+ * @see UCharIterator
591
+ * @stable ICU 2.1
592
+ */
593
+ U_CAPI void U_EXPORT2
594
+ uiter_setString(UCharIterator *iter, const UChar *s, int32_t length);
595
+
596
+ /**
597
+ * Set up a UCharIterator to iterate over a UTF-16BE string
598
+ * (byte vector with a big-endian pair of bytes per UChar).
599
+ *
600
+ * Everything works just like with a normal UChar iterator (uiter_setString),
601
+ * except that UChars are assembled from byte pairs,
602
+ * and that the length argument here indicates an even number of bytes.
603
+ *
604
+ * getState() simply returns the current index.
605
+ * move() will always return the final index.
606
+ *
607
+ * @param iter UCharIterator structure to be set for iteration
608
+ * @param s UTF-16BE string to iterate over
609
+ * @param length Length of s as an even number of bytes, or -1 if NUL-terminated
610
+ * (NUL means pair of 0 bytes at even index from s)
611
+ *
612
+ * @see UCharIterator
613
+ * @see uiter_setString
614
+ * @stable ICU 2.6
615
+ */
616
+ U_CAPI void U_EXPORT2
617
+ uiter_setUTF16BE(UCharIterator *iter, const char *s, int32_t length);
618
+
619
+ /**
620
+ * Set up a UCharIterator to iterate over a UTF-8 string.
621
+ *
622
+ * Sets the UCharIterator function pointers for iteration over the UTF-8 string s
623
+ * with UTF-8 iteration boundaries 0 and length.
624
+ * The implementation counts the UTF-16 index on the fly and
625
+ * lazily evaluates the UTF-16 length of the text.
626
+ *
627
+ * The start field is used as the UTF-8 offset, the limit field as the UTF-8 length.
628
+ * When the reservedField is not 0, then it contains a supplementary code point
629
+ * and the UTF-16 index is between the two corresponding surrogates.
630
+ * At that point, the UTF-8 index is behind that code point.
631
+ *
632
+ * The UTF-8 string pointer s is set into UCharIterator.context without copying
633
+ * or reallocating the string contents.
634
+ *
635
+ * getState() returns a state value consisting of
636
+ * - the current UTF-8 source byte index (bits 31..1)
637
+ * - a flag (bit 0) that indicates whether the UChar position is in the middle
638
+ * of a surrogate pair
639
+ * (from a 4-byte UTF-8 sequence for the corresponding supplementary code point)
640
+ *
641
+ * getState() cannot also encode the UTF-16 index in the state value.
642
+ * move(relative to limit or length), or
643
+ * move(relative to current) after setState(), may return UITER_UNKNOWN_INDEX.
644
+ *
645
+ * @param iter UCharIterator structure to be set for iteration
646
+ * @param s UTF-8 string to iterate over
647
+ * @param length Length of s in bytes, or -1 if NUL-terminated
648
+ *
649
+ * @see UCharIterator
650
+ * @stable ICU 2.6
651
+ */
652
+ U_CAPI void U_EXPORT2
653
+ uiter_setUTF8(UCharIterator *iter, const char *s, int32_t length);
654
+
655
+ #if U_SHOW_CPLUSPLUS_API
656
+
657
+ /**
658
+ * Set up a UCharIterator to wrap around a C++ CharacterIterator.
659
+ *
660
+ * Sets the UCharIterator function pointers for iteration using the
661
+ * CharacterIterator charIter.
662
+ *
663
+ * The CharacterIterator pointer charIter is set into UCharIterator.context
664
+ * without copying or cloning the CharacterIterator object.
665
+ * The other "protected" UCharIterator fields are set to 0 and will be ignored.
666
+ * The iteration index and boundaries are controlled by the CharacterIterator.
667
+ *
668
+ * getState() simply returns the current index.
669
+ * move() will always return the final index.
670
+ *
671
+ * @param iter UCharIterator structure to be set for iteration
672
+ * @param charIter CharacterIterator to wrap
673
+ *
674
+ * @see UCharIterator
675
+ * @stable ICU 2.1
676
+ */
677
+ U_CAPI void U_EXPORT2
678
+ uiter_setCharacterIterator(UCharIterator *iter, icu::CharacterIterator *charIter);
679
+
680
+ /**
681
+ * Set up a UCharIterator to iterate over a C++ Replaceable.
682
+ *
683
+ * Sets the UCharIterator function pointers for iteration over the
684
+ * Replaceable rep with iteration boundaries start=index=0 and
685
+ * length=limit=rep->length().
686
+ * The "provider" may set the start, index, and limit values at any time
687
+ * within the range 0..length=rep->length().
688
+ * The length field will be ignored.
689
+ *
690
+ * The Replaceable pointer rep is set into UCharIterator.context without copying
691
+ * or cloning/reallocating the Replaceable object.
692
+ *
693
+ * getState() simply returns the current index.
694
+ * move() will always return the final index.
695
+ *
696
+ * @param iter UCharIterator structure to be set for iteration
697
+ * @param rep Replaceable to iterate over
698
+ *
699
+ * @see UCharIterator
700
+ * @stable ICU 2.1
701
+ */
702
+ U_CAPI void U_EXPORT2
703
+ uiter_setReplaceable(UCharIterator *iter, const icu::Replaceable *rep);
704
+
705
+ #endif
706
+
707
+ U_CDECL_END
708
+
709
+ #endif