@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,344 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ *****************************************************************************
5
+ * Copyright (C) 1996-2014, International Business Machines Corporation and others.
6
+ * All Rights Reserved.
7
+ *****************************************************************************
8
+ *
9
+ * File sortkey.h
10
+ *
11
+ * Created by: Helena Shih
12
+ *
13
+ * Modification History:
14
+ *
15
+ * Date Name Description
16
+ *
17
+ * 6/20/97 helena Java class name change.
18
+ * 8/18/97 helena Added internal API documentation.
19
+ * 6/26/98 erm Changed to use byte arrays and memcmp.
20
+ *****************************************************************************
21
+ */
22
+
23
+ #ifndef SORTKEY_H
24
+ #define SORTKEY_H
25
+
26
+ #include <_foundation_unicode/utypes.h>
27
+
28
+ #if U_SHOW_CPLUSPLUS_API
29
+
30
+ /**
31
+ * \file
32
+ * \brief C++ API: Keys for comparing strings multiple times.
33
+ */
34
+
35
+ #if !UCONFIG_NO_COLLATION
36
+
37
+ #include <_foundation_unicode/uobject.h>
38
+ #include <_foundation_unicode/unistr.h>
39
+ #include <_foundation_unicode/coll.h>
40
+
41
+ U_NAMESPACE_BEGIN
42
+
43
+ /* forward declaration */
44
+ class RuleBasedCollator;
45
+ class CollationKeyByteSink;
46
+
47
+ /**
48
+ *
49
+ * Collation keys are generated by the Collator class. Use the CollationKey objects
50
+ * instead of Collator to compare strings multiple times. A CollationKey
51
+ * preprocesses the comparison information from the Collator object to
52
+ * make the comparison faster. If you are not going to comparing strings
53
+ * multiple times, then using the Collator object is generally faster,
54
+ * since it only processes as much of the string as needed to make a
55
+ * comparison.
56
+ * <p> For example (with strength == tertiary)
57
+ * <p>When comparing "Abernathy" to "Baggins-Smythworthy", Collator
58
+ * only needs to process a couple of characters, while a comparison
59
+ * with CollationKeys will process all of the characters. On the other hand,
60
+ * if you are doing a sort of a number of fields, it is much faster to use
61
+ * CollationKeys, since you will be comparing strings multiple times.
62
+ * <p>Typical use of CollationKeys are in databases, where you store a CollationKey
63
+ * in a hidden field, and use it for sorting or indexing.
64
+ *
65
+ * <p>Example of use:
66
+ * <pre>
67
+ * \code
68
+ * UErrorCode success = U_ZERO_ERROR;
69
+ * Collator* myCollator = Collator::createInstance(success);
70
+ * CollationKey* keys = new CollationKey [3];
71
+ * myCollator->getCollationKey("Tom", keys[0], success );
72
+ * myCollator->getCollationKey("Dick", keys[1], success );
73
+ * myCollator->getCollationKey("Harry", keys[2], success );
74
+ *
75
+ * // Inside body of sort routine, compare keys this way:
76
+ * CollationKey tmp;
77
+ * if(keys[0].compareTo( keys[1] ) > 0 ) {
78
+ * tmp = keys[0]; keys[0] = keys[1]; keys[1] = tmp;
79
+ * }
80
+ * //...
81
+ * \endcode
82
+ * </pre>
83
+ * <p>Because Collator::compare()'s algorithm is complex, it is faster to sort
84
+ * long lists of words by retrieving collation keys with Collator::getCollationKey().
85
+ * You can then cache the collation keys and compare them using CollationKey::compareTo().
86
+ * <p>
87
+ * <strong>Note:</strong> <code>Collator</code>s with different Locale,
88
+ * CollationStrength and DecompositionMode settings will return different
89
+ * CollationKeys for the same set of strings. Locales have specific
90
+ * collation rules, and the way in which secondary and tertiary differences
91
+ * are taken into account, for example, will result in different CollationKeys
92
+ * for same strings.
93
+ * <p>
94
+
95
+ * @see Collator
96
+ * @see RuleBasedCollator
97
+ * @version 1.3 12/18/96
98
+ * @author Helena Shih
99
+ * @stable ICU 2.0
100
+ */
101
+ class U_I18N_API CollationKey : public UObject {
102
+ public:
103
+ /**
104
+ * This creates an empty collation key based on the null string. An empty
105
+ * collation key contains no sorting information. When comparing two empty
106
+ * collation keys, the result is Collator::EQUAL. Comparing empty collation key
107
+ * with non-empty collation key is always Collator::LESS.
108
+ * @stable ICU 2.0
109
+ */
110
+ CollationKey();
111
+
112
+
113
+ /**
114
+ * Creates a collation key based on the collation key values.
115
+ * @param values the collation key values
116
+ * @param count number of collation key values, including trailing nulls.
117
+ * @stable ICU 2.0
118
+ */
119
+ CollationKey(const uint8_t* values,
120
+ int32_t count);
121
+
122
+ /**
123
+ * Copy constructor.
124
+ * @param other the object to be copied.
125
+ * @stable ICU 2.0
126
+ */
127
+ CollationKey(const CollationKey& other);
128
+
129
+ /**
130
+ * Sort key destructor.
131
+ * @stable ICU 2.0
132
+ */
133
+ virtual ~CollationKey();
134
+
135
+ /**
136
+ * Assignment operator
137
+ * @param other the object to be copied.
138
+ * @stable ICU 2.0
139
+ */
140
+ const CollationKey& operator=(const CollationKey& other);
141
+
142
+ /**
143
+ * Compare if two collation keys are the same.
144
+ * @param source the collation key to compare to.
145
+ * @return Returns true if two collation keys are equal, false otherwise.
146
+ * @stable ICU 2.0
147
+ */
148
+ bool operator==(const CollationKey& source) const;
149
+
150
+ /**
151
+ * Compare if two collation keys are not the same.
152
+ * @param source the collation key to compare to.
153
+ * @return Returns true if two collation keys are different, false otherwise.
154
+ * @stable ICU 2.0
155
+ */
156
+ bool operator!=(const CollationKey& source) const;
157
+
158
+
159
+ /**
160
+ * Test to see if the key is in an invalid state. The key will be in an
161
+ * invalid state if it couldn't allocate memory for some operation.
162
+ * @return Returns true if the key is in an invalid, false otherwise.
163
+ * @stable ICU 2.0
164
+ */
165
+ UBool isBogus() const;
166
+
167
+ /**
168
+ * Returns a pointer to the collation key values. The storage is owned
169
+ * by the collation key and the pointer will become invalid if the key
170
+ * is deleted.
171
+ * @param count the output parameter of number of collation key values,
172
+ * including any trailing nulls.
173
+ * @return a pointer to the collation key values.
174
+ * @stable ICU 2.0
175
+ */
176
+ const uint8_t* getByteArray(int32_t& count) const;
177
+
178
+ #ifdef U_USE_COLLATION_KEY_DEPRECATES
179
+ /**
180
+ * Extracts the collation key values into a new array. The caller owns
181
+ * this storage and should free it.
182
+ * @param count the output parameter of number of collation key values,
183
+ * including any trailing nulls.
184
+ * @obsolete ICU 2.6. Use getByteArray instead since this API will be removed in that release.
185
+ */
186
+ uint8_t* toByteArray(int32_t& count) const;
187
+ #endif
188
+
189
+ #ifndef U_HIDE_DEPRECATED_API
190
+ /**
191
+ * Convenience method which does a string(bit-wise) comparison of the
192
+ * two collation keys.
193
+ * @param target target collation key to be compared with
194
+ * @return Returns Collator::LESS if sourceKey &lt; targetKey,
195
+ * Collator::GREATER if sourceKey > targetKey and Collator::EQUAL
196
+ * otherwise.
197
+ * @deprecated ICU 2.6 use the overload with error code
198
+ */
199
+ Collator::EComparisonResult compareTo(const CollationKey& target) const;
200
+ #endif /* U_HIDE_DEPRECATED_API */
201
+
202
+ /**
203
+ * Convenience method which does a string(bit-wise) comparison of the
204
+ * two collation keys.
205
+ * @param target target collation key to be compared with
206
+ * @param status error code
207
+ * @return Returns UCOL_LESS if sourceKey &lt; targetKey,
208
+ * UCOL_GREATER if sourceKey > targetKey and UCOL_EQUAL
209
+ * otherwise.
210
+ * @stable ICU 2.6
211
+ */
212
+ UCollationResult compareTo(const CollationKey& target, UErrorCode &status) const;
213
+
214
+ /**
215
+ * Creates an integer that is unique to the collation key. NOTE: this
216
+ * is not the same as String.hashCode.
217
+ * <p>Example of use:
218
+ * <pre>
219
+ * . UErrorCode status = U_ZERO_ERROR;
220
+ * . Collator *myCollation = Collator::createInstance(Locale::US, status);
221
+ * . if (U_FAILURE(status)) return;
222
+ * . CollationKey key1, key2;
223
+ * . UErrorCode status1 = U_ZERO_ERROR, status2 = U_ZERO_ERROR;
224
+ * . myCollation->getCollationKey("abc", key1, status1);
225
+ * . if (U_FAILURE(status1)) { delete myCollation; return; }
226
+ * . myCollation->getCollationKey("ABC", key2, status2);
227
+ * . if (U_FAILURE(status2)) { delete myCollation; return; }
228
+ * . // key1.hashCode() != key2.hashCode()
229
+ * </pre>
230
+ * @return the hash value based on the string's collation order.
231
+ * @see UnicodeString#hashCode
232
+ * @stable ICU 2.0
233
+ */
234
+ int32_t hashCode() const;
235
+
236
+ /**
237
+ * ICU "poor man's RTTI", returns a UClassID for the actual class.
238
+ * @stable ICU 2.2
239
+ */
240
+ virtual UClassID getDynamicClassID() const override;
241
+
242
+ /**
243
+ * ICU "poor man's RTTI", returns a UClassID for this class.
244
+ * @stable ICU 2.2
245
+ */
246
+ static UClassID U_EXPORT2 getStaticClassID();
247
+
248
+ private:
249
+ /**
250
+ * Replaces the current bytes buffer with a new one of newCapacity
251
+ * and copies length bytes from the old buffer to the new one.
252
+ * @return the new buffer, or nullptr if the allocation failed
253
+ */
254
+ uint8_t *reallocate(int32_t newCapacity, int32_t length);
255
+ /**
256
+ * Set a new length for a new sort key in the existing fBytes.
257
+ */
258
+ void setLength(int32_t newLength);
259
+
260
+ uint8_t *getBytes() {
261
+ return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes;
262
+ }
263
+ const uint8_t *getBytes() const {
264
+ return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes;
265
+ }
266
+ int32_t getCapacity() const {
267
+ return fFlagAndLength >= 0 ? static_cast<int32_t>(sizeof(fUnion)) : fUnion.fFields.fCapacity;
268
+ }
269
+ int32_t getLength() const { return fFlagAndLength & 0x7fffffff; }
270
+
271
+ /**
272
+ * Set the CollationKey to a "bogus" or invalid state
273
+ * @return this CollationKey
274
+ */
275
+ CollationKey& setToBogus();
276
+ /**
277
+ * Resets this CollationKey to an empty state
278
+ * @return this CollationKey
279
+ */
280
+ CollationKey& reset();
281
+
282
+ /**
283
+ * Allow private access to RuleBasedCollator
284
+ */
285
+ friend class RuleBasedCollator;
286
+ friend class CollationKeyByteSink;
287
+
288
+ // Class fields. sizeof(CollationKey) is intended to be 48 bytes
289
+ // on a machine with 64-bit pointers.
290
+ // We use a union to maximize the size of the internal buffer,
291
+ // similar to UnicodeString but not as tight and complex.
292
+
293
+ // (implicit) *vtable;
294
+ /**
295
+ * Sort key length and flag.
296
+ * Bit 31 is set if the buffer is heap-allocated.
297
+ * Bits 30..0 contain the sort key length.
298
+ */
299
+ int32_t fFlagAndLength;
300
+ /**
301
+ * Unique hash value of this CollationKey.
302
+ * Special value 2 if the key is bogus.
303
+ */
304
+ mutable int32_t fHashCode;
305
+ /**
306
+ * fUnion provides 32 bytes for the internal buffer or for
307
+ * pointer+capacity.
308
+ */
309
+ union StackBufferOrFields {
310
+ /** fStackBuffer is used iff fFlagAndLength>=0, else fFields is used */
311
+ uint8_t fStackBuffer[32];
312
+ struct {
313
+ uint8_t *fBytes;
314
+ int32_t fCapacity;
315
+ } fFields;
316
+ } fUnion;
317
+ };
318
+
319
+ inline bool
320
+ CollationKey::operator!=(const CollationKey& other) const
321
+ {
322
+ return !(*this == other);
323
+ }
324
+
325
+ inline UBool
326
+ CollationKey::isBogus() const
327
+ {
328
+ return fHashCode == 2; // kBogusHashCode
329
+ }
330
+
331
+ inline const uint8_t*
332
+ CollationKey::getByteArray(int32_t &count) const
333
+ {
334
+ count = getLength();
335
+ return getBytes();
336
+ }
337
+
338
+ U_NAMESPACE_END
339
+
340
+ #endif /* #if !UCONFIG_NO_COLLATION */
341
+
342
+ #endif /* U_SHOW_CPLUSPLUS_API */
343
+
344
+ #endif
@@ -0,0 +1,41 @@
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) 2009-2014, International Business Machines
7
+ * Corporation and others. All Rights Reserved.
8
+ *
9
+ *******************************************************************************
10
+ * file name: std_string.h
11
+ * encoding: UTF-8
12
+ * tab size: 8 (not used)
13
+ * indentation:4
14
+ *
15
+ * created on: 2009feb19
16
+ * created by: Markus W. Scherer
17
+ */
18
+
19
+ #ifndef __STD_STRING_H__
20
+ #define __STD_STRING_H__
21
+
22
+ /**
23
+ * \file
24
+ * \brief C++ API: Central ICU header for including the C++ standard &lt;string&gt;
25
+ * header and for related definitions.
26
+ */
27
+
28
+ #include <_foundation_unicode/utypes.h>
29
+
30
+ #if U_SHOW_CPLUSPLUS_API
31
+
32
+ // Workaround for a libstdc++ bug before libstdc++4.6 (2011).
33
+ // https://bugs.llvm.org/show_bug.cgi?id=13364
34
+ #if defined(__GLIBCXX__)
35
+ namespace std { class type_info; }
36
+ #endif
37
+ #include <string>
38
+
39
+ #endif /* U_SHOW_CPLUSPLUS_API */
40
+
41
+ #endif // __STD_STRING_H__
@@ -0,0 +1,281 @@
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-2012, International Business Machines
7
+ * Corporation and others. All Rights Reserved.
8
+ *
9
+ *******************************************************************************
10
+ */
11
+
12
+ #ifndef STRENUM_H
13
+ #define STRENUM_H
14
+
15
+ #include <_foundation_unicode/utypes.h>
16
+
17
+ #if U_SHOW_CPLUSPLUS_API
18
+
19
+ #include <_foundation_unicode/uobject.h>
20
+ #include <_foundation_unicode/unistr.h>
21
+
22
+ /**
23
+ * \file
24
+ * \brief C++ API: String Enumeration
25
+ */
26
+
27
+ U_NAMESPACE_BEGIN
28
+
29
+ /**
30
+ * Base class for 'pure' C++ implementations of uenum api. Adds a
31
+ * method that returns the next UnicodeString since in C++ this can
32
+ * be a common storage format for strings.
33
+ *
34
+ * <p>The model is that the enumeration is over strings maintained by
35
+ * a 'service.' At any point, the service might change, invalidating
36
+ * the enumerator (though this is expected to be rare). The iterator
37
+ * returns an error if this has occurred. Lack of the error is no
38
+ * guarantee that the service didn't change immediately after the
39
+ * call, so the returned string still might not be 'valid' on
40
+ * subsequent use.</p>
41
+ *
42
+ * <p>Strings may take the form of const char*, const char16_t*, or const
43
+ * UnicodeString*. The type you get is determine by the variant of
44
+ * 'next' that you call. In general the StringEnumeration is
45
+ * optimized for one of these types, but all StringEnumerations can
46
+ * return all types. Returned strings are each terminated with a NUL.
47
+ * Depending on the service data, they might also include embedded NUL
48
+ * characters, so API is provided to optionally return the true
49
+ * length, counting the embedded NULs but not counting the terminating
50
+ * NUL.</p>
51
+ *
52
+ * <p>The pointers returned by next, unext, and snext become invalid
53
+ * upon any subsequent call to the enumeration's destructor, next,
54
+ * unext, snext, or reset.</p>
55
+ *
56
+ * ICU 2.8 adds some default implementations and helper functions
57
+ * for subclasses.
58
+ *
59
+ * @stable ICU 2.4
60
+ */
61
+ class U_COMMON_API StringEnumeration : public UObject {
62
+ public:
63
+ /**
64
+ * Destructor.
65
+ * @stable ICU 2.4
66
+ */
67
+ virtual ~StringEnumeration();
68
+
69
+ /**
70
+ * Clone this object, an instance of a subclass of StringEnumeration.
71
+ * Clones can be used concurrently in multiple threads.
72
+ * If a subclass does not implement clone(), or if an error occurs,
73
+ * then nullptr is returned.
74
+ * The caller must delete the clone.
75
+ *
76
+ * @return a clone of this object
77
+ *
78
+ * @see getDynamicClassID
79
+ * @stable ICU 2.8
80
+ */
81
+ virtual StringEnumeration *clone() const;
82
+
83
+ /**
84
+ * <p>Return the number of elements that the iterator traverses. If
85
+ * the iterator is out of sync with its service, status is set to
86
+ * U_ENUM_OUT_OF_SYNC_ERROR, and the return value is zero.</p>
87
+ *
88
+ * <p>The return value will not change except possibly as a result of
89
+ * a subsequent call to reset, or if the iterator becomes out of sync.</p>
90
+ *
91
+ * <p>This is a convenience function. It can end up being very
92
+ * expensive as all the items might have to be pre-fetched
93
+ * (depending on the storage format of the data being
94
+ * traversed).</p>
95
+ *
96
+ * @param status the error code.
97
+ * @return number of elements in the iterator.
98
+ *
99
+ * @stable ICU 2.4 */
100
+ virtual int32_t count(UErrorCode& status) const = 0;
101
+
102
+ /**
103
+ * <p>Returns the next element as a NUL-terminated char*. If there
104
+ * are no more elements, returns nullptr. If the resultLength pointer
105
+ * is not nullptr, the length of the string (not counting the
106
+ * terminating NUL) is returned at that address. If an error
107
+ * status is returned, the value at resultLength is undefined.</p>
108
+ *
109
+ * <p>The returned pointer is owned by this iterator and must not be
110
+ * deleted by the caller. The pointer is valid until the next call
111
+ * to next, unext, snext, reset, or the enumerator's destructor.</p>
112
+ *
113
+ * <p>If the iterator is out of sync with its service, status is set
114
+ * to U_ENUM_OUT_OF_SYNC_ERROR and nullptr is returned.</p>
115
+ *
116
+ * <p>If the native service string is a char16_t* string, it is
117
+ * converted to char* with the invariant converter. If the
118
+ * conversion fails (because a character cannot be converted) then
119
+ * status is set to U_INVARIANT_CONVERSION_ERROR and the return
120
+ * value is undefined (though not nullptr).</p>
121
+ *
122
+ * Starting with ICU 2.8, the default implementation calls snext()
123
+ * and handles the conversion.
124
+ * Either next() or snext() must be implemented differently by a subclass.
125
+ *
126
+ * @param status the error code.
127
+ * @param resultLength a pointer to receive the length, can be nullptr.
128
+ * @return a pointer to the string, or nullptr.
129
+ *
130
+ * @stable ICU 2.4
131
+ */
132
+ virtual const char* next(int32_t *resultLength, UErrorCode& status);
133
+
134
+ /**
135
+ * <p>Returns the next element as a NUL-terminated char16_t*. If there
136
+ * are no more elements, returns nullptr. If the resultLength pointer
137
+ * is not nullptr, the length of the string (not counting the
138
+ * terminating NUL) is returned at that address. If an error
139
+ * status is returned, the value at resultLength is undefined.</p>
140
+ *
141
+ * <p>The returned pointer is owned by this iterator and must not be
142
+ * deleted by the caller. The pointer is valid until the next call
143
+ * to next, unext, snext, reset, or the enumerator's destructor.</p>
144
+ *
145
+ * <p>If the iterator is out of sync with its service, status is set
146
+ * to U_ENUM_OUT_OF_SYNC_ERROR and nullptr is returned.</p>
147
+ *
148
+ * Starting with ICU 2.8, the default implementation calls snext()
149
+ * and handles the conversion.
150
+ *
151
+ * @param status the error code.
152
+ * @param resultLength a pointer to receive the length, can be nullptr.
153
+ * @return a pointer to the string, or nullptr.
154
+ *
155
+ * @stable ICU 2.4
156
+ */
157
+ virtual const char16_t* unext(int32_t *resultLength, UErrorCode& status);
158
+
159
+ /**
160
+ * <p>Returns the next element a UnicodeString*. If there are no
161
+ * more elements, returns nullptr.</p>
162
+ *
163
+ * <p>The returned pointer is owned by this iterator and must not be
164
+ * deleted by the caller. The pointer is valid until the next call
165
+ * to next, unext, snext, reset, or the enumerator's destructor.</p>
166
+ *
167
+ * <p>If the iterator is out of sync with its service, status is set
168
+ * to U_ENUM_OUT_OF_SYNC_ERROR and nullptr is returned.</p>
169
+ *
170
+ * Starting with ICU 2.8, the default implementation calls next()
171
+ * and handles the conversion.
172
+ * Either next() or snext() must be implemented differently by a subclass.
173
+ *
174
+ * @param status the error code.
175
+ * @return a pointer to the string, or nullptr.
176
+ *
177
+ * @stable ICU 2.4
178
+ */
179
+ virtual const UnicodeString* snext(UErrorCode& status);
180
+
181
+ /**
182
+ * <p>Resets the iterator. This re-establishes sync with the
183
+ * service and rewinds the iterator to start at the first
184
+ * element.</p>
185
+ *
186
+ * <p>Previous pointers returned by next, unext, or snext become
187
+ * invalid, and the value returned by count might change.</p>
188
+ *
189
+ * @param status the error code.
190
+ *
191
+ * @stable ICU 2.4
192
+ */
193
+ virtual void reset(UErrorCode& status) = 0;
194
+
195
+ /**
196
+ * Compares this enumeration to other to check if both are equal
197
+ *
198
+ * @param that The other string enumeration to compare this object to
199
+ * @return true if the enumerations are equal. false if not.
200
+ * @stable ICU 3.6
201
+ */
202
+ virtual bool operator==(const StringEnumeration& that)const;
203
+ /**
204
+ * Compares this enumeration to other to check if both are not equal
205
+ *
206
+ * @param that The other string enumeration to compare this object to
207
+ * @return true if the enumerations are equal. false if not.
208
+ * @stable ICU 3.6
209
+ */
210
+ virtual bool operator!=(const StringEnumeration& that)const;
211
+
212
+ protected:
213
+ /**
214
+ * UnicodeString field for use with default implementations and subclasses.
215
+ * @stable ICU 2.8
216
+ */
217
+ UnicodeString unistr;
218
+ /**
219
+ * char * default buffer for use with default implementations and subclasses.
220
+ * @stable ICU 2.8
221
+ */
222
+ char charsBuffer[32];
223
+ /**
224
+ * char * buffer for use with default implementations and subclasses.
225
+ * Allocated in constructor and in ensureCharsCapacity().
226
+ * @stable ICU 2.8
227
+ */
228
+ char *chars;
229
+ /**
230
+ * Capacity of chars, for use with default implementations and subclasses.
231
+ * @stable ICU 2.8
232
+ */
233
+ int32_t charsCapacity;
234
+
235
+ /**
236
+ * Default constructor for use with default implementations and subclasses.
237
+ * @stable ICU 2.8
238
+ */
239
+ StringEnumeration();
240
+
241
+ /**
242
+ * Ensures that chars is at least as large as the requested capacity.
243
+ * For use with default implementations and subclasses.
244
+ *
245
+ * @param capacity Requested capacity.
246
+ * @param status ICU in/out error code.
247
+ * @stable ICU 2.8
248
+ */
249
+ void ensureCharsCapacity(int32_t capacity, UErrorCode &status);
250
+
251
+ /**
252
+ * Converts s to Unicode and sets unistr to the result.
253
+ * For use with default implementations and subclasses,
254
+ * especially for implementations of snext() in terms of next().
255
+ * This is provided with a helper function instead of a default implementation
256
+ * of snext() to avoid potential infinite loops between next() and snext().
257
+ *
258
+ * For example:
259
+ * \code
260
+ * const UnicodeString* snext(UErrorCode& status) {
261
+ * int32_t resultLength=0;
262
+ * const char *s=next(&resultLength, status);
263
+ * return setChars(s, resultLength, status);
264
+ * }
265
+ * \endcode
266
+ *
267
+ * @param s String to be converted to Unicode.
268
+ * @param length Length of the string.
269
+ * @param status ICU in/out error code.
270
+ * @return A pointer to unistr.
271
+ * @stable ICU 2.8
272
+ */
273
+ UnicodeString *setChars(const char *s, int32_t length, UErrorCode &status);
274
+ };
275
+
276
+ U_NAMESPACE_END
277
+
278
+ #endif /* U_SHOW_CPLUSPLUS_API */
279
+
280
+ /* STRENUM_H */
281
+ #endif