@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,740 @@
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) 1999-2012, International Business Machines
7
+ * Corporation and others. All Rights Reserved.
8
+ *
9
+ *******************************************************************************
10
+ * file name: utf16.h
11
+ * encoding: UTF-8
12
+ * tab size: 8 (not used)
13
+ * indentation:4
14
+ *
15
+ * created on: 1999sep09
16
+ * created by: Markus W. Scherer
17
+ */
18
+
19
+ /**
20
+ * \file
21
+ * \brief C API: 16-bit Unicode handling macros
22
+ *
23
+ * This file defines macros to deal with 16-bit Unicode (UTF-16) code units and strings.
24
+ *
25
+ * For more information see utf.h and the ICU User Guide Strings chapter
26
+ * (https://unicode-org.github.io/icu/userguide/strings).
27
+ *
28
+ * <em>Usage:</em>
29
+ * ICU coding guidelines for if() statements should be followed when using these macros.
30
+ * Compound statements (curly braces {}) must be used for if-else-while...
31
+ * bodies and all macro statements should be terminated with semicolon.
32
+ */
33
+
34
+ #ifndef __UTF16_H__
35
+ #define __UTF16_H__
36
+
37
+ #include <stdbool.h>
38
+ #include <_foundation_unicode/umachine.h>
39
+ #ifndef __UTF_H__
40
+ # include <_foundation_unicode/utf.h>
41
+ #endif
42
+
43
+ /* single-code point definitions -------------------------------------------- */
44
+
45
+ /**
46
+ * Does this code unit alone encode a code point (BMP, not a surrogate)?
47
+ * @param c 16-bit code unit
48
+ * @return true or false
49
+ * @stable ICU 2.4
50
+ */
51
+ #define U16_IS_SINGLE(c) !U_IS_SURROGATE(c)
52
+
53
+ /**
54
+ * Is this code unit a lead surrogate (U+d800..U+dbff)?
55
+ * @param c 16-bit code unit
56
+ * @return true or false
57
+ * @stable ICU 2.4
58
+ */
59
+ #define U16_IS_LEAD(c) (((c)&0xfffffc00)==0xd800)
60
+
61
+ /**
62
+ * Is this code unit a trail surrogate (U+dc00..U+dfff)?
63
+ * @param c 16-bit code unit
64
+ * @return true or false
65
+ * @stable ICU 2.4
66
+ */
67
+ #define U16_IS_TRAIL(c) (((c)&0xfffffc00)==0xdc00)
68
+
69
+ /**
70
+ * Is this code unit a surrogate (U+d800..U+dfff)?
71
+ * @param c 16-bit code unit
72
+ * @return true or false
73
+ * @stable ICU 2.4
74
+ */
75
+ #define U16_IS_SURROGATE(c) U_IS_SURROGATE(c)
76
+
77
+ /**
78
+ * Assuming c is a surrogate code point (U16_IS_SURROGATE(c)),
79
+ * is it a lead surrogate?
80
+ * @param c 16-bit code unit
81
+ * @return true or false
82
+ * @stable ICU 2.4
83
+ */
84
+ #define U16_IS_SURROGATE_LEAD(c) (((c)&0x400)==0)
85
+
86
+ /**
87
+ * Assuming c is a surrogate code point (U16_IS_SURROGATE(c)),
88
+ * is it a trail surrogate?
89
+ * @param c 16-bit code unit
90
+ * @return true or false
91
+ * @stable ICU 4.2
92
+ */
93
+ #define U16_IS_SURROGATE_TRAIL(c) (((c)&0x400)!=0)
94
+
95
+ /**
96
+ * Helper constant for U16_GET_SUPPLEMENTARY.
97
+ * @internal
98
+ */
99
+ #define U16_SURROGATE_OFFSET ((0xd800<<10UL)+0xdc00-0x10000)
100
+
101
+ /**
102
+ * Get a supplementary code point value (U+10000..U+10ffff)
103
+ * from its lead and trail surrogates.
104
+ * The result is undefined if the input values are not
105
+ * lead and trail surrogates.
106
+ *
107
+ * @param lead lead surrogate (U+d800..U+dbff)
108
+ * @param trail trail surrogate (U+dc00..U+dfff)
109
+ * @return supplementary code point (U+10000..U+10ffff)
110
+ * @stable ICU 2.4
111
+ */
112
+ #define U16_GET_SUPPLEMENTARY(lead, trail) \
113
+ (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
114
+
115
+
116
+ /**
117
+ * Get the lead surrogate (0xd800..0xdbff) for a
118
+ * supplementary code point (0x10000..0x10ffff).
119
+ * @param supplementary 32-bit code point (U+10000..U+10ffff)
120
+ * @return lead surrogate (U+d800..U+dbff) for supplementary
121
+ * @stable ICU 2.4
122
+ */
123
+ #define U16_LEAD(supplementary) (UChar)(((supplementary)>>10)+0xd7c0)
124
+
125
+ /**
126
+ * Get the trail surrogate (0xdc00..0xdfff) for a
127
+ * supplementary code point (0x10000..0x10ffff).
128
+ * @param supplementary 32-bit code point (U+10000..U+10ffff)
129
+ * @return trail surrogate (U+dc00..U+dfff) for supplementary
130
+ * @stable ICU 2.4
131
+ */
132
+ #define U16_TRAIL(supplementary) (UChar)(((supplementary)&0x3ff)|0xdc00)
133
+
134
+ /**
135
+ * How many 16-bit code units are used to encode this Unicode code point? (1 or 2)
136
+ * The result is not defined if c is not a Unicode code point (U+0000..U+10ffff).
137
+ * @param c 32-bit code point
138
+ * @return 1 or 2
139
+ * @stable ICU 2.4
140
+ */
141
+ #define U16_LENGTH(c) ((uint32_t)(c)<=0xffff ? 1 : 2)
142
+
143
+ /**
144
+ * The maximum number of 16-bit code units per Unicode code point (U+0000..U+10ffff).
145
+ * @return 2
146
+ * @stable ICU 2.4
147
+ */
148
+ #define U16_MAX_LENGTH 2
149
+
150
+ /**
151
+ * Get a code point from a string at a random-access offset,
152
+ * without changing the offset.
153
+ * "Unsafe" macro, assumes well-formed UTF-16.
154
+ *
155
+ * The offset may point to either the lead or trail surrogate unit
156
+ * for a supplementary code point, in which case the macro will read
157
+ * the adjacent matching surrogate as well.
158
+ * The result is undefined if the offset points to a single, unpaired surrogate.
159
+ * Iteration through a string is more efficient with U16_NEXT_UNSAFE or U16_NEXT.
160
+ *
161
+ * @param s const UChar * string
162
+ * @param i string offset
163
+ * @param c output UChar32 variable
164
+ * @see U16_GET
165
+ * @stable ICU 2.4
166
+ */
167
+ #define U16_GET_UNSAFE(s, i, c) UPRV_BLOCK_MACRO_BEGIN { \
168
+ (c)=(s)[i]; \
169
+ if(U16_IS_SURROGATE(c)) { \
170
+ if(U16_IS_SURROGATE_LEAD(c)) { \
171
+ (c)=U16_GET_SUPPLEMENTARY((c), (s)[(i)+1]); \
172
+ } else { \
173
+ (c)=U16_GET_SUPPLEMENTARY((s)[(i)-1], (c)); \
174
+ } \
175
+ } \
176
+ } UPRV_BLOCK_MACRO_END
177
+
178
+ /**
179
+ * Get a code point from a string at a random-access offset,
180
+ * without changing the offset.
181
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
182
+ *
183
+ * The offset may point to either the lead or trail surrogate unit
184
+ * for a supplementary code point, in which case the macro will read
185
+ * the adjacent matching surrogate as well.
186
+ *
187
+ * The length can be negative for a NUL-terminated string.
188
+ *
189
+ * If the offset points to a single, unpaired surrogate, then
190
+ * c is set to that unpaired surrogate.
191
+ * Iteration through a string is more efficient with U16_NEXT_UNSAFE or U16_NEXT.
192
+ *
193
+ * @param s const UChar * string
194
+ * @param start starting string offset (usually 0)
195
+ * @param i string offset, must be start<=i<length
196
+ * @param length string length
197
+ * @param c output UChar32 variable
198
+ * @see U16_GET_UNSAFE
199
+ * @stable ICU 2.4
200
+ */
201
+ // Apple ICU adds initialization uint16_t __c2 = 0; per rdar://58615391 Fix uninitialized variables in U16/UTF16 macros
202
+ #define U16_GET(s, start, i, length, c) UPRV_BLOCK_MACRO_BEGIN { \
203
+ (c)=(s)[i]; \
204
+ if(U16_IS_SURROGATE(c)) { \
205
+ uint16_t __c2 = 0; \
206
+ if(U16_IS_SURROGATE_LEAD(c)) { \
207
+ if((i)+1!=(length) && U16_IS_TRAIL(__c2=(s)[(i)+1])) { \
208
+ (c)=U16_GET_SUPPLEMENTARY((c), __c2); \
209
+ } \
210
+ } else { \
211
+ if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \
212
+ (c)=U16_GET_SUPPLEMENTARY(__c2, (c)); \
213
+ } \
214
+ } \
215
+ } \
216
+ } UPRV_BLOCK_MACRO_END
217
+
218
+ /**
219
+ * Get a code point from a string at a random-access offset,
220
+ * without changing the offset.
221
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
222
+ *
223
+ * The offset may point to either the lead or trail surrogate unit
224
+ * for a supplementary code point, in which case the macro will read
225
+ * the adjacent matching surrogate as well.
226
+ *
227
+ * The length can be negative for a NUL-terminated string.
228
+ *
229
+ * If the offset points to a single, unpaired surrogate, then
230
+ * c is set to U+FFFD.
231
+ * Iteration through a string is more efficient with U16_NEXT_UNSAFE or U16_NEXT_OR_FFFD.
232
+ *
233
+ * @param s const UChar * string
234
+ * @param start starting string offset (usually 0)
235
+ * @param i string offset, must be start<=i<length
236
+ * @param length string length
237
+ * @param c output UChar32 variable
238
+ * @see U16_GET_UNSAFE
239
+ * @stable ICU 60
240
+ */
241
+ // Apple ICU adds initialization uint16_t __c2 = 0; per rdar://58615391 Fix uninitialized variables in U16/UTF16 macros
242
+ #define U16_GET_OR_FFFD(s, start, i, length, c) UPRV_BLOCK_MACRO_BEGIN { \
243
+ (c)=(s)[i]; \
244
+ if(U16_IS_SURROGATE(c)) { \
245
+ uint16_t __c2 = 0; \
246
+ if(U16_IS_SURROGATE_LEAD(c)) { \
247
+ if((i)+1!=(length) && U16_IS_TRAIL(__c2=(s)[(i)+1])) { \
248
+ (c)=U16_GET_SUPPLEMENTARY((c), __c2); \
249
+ } else { \
250
+ (c)=0xfffd; \
251
+ } \
252
+ } else { \
253
+ if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \
254
+ (c)=U16_GET_SUPPLEMENTARY(__c2, (c)); \
255
+ } else { \
256
+ (c)=0xfffd; \
257
+ } \
258
+ } \
259
+ } \
260
+ } UPRV_BLOCK_MACRO_END
261
+
262
+ /* definitions with forward iteration --------------------------------------- */
263
+
264
+ /**
265
+ * Get a code point from a string at a code point boundary offset,
266
+ * and advance the offset to the next code point boundary.
267
+ * (Post-incrementing forward iteration.)
268
+ * "Unsafe" macro, assumes well-formed UTF-16.
269
+ *
270
+ * The offset may point to the lead surrogate unit
271
+ * for a supplementary code point, in which case the macro will read
272
+ * the following trail surrogate as well.
273
+ * If the offset points to a trail surrogate, then that itself
274
+ * will be returned as the code point.
275
+ * The result is undefined if the offset points to a single, unpaired lead surrogate.
276
+ *
277
+ * @param s const UChar * string
278
+ * @param i string offset
279
+ * @param c output UChar32 variable
280
+ * @see U16_NEXT
281
+ * @stable ICU 2.4
282
+ */
283
+ #define U16_NEXT_UNSAFE(s, i, c) UPRV_BLOCK_MACRO_BEGIN { \
284
+ (c)=(s)[(i)++]; \
285
+ if(U16_IS_LEAD(c)) { \
286
+ (c)=U16_GET_SUPPLEMENTARY((c), (s)[(i)++]); \
287
+ } \
288
+ } UPRV_BLOCK_MACRO_END
289
+
290
+ /**
291
+ * Get a code point from a string at a code point boundary offset,
292
+ * and advance the offset to the next code point boundary.
293
+ * (Post-incrementing forward iteration.)
294
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
295
+ *
296
+ * The length can be negative for a NUL-terminated string.
297
+ *
298
+ * The offset may point to the lead surrogate unit
299
+ * for a supplementary code point, in which case the macro will read
300
+ * the following trail surrogate as well.
301
+ * If the offset points to a trail surrogate or
302
+ * to a single, unpaired lead surrogate, then c is set to that unpaired surrogate.
303
+ *
304
+ * @param s const UChar * string
305
+ * @param i string offset, must be i<length
306
+ * @param length string length
307
+ * @param c output UChar32 variable
308
+ * @see U16_NEXT_UNSAFE
309
+ * @stable ICU 2.4
310
+ */
311
+ // Apple ICU adds initialization uint16_t __c2 = 0; per rdar://58615391 Fix uninitialized variables in U16/UTF16 macros
312
+ #define U16_NEXT(s, i, length, c) UPRV_BLOCK_MACRO_BEGIN { \
313
+ (c)=(s)[(i)++]; \
314
+ if(U16_IS_LEAD(c)) { \
315
+ uint16_t __c2 = 0; \
316
+ if((i)!=(length) && U16_IS_TRAIL(__c2=(s)[(i)])) { \
317
+ ++(i); \
318
+ (c)=U16_GET_SUPPLEMENTARY((c), __c2); \
319
+ } \
320
+ } \
321
+ } UPRV_BLOCK_MACRO_END
322
+
323
+ /**
324
+ * Get a code point from a string at a code point boundary offset,
325
+ * and advance the offset to the next code point boundary.
326
+ * (Post-incrementing forward iteration.)
327
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
328
+ *
329
+ * The length can be negative for a NUL-terminated string.
330
+ *
331
+ * The offset may point to the lead surrogate unit
332
+ * for a supplementary code point, in which case the macro will read
333
+ * the following trail surrogate as well.
334
+ * If the offset points to a trail surrogate or
335
+ * to a single, unpaired lead surrogate, then c is set to U+FFFD.
336
+ *
337
+ * @param s const UChar * string
338
+ * @param i string offset, must be i<length
339
+ * @param length string length
340
+ * @param c output UChar32 variable
341
+ * @see U16_NEXT_UNSAFE
342
+ * @stable ICU 60
343
+ */
344
+ // Apple ICU adds initialization uint16_t __c2 = 0; per rdar://58615391 Fix uninitialized variables in U16/UTF16 macros
345
+ #define U16_NEXT_OR_FFFD(s, i, length, c) UPRV_BLOCK_MACRO_BEGIN { \
346
+ (c)=(s)[(i)++]; \
347
+ if(U16_IS_SURROGATE(c)) { \
348
+ uint16_t __c2 = 0; \
349
+ if(U16_IS_SURROGATE_LEAD(c) && (i)!=(length) && U16_IS_TRAIL(__c2=(s)[(i)])) { \
350
+ ++(i); \
351
+ (c)=U16_GET_SUPPLEMENTARY((c), __c2); \
352
+ } else { \
353
+ (c)=0xfffd; \
354
+ } \
355
+ } \
356
+ } UPRV_BLOCK_MACRO_END
357
+
358
+ /**
359
+ * Append a code point to a string, overwriting 1 or 2 code units.
360
+ * The offset points to the current end of the string contents
361
+ * and is advanced (post-increment).
362
+ * "Unsafe" macro, assumes a valid code point and sufficient space in the string.
363
+ * Otherwise, the result is undefined.
364
+ *
365
+ * @param s const UChar * string buffer
366
+ * @param i string offset
367
+ * @param c code point to append
368
+ * @see U16_APPEND
369
+ * @stable ICU 2.4
370
+ */
371
+ #define U16_APPEND_UNSAFE(s, i, c) UPRV_BLOCK_MACRO_BEGIN { \
372
+ if((uint32_t)(c)<=0xffff) { \
373
+ (s)[(i)++]=(uint16_t)(c); \
374
+ } else { \
375
+ (s)[(i)++]=(uint16_t)(((c)>>10)+0xd7c0); \
376
+ (s)[(i)++]=(uint16_t)(((c)&0x3ff)|0xdc00); \
377
+ } \
378
+ } UPRV_BLOCK_MACRO_END
379
+
380
+ /**
381
+ * Append a code point to a string, overwriting 1 or 2 code units.
382
+ * The offset points to the current end of the string contents
383
+ * and is advanced (post-increment).
384
+ * "Safe" macro, checks for a valid code point.
385
+ * If a surrogate pair is written, checks for sufficient space in the string.
386
+ * If the code point is not valid or a trail surrogate does not fit,
387
+ * then isError is set to true.
388
+ *
389
+ * @param s const UChar * string buffer
390
+ * @param i string offset, must be i<capacity
391
+ * @param capacity size of the string buffer
392
+ * @param c code point to append
393
+ * @param isError output UBool set to true if an error occurs, otherwise not modified
394
+ * @see U16_APPEND_UNSAFE
395
+ * @stable ICU 2.4
396
+ */
397
+ #define U16_APPEND(s, i, capacity, c, isError) UPRV_BLOCK_MACRO_BEGIN { \
398
+ if((uint32_t)(c)<=0xffff) { \
399
+ (s)[(i)++]=(uint16_t)(c); \
400
+ } else if((uint32_t)(c)<=0x10ffff && (i)+1<(capacity)) { \
401
+ (s)[(i)++]=(uint16_t)(((c)>>10)+0xd7c0); \
402
+ (s)[(i)++]=(uint16_t)(((c)&0x3ff)|0xdc00); \
403
+ } else /* c>0x10ffff or not enough space */ { \
404
+ (isError)=true; \
405
+ } \
406
+ } UPRV_BLOCK_MACRO_END
407
+
408
+ /**
409
+ * Advance the string offset from one code point boundary to the next.
410
+ * (Post-incrementing iteration.)
411
+ * "Unsafe" macro, assumes well-formed UTF-16.
412
+ *
413
+ * @param s const UChar * string
414
+ * @param i string offset
415
+ * @see U16_FWD_1
416
+ * @stable ICU 2.4
417
+ */
418
+ #define U16_FWD_1_UNSAFE(s, i) UPRV_BLOCK_MACRO_BEGIN { \
419
+ if(U16_IS_LEAD((s)[(i)++])) { \
420
+ ++(i); \
421
+ } \
422
+ } UPRV_BLOCK_MACRO_END
423
+
424
+ /**
425
+ * Advance the string offset from one code point boundary to the next.
426
+ * (Post-incrementing iteration.)
427
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
428
+ *
429
+ * The length can be negative for a NUL-terminated string.
430
+ *
431
+ * @param s const UChar * string
432
+ * @param i string offset, must be i<length
433
+ * @param length string length
434
+ * @see U16_FWD_1_UNSAFE
435
+ * @stable ICU 2.4
436
+ */
437
+ #define U16_FWD_1(s, i, length) UPRV_BLOCK_MACRO_BEGIN { \
438
+ if(U16_IS_LEAD((s)[(i)++]) && (i)!=(length) && U16_IS_TRAIL((s)[i])) { \
439
+ ++(i); \
440
+ } \
441
+ } UPRV_BLOCK_MACRO_END
442
+
443
+ /**
444
+ * Advance the string offset from one code point boundary to the n-th next one,
445
+ * i.e., move forward by n code points.
446
+ * (Post-incrementing iteration.)
447
+ * "Unsafe" macro, assumes well-formed UTF-16.
448
+ *
449
+ * @param s const UChar * string
450
+ * @param i string offset
451
+ * @param n number of code points to skip
452
+ * @see U16_FWD_N
453
+ * @stable ICU 2.4
454
+ */
455
+ #define U16_FWD_N_UNSAFE(s, i, n) UPRV_BLOCK_MACRO_BEGIN { \
456
+ int32_t __N=(n); \
457
+ while(__N>0) { \
458
+ U16_FWD_1_UNSAFE(s, i); \
459
+ --__N; \
460
+ } \
461
+ } UPRV_BLOCK_MACRO_END
462
+
463
+ /**
464
+ * Advance the string offset from one code point boundary to the n-th next one,
465
+ * i.e., move forward by n code points.
466
+ * (Post-incrementing iteration.)
467
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
468
+ *
469
+ * The length can be negative for a NUL-terminated string.
470
+ *
471
+ * @param s const UChar * string
472
+ * @param i int32_t string offset, must be i<length
473
+ * @param length int32_t string length
474
+ * @param n number of code points to skip
475
+ * @see U16_FWD_N_UNSAFE
476
+ * @stable ICU 2.4
477
+ */
478
+ #define U16_FWD_N(s, i, length, n) UPRV_BLOCK_MACRO_BEGIN { \
479
+ int32_t __N=(n); \
480
+ while(__N>0 && ((i)<(length) || ((length)<0 && (s)[i]!=0))) { \
481
+ U16_FWD_1(s, i, length); \
482
+ --__N; \
483
+ } \
484
+ } UPRV_BLOCK_MACRO_END
485
+
486
+ /**
487
+ * Adjust a random-access offset to a code point boundary
488
+ * at the start of a code point.
489
+ * If the offset points to the trail surrogate of a surrogate pair,
490
+ * then the offset is decremented.
491
+ * Otherwise, it is not modified.
492
+ * "Unsafe" macro, assumes well-formed UTF-16.
493
+ *
494
+ * @param s const UChar * string
495
+ * @param i string offset
496
+ * @see U16_SET_CP_START
497
+ * @stable ICU 2.4
498
+ */
499
+ #define U16_SET_CP_START_UNSAFE(s, i) UPRV_BLOCK_MACRO_BEGIN { \
500
+ if(U16_IS_TRAIL((s)[i])) { \
501
+ --(i); \
502
+ } \
503
+ } UPRV_BLOCK_MACRO_END
504
+
505
+ /**
506
+ * Adjust a random-access offset to a code point boundary
507
+ * at the start of a code point.
508
+ * If the offset points to the trail surrogate of a surrogate pair,
509
+ * then the offset is decremented.
510
+ * Otherwise, it is not modified.
511
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
512
+ *
513
+ * @param s const UChar * string
514
+ * @param start starting string offset (usually 0)
515
+ * @param i string offset, must be start<=i
516
+ * @see U16_SET_CP_START_UNSAFE
517
+ * @stable ICU 2.4
518
+ */
519
+ #define U16_SET_CP_START(s, start, i) UPRV_BLOCK_MACRO_BEGIN { \
520
+ if(U16_IS_TRAIL((s)[i]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \
521
+ --(i); \
522
+ } \
523
+ } UPRV_BLOCK_MACRO_END
524
+
525
+ /* definitions with backward iteration -------------------------------------- */
526
+
527
+ /**
528
+ * Move the string offset from one code point boundary to the previous one
529
+ * and get the code point between them.
530
+ * (Pre-decrementing backward iteration.)
531
+ * "Unsafe" macro, assumes well-formed UTF-16.
532
+ *
533
+ * The input offset may be the same as the string length.
534
+ * If the offset is behind a trail surrogate unit
535
+ * for a supplementary code point, then the macro will read
536
+ * the preceding lead surrogate as well.
537
+ * If the offset is behind a lead surrogate, then that itself
538
+ * will be returned as the code point.
539
+ * The result is undefined if the offset is behind a single, unpaired trail surrogate.
540
+ *
541
+ * @param s const UChar * string
542
+ * @param i string offset
543
+ * @param c output UChar32 variable
544
+ * @see U16_PREV
545
+ * @stable ICU 2.4
546
+ */
547
+ #define U16_PREV_UNSAFE(s, i, c) UPRV_BLOCK_MACRO_BEGIN { \
548
+ (c)=(s)[--(i)]; \
549
+ if(U16_IS_TRAIL(c)) { \
550
+ (c)=U16_GET_SUPPLEMENTARY((s)[--(i)], (c)); \
551
+ } \
552
+ } UPRV_BLOCK_MACRO_END
553
+
554
+ /**
555
+ * Move the string offset from one code point boundary to the previous one
556
+ * and get the code point between them.
557
+ * (Pre-decrementing backward iteration.)
558
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
559
+ *
560
+ * The input offset may be the same as the string length.
561
+ * If the offset is behind a trail surrogate unit
562
+ * for a supplementary code point, then the macro will read
563
+ * the preceding lead surrogate as well.
564
+ * If the offset is behind a lead surrogate or behind a single, unpaired
565
+ * trail surrogate, then c is set to that unpaired surrogate.
566
+ *
567
+ * @param s const UChar * string
568
+ * @param start starting string offset (usually 0)
569
+ * @param i string offset, must be start<i
570
+ * @param c output UChar32 variable
571
+ * @see U16_PREV_UNSAFE
572
+ * @stable ICU 2.4
573
+ */
574
+ // Apple ICU adds initialization uint16_t __c2 = 0; per rdar://58615391 Fix uninitialized variables in U16/UTF16 macros
575
+ #define U16_PREV(s, start, i, c) UPRV_BLOCK_MACRO_BEGIN { \
576
+ (c)=(s)[--(i)]; \
577
+ if(U16_IS_TRAIL(c)) { \
578
+ uint16_t __c2 = 0; \
579
+ if((i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \
580
+ --(i); \
581
+ (c)=U16_GET_SUPPLEMENTARY(__c2, (c)); \
582
+ } \
583
+ } \
584
+ } UPRV_BLOCK_MACRO_END
585
+
586
+ /**
587
+ * Move the string offset from one code point boundary to the previous one
588
+ * and get the code point between them.
589
+ * (Pre-decrementing backward iteration.)
590
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
591
+ *
592
+ * The input offset may be the same as the string length.
593
+ * If the offset is behind a trail surrogate unit
594
+ * for a supplementary code point, then the macro will read
595
+ * the preceding lead surrogate as well.
596
+ * If the offset is behind a lead surrogate or behind a single, unpaired
597
+ * trail surrogate, then c is set to U+FFFD.
598
+ *
599
+ * @param s const UChar * string
600
+ * @param start starting string offset (usually 0)
601
+ * @param i string offset, must be start<i
602
+ * @param c output UChar32 variable
603
+ * @see U16_PREV_UNSAFE
604
+ * @stable ICU 60
605
+ */
606
+ // Apple ICU adds initialization uint16_t __c2 = 0; per rdar://58615391 Fix uninitialized variables in U16/UTF16 macros
607
+ #define U16_PREV_OR_FFFD(s, start, i, c) UPRV_BLOCK_MACRO_BEGIN { \
608
+ (c)=(s)[--(i)]; \
609
+ if(U16_IS_SURROGATE(c)) { \
610
+ uint16_t __c2 = 0; \
611
+ if(U16_IS_SURROGATE_TRAIL(c) && (i)>(start) && U16_IS_LEAD(__c2=(s)[(i)-1])) { \
612
+ --(i); \
613
+ (c)=U16_GET_SUPPLEMENTARY(__c2, (c)); \
614
+ } else { \
615
+ (c)=0xfffd; \
616
+ } \
617
+ } \
618
+ } UPRV_BLOCK_MACRO_END
619
+
620
+ /**
621
+ * Move the string offset from one code point boundary to the previous one.
622
+ * (Pre-decrementing backward iteration.)
623
+ * The input offset may be the same as the string length.
624
+ * "Unsafe" macro, assumes well-formed UTF-16.
625
+ *
626
+ * @param s const UChar * string
627
+ * @param i string offset
628
+ * @see U16_BACK_1
629
+ * @stable ICU 2.4
630
+ */
631
+ #define U16_BACK_1_UNSAFE(s, i) UPRV_BLOCK_MACRO_BEGIN { \
632
+ if(U16_IS_TRAIL((s)[--(i)])) { \
633
+ --(i); \
634
+ } \
635
+ } UPRV_BLOCK_MACRO_END
636
+
637
+ /**
638
+ * Move the string offset from one code point boundary to the previous one.
639
+ * (Pre-decrementing backward iteration.)
640
+ * The input offset may be the same as the string length.
641
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
642
+ *
643
+ * @param s const UChar * string
644
+ * @param start starting string offset (usually 0)
645
+ * @param i string offset, must be start<i
646
+ * @see U16_BACK_1_UNSAFE
647
+ * @stable ICU 2.4
648
+ */
649
+ #define U16_BACK_1(s, start, i) UPRV_BLOCK_MACRO_BEGIN { \
650
+ if(U16_IS_TRAIL((s)[--(i)]) && (i)>(start) && U16_IS_LEAD((s)[(i)-1])) { \
651
+ --(i); \
652
+ } \
653
+ } UPRV_BLOCK_MACRO_END
654
+
655
+ /**
656
+ * Move the string offset from one code point boundary to the n-th one before it,
657
+ * i.e., move backward by n code points.
658
+ * (Pre-decrementing backward iteration.)
659
+ * The input offset may be the same as the string length.
660
+ * "Unsafe" macro, assumes well-formed UTF-16.
661
+ *
662
+ * @param s const UChar * string
663
+ * @param i string offset
664
+ * @param n number of code points to skip
665
+ * @see U16_BACK_N
666
+ * @stable ICU 2.4
667
+ */
668
+ #define U16_BACK_N_UNSAFE(s, i, n) UPRV_BLOCK_MACRO_BEGIN { \
669
+ int32_t __N=(n); \
670
+ while(__N>0) { \
671
+ U16_BACK_1_UNSAFE(s, i); \
672
+ --__N; \
673
+ } \
674
+ } UPRV_BLOCK_MACRO_END
675
+
676
+ /**
677
+ * Move the string offset from one code point boundary to the n-th one before it,
678
+ * i.e., move backward by n code points.
679
+ * (Pre-decrementing backward iteration.)
680
+ * The input offset may be the same as the string length.
681
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
682
+ *
683
+ * @param s const UChar * string
684
+ * @param start start of string
685
+ * @param i string offset, must be start<i
686
+ * @param n number of code points to skip
687
+ * @see U16_BACK_N_UNSAFE
688
+ * @stable ICU 2.4
689
+ */
690
+ #define U16_BACK_N(s, start, i, n) UPRV_BLOCK_MACRO_BEGIN { \
691
+ int32_t __N=(n); \
692
+ while(__N>0 && (i)>(start)) { \
693
+ U16_BACK_1(s, start, i); \
694
+ --__N; \
695
+ } \
696
+ } UPRV_BLOCK_MACRO_END
697
+
698
+ /**
699
+ * Adjust a random-access offset to a code point boundary after a code point.
700
+ * If the offset is behind the lead surrogate of a surrogate pair,
701
+ * then the offset is incremented.
702
+ * Otherwise, it is not modified.
703
+ * The input offset may be the same as the string length.
704
+ * "Unsafe" macro, assumes well-formed UTF-16.
705
+ *
706
+ * @param s const UChar * string
707
+ * @param i string offset
708
+ * @see U16_SET_CP_LIMIT
709
+ * @stable ICU 2.4
710
+ */
711
+ #define U16_SET_CP_LIMIT_UNSAFE(s, i) UPRV_BLOCK_MACRO_BEGIN { \
712
+ if(U16_IS_LEAD((s)[(i)-1])) { \
713
+ ++(i); \
714
+ } \
715
+ } UPRV_BLOCK_MACRO_END
716
+
717
+ /**
718
+ * Adjust a random-access offset to a code point boundary after a code point.
719
+ * If the offset is behind the lead surrogate of a surrogate pair,
720
+ * then the offset is incremented.
721
+ * Otherwise, it is not modified.
722
+ * The input offset may be the same as the string length.
723
+ * "Safe" macro, handles unpaired surrogates and checks for string boundaries.
724
+ *
725
+ * The length can be negative for a NUL-terminated string.
726
+ *
727
+ * @param s const UChar * string
728
+ * @param start int32_t starting string offset (usually 0)
729
+ * @param i int32_t string offset, start<=i<=length
730
+ * @param length int32_t string length
731
+ * @see U16_SET_CP_LIMIT_UNSAFE
732
+ * @stable ICU 2.4
733
+ */
734
+ #define U16_SET_CP_LIMIT(s, start, i, length) UPRV_BLOCK_MACRO_BEGIN { \
735
+ if((start)<(i) && ((i)<(length) || (length)<0) && U16_IS_LEAD((s)[(i)-1]) && U16_IS_TRAIL((s)[i])) { \
736
+ ++(i); \
737
+ } \
738
+ } UPRV_BLOCK_MACRO_END
739
+
740
+ #endif