zeroc-ice 3.7.9.1 → 3.8.0

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 (1215) hide show
  1. checksums.yaml +4 -4
  2. data/dist/IceRuby/Communicator.cpp +575 -0
  3. data/dist/IceRuby/Communicator.h +19 -0
  4. data/dist/IceRuby/Config.h +77 -0
  5. data/dist/IceRuby/Connection.cpp +428 -0
  6. data/dist/IceRuby/Connection.h +20 -0
  7. data/dist/IceRuby/DefaultSliceLoader.cpp +45 -0
  8. data/dist/IceRuby/DefaultSliceLoader.h +25 -0
  9. data/dist/IceRuby/Endpoint.cpp +342 -0
  10. data/dist/IceRuby/Endpoint.h +18 -0
  11. data/dist/IceRuby/ImplicitContext.cpp +143 -0
  12. data/dist/IceRuby/ImplicitContext.h +16 -0
  13. data/dist/IceRuby/Init.cpp +36 -0
  14. data/dist/IceRuby/Logger.cpp +146 -0
  15. data/dist/IceRuby/Logger.h +19 -0
  16. data/dist/IceRuby/Operation.cpp +623 -0
  17. data/dist/IceRuby/Operation.h +28 -0
  18. data/dist/IceRuby/Properties.cpp +413 -0
  19. data/dist/IceRuby/Properties.h +16 -0
  20. data/dist/IceRuby/Proxy.cpp +926 -0
  21. data/dist/IceRuby/Proxy.h +21 -0
  22. data/dist/IceRuby/RubySliceLoader.cpp +39 -0
  23. data/dist/IceRuby/RubySliceLoader.h +27 -0
  24. data/dist/IceRuby/Slice.cpp +199 -0
  25. data/dist/IceRuby/Slice.h +13 -0
  26. data/dist/IceRuby/Types.cpp +3133 -0
  27. data/dist/IceRuby/Types.h +533 -0
  28. data/dist/IceRuby/Util.cpp +553 -0
  29. data/dist/IceRuby/Util.h +485 -0
  30. data/dist/ice/cpp/include/Ice/AsyncResponseHandler.h +85 -0
  31. data/dist/ice/cpp/include/Ice/BatchRequest.h +39 -0
  32. data/dist/ice/cpp/include/Ice/BatchRequestQueueF.h +14 -0
  33. data/dist/ice/cpp/include/Ice/Buffer.h +159 -0
  34. data/dist/ice/cpp/include/Ice/Communicator.h +411 -0
  35. data/dist/ice/cpp/include/Ice/CommunicatorF.h +16 -0
  36. data/dist/ice/cpp/include/Ice/Config.h +60 -0
  37. data/dist/ice/cpp/include/Ice/Connection.h +410 -0
  38. data/dist/ice/cpp/include/Ice/ConnectionF.h +36 -0
  39. data/dist/ice/cpp/include/Ice/ConnectionIF.h +16 -0
  40. data/dist/ice/cpp/include/Ice/CtrlCHandler.h +56 -0
  41. data/dist/ice/cpp/include/Ice/Current.h +60 -0
  42. data/dist/ice/cpp/include/Ice/DefaultSliceLoader.h +160 -0
  43. data/dist/ice/cpp/include/Ice/Demangle.h +17 -0
  44. data/dist/ice/cpp/include/Ice/Endpoint.h +298 -0
  45. data/dist/ice/cpp/include/Ice/EndpointF.h +44 -0
  46. data/dist/ice/cpp/include/Ice/EndpointSelectionType.h +21 -0
  47. data/dist/ice/cpp/include/Ice/Exception.h +56 -0
  48. data/dist/ice/cpp/include/Ice/FacetMap.h +16 -0
  49. data/dist/ice/cpp/include/Ice/Format.h +22 -0
  50. data/dist/ice/cpp/include/Ice/Ice.h +60 -0
  51. data/dist/ice/cpp/include/Ice/IconvStringConverter.h +216 -0
  52. data/dist/ice/cpp/include/Ice/ImplicitContext.h +76 -0
  53. data/dist/ice/cpp/include/Ice/IncomingRequest.h +75 -0
  54. data/dist/ice/cpp/include/Ice/Initialize.h +143 -0
  55. data/dist/ice/cpp/include/Ice/InputStream.h +942 -0
  56. data/dist/ice/cpp/include/Ice/InstanceF.h +14 -0
  57. data/dist/ice/cpp/include/Ice/Instrumentation.h +319 -0
  58. data/dist/ice/cpp/include/Ice/LocalException.h +58 -0
  59. data/dist/ice/cpp/include/Ice/LocalExceptions.h +870 -0
  60. data/dist/ice/cpp/include/Ice/Logger.h +62 -0
  61. data/dist/ice/cpp/include/Ice/LoggerUtil.h +162 -0
  62. data/dist/ice/cpp/include/Ice/MarshaledResult.h +50 -0
  63. data/dist/ice/cpp/include/Ice/NativePropertiesAdmin.h +54 -0
  64. data/dist/ice/cpp/include/Ice/Object.h +168 -0
  65. data/dist/ice/cpp/include/Ice/ObjectAdapter.h +324 -0
  66. data/dist/ice/cpp/include/Ice/ObjectAdapterF.h +16 -0
  67. data/dist/ice/cpp/include/Ice/ObjectF.h +16 -0
  68. data/dist/ice/cpp/include/Ice/ObserverHelper.h +164 -0
  69. data/dist/ice/cpp/include/Ice/OutgoingAsync.h +512 -0
  70. data/dist/ice/cpp/include/Ice/OutgoingResponse.h +129 -0
  71. data/dist/ice/cpp/include/Ice/OutputStream.h +872 -0
  72. data/dist/ice/cpp/include/Ice/Plugin.h +73 -0
  73. data/dist/ice/cpp/include/Ice/PluginFactory.h +77 -0
  74. data/dist/ice/cpp/include/Ice/PopDisableWarnings.h +16 -0
  75. data/dist/ice/cpp/include/Ice/Properties.h +307 -0
  76. data/dist/ice/cpp/include/Ice/PropertiesF.h +19 -0
  77. data/dist/ice/cpp/include/Ice/Proxy.h +742 -0
  78. data/dist/ice/cpp/include/Ice/ProxyF.h +11 -0
  79. data/dist/ice/cpp/include/Ice/ProxyFunctions.h +209 -0
  80. data/dist/ice/cpp/include/Ice/PushDisableWarnings.h +29 -0
  81. data/dist/ice/cpp/include/Ice/ReferenceF.h +14 -0
  82. data/dist/ice/cpp/include/Ice/RequestHandlerF.h +20 -0
  83. data/dist/ice/cpp/include/Ice/SSL/ClientAuthenticationOptions.h +268 -0
  84. data/dist/ice/cpp/include/Ice/SSL/Config.h +54 -0
  85. data/dist/ice/cpp/include/Ice/SSL/ConnectionInfo.h +107 -0
  86. data/dist/ice/cpp/include/Ice/SSL/ConnectionInfoF.h +39 -0
  87. data/dist/ice/cpp/include/Ice/SSL/EndpointInfo.h +40 -0
  88. data/dist/ice/cpp/include/Ice/SSL/SSLException.h +32 -0
  89. data/dist/ice/cpp/include/Ice/SSL/ServerAuthenticationOptions.h +278 -0
  90. data/dist/ice/cpp/include/Ice/ServantLocator.h +51 -0
  91. data/dist/ice/cpp/include/Ice/Service.h +219 -0
  92. data/dist/ice/cpp/include/Ice/SliceLoader.h +67 -0
  93. data/dist/ice/cpp/include/Ice/SlicedData.h +125 -0
  94. data/dist/ice/cpp/include/Ice/SlicedDataF.h +30 -0
  95. data/dist/ice/cpp/include/Ice/StreamHelpers.h +652 -0
  96. data/dist/ice/cpp/include/Ice/StreamableTraits.h +291 -0
  97. data/dist/ice/cpp/include/Ice/StringConverter.h +167 -0
  98. data/dist/ice/cpp/include/Ice/StringUtil.h +114 -0
  99. data/dist/ice/cpp/include/Ice/TimerTask.h +24 -0
  100. data/dist/ice/cpp/include/Ice/TupleCompare.h +103 -0
  101. data/dist/ice/cpp/include/Ice/UUID.h +16 -0
  102. data/dist/ice/cpp/include/Ice/UserException.h +46 -0
  103. data/dist/ice/cpp/include/Ice/UserExceptionFactory.h +15 -0
  104. data/dist/ice/cpp/include/Ice/Value.h +127 -0
  105. data/dist/ice/cpp/include/Ice/ValueF.h +16 -0
  106. data/dist/ice/cpp/include/IceDiscovery/IceDiscovery.h +28 -0
  107. data/dist/ice/cpp/include/IceLocatorDiscovery/IceLocatorDiscovery.h +28 -0
  108. data/dist/ice/cpp/include/generated/Ice/BuiltinSequences.h +70 -0
  109. data/dist/ice/cpp/include/generated/Ice/Context.h +40 -0
  110. data/dist/ice/cpp/include/generated/Ice/EndpointTypes.h +74 -0
  111. data/dist/ice/cpp/include/generated/Ice/Identity.h +108 -0
  112. data/dist/ice/cpp/include/generated/Ice/Locator.h +542 -0
  113. data/dist/ice/cpp/include/generated/Ice/LocatorRegistry.h +443 -0
  114. data/dist/ice/cpp/include/generated/Ice/Metrics.h +1103 -0
  115. data/dist/ice/cpp/include/generated/Ice/OperationMode.h +73 -0
  116. data/dist/ice/cpp/include/generated/Ice/Process.h +245 -0
  117. data/dist/ice/cpp/include/generated/Ice/PropertiesAdmin.h +314 -0
  118. data/dist/ice/cpp/include/generated/Ice/PropertyDict.h +39 -0
  119. data/dist/ice/cpp/include/generated/Ice/RemoteLogger.h +724 -0
  120. data/dist/ice/cpp/include/generated/Ice/ReplyStatus.h +94 -0
  121. data/dist/ice/cpp/include/generated/Ice/Router.h +496 -0
  122. data/dist/ice/cpp/include/generated/Ice/SliceChecksumDict.h +37 -0
  123. data/dist/ice/cpp/include/generated/Ice/Version.h +112 -0
  124. data/dist/ice/cpp/include/generated/IceDiscovery/Lookup.h +498 -0
  125. data/dist/ice/cpp/include/generated/IceLocatorDiscovery/Lookup.h +387 -0
  126. data/dist/ice/cpp/src/Ice/Acceptor.h +41 -0
  127. data/dist/ice/cpp/src/Ice/AcceptorF.h +17 -0
  128. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories.h +16 -0
  129. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories_all.cpp +43 -0
  130. data/dist/ice/cpp/src/Ice/AddDefaultPluginFactories_min.cpp +17 -0
  131. data/dist/ice/cpp/src/Ice/ArgVector.cpp +58 -0
  132. data/dist/ice/cpp/src/Ice/ArgVector.h +30 -0
  133. data/dist/ice/cpp/src/Ice/Base64.cpp +263 -0
  134. data/dist/ice/cpp/src/Ice/Base64.h +26 -0
  135. data/dist/ice/cpp/src/Ice/BatchRequestQueue.cpp +199 -0
  136. data/dist/ice/cpp/src/Ice/BatchRequestQueue.h +49 -0
  137. data/dist/ice/cpp/src/Ice/Buffer.cpp +187 -0
  138. data/dist/ice/cpp/src/Ice/CheckIdentity.h +21 -0
  139. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +373 -0
  140. data/dist/ice/cpp/src/Ice/CollocatedRequestHandler.h +65 -0
  141. data/dist/ice/cpp/src/Ice/Communicator.cpp +399 -0
  142. data/dist/ice/cpp/src/Ice/CommunicatorFlushBatchAsync.cpp +140 -0
  143. data/dist/ice/cpp/src/Ice/CommunicatorFlushBatchAsync.h +39 -0
  144. data/dist/ice/cpp/src/Ice/ConnectRequestHandler.cpp +227 -0
  145. data/dist/ice/cpp/src/Ice/ConnectRequestHandler.h +51 -0
  146. data/dist/ice/cpp/src/Ice/ConnectRequestHandlerF.h +14 -0
  147. data/dist/ice/cpp/src/Ice/Connection.cpp +44 -0
  148. data/dist/ice/cpp/src/Ice/ConnectionFactory.cpp +1758 -0
  149. data/dist/ice/cpp/src/Ice/ConnectionFactory.h +264 -0
  150. data/dist/ice/cpp/src/Ice/ConnectionFactoryF.h +17 -0
  151. data/dist/ice/cpp/src/Ice/ConnectionI.cpp +3563 -0
  152. data/dist/ice/cpp/src/Ice/ConnectionI.h +429 -0
  153. data/dist/ice/cpp/src/Ice/ConnectionOptions.h +22 -0
  154. data/dist/ice/cpp/src/Ice/Connector.h +38 -0
  155. data/dist/ice/cpp/src/Ice/ConnectorF.h +14 -0
  156. data/dist/ice/cpp/src/Ice/ConsoleUtil.cpp +136 -0
  157. data/dist/ice/cpp/src/Ice/ConsoleUtil.h +79 -0
  158. data/dist/ice/cpp/src/Ice/CtrlCHandler.cpp +189 -0
  159. data/dist/ice/cpp/src/Ice/Current.cpp +29 -0
  160. data/dist/ice/cpp/src/Ice/DLLMain.cpp +40 -0
  161. data/dist/ice/cpp/src/Ice/DefaultSliceLoader.cpp +39 -0
  162. data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +81 -0
  163. data/dist/ice/cpp/src/Ice/DefaultsAndOverrides.h +38 -0
  164. data/dist/ice/cpp/src/Ice/DefaultsAndOverridesF.h +14 -0
  165. data/dist/ice/cpp/src/Ice/Demangle.cpp +25 -0
  166. data/dist/ice/cpp/src/Ice/DisableWarnings.h +31 -0
  167. data/dist/ice/cpp/src/Ice/DynamicLibrary.cpp +216 -0
  168. data/dist/ice/cpp/src/Ice/DynamicLibrary.h +91 -0
  169. data/dist/ice/cpp/src/Ice/Endian.h +40 -0
  170. data/dist/ice/cpp/src/Ice/EndpointFactory.cpp +165 -0
  171. data/dist/ice/cpp/src/Ice/EndpointFactory.h +96 -0
  172. data/dist/ice/cpp/src/Ice/EndpointFactoryF.h +14 -0
  173. data/dist/ice/cpp/src/Ice/EndpointFactoryManager.cpp +180 -0
  174. data/dist/ice/cpp/src/Ice/EndpointFactoryManager.h +42 -0
  175. data/dist/ice/cpp/src/Ice/EndpointFactoryManagerF.h +14 -0
  176. data/dist/ice/cpp/src/Ice/EndpointI.cpp +128 -0
  177. data/dist/ice/cpp/src/Ice/EndpointI.h +150 -0
  178. data/dist/ice/cpp/src/Ice/EndpointIF.h +21 -0
  179. data/dist/ice/cpp/src/Ice/EventHandler.cpp +9 -0
  180. data/dist/ice/cpp/src/Ice/EventHandler.h +71 -0
  181. data/dist/ice/cpp/src/Ice/EventHandlerF.h +14 -0
  182. data/dist/ice/cpp/src/Ice/Exception.cpp +5 -0
  183. data/dist/ice/cpp/src/Ice/FileUtil.cpp +476 -0
  184. data/dist/ice/cpp/src/Ice/FileUtil.h +152 -0
  185. data/dist/ice/cpp/src/Ice/FixedRequestHandler.cpp +34 -0
  186. data/dist/ice/cpp/src/Ice/FixedRequestHandler.h +29 -0
  187. data/dist/ice/cpp/src/Ice/HashUtil.h +67 -0
  188. data/dist/ice/cpp/src/Ice/HttpParser.cpp +684 -0
  189. data/dist/ice/cpp/src/Ice/HttpParser.h +112 -0
  190. data/dist/ice/cpp/src/Ice/IPEndpointI.cpp +593 -0
  191. data/dist/ice/cpp/src/Ice/IPEndpointI.h +106 -0
  192. data/dist/ice/cpp/src/Ice/IPEndpointIF.h +17 -0
  193. data/dist/ice/cpp/src/Ice/IdleTimeoutTransceiverDecorator.cpp +172 -0
  194. data/dist/ice/cpp/src/Ice/IdleTimeoutTransceiverDecorator.h +89 -0
  195. data/dist/ice/cpp/src/Ice/ImplicitContext.cpp +109 -0
  196. data/dist/ice/cpp/src/Ice/IncomingRequest.cpp +66 -0
  197. data/dist/ice/cpp/src/Ice/Initialize.cpp +160 -0
  198. data/dist/ice/cpp/src/Ice/InputStream.cpp +2206 -0
  199. data/dist/ice/cpp/src/Ice/Instance.cpp +1956 -0
  200. data/dist/ice/cpp/src/Ice/Instance.h +225 -0
  201. data/dist/ice/cpp/src/Ice/InstrumentationI.cpp +959 -0
  202. data/dist/ice/cpp/src/Ice/InstrumentationI.h +235 -0
  203. data/dist/ice/cpp/src/Ice/LocalException.cpp +518 -0
  204. data/dist/ice/cpp/src/Ice/LocalExceptions.cpp +577 -0
  205. data/dist/ice/cpp/src/Ice/LocatorInfo.cpp +851 -0
  206. data/dist/ice/cpp/src/Ice/LocatorInfo.h +176 -0
  207. data/dist/ice/cpp/src/Ice/LocatorInfoF.h +20 -0
  208. data/dist/ice/cpp/src/Ice/LoggerAdminI.cpp +774 -0
  209. data/dist/ice/cpp/src/Ice/LoggerAdminI.h +31 -0
  210. data/dist/ice/cpp/src/Ice/LoggerI.cpp +234 -0
  211. data/dist/ice/cpp/src/Ice/LoggerI.h +47 -0
  212. data/dist/ice/cpp/src/Ice/LoggerMiddleware.cpp +176 -0
  213. data/dist/ice/cpp/src/Ice/LoggerMiddleware.h +42 -0
  214. data/dist/ice/cpp/src/Ice/LoggerUtil.cpp +76 -0
  215. data/dist/ice/cpp/src/Ice/MarshaledResult.cpp +20 -0
  216. data/dist/ice/cpp/src/Ice/MetricsAdminI.cpp +608 -0
  217. data/dist/ice/cpp/src/Ice/MetricsAdminI.h +600 -0
  218. data/dist/ice/cpp/src/Ice/MetricsFunctional.h +92 -0
  219. data/dist/ice/cpp/src/Ice/MetricsObserverI.h +587 -0
  220. data/dist/ice/cpp/src/Ice/NativePropertiesAdmin.cpp +185 -0
  221. data/dist/ice/cpp/src/Ice/Network.cpp +1927 -0
  222. data/dist/ice/cpp/src/Ice/Network.h +265 -0
  223. data/dist/ice/cpp/src/Ice/NetworkF.h +11 -0
  224. data/dist/ice/cpp/src/Ice/NetworkProxy.cpp +306 -0
  225. data/dist/ice/cpp/src/Ice/NetworkProxy.h +67 -0
  226. data/dist/ice/cpp/src/Ice/NetworkProxyF.h +14 -0
  227. data/dist/ice/cpp/src/Ice/OSLogLoggerI.cpp +55 -0
  228. data/dist/ice/cpp/src/Ice/OSLogLoggerI.h +35 -0
  229. data/dist/ice/cpp/src/Ice/Object.cpp +249 -0
  230. data/dist/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +348 -0
  231. data/dist/ice/cpp/src/Ice/ObjectAdapterFactory.h +53 -0
  232. data/dist/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +14 -0
  233. data/dist/ice/cpp/src/Ice/ObjectAdapterI.cpp +1383 -0
  234. data/dist/ice/cpp/src/Ice/ObjectAdapterI.h +163 -0
  235. data/dist/ice/cpp/src/Ice/ObserverHelper.cpp +75 -0
  236. data/dist/ice/cpp/src/Ice/ObserverMiddleware.cpp +96 -0
  237. data/dist/ice/cpp/src/Ice/ObserverMiddleware.h +25 -0
  238. data/dist/ice/cpp/src/Ice/OpaqueEndpointI.cpp +368 -0
  239. data/dist/ice/cpp/src/Ice/OpaqueEndpointI.h +66 -0
  240. data/dist/ice/cpp/src/Ice/Options.cpp +980 -0
  241. data/dist/ice/cpp/src/Ice/Options.h +119 -0
  242. data/dist/ice/cpp/src/Ice/OutgoingAsync.cpp +1106 -0
  243. data/dist/ice/cpp/src/Ice/OutgoingResponse.cpp +276 -0
  244. data/dist/ice/cpp/src/Ice/OutputStream.cpp +1454 -0
  245. data/dist/ice/cpp/src/Ice/OutputUtil.cpp +344 -0
  246. data/dist/ice/cpp/src/Ice/OutputUtil.h +173 -0
  247. data/dist/ice/cpp/src/Ice/PluginManagerI.cpp +344 -0
  248. data/dist/ice/cpp/src/Ice/PluginManagerI.h +54 -0
  249. data/dist/ice/cpp/src/Ice/Properties.cpp +931 -0
  250. data/dist/ice/cpp/src/Ice/PropertyNames.cpp +606 -0
  251. data/dist/ice/cpp/src/Ice/PropertyNames.h +63 -0
  252. data/dist/ice/cpp/src/Ice/PropertyUtil.cpp +103 -0
  253. data/dist/ice/cpp/src/Ice/PropertyUtil.h +31 -0
  254. data/dist/ice/cpp/src/Ice/Protocol.cpp +159 -0
  255. data/dist/ice/cpp/src/Ice/Protocol.h +116 -0
  256. data/dist/ice/cpp/src/Ice/ProtocolInstance.cpp +186 -0
  257. data/dist/ice/cpp/src/Ice/ProtocolInstance.h +74 -0
  258. data/dist/ice/cpp/src/Ice/ProtocolInstanceF.h +14 -0
  259. data/dist/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +29 -0
  260. data/dist/ice/cpp/src/Ice/ProtocolPluginFacade.h +35 -0
  261. data/dist/ice/cpp/src/Ice/Proxy.cpp +541 -0
  262. data/dist/ice/cpp/src/Ice/ProxyAsync.cpp +684 -0
  263. data/dist/ice/cpp/src/Ice/ProxyFunctions.cpp +90 -0
  264. data/dist/ice/cpp/src/Ice/PushDisableDeprecatedWarnings.h +15 -0
  265. data/dist/ice/cpp/src/Ice/Random.cpp +29 -0
  266. data/dist/ice/cpp/src/Ice/Random.h +23 -0
  267. data/dist/ice/cpp/src/Ice/Reference.cpp +1584 -0
  268. data/dist/ice/cpp/src/Ice/Reference.h +339 -0
  269. data/dist/ice/cpp/src/Ice/ReferenceFactory.cpp +830 -0
  270. data/dist/ice/cpp/src/Ice/ReferenceFactory.h +58 -0
  271. data/dist/ice/cpp/src/Ice/ReferenceFactoryF.h +14 -0
  272. data/dist/ice/cpp/src/Ice/RequestHandler.cpp +28 -0
  273. data/dist/ice/cpp/src/Ice/RequestHandler.h +53 -0
  274. data/dist/ice/cpp/src/Ice/RequestHandlerCache.cpp +76 -0
  275. data/dist/ice/cpp/src/Ice/RequestHandlerCache.h +33 -0
  276. data/dist/ice/cpp/src/Ice/ResourceConfig.h +27 -0
  277. data/dist/ice/cpp/src/Ice/RetryQueue.cpp +151 -0
  278. data/dist/ice/cpp/src/Ice/RetryQueue.h +59 -0
  279. data/dist/ice/cpp/src/Ice/RetryQueueF.h +14 -0
  280. data/dist/ice/cpp/src/Ice/RouterInfo.cpp +275 -0
  281. data/dist/ice/cpp/src/Ice/RouterInfo.h +95 -0
  282. data/dist/ice/cpp/src/Ice/RouterInfoF.h +17 -0
  283. data/dist/ice/cpp/src/Ice/SHA1.cpp +195 -0
  284. data/dist/ice/cpp/src/Ice/SHA1.h +35 -0
  285. data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.cpp +89 -0
  286. data/dist/ice/cpp/src/Ice/SSL/DistinguishedName.h +87 -0
  287. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngine.cpp +513 -0
  288. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngine.h +40 -0
  289. data/dist/ice/cpp/src/Ice/SSL/OpenSSLEngineF.h +13 -0
  290. data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.cpp +635 -0
  291. data/dist/ice/cpp/src/Ice/SSL/OpenSSLTransceiverI.h +80 -0
  292. data/dist/ice/cpp/src/Ice/SSL/RFC2253.cpp +487 -0
  293. data/dist/ice/cpp/src/Ice/SSL/RFC2253.h +58 -0
  294. data/dist/ice/cpp/src/Ice/SSL/SSLAcceptorI.cpp +124 -0
  295. data/dist/ice/cpp/src/Ice/SSL/SSLAcceptorI.h +52 -0
  296. data/dist/ice/cpp/src/Ice/SSL/SSLConnectorI.cpp +92 -0
  297. data/dist/ice/cpp/src/Ice/SSL/SSLConnectorI.h +38 -0
  298. data/dist/ice/cpp/src/Ice/SSL/SSLEndpointI.cpp +377 -0
  299. data/dist/ice/cpp/src/Ice/SSL/SSLEndpointI.h +84 -0
  300. data/dist/ice/cpp/src/Ice/SSL/SSLEngine.cpp +115 -0
  301. data/dist/ice/cpp/src/Ice/SSL/SSLEngine.h +72 -0
  302. data/dist/ice/cpp/src/Ice/SSL/SSLEngineF.h +14 -0
  303. data/dist/ice/cpp/src/Ice/SSL/SSLException.cpp +18 -0
  304. data/dist/ice/cpp/src/Ice/SSL/SSLInstance.cpp +27 -0
  305. data/dist/ice/cpp/src/Ice/SSL/SSLInstance.h +26 -0
  306. data/dist/ice/cpp/src/Ice/SSL/SSLInstanceF.h +19 -0
  307. data/dist/ice/cpp/src/Ice/SSL/SSLUtil.cpp +654 -0
  308. data/dist/ice/cpp/src/Ice/SSL/SSLUtil.h +104 -0
  309. data/dist/ice/cpp/src/Ice/SSL/SchannelEngine.cpp +1437 -0
  310. data/dist/ice/cpp/src/Ice/SSL/SchannelEngine.h +58 -0
  311. data/dist/ice/cpp/src/Ice/SSL/SchannelEngineF.h +18 -0
  312. data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.cpp +1085 -0
  313. data/dist/ice/cpp/src/Ice/SSL/SchannelTransceiverI.h +118 -0
  314. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngine.cpp +822 -0
  315. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngine.h +44 -0
  316. data/dist/ice/cpp/src/Ice/SSL/SecureTransportEngineF.h +18 -0
  317. data/dist/ice/cpp/src/Ice/SSL/SecureTransportTransceiverI.cpp +621 -0
  318. data/dist/ice/cpp/src/Ice/SSL/SecureTransportTransceiverI.h +91 -0
  319. data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.cpp +1061 -0
  320. data/dist/ice/cpp/src/Ice/SSL/SecureTransportUtil.h +40 -0
  321. data/dist/ice/cpp/src/Ice/SSL/TrustManager.cpp +222 -0
  322. data/dist/ice/cpp/src/Ice/SSL/TrustManager.h +42 -0
  323. data/dist/ice/cpp/src/Ice/SSL/TrustManagerF.h +14 -0
  324. data/dist/ice/cpp/src/Ice/ScannerConfig.h +35 -0
  325. data/dist/ice/cpp/src/Ice/Selector.cpp +1270 -0
  326. data/dist/ice/cpp/src/Ice/Selector.h +235 -0
  327. data/dist/ice/cpp/src/Ice/ServantManager.cpp +547 -0
  328. data/dist/ice/cpp/src/Ice/ServantManager.h +66 -0
  329. data/dist/ice/cpp/src/Ice/ServantManagerF.h +14 -0
  330. data/dist/ice/cpp/src/Ice/Service.cpp +1790 -0
  331. data/dist/ice/cpp/src/Ice/SharedContext.h +33 -0
  332. data/dist/ice/cpp/src/Ice/SliceLoader.cpp +53 -0
  333. data/dist/ice/cpp/src/Ice/SlicedData.cpp +48 -0
  334. data/dist/ice/cpp/src/Ice/StreamSocket.cpp +472 -0
  335. data/dist/ice/cpp/src/Ice/StreamSocket.h +73 -0
  336. data/dist/ice/cpp/src/Ice/StringConverter.cpp +582 -0
  337. data/dist/ice/cpp/src/Ice/StringUtil.cpp +1137 -0
  338. data/dist/ice/cpp/src/Ice/SysLoggerI.cpp +160 -0
  339. data/dist/ice/cpp/src/Ice/SysLoggerI.h +34 -0
  340. data/dist/ice/cpp/src/Ice/SystemdJournalI.cpp +65 -0
  341. data/dist/ice/cpp/src/Ice/SystemdJournalI.h +33 -0
  342. data/dist/ice/cpp/src/Ice/TargetCompare.h +96 -0
  343. data/dist/ice/cpp/src/Ice/TcpAcceptor.cpp +213 -0
  344. data/dist/ice/cpp/src/Ice/TcpAcceptor.h +55 -0
  345. data/dist/ice/cpp/src/Ice/TcpConnector.cpp +128 -0
  346. data/dist/ice/cpp/src/Ice/TcpConnector.h +36 -0
  347. data/dist/ice/cpp/src/Ice/TcpEndpointI.cpp +411 -0
  348. data/dist/ice/cpp/src/Ice/TcpEndpointI.h +86 -0
  349. data/dist/ice/cpp/src/Ice/TcpTransceiver.cpp +147 -0
  350. data/dist/ice/cpp/src/Ice/TcpTransceiver.h +53 -0
  351. data/dist/ice/cpp/src/Ice/ThreadPool.cpp +1110 -0
  352. data/dist/ice/cpp/src/Ice/ThreadPool.h +305 -0
  353. data/dist/ice/cpp/src/Ice/ThreadPoolF.h +14 -0
  354. data/dist/ice/cpp/src/Ice/TimeUtil.cpp +47 -0
  355. data/dist/ice/cpp/src/Ice/TimeUtil.h +21 -0
  356. data/dist/ice/cpp/src/Ice/Timer.cpp +169 -0
  357. data/dist/ice/cpp/src/Ice/Timer.h +212 -0
  358. data/dist/ice/cpp/src/Ice/TraceLevels.cpp +20 -0
  359. data/dist/ice/cpp/src/Ice/TraceLevels.h +39 -0
  360. data/dist/ice/cpp/src/Ice/TraceLevelsF.h +14 -0
  361. data/dist/ice/cpp/src/Ice/TraceUtil.cpp +399 -0
  362. data/dist/ice/cpp/src/Ice/TraceUtil.h +41 -0
  363. data/dist/ice/cpp/src/Ice/Transceiver.cpp +14 -0
  364. data/dist/ice/cpp/src/Ice/Transceiver.h +52 -0
  365. data/dist/ice/cpp/src/Ice/TransceiverF.h +23 -0
  366. data/dist/ice/cpp/src/Ice/UUID.cpp +79 -0
  367. data/dist/ice/cpp/src/Ice/UdpConnector.cpp +131 -0
  368. data/dist/ice/cpp/src/Ice/UdpConnector.h +36 -0
  369. data/dist/ice/cpp/src/Ice/UdpEndpointI.cpp +480 -0
  370. data/dist/ice/cpp/src/Ice/UdpEndpointI.h +92 -0
  371. data/dist/ice/cpp/src/Ice/UdpTransceiver.cpp +786 -0
  372. data/dist/ice/cpp/src/Ice/UdpTransceiver.h +90 -0
  373. data/dist/ice/cpp/src/Ice/UndefSysMacros.h +37 -0
  374. data/dist/ice/cpp/src/Ice/UniqueRef.h +77 -0
  375. data/dist/ice/cpp/src/Ice/UserException.cpp +58 -0
  376. data/dist/ice/cpp/src/Ice/Value.cpp +145 -0
  377. data/dist/ice/cpp/src/Ice/WSAcceptor.cpp +87 -0
  378. data/dist/ice/cpp/src/Ice/WSAcceptor.h +46 -0
  379. data/dist/ice/cpp/src/Ice/WSConnector.cpp +87 -0
  380. data/dist/ice/cpp/src/Ice/WSConnector.h +36 -0
  381. data/dist/ice/cpp/src/Ice/WSEndpoint.cpp +455 -0
  382. data/dist/ice/cpp/src/Ice/WSEndpoint.h +82 -0
  383. data/dist/ice/cpp/src/Ice/WSTransceiver.cpp +1715 -0
  384. data/dist/ice/cpp/src/Ice/WSTransceiver.h +135 -0
  385. data/dist/ice/cpp/src/Ice/generated/BuiltinSequences.cpp +40 -0
  386. data/dist/ice/cpp/src/Ice/generated/Context.cpp +40 -0
  387. data/dist/ice/cpp/src/Ice/generated/EndpointTypes.cpp +40 -0
  388. data/dist/ice/cpp/src/Ice/generated/Identity.cpp +47 -0
  389. data/dist/ice/cpp/src/Ice/generated/Locator.cpp +752 -0
  390. data/dist/ice/cpp/src/Ice/generated/LocatorRegistry.cpp +577 -0
  391. data/dist/ice/cpp/src/Ice/generated/Metrics.cpp +1205 -0
  392. data/dist/ice/cpp/src/Ice/generated/OperationMode.cpp +56 -0
  393. data/dist/ice/cpp/src/Ice/generated/Process.cpp +330 -0
  394. data/dist/ice/cpp/src/Ice/generated/PropertiesAdmin.cpp +443 -0
  395. data/dist/ice/cpp/src/Ice/generated/PropertyDict.cpp +40 -0
  396. data/dist/ice/cpp/src/Ice/generated/RemoteLogger.cpp +851 -0
  397. data/dist/ice/cpp/src/Ice/generated/ReplyStatus.cpp +70 -0
  398. data/dist/ice/cpp/src/Ice/generated/Router.cpp +660 -0
  399. data/dist/ice/cpp/src/Ice/generated/SliceChecksumDict.cpp +39 -0
  400. data/dist/ice/cpp/src/Ice/generated/Version.cpp +54 -0
  401. data/dist/ice/cpp/src/IceDiscovery/LocatorI.cpp +202 -0
  402. data/dist/ice/cpp/src/IceDiscovery/LocatorI.h +68 -0
  403. data/dist/ice/cpp/src/IceDiscovery/LookupI.cpp +494 -0
  404. data/dist/ice/cpp/src/IceDiscovery/LookupI.h +168 -0
  405. data/dist/ice/cpp/src/IceDiscovery/PluginI.cpp +155 -0
  406. data/dist/ice/cpp/src/IceDiscovery/PluginI.h +31 -0
  407. data/dist/ice/cpp/src/IceDiscovery/generated/Lookup.cpp +638 -0
  408. data/dist/ice/cpp/src/IceLocatorDiscovery/Plugin.h +24 -0
  409. data/dist/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +822 -0
  410. data/dist/ice/cpp/src/IceLocatorDiscovery/generated/Lookup.cpp +468 -0
  411. data/dist/ice/cpp/src/Slice/DeprecationReporter.cpp +172 -0
  412. data/dist/ice/cpp/src/Slice/DeprecationReporter.h +14 -0
  413. data/dist/ice/cpp/src/Slice/DocCommentParser.cpp +736 -0
  414. data/dist/ice/cpp/src/Slice/DocCommentParser.h +61 -0
  415. data/dist/ice/cpp/src/Slice/FileTracker.cpp +96 -0
  416. data/dist/ice/cpp/src/Slice/FileTracker.h +44 -0
  417. data/dist/ice/cpp/src/Slice/Grammar.cpp +4125 -0
  418. data/dist/ice/cpp/src/Slice/Grammar.h +138 -0
  419. data/dist/ice/cpp/src/Slice/GrammarUtil.h +128 -0
  420. data/dist/ice/cpp/src/Slice/MetadataValidation.cpp +473 -0
  421. data/dist/ice/cpp/src/Slice/MetadataValidation.h +106 -0
  422. data/dist/ice/cpp/src/Slice/Parser.cpp +4906 -0
  423. data/dist/ice/cpp/src/Slice/Parser.h +1175 -0
  424. data/dist/ice/cpp/src/Slice/Preprocessor.cpp +295 -0
  425. data/dist/ice/cpp/src/Slice/Preprocessor.h +44 -0
  426. data/dist/ice/cpp/src/Slice/Scanner.cpp +3445 -0
  427. data/dist/ice/cpp/src/Slice/SliceUtil.cpp +790 -0
  428. data/dist/ice/cpp/src/Slice/StringLiteralUtil.cpp +448 -0
  429. data/dist/ice/cpp/src/Slice/Util.h +134 -0
  430. data/dist/ice/cpp/src/slice2rb/Main.cpp +33 -0
  431. data/dist/ice/cpp/src/slice2rb/Ruby.cpp +250 -0
  432. data/dist/ice/cpp/src/slice2rb/RubyUtil.cpp +1197 -0
  433. data/dist/ice/cpp/src/slice2rb/RubyUtil.h +56 -0
  434. data/dist/ice/mcpp/internal.H +530 -0
  435. data/dist/ice/slice/Glacier2/Metrics.ice +47 -0
  436. data/dist/ice/slice/Glacier2/PermissionsVerifier.ice +55 -0
  437. data/dist/ice/slice/Glacier2/Router.ice +93 -0
  438. data/dist/ice/slice/Glacier2/SSLInfo.ice +42 -0
  439. data/dist/ice/slice/Glacier2/Session.ice +133 -0
  440. data/dist/ice/slice/Ice/BuiltinSequences.ice +54 -0
  441. data/dist/ice/slice/Ice/Context.ice +24 -0
  442. data/dist/ice/slice/Ice/EndpointTypes.ice +50 -0
  443. data/dist/ice/slice/Ice/Identity.ice +36 -0
  444. data/dist/ice/slice/Ice/Locator.ice +74 -0
  445. data/dist/ice/slice/Ice/LocatorRegistry.ice +77 -0
  446. data/dist/ice/slice/Ice/Metrics.ice +201 -0
  447. data/dist/ice/slice/Ice/OperationMode.ice +38 -0
  448. data/dist/ice/slice/Ice/Process.ice +28 -0
  449. data/dist/ice/slice/Ice/PropertiesAdmin.ice +37 -0
  450. data/dist/ice/slice/Ice/PropertyDict.ice +23 -0
  451. data/dist/ice/slice/Ice/RemoteLogger.ice +126 -0
  452. data/dist/ice/slice/Ice/ReplyStatus.ice +65 -0
  453. data/dist/ice/slice/Ice/Router.ice +54 -0
  454. data/dist/ice/slice/Ice/SliceChecksumDict.ice +18 -0
  455. data/dist/ice/slice/Ice/Version.ice +43 -0
  456. data/dist/ice/slice/IceBox/ServiceManager.ice +79 -0
  457. data/dist/ice/slice/IceGrid/Admin.ice +981 -0
  458. data/dist/ice/slice/IceGrid/Descriptor.ice +519 -0
  459. data/dist/ice/slice/IceGrid/Exception.ice +98 -0
  460. data/dist/ice/slice/IceGrid/FileParser.ice +36 -0
  461. data/dist/ice/slice/IceGrid/Registry.ice +130 -0
  462. data/dist/ice/slice/IceGrid/Session.ice +64 -0
  463. data/dist/ice/slice/IceGrid/UserAccountMapper.ice +34 -0
  464. data/dist/ice/slice/IceStorm/IceStorm.ice +186 -0
  465. data/dist/ice/slice/IceStorm/Metrics.ice +41 -0
  466. data/dist/lib/Glacier2/Metrics.rb +41 -0
  467. data/dist/lib/Glacier2/PermissionsVerifier.rb +61 -0
  468. data/dist/lib/Glacier2/Router.rb +73 -0
  469. data/dist/lib/Glacier2/SSLInfo.rb +64 -0
  470. data/dist/lib/Glacier2/Session.rb +187 -0
  471. data/dist/lib/Glacier2.rb +7 -0
  472. data/dist/lib/Ice/BuiltinSequences.rb +48 -0
  473. data/dist/lib/Ice/CompressBatch.rb +50 -0
  474. data/dist/lib/Ice/Context.rb +12 -0
  475. data/dist/lib/Ice/EndpointSelectionType.rb +49 -0
  476. data/dist/lib/Ice/EndpointTypes.rb +28 -0
  477. data/dist/lib/Ice/Exception.rb +20 -0
  478. data/dist/lib/Ice/Identity.rb +47 -0
  479. data/dist/lib/Ice/IdentitySpaceship.rb +16 -0
  480. data/dist/lib/Ice/InitializationData.rb +12 -0
  481. data/dist/lib/Ice/LocalExceptions.rb +168 -0
  482. data/dist/lib/Ice/Locator.rb +83 -0
  483. data/dist/lib/Ice/LocatorRegistry.rb +73 -0
  484. data/dist/lib/Ice/Metrics.rb +290 -0
  485. data/dist/lib/Ice/OperationMode.rb +58 -0
  486. data/dist/lib/Ice/Process.rb +34 -0
  487. data/dist/lib/Ice/PropertiesAdmin.rb +39 -0
  488. data/dist/lib/Ice/PropertyDict.rb +12 -0
  489. data/dist/lib/Ice/Proxy.rb +85 -0
  490. data/dist/lib/Ice/ProxyFunctions.rb +69 -0
  491. data/dist/lib/Ice/RemoteLogger.rb +176 -0
  492. data/dist/lib/Ice/ReplyStatus.rb +65 -0
  493. data/dist/lib/Ice/Router.rb +59 -0
  494. data/dist/lib/Ice/SliceChecksumDict.rb +12 -0
  495. data/dist/lib/Ice/SliceUtil.rb +41 -0
  496. data/dist/lib/Ice/Struct.rb +11 -0
  497. data/dist/lib/Ice/ToStringMode.rb +50 -0
  498. data/dist/lib/Ice/Value.rb +93 -0
  499. data/dist/lib/Ice/Version.rb +78 -0
  500. data/dist/lib/Ice.rb +37 -0
  501. data/dist/lib/IceBox/ServiceManager.rb +104 -0
  502. data/dist/lib/IceBox.rb +3 -0
  503. data/dist/lib/IceGrid/Admin.rb +1208 -0
  504. data/dist/lib/IceGrid/Descriptor.rb +989 -0
  505. data/dist/lib/IceGrid/Exception.rb +145 -0
  506. data/dist/lib/IceGrid/FileParser.rb +41 -0
  507. data/dist/lib/IceGrid/Registry.rb +168 -0
  508. data/dist/lib/IceGrid/Session.rb +56 -0
  509. data/dist/lib/IceGrid/UserAccountMapper.rb +38 -0
  510. data/dist/lib/IceGrid.rb +9 -0
  511. data/dist/lib/IceStorm/IceStorm.rb +251 -0
  512. data/dist/lib/IceStorm/Metrics.rb +55 -0
  513. data/dist/lib/IceStorm.rb +4 -0
  514. data/extconf.rb +89 -0
  515. data/ice.gemspec +22 -17
  516. data/scripts/slice2rb +10 -0
  517. metadata +536 -712
  518. data/ICE_LICENSE +0 -48
  519. data/LICENSE +0 -340
  520. data/MCPP_LICENSE +0 -29
  521. data/bin/slice2rb +0 -12
  522. data/ext/Communicator.cpp +0 -792
  523. data/ext/Communicator.h +0 -20
  524. data/ext/Config.h +0 -143
  525. data/ext/Connection.cpp +0 -532
  526. data/ext/Connection.h +0 -24
  527. data/ext/Endpoint.cpp +0 -340
  528. data/ext/Endpoint.h +0 -22
  529. data/ext/ImplicitContext.cpp +0 -144
  530. data/ext/ImplicitContext.h +0 -20
  531. data/ext/Init.cpp +0 -49
  532. data/ext/Logger.cpp +0 -147
  533. data/ext/Logger.h +0 -23
  534. data/ext/Operation.cpp +0 -661
  535. data/ext/Operation.h +0 -31
  536. data/ext/Properties.cpp +0 -365
  537. data/ext/Properties.h +0 -20
  538. data/ext/Proxy.cpp +0 -1396
  539. data/ext/Proxy.h +0 -22
  540. data/ext/Slice.cpp +0 -205
  541. data/ext/Slice.h +0 -17
  542. data/ext/Types.cpp +0 -3325
  543. data/ext/Types.h +0 -595
  544. data/ext/Util.cpp +0 -812
  545. data/ext/Util.h +0 -586
  546. data/ext/ValueFactoryManager.cpp +0 -441
  547. data/ext/ValueFactoryManager.h +0 -95
  548. data/ext/extconf.rb +0 -97
  549. data/ext/ice/cpp/include/Ice/Application.h +0 -326
  550. data/ext/ice/cpp/include/Ice/AsyncResult.h +0 -155
  551. data/ext/ice/cpp/include/Ice/AsyncResultF.h +0 -23
  552. data/ext/ice/cpp/include/Ice/BatchRequestInterceptor.h +0 -75
  553. data/ext/ice/cpp/include/Ice/BatchRequestQueueF.h +0 -20
  554. data/ext/ice/cpp/include/Ice/Buffer.h +0 -154
  555. data/ext/ice/cpp/include/Ice/CommunicatorAsync.h +0 -154
  556. data/ext/ice/cpp/include/Ice/Comparable.h +0 -205
  557. data/ext/ice/cpp/include/Ice/Config.h +0 -78
  558. data/ext/ice/cpp/include/Ice/ConnectionAsync.h +0 -302
  559. data/ext/ice/cpp/include/Ice/ConnectionIF.h +0 -38
  560. data/ext/ice/cpp/include/Ice/ConsoleUtil.h +0 -23
  561. data/ext/ice/cpp/include/Ice/DefaultValueFactory.h +0 -57
  562. data/ext/ice/cpp/include/Ice/DispatchInterceptor.h +0 -41
  563. data/ext/ice/cpp/include/Ice/Dispatcher.h +0 -67
  564. data/ext/ice/cpp/include/Ice/DynamicLibrary.h +0 -102
  565. data/ext/ice/cpp/include/Ice/DynamicLibraryF.h +0 -24
  566. data/ext/ice/cpp/include/Ice/Exception.h +0 -161
  567. data/ext/ice/cpp/include/Ice/ExceptionHelpers.h +0 -74
  568. data/ext/ice/cpp/include/Ice/FactoryTable.h +0 -73
  569. data/ext/ice/cpp/include/Ice/FactoryTableInit.h +0 -84
  570. data/ext/ice/cpp/include/Ice/Format.h +0 -38
  571. data/ext/ice/cpp/include/Ice/Functional.h +0 -140
  572. data/ext/ice/cpp/include/Ice/GCObject.h +0 -76
  573. data/ext/ice/cpp/include/Ice/Handle.h +0 -182
  574. data/ext/ice/cpp/include/Ice/Ice.h +0 -55
  575. data/ext/ice/cpp/include/Ice/IconvStringConverter.h +0 -377
  576. data/ext/ice/cpp/include/Ice/Incoming.h +0 -225
  577. data/ext/ice/cpp/include/Ice/IncomingAsync.h +0 -186
  578. data/ext/ice/cpp/include/Ice/IncomingAsyncF.h +0 -36
  579. data/ext/ice/cpp/include/Ice/Initialize.h +0 -957
  580. data/ext/ice/cpp/include/Ice/InputStream.h +0 -1514
  581. data/ext/ice/cpp/include/Ice/InstanceF.h +0 -20
  582. data/ext/ice/cpp/include/Ice/InterfaceByValue.h +0 -57
  583. data/ext/ice/cpp/include/Ice/LocalObject.h +0 -35
  584. data/ext/ice/cpp/include/Ice/LocalObjectF.h +0 -21
  585. data/ext/ice/cpp/include/Ice/LoggerUtil.h +0 -185
  586. data/ext/ice/cpp/include/Ice/MetricsAdminI.h +0 -715
  587. data/ext/ice/cpp/include/Ice/MetricsFunctional.h +0 -159
  588. data/ext/ice/cpp/include/Ice/MetricsObserverI.h +0 -669
  589. data/ext/ice/cpp/include/Ice/NativePropertiesAdmin.h +0 -86
  590. data/ext/ice/cpp/include/Ice/Object.h +0 -507
  591. data/ext/ice/cpp/include/Ice/ObjectF.h +0 -30
  592. data/ext/ice/cpp/include/Ice/ObserverHelper.h +0 -182
  593. data/ext/ice/cpp/include/Ice/Optional.h +0 -1114
  594. data/ext/ice/cpp/include/Ice/OutgoingAsync.h +0 -856
  595. data/ext/ice/cpp/include/Ice/OutgoingAsyncF.h +0 -39
  596. data/ext/ice/cpp/include/Ice/OutputStream.h +0 -1092
  597. data/ext/ice/cpp/include/Ice/Protocol.h +0 -274
  598. data/ext/ice/cpp/include/Ice/Proxy.h +0 -5154
  599. data/ext/ice/cpp/include/Ice/ProxyF.h +0 -53
  600. data/ext/ice/cpp/include/Ice/ProxyFactoryF.h +0 -21
  601. data/ext/ice/cpp/include/Ice/ProxyHandle.h +0 -318
  602. data/ext/ice/cpp/include/Ice/ReferenceF.h +0 -29
  603. data/ext/ice/cpp/include/Ice/RegisterPlugins.h +0 -127
  604. data/ext/ice/cpp/include/Ice/RequestHandlerF.h +0 -30
  605. data/ext/ice/cpp/include/Ice/ResponseHandlerF.h +0 -25
  606. data/ext/ice/cpp/include/Ice/SHA1.h +0 -42
  607. data/ext/ice/cpp/include/Ice/ServantManagerF.h +0 -21
  608. data/ext/ice/cpp/include/Ice/Service.h +0 -379
  609. data/ext/ice/cpp/include/Ice/SliceChecksums.h +0 -33
  610. data/ext/ice/cpp/include/Ice/SlicedData.h +0 -172
  611. data/ext/ice/cpp/include/Ice/SlicedDataF.h +0 -40
  612. data/ext/ice/cpp/include/Ice/StreamHelpers.h +0 -1190
  613. data/ext/ice/cpp/include/Ice/StringConverter.h +0 -78
  614. data/ext/ice/cpp/include/Ice/ThreadPoolF.h +0 -23
  615. data/ext/ice/cpp/include/Ice/UUID.h +0 -19
  616. data/ext/ice/cpp/include/Ice/UniquePtr.h +0 -95
  617. data/ext/ice/cpp/include/Ice/UniqueRef.h +0 -97
  618. data/ext/ice/cpp/include/Ice/UserExceptionFactory.h +0 -88
  619. data/ext/ice/cpp/include/Ice/Value.h +0 -139
  620. data/ext/ice/cpp/include/Ice/ValueF.h +0 -21
  621. data/ext/ice/cpp/include/IceSSL/Config.h +0 -21
  622. data/ext/ice/cpp/include/IceSSL/IceSSL.h +0 -28
  623. data/ext/ice/cpp/include/IceSSL/OpenSSL.h +0 -147
  624. data/ext/ice/cpp/include/IceSSL/Plugin.h +0 -712
  625. data/ext/ice/cpp/include/IceSSL/SChannel.h +0 -72
  626. data/ext/ice/cpp/include/IceSSL/SecureTransport.h +0 -72
  627. data/ext/ice/cpp/include/IceSSL/UWP.h +0 -62
  628. data/ext/ice/cpp/include/IceUtil/Atomic.h +0 -179
  629. data/ext/ice/cpp/include/IceUtil/Cond.h +0 -317
  630. data/ext/ice/cpp/include/IceUtil/Config.h +0 -424
  631. data/ext/ice/cpp/include/IceUtil/ConsoleUtil.h +0 -92
  632. data/ext/ice/cpp/include/IceUtil/CountDownLatch.h +0 -45
  633. data/ext/ice/cpp/include/IceUtil/CtrlCHandler.h +0 -92
  634. data/ext/ice/cpp/include/IceUtil/DisableWarnings.h +0 -44
  635. data/ext/ice/cpp/include/IceUtil/Exception.h +0 -394
  636. data/ext/ice/cpp/include/IceUtil/FileUtil.h +0 -143
  637. data/ext/ice/cpp/include/IceUtil/Functional.h +0 -389
  638. data/ext/ice/cpp/include/IceUtil/Handle.h +0 -261
  639. data/ext/ice/cpp/include/IceUtil/IceUtil.h +0 -40
  640. data/ext/ice/cpp/include/IceUtil/InputUtil.h +0 -42
  641. data/ext/ice/cpp/include/IceUtil/Iterator.h +0 -31
  642. data/ext/ice/cpp/include/IceUtil/Lock.h +0 -128
  643. data/ext/ice/cpp/include/IceUtil/Monitor.h +0 -243
  644. data/ext/ice/cpp/include/IceUtil/Mutex.h +0 -353
  645. data/ext/ice/cpp/include/IceUtil/MutexProtocol.h +0 -23
  646. data/ext/ice/cpp/include/IceUtil/MutexPtrLock.h +0 -78
  647. data/ext/ice/cpp/include/IceUtil/MutexPtrTryLock.h +0 -77
  648. data/ext/ice/cpp/include/IceUtil/Optional.h +0 -433
  649. data/ext/ice/cpp/include/IceUtil/Options.h +0 -135
  650. data/ext/ice/cpp/include/IceUtil/OutputUtil.h +0 -383
  651. data/ext/ice/cpp/include/IceUtil/PopDisableWarnings.h +0 -14
  652. data/ext/ice/cpp/include/IceUtil/PushDisableWarnings.h +0 -33
  653. data/ext/ice/cpp/include/IceUtil/Random.h +0 -55
  654. data/ext/ice/cpp/include/IceUtil/RecMutex.h +0 -107
  655. data/ext/ice/cpp/include/IceUtil/ResourceConfig.h +0 -53
  656. data/ext/ice/cpp/include/IceUtil/ScannerConfig.h +0 -40
  657. data/ext/ice/cpp/include/IceUtil/ScopedArray.h +0 -98
  658. data/ext/ice/cpp/include/IceUtil/Shared.h +0 -127
  659. data/ext/ice/cpp/include/IceUtil/StopWatch.h +0 -49
  660. data/ext/ice/cpp/include/IceUtil/StringConverter.h +0 -195
  661. data/ext/ice/cpp/include/IceUtil/StringUtil.h +0 -97
  662. data/ext/ice/cpp/include/IceUtil/Thread.h +0 -174
  663. data/ext/ice/cpp/include/IceUtil/ThreadException.h +0 -94
  664. data/ext/ice/cpp/include/IceUtil/Time.h +0 -205
  665. data/ext/ice/cpp/include/IceUtil/Timer.h +0 -143
  666. data/ext/ice/cpp/include/IceUtil/UUID.h +0 -21
  667. data/ext/ice/cpp/include/IceUtil/UndefSysMacros.h +0 -37
  668. data/ext/ice/cpp/include/generated/Ice/BuiltinSequences.h +0 -170
  669. data/ext/ice/cpp/include/generated/Ice/Communicator.h +0 -1162
  670. data/ext/ice/cpp/include/generated/Ice/CommunicatorF.h +0 -101
  671. data/ext/ice/cpp/include/generated/Ice/Connection.h +0 -1703
  672. data/ext/ice/cpp/include/generated/Ice/ConnectionF.h +0 -119
  673. data/ext/ice/cpp/include/generated/Ice/Current.h +0 -322
  674. data/ext/ice/cpp/include/generated/Ice/Endpoint.h +0 -979
  675. data/ext/ice/cpp/include/generated/Ice/EndpointF.h +0 -166
  676. data/ext/ice/cpp/include/generated/Ice/EndpointTypes.h +0 -118
  677. data/ext/ice/cpp/include/generated/Ice/FacetMap.h +0 -80
  678. data/ext/ice/cpp/include/generated/Ice/Identity.h +0 -264
  679. data/ext/ice/cpp/include/generated/Ice/ImplicitContext.h +0 -284
  680. data/ext/ice/cpp/include/generated/Ice/ImplicitContextF.h +0 -101
  681. data/ext/ice/cpp/include/generated/Ice/Instrumentation.h +0 -1203
  682. data/ext/ice/cpp/include/generated/Ice/InstrumentationF.h +0 -128
  683. data/ext/ice/cpp/include/generated/Ice/LocalException.h +0 -7437
  684. data/ext/ice/cpp/include/generated/Ice/Locator.h +0 -3898
  685. data/ext/ice/cpp/include/generated/Ice/LocatorF.h +0 -147
  686. data/ext/ice/cpp/include/generated/Ice/Logger.h +0 -237
  687. data/ext/ice/cpp/include/generated/Ice/LoggerF.h +0 -101
  688. data/ext/ice/cpp/include/generated/Ice/Metrics.h +0 -4769
  689. data/ext/ice/cpp/include/generated/Ice/ObjectAdapter.h +0 -1181
  690. data/ext/ice/cpp/include/generated/Ice/ObjectAdapterF.h +0 -101
  691. data/ext/ice/cpp/include/generated/Ice/ObjectFactory.h +0 -203
  692. data/ext/ice/cpp/include/generated/Ice/Plugin.h +0 -318
  693. data/ext/ice/cpp/include/generated/Ice/PluginF.h +0 -110
  694. data/ext/ice/cpp/include/generated/Ice/Process.h +0 -977
  695. data/ext/ice/cpp/include/generated/Ice/ProcessF.h +0 -125
  696. data/ext/ice/cpp/include/generated/Ice/Properties.h +0 -452
  697. data/ext/ice/cpp/include/generated/Ice/PropertiesAdmin.h +0 -1366
  698. data/ext/ice/cpp/include/generated/Ice/PropertiesF.h +0 -134
  699. data/ext/ice/cpp/include/generated/Ice/RemoteLogger.h +0 -2707
  700. data/ext/ice/cpp/include/generated/Ice/Router.h +0 -1850
  701. data/ext/ice/cpp/include/generated/Ice/RouterF.h +0 -125
  702. data/ext/ice/cpp/include/generated/Ice/ServantLocator.h +0 -305
  703. data/ext/ice/cpp/include/generated/Ice/ServantLocatorF.h +0 -101
  704. data/ext/ice/cpp/include/generated/Ice/SliceChecksumDict.h +0 -84
  705. data/ext/ice/cpp/include/generated/Ice/ValueFactory.h +0 -330
  706. data/ext/ice/cpp/include/generated/Ice/Version.h +0 -357
  707. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfo.h +0 -228
  708. data/ext/ice/cpp/include/generated/IceSSL/ConnectionInfoF.h +0 -101
  709. data/ext/ice/cpp/include/generated/IceSSL/EndpointInfo.h +0 -186
  710. data/ext/ice/cpp/src/Ice/ACM.cpp +0 -380
  711. data/ext/ice/cpp/src/Ice/ACM.h +0 -119
  712. data/ext/ice/cpp/src/Ice/ACMF.h +0 -30
  713. data/ext/ice/cpp/src/Ice/Acceptor.cpp +0 -16
  714. data/ext/ice/cpp/src/Ice/Acceptor.h +0 -37
  715. data/ext/ice/cpp/src/Ice/AcceptorF.h +0 -25
  716. data/ext/ice/cpp/src/Ice/ArgVector.cpp +0 -59
  717. data/ext/ice/cpp/src/Ice/ArgVector.h +0 -36
  718. data/ext/ice/cpp/src/Ice/AsyncResult.cpp +0 -70
  719. data/ext/ice/cpp/src/Ice/Base64.cpp +0 -263
  720. data/ext/ice/cpp/src/Ice/Base64.h +0 -31
  721. data/ext/ice/cpp/src/Ice/BatchRequestQueue.cpp +0 -250
  722. data/ext/ice/cpp/src/Ice/BatchRequestQueue.h +0 -59
  723. data/ext/ice/cpp/src/Ice/Buffer.cpp +0 -155
  724. data/ext/ice/cpp/src/Ice/BuiltinSequences.cpp +0 -49
  725. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.cpp +0 -407
  726. data/ext/ice/cpp/src/Ice/CollocatedRequestHandler.h +0 -87
  727. data/ext/ice/cpp/src/Ice/Communicator.cpp +0 -79
  728. data/ext/ice/cpp/src/Ice/CommunicatorF.cpp +0 -61
  729. data/ext/ice/cpp/src/Ice/CommunicatorI.cpp +0 -586
  730. data/ext/ice/cpp/src/Ice/CommunicatorI.h +0 -167
  731. data/ext/ice/cpp/src/Ice/Cond.cpp +0 -381
  732. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.cpp +0 -348
  733. data/ext/ice/cpp/src/Ice/ConnectRequestHandler.h +0 -72
  734. data/ext/ice/cpp/src/Ice/ConnectRequestHandlerF.h +0 -24
  735. data/ext/ice/cpp/src/Ice/Connection.cpp +0 -155
  736. data/ext/ice/cpp/src/Ice/ConnectionF.cpp +0 -61
  737. data/ext/ice/cpp/src/Ice/ConnectionFactory.cpp +0 -1972
  738. data/ext/ice/cpp/src/Ice/ConnectionFactory.h +0 -264
  739. data/ext/ice/cpp/src/Ice/ConnectionFactoryF.h +0 -30
  740. data/ext/ice/cpp/src/Ice/ConnectionI.cpp +0 -3670
  741. data/ext/ice/cpp/src/Ice/ConnectionI.h +0 -391
  742. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.cpp +0 -73
  743. data/ext/ice/cpp/src/Ice/ConnectionRequestHandler.h +0 -41
  744. data/ext/ice/cpp/src/Ice/Connector.cpp +0 -16
  745. data/ext/ice/cpp/src/Ice/Connector.h +0 -32
  746. data/ext/ice/cpp/src/Ice/ConnectorF.h +0 -21
  747. data/ext/ice/cpp/src/Ice/CountDownLatch.cpp +0 -179
  748. data/ext/ice/cpp/src/Ice/Current.cpp +0 -62
  749. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.cpp +0 -161
  750. data/ext/ice/cpp/src/Ice/DefaultsAndOverrides.h +0 -52
  751. data/ext/ice/cpp/src/Ice/DefaultsAndOverridesF.h +0 -21
  752. data/ext/ice/cpp/src/Ice/DispatchInterceptor.cpp +0 -37
  753. data/ext/ice/cpp/src/Ice/DynamicLibrary.cpp +0 -291
  754. data/ext/ice/cpp/src/Ice/Endpoint.cpp +0 -147
  755. data/ext/ice/cpp/src/Ice/EndpointF.cpp +0 -61
  756. data/ext/ice/cpp/src/Ice/EndpointFactory.cpp +0 -189
  757. data/ext/ice/cpp/src/Ice/EndpointFactory.h +0 -117
  758. data/ext/ice/cpp/src/Ice/EndpointFactoryF.h +0 -21
  759. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.cpp +0 -213
  760. data/ext/ice/cpp/src/Ice/EndpointFactoryManager.h +0 -47
  761. data/ext/ice/cpp/src/Ice/EndpointFactoryManagerF.h +0 -21
  762. data/ext/ice/cpp/src/Ice/EndpointI.cpp +0 -98
  763. data/ext/ice/cpp/src/Ice/EndpointI.h +0 -218
  764. data/ext/ice/cpp/src/Ice/EndpointIF.h +0 -49
  765. data/ext/ice/cpp/src/Ice/EndpointTypes.cpp +0 -51
  766. data/ext/ice/cpp/src/Ice/EventHandler.cpp +0 -32
  767. data/ext/ice/cpp/src/Ice/EventHandler.h +0 -81
  768. data/ext/ice/cpp/src/Ice/EventHandlerF.h +0 -24
  769. data/ext/ice/cpp/src/Ice/Exception.cpp +0 -845
  770. data/ext/ice/cpp/src/Ice/FacetMap.cpp +0 -49
  771. data/ext/ice/cpp/src/Ice/FactoryTable.cpp +0 -162
  772. data/ext/ice/cpp/src/Ice/FactoryTableInit.cpp +0 -88
  773. data/ext/ice/cpp/src/Ice/GCObject.cpp +0 -442
  774. data/ext/ice/cpp/src/Ice/HashUtil.h +0 -53
  775. data/ext/ice/cpp/src/Ice/HttpParser.cpp +0 -684
  776. data/ext/ice/cpp/src/Ice/HttpParser.h +0 -117
  777. data/ext/ice/cpp/src/Ice/IPEndpointI.cpp +0 -756
  778. data/ext/ice/cpp/src/Ice/IPEndpointI.h +0 -162
  779. data/ext/ice/cpp/src/Ice/IPEndpointIF.h +0 -28
  780. data/ext/ice/cpp/src/Ice/IconvStringConverter.cpp +0 -51
  781. data/ext/ice/cpp/src/Ice/Identity.cpp +0 -57
  782. data/ext/ice/cpp/src/Ice/ImplicitContext.cpp +0 -75
  783. data/ext/ice/cpp/src/Ice/ImplicitContextF.cpp +0 -61
  784. data/ext/ice/cpp/src/Ice/ImplicitContextI.cpp +0 -655
  785. data/ext/ice/cpp/src/Ice/ImplicitContextI.h +0 -48
  786. data/ext/ice/cpp/src/Ice/Incoming.cpp +0 -795
  787. data/ext/ice/cpp/src/Ice/IncomingAsync.cpp +0 -230
  788. data/ext/ice/cpp/src/Ice/IncomingRequest.h +0 -33
  789. data/ext/ice/cpp/src/Ice/Initialize.cpp +0 -654
  790. data/ext/ice/cpp/src/Ice/InputStream.cpp +0 -2741
  791. data/ext/ice/cpp/src/Ice/Instance.cpp +0 -1971
  792. data/ext/ice/cpp/src/Ice/Instance.h +0 -235
  793. data/ext/ice/cpp/src/Ice/Instrumentation.cpp +0 -188
  794. data/ext/ice/cpp/src/Ice/InstrumentationF.cpp +0 -66
  795. data/ext/ice/cpp/src/Ice/InstrumentationI.cpp +0 -1094
  796. data/ext/ice/cpp/src/Ice/InstrumentationI.h +0 -256
  797. data/ext/ice/cpp/src/Ice/LocalException.cpp +0 -3262
  798. data/ext/ice/cpp/src/Ice/LocalObject.cpp +0 -23
  799. data/ext/ice/cpp/src/Ice/Locator.cpp +0 -2042
  800. data/ext/ice/cpp/src/Ice/LocatorF.cpp +0 -63
  801. data/ext/ice/cpp/src/Ice/LocatorInfo.cpp +0 -889
  802. data/ext/ice/cpp/src/Ice/LocatorInfo.h +0 -189
  803. data/ext/ice/cpp/src/Ice/LocatorInfoF.h +0 -29
  804. data/ext/ice/cpp/src/Ice/Logger.cpp +0 -73
  805. data/ext/ice/cpp/src/Ice/LoggerAdminI.cpp +0 -956
  806. data/ext/ice/cpp/src/Ice/LoggerAdminI.h +0 -41
  807. data/ext/ice/cpp/src/Ice/LoggerF.cpp +0 -61
  808. data/ext/ice/cpp/src/Ice/LoggerI.cpp +0 -261
  809. data/ext/ice/cpp/src/Ice/LoggerI.h +0 -52
  810. data/ext/ice/cpp/src/Ice/LoggerUtil.cpp +0 -100
  811. data/ext/ice/cpp/src/Ice/Metrics.cpp +0 -2352
  812. data/ext/ice/cpp/src/Ice/MetricsAdminI.cpp +0 -694
  813. data/ext/ice/cpp/src/Ice/MetricsObserverI.cpp +0 -8
  814. data/ext/ice/cpp/src/Ice/Network.cpp +0 -3075
  815. data/ext/ice/cpp/src/Ice/Network.h +0 -371
  816. data/ext/ice/cpp/src/Ice/NetworkF.h +0 -23
  817. data/ext/ice/cpp/src/Ice/NetworkProxy.cpp +0 -324
  818. data/ext/ice/cpp/src/Ice/NetworkProxy.h +0 -72
  819. data/ext/ice/cpp/src/Ice/NetworkProxyF.h +0 -21
  820. data/ext/ice/cpp/src/Ice/OSLogLoggerI.cpp +0 -57
  821. data/ext/ice/cpp/src/Ice/OSLogLoggerI.h +0 -40
  822. data/ext/ice/cpp/src/Ice/Object.cpp +0 -435
  823. data/ext/ice/cpp/src/Ice/ObjectAdapter.cpp +0 -79
  824. data/ext/ice/cpp/src/Ice/ObjectAdapterF.cpp +0 -61
  825. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.cpp +0 -291
  826. data/ext/ice/cpp/src/Ice/ObjectAdapterFactory.h +0 -53
  827. data/ext/ice/cpp/src/Ice/ObjectAdapterFactoryF.h +0 -25
  828. data/ext/ice/cpp/src/Ice/ObjectAdapterI.cpp +0 -1530
  829. data/ext/ice/cpp/src/Ice/ObjectAdapterI.h +0 -159
  830. data/ext/ice/cpp/src/Ice/ObjectFactory.cpp +0 -75
  831. data/ext/ice/cpp/src/Ice/ObserverHelper.cpp +0 -56
  832. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.cpp +0 -408
  833. data/ext/ice/cpp/src/Ice/OpaqueEndpointI.h +0 -74
  834. data/ext/ice/cpp/src/Ice/OutgoingAsync.cpp +0 -1322
  835. data/ext/ice/cpp/src/Ice/OutputStream.cpp +0 -1367
  836. data/ext/ice/cpp/src/Ice/Plugin.cpp +0 -87
  837. data/ext/ice/cpp/src/Ice/PluginF.cpp +0 -61
  838. data/ext/ice/cpp/src/Ice/PluginManagerI.cpp +0 -503
  839. data/ext/ice/cpp/src/Ice/PluginManagerI.h +0 -61
  840. data/ext/ice/cpp/src/Ice/Process.cpp +0 -471
  841. data/ext/ice/cpp/src/Ice/ProcessF.cpp +0 -63
  842. data/ext/ice/cpp/src/Ice/Properties.cpp +0 -78
  843. data/ext/ice/cpp/src/Ice/PropertiesAdmin.cpp +0 -603
  844. data/ext/ice/cpp/src/Ice/PropertiesAdminI.cpp +0 -265
  845. data/ext/ice/cpp/src/Ice/PropertiesAdminI.h +0 -64
  846. data/ext/ice/cpp/src/Ice/PropertiesF.cpp +0 -63
  847. data/ext/ice/cpp/src/Ice/PropertiesI.cpp +0 -747
  848. data/ext/ice/cpp/src/Ice/PropertiesI.h +0 -70
  849. data/ext/ice/cpp/src/Ice/PropertyNames.cpp +0 -1429
  850. data/ext/ice/cpp/src/Ice/PropertyNames.h +0 -78
  851. data/ext/ice/cpp/src/Ice/Protocol.cpp +0 -124
  852. data/ext/ice/cpp/src/Ice/ProtocolInstance.cpp +0 -131
  853. data/ext/ice/cpp/src/Ice/ProtocolInstance.h +0 -93
  854. data/ext/ice/cpp/src/Ice/ProtocolInstanceF.h +0 -21
  855. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.cpp +0 -51
  856. data/ext/ice/cpp/src/Ice/ProtocolPluginFacade.h +0 -64
  857. data/ext/ice/cpp/src/Ice/ProtocolPluginFacadeF.h +0 -21
  858. data/ext/ice/cpp/src/Ice/Proxy.cpp +0 -1601
  859. data/ext/ice/cpp/src/Ice/ProxyFactory.cpp +0 -300
  860. data/ext/ice/cpp/src/Ice/ProxyFactory.h +0 -57
  861. data/ext/ice/cpp/src/Ice/Reference.cpp +0 -2046
  862. data/ext/ice/cpp/src/Ice/Reference.h +0 -323
  863. data/ext/ice/cpp/src/Ice/ReferenceFactory.cpp +0 -888
  864. data/ext/ice/cpp/src/Ice/ReferenceFactory.h +0 -76
  865. data/ext/ice/cpp/src/Ice/ReferenceFactoryF.h +0 -19
  866. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.cpp +0 -38
  867. data/ext/ice/cpp/src/Ice/RegisterPluginsInit.h +0 -20
  868. data/ext/ice/cpp/src/Ice/RemoteLogger.cpp +0 -1171
  869. data/ext/ice/cpp/src/Ice/ReplyStatus.h +0 -24
  870. data/ext/ice/cpp/src/Ice/RequestHandler.cpp +0 -37
  871. data/ext/ice/cpp/src/Ice/RequestHandler.h +0 -78
  872. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.cpp +0 -77
  873. data/ext/ice/cpp/src/Ice/RequestHandlerFactory.h +0 -37
  874. data/ext/ice/cpp/src/Ice/ResponseHandler.cpp +0 -12
  875. data/ext/ice/cpp/src/Ice/ResponseHandler.h +0 -43
  876. data/ext/ice/cpp/src/Ice/RetryQueue.cpp +0 -157
  877. data/ext/ice/cpp/src/Ice/RetryQueue.h +0 -66
  878. data/ext/ice/cpp/src/Ice/RetryQueueF.h +0 -19
  879. data/ext/ice/cpp/src/Ice/Router.cpp +0 -977
  880. data/ext/ice/cpp/src/Ice/RouterF.cpp +0 -63
  881. data/ext/ice/cpp/src/Ice/RouterInfo.cpp +0 -379
  882. data/ext/ice/cpp/src/Ice/RouterInfo.h +0 -152
  883. data/ext/ice/cpp/src/Ice/RouterInfoF.h +0 -25
  884. data/ext/ice/cpp/src/Ice/SHA1.cpp +0 -185
  885. data/ext/ice/cpp/src/Ice/Selector.cpp +0 -1537
  886. data/ext/ice/cpp/src/Ice/Selector.h +0 -308
  887. data/ext/ice/cpp/src/Ice/ServantLocator.cpp +0 -75
  888. data/ext/ice/cpp/src/Ice/ServantLocatorF.cpp +0 -61
  889. data/ext/ice/cpp/src/Ice/ServantManager.cpp +0 -480
  890. data/ext/ice/cpp/src/Ice/ServantManager.h +0 -69
  891. data/ext/ice/cpp/src/Ice/SharedContext.h +0 -46
  892. data/ext/ice/cpp/src/Ice/SliceChecksumDict.cpp +0 -49
  893. data/ext/ice/cpp/src/Ice/SliceChecksums.cpp +0 -75
  894. data/ext/ice/cpp/src/Ice/SlicedData.cpp +0 -127
  895. data/ext/ice/cpp/src/Ice/StreamSocket.cpp +0 -682
  896. data/ext/ice/cpp/src/Ice/StreamSocket.h +0 -92
  897. data/ext/ice/cpp/src/Ice/StringConverterPlugin.cpp +0 -192
  898. data/ext/ice/cpp/src/Ice/StringUtil.h +0 -30
  899. data/ext/ice/cpp/src/Ice/SysLoggerI.cpp +0 -166
  900. data/ext/ice/cpp/src/Ice/SysLoggerI.h +0 -37
  901. data/ext/ice/cpp/src/Ice/SystemdJournalI.cpp +0 -66
  902. data/ext/ice/cpp/src/Ice/SystemdJournalI.h +0 -39
  903. data/ext/ice/cpp/src/Ice/TcpAcceptor.cpp +0 -355
  904. data/ext/ice/cpp/src/Ice/TcpAcceptor.h +0 -69
  905. data/ext/ice/cpp/src/Ice/TcpConnector.cpp +0 -127
  906. data/ext/ice/cpp/src/Ice/TcpConnector.h +0 -45
  907. data/ext/ice/cpp/src/Ice/TcpEndpointI.cpp +0 -385
  908. data/ext/ice/cpp/src/Ice/TcpEndpointI.h +0 -90
  909. data/ext/ice/cpp/src/Ice/TcpTransceiver.cpp +0 -135
  910. data/ext/ice/cpp/src/Ice/TcpTransceiver.h +0 -58
  911. data/ext/ice/cpp/src/Ice/Thread.cpp +0 -811
  912. data/ext/ice/cpp/src/Ice/ThreadPool.cpp +0 -1328
  913. data/ext/ice/cpp/src/Ice/ThreadPool.h +0 -393
  914. data/ext/ice/cpp/src/Ice/Timer.cpp +0 -263
  915. data/ext/ice/cpp/src/Ice/TraceLevels.cpp +0 -38
  916. data/ext/ice/cpp/src/Ice/TraceLevels.h +0 -45
  917. data/ext/ice/cpp/src/Ice/TraceLevelsF.h +0 -21
  918. data/ext/ice/cpp/src/Ice/TraceUtil.cpp +0 -478
  919. data/ext/ice/cpp/src/Ice/TraceUtil.h +0 -30
  920. data/ext/ice/cpp/src/Ice/Transceiver.cpp +0 -18
  921. data/ext/ice/cpp/src/Ice/Transceiver.h +0 -49
  922. data/ext/ice/cpp/src/Ice/TransceiverF.h +0 -33
  923. data/ext/ice/cpp/src/Ice/UdpConnector.cpp +0 -136
  924. data/ext/ice/cpp/src/Ice/UdpConnector.h +0 -45
  925. data/ext/ice/cpp/src/Ice/UdpEndpointI.cpp +0 -515
  926. data/ext/ice/cpp/src/Ice/UdpEndpointI.h +0 -95
  927. data/ext/ice/cpp/src/Ice/UdpTransceiver.cpp +0 -1153
  928. data/ext/ice/cpp/src/Ice/UdpTransceiver.h +0 -117
  929. data/ext/ice/cpp/src/Ice/Value.cpp +0 -76
  930. data/ext/ice/cpp/src/Ice/ValueFactory.cpp +0 -83
  931. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.cpp +0 -61
  932. data/ext/ice/cpp/src/Ice/ValueFactoryManagerI.h +0 -37
  933. data/ext/ice/cpp/src/Ice/Version.cpp +0 -57
  934. data/ext/ice/cpp/src/Ice/VirtualShared.h +0 -38
  935. data/ext/ice/cpp/src/Ice/WSAcceptor.cpp +0 -92
  936. data/ext/ice/cpp/src/Ice/WSAcceptor.h +0 -52
  937. data/ext/ice/cpp/src/Ice/WSConnector.cpp +0 -102
  938. data/ext/ice/cpp/src/Ice/WSConnector.h +0 -43
  939. data/ext/ice/cpp/src/Ice/WSEndpoint.cpp +0 -508
  940. data/ext/ice/cpp/src/Ice/WSEndpoint.h +0 -93
  941. data/ext/ice/cpp/src/Ice/WSTransceiver.cpp +0 -1747
  942. data/ext/ice/cpp/src/Ice/WSTransceiver.h +0 -141
  943. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.cpp +0 -915
  944. data/ext/ice/cpp/src/IceDiscovery/IceDiscovery.h +0 -1889
  945. data/ext/ice/cpp/src/IceDiscovery/LocatorI.cpp +0 -265
  946. data/ext/ice/cpp/src/IceDiscovery/LocatorI.h +0 -109
  947. data/ext/ice/cpp/src/IceDiscovery/LookupI.cpp +0 -608
  948. data/ext/ice/cpp/src/IceDiscovery/LookupI.h +0 -228
  949. data/ext/ice/cpp/src/IceDiscovery/PluginI.cpp +0 -176
  950. data/ext/ice/cpp/src/IceDiscovery/PluginI.h +0 -36
  951. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.cpp +0 -730
  952. data/ext/ice/cpp/src/IceLocatorDiscovery/IceLocatorDiscovery.h +0 -1197
  953. data/ext/ice/cpp/src/IceLocatorDiscovery/Plugin.h +0 -47
  954. data/ext/ice/cpp/src/IceLocatorDiscovery/PluginI.cpp +0 -1048
  955. data/ext/ice/cpp/src/IceSSL/AcceptorI.cpp +0 -105
  956. data/ext/ice/cpp/src/IceSSL/AcceptorI.h +0 -52
  957. data/ext/ice/cpp/src/IceSSL/CertificateI.cpp +0 -301
  958. data/ext/ice/cpp/src/IceSSL/CertificateI.h +0 -64
  959. data/ext/ice/cpp/src/IceSSL/ConnectionInfo.cpp +0 -75
  960. data/ext/ice/cpp/src/IceSSL/ConnectionInfoF.cpp +0 -61
  961. data/ext/ice/cpp/src/IceSSL/ConnectorI.cpp +0 -102
  962. data/ext/ice/cpp/src/IceSSL/ConnectorI.h +0 -44
  963. data/ext/ice/cpp/src/IceSSL/EndpointI.cpp +0 -372
  964. data/ext/ice/cpp/src/IceSSL/EndpointI.h +0 -100
  965. data/ext/ice/cpp/src/IceSSL/EndpointInfo.cpp +0 -75
  966. data/ext/ice/cpp/src/IceSSL/Instance.cpp +0 -28
  967. data/ext/ice/cpp/src/IceSSL/Instance.h +0 -37
  968. data/ext/ice/cpp/src/IceSSL/InstanceF.h +0 -33
  969. data/ext/ice/cpp/src/IceSSL/OpenSSLCertificateI.cpp +0 -688
  970. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.cpp +0 -1147
  971. data/ext/ice/cpp/src/IceSSL/OpenSSLEngine.h +0 -59
  972. data/ext/ice/cpp/src/IceSSL/OpenSSLEngineF.h +0 -27
  973. data/ext/ice/cpp/src/IceSSL/OpenSSLPluginI.cpp +0 -127
  974. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.cpp +0 -1092
  975. data/ext/ice/cpp/src/IceSSL/OpenSSLTransceiverI.h +0 -90
  976. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.cpp +0 -288
  977. data/ext/ice/cpp/src/IceSSL/OpenSSLUtil.h +0 -58
  978. data/ext/ice/cpp/src/IceSSL/PluginI.cpp +0 -246
  979. data/ext/ice/cpp/src/IceSSL/PluginI.h +0 -67
  980. data/ext/ice/cpp/src/IceSSL/RFC2253.cpp +0 -490
  981. data/ext/ice/cpp/src/IceSSL/RFC2253.h +0 -62
  982. data/ext/ice/cpp/src/IceSSL/SChannelCertificateI.cpp +0 -721
  983. data/ext/ice/cpp/src/IceSSL/SChannelEngine.cpp +0 -1283
  984. data/ext/ice/cpp/src/IceSSL/SChannelEngine.h +0 -123
  985. data/ext/ice/cpp/src/IceSSL/SChannelEngineF.h +0 -31
  986. data/ext/ice/cpp/src/IceSSL/SChannelPluginI.cpp +0 -73
  987. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.cpp +0 -1174
  988. data/ext/ice/cpp/src/IceSSL/SChannelTransceiverI.h +0 -133
  989. data/ext/ice/cpp/src/IceSSL/SSLEngine.cpp +0 -313
  990. data/ext/ice/cpp/src/IceSSL/SSLEngine.h +0 -100
  991. data/ext/ice/cpp/src/IceSSL/SSLEngineF.h +0 -21
  992. data/ext/ice/cpp/src/IceSSL/SecureTransportCertificateI.cpp +0 -999
  993. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.cpp +0 -1308
  994. data/ext/ice/cpp/src/IceSSL/SecureTransportEngine.h +0 -59
  995. data/ext/ice/cpp/src/IceSSL/SecureTransportEngineF.h +0 -29
  996. data/ext/ice/cpp/src/IceSSL/SecureTransportPluginI.cpp +0 -75
  997. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.cpp +0 -719
  998. data/ext/ice/cpp/src/IceSSL/SecureTransportTransceiverI.h +0 -92
  999. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.cpp +0 -868
  1000. data/ext/ice/cpp/src/IceSSL/SecureTransportUtil.h +0 -45
  1001. data/ext/ice/cpp/src/IceSSL/TrustManager.cpp +0 -236
  1002. data/ext/ice/cpp/src/IceSSL/TrustManager.h +0 -46
  1003. data/ext/ice/cpp/src/IceSSL/TrustManagerF.h +0 -21
  1004. data/ext/ice/cpp/src/IceSSL/UWPCertificateI.cpp +0 -266
  1005. data/ext/ice/cpp/src/IceSSL/UWPEngine.cpp +0 -338
  1006. data/ext/ice/cpp/src/IceSSL/UWPEngine.h +0 -41
  1007. data/ext/ice/cpp/src/IceSSL/UWPEngineF.h +0 -26
  1008. data/ext/ice/cpp/src/IceSSL/UWPPluginI.cpp +0 -89
  1009. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.cpp +0 -383
  1010. data/ext/ice/cpp/src/IceSSL/UWPTransceiverI.h +0 -71
  1011. data/ext/ice/cpp/src/IceSSL/Util.cpp +0 -192
  1012. data/ext/ice/cpp/src/IceSSL/Util.h +0 -99
  1013. data/ext/ice/cpp/src/IceUtil/ConsoleUtil.cpp +0 -157
  1014. data/ext/ice/cpp/src/IceUtil/ConvertUTF.cpp +0 -472
  1015. data/ext/ice/cpp/src/IceUtil/ConvertUTF.h +0 -147
  1016. data/ext/ice/cpp/src/IceUtil/CtrlCHandler.cpp +0 -259
  1017. data/ext/ice/cpp/src/IceUtil/FileUtil.cpp +0 -484
  1018. data/ext/ice/cpp/src/IceUtil/InputUtil.cpp +0 -36
  1019. data/ext/ice/cpp/src/IceUtil/MutexProtocol.cpp +0 -19
  1020. data/ext/ice/cpp/src/IceUtil/Options.cpp +0 -1051
  1021. data/ext/ice/cpp/src/IceUtil/OutputUtil.cpp +0 -609
  1022. data/ext/ice/cpp/src/IceUtil/Random.cpp +0 -180
  1023. data/ext/ice/cpp/src/IceUtil/RecMutex.cpp +0 -242
  1024. data/ext/ice/cpp/src/IceUtil/Shared.cpp +0 -71
  1025. data/ext/ice/cpp/src/IceUtil/StringConverter.cpp +0 -690
  1026. data/ext/ice/cpp/src/IceUtil/StringUtil.cpp +0 -1180
  1027. data/ext/ice/cpp/src/IceUtil/ThreadException.cpp +0 -130
  1028. data/ext/ice/cpp/src/IceUtil/Time.cpp +0 -307
  1029. data/ext/ice/cpp/src/IceUtil/UUID.cpp +0 -169
  1030. data/ext/ice/cpp/src/IceUtil/Unicode.cpp +0 -183
  1031. data/ext/ice/cpp/src/IceUtil/Unicode.h +0 -43
  1032. data/ext/ice/cpp/src/IceUtil/UtilException.cpp +0 -839
  1033. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.cpp +0 -1810
  1034. data/ext/ice/cpp/src/Slice/CPlusPlusUtil.h +0 -72
  1035. data/ext/ice/cpp/src/Slice/Checksum.cpp +0 -447
  1036. data/ext/ice/cpp/src/Slice/Checksum.h +0 -21
  1037. data/ext/ice/cpp/src/Slice/FileTracker.cpp +0 -146
  1038. data/ext/ice/cpp/src/Slice/FileTracker.h +0 -66
  1039. data/ext/ice/cpp/src/Slice/Grammar.cpp +0 -4793
  1040. data/ext/ice/cpp/src/Slice/Grammar.h +0 -118
  1041. data/ext/ice/cpp/src/Slice/GrammarUtil.h +0 -228
  1042. data/ext/ice/cpp/src/Slice/JavaUtil.cpp +0 -5154
  1043. data/ext/ice/cpp/src/Slice/JavaUtil.h +0 -398
  1044. data/ext/ice/cpp/src/Slice/MD5.cpp +0 -52
  1045. data/ext/ice/cpp/src/Slice/MD5.h +0 -39
  1046. data/ext/ice/cpp/src/Slice/MD5I.cpp +0 -393
  1047. data/ext/ice/cpp/src/Slice/MD5I.h +0 -91
  1048. data/ext/ice/cpp/src/Slice/PHPUtil.cpp +0 -157
  1049. data/ext/ice/cpp/src/Slice/PHPUtil.h +0 -36
  1050. data/ext/ice/cpp/src/Slice/Parser.cpp +0 -7058
  1051. data/ext/ice/cpp/src/Slice/Parser.h +0 -1174
  1052. data/ext/ice/cpp/src/Slice/Preprocessor.cpp +0 -797
  1053. data/ext/ice/cpp/src/Slice/Preprocessor.h +0 -60
  1054. data/ext/ice/cpp/src/Slice/Python.cpp +0 -830
  1055. data/ext/ice/cpp/src/Slice/PythonUtil.cpp +0 -3439
  1056. data/ext/ice/cpp/src/Slice/PythonUtil.h +0 -70
  1057. data/ext/ice/cpp/src/Slice/Ruby.cpp +0 -350
  1058. data/ext/ice/cpp/src/Slice/RubyUtil.cpp +0 -1571
  1059. data/ext/ice/cpp/src/Slice/RubyUtil.h +0 -49
  1060. data/ext/ice/cpp/src/Slice/Scanner.cpp +0 -2807
  1061. data/ext/ice/cpp/src/Slice/SliceUtil.cpp +0 -424
  1062. data/ext/ice/cpp/src/Slice/StringLiteralUtil.cpp +0 -456
  1063. data/ext/ice/cpp/src/Slice/Util.h +0 -50
  1064. data/ext/ice/mcpp/CMakeLists.txt +0 -80
  1065. data/ext/ice/mcpp/LICENSE +0 -29
  1066. data/ext/ice/mcpp/Makefile +0 -63
  1067. data/ext/ice/mcpp/README.md +0 -32
  1068. data/ext/ice/mcpp/internal.H +0 -530
  1069. data/ext/ice/mcpp/mcpp.gyp +0 -88
  1070. data/lib/Glacier2/Metrics.rb +0 -56
  1071. data/lib/Glacier2/PermissionsVerifier.rb +0 -93
  1072. data/lib/Glacier2/PermissionsVerifierF.rb +0 -30
  1073. data/lib/Glacier2/Router.rb +0 -95
  1074. data/lib/Glacier2/RouterF.rb +0 -25
  1075. data/lib/Glacier2/SSLInfo.rb +0 -72
  1076. data/lib/Glacier2/Session.rb +0 -247
  1077. data/lib/Glacier2.rb +0 -7
  1078. data/lib/Ice/BuiltinSequences.rb +0 -60
  1079. data/lib/Ice/Communicator.rb +0 -87
  1080. data/lib/Ice/CommunicatorF.rb +0 -24
  1081. data/lib/Ice/Connection.rb +0 -413
  1082. data/lib/Ice/ConnectionF.rb +0 -32
  1083. data/lib/Ice/Current.rb +0 -141
  1084. data/lib/Ice/Endpoint.rb +0 -187
  1085. data/lib/Ice/EndpointF.rb +0 -48
  1086. data/lib/Ice/EndpointTypes.rb +0 -69
  1087. data/lib/Ice/FacetMap.rb +0 -24
  1088. data/lib/Ice/Identity.rb +0 -63
  1089. data/lib/Ice/ImplicitContext.rb +0 -26
  1090. data/lib/Ice/ImplicitContextF.rb +0 -24
  1091. data/lib/Ice/Instrumentation.rb +0 -169
  1092. data/lib/Ice/InstrumentationF.rb +0 -31
  1093. data/lib/Ice/LocalException.rb +0 -1031
  1094. data/lib/Ice/Locator.rb +0 -196
  1095. data/lib/Ice/LocatorF.rb +0 -30
  1096. data/lib/Ice/Logger.rb +0 -24
  1097. data/lib/Ice/LoggerF.rb +0 -24
  1098. data/lib/Ice/Metrics.rb +0 -337
  1099. data/lib/Ice/ObjectAdapter.rb +0 -29
  1100. data/lib/Ice/ObjectAdapterF.rb +0 -24
  1101. data/lib/Ice/ObjectFactory.rb +0 -24
  1102. data/lib/Ice/Plugin.rb +0 -30
  1103. data/lib/Ice/PluginF.rb +0 -28
  1104. data/lib/Ice/Process.rb +0 -53
  1105. data/lib/Ice/ProcessF.rb +0 -25
  1106. data/lib/Ice/Properties.rb +0 -25
  1107. data/lib/Ice/PropertiesAdmin.rb +0 -63
  1108. data/lib/Ice/PropertiesF.rb +0 -29
  1109. data/lib/Ice/RemoteLogger.rb +0 -207
  1110. data/lib/Ice/Router.rb +0 -87
  1111. data/lib/Ice/RouterF.rb +0 -25
  1112. data/lib/Ice/ServantLocator.rb +0 -26
  1113. data/lib/Ice/ServantLocatorF.rb +0 -24
  1114. data/lib/Ice/SliceChecksumDict.rb +0 -24
  1115. data/lib/Ice/ValueFactory.rb +0 -28
  1116. data/lib/Ice/Version.rb +0 -90
  1117. data/lib/Ice.rb +0 -673
  1118. data/lib/IceBox/IceBox.rb +0 -164
  1119. data/lib/IceBox.rb +0 -5
  1120. data/lib/IceGrid/Admin.rb +0 -1196
  1121. data/lib/IceGrid/Descriptor.rb +0 -1034
  1122. data/lib/IceGrid/Exception.rb +0 -376
  1123. data/lib/IceGrid/FileParser.rb +0 -65
  1124. data/lib/IceGrid/PluginFacade.rb +0 -35
  1125. data/lib/IceGrid/Registry.rb +0 -209
  1126. data/lib/IceGrid/Session.rb +0 -71
  1127. data/lib/IceGrid/UserAccountMapper.rb +0 -61
  1128. data/lib/IceGrid.rb +0 -9
  1129. data/lib/IcePatch2/FileInfo.rb +0 -115
  1130. data/lib/IcePatch2/FileServer.rb +0 -123
  1131. data/lib/IcePatch2.rb +0 -5
  1132. data/lib/IceStorm/IceStorm.rb +0 -332
  1133. data/lib/IceStorm/Metrics.rb +0 -73
  1134. data/lib/IceStorm.rb +0 -6
  1135. data/slice/Glacier2/Metrics.ice +0 -88
  1136. data/slice/Glacier2/PermissionsVerifier.ice +0 -111
  1137. data/slice/Glacier2/PermissionsVerifierF.ice +0 -30
  1138. data/slice/Glacier2/Router.ice +0 -186
  1139. data/slice/Glacier2/RouterF.ice +0 -29
  1140. data/slice/Glacier2/SSLInfo.ice +0 -59
  1141. data/slice/Glacier2/Session.ice +0 -274
  1142. data/slice/Ice/BuiltinSequences.ice +0 -59
  1143. data/slice/Ice/Communicator.ice +0 -676
  1144. data/slice/Ice/CommunicatorF.ice +0 -31
  1145. data/slice/Ice/Connection.ice +0 -516
  1146. data/slice/Ice/ConnectionF.ice +0 -33
  1147. data/slice/Ice/Current.ice +0 -170
  1148. data/slice/Ice/Endpoint.ice +0 -291
  1149. data/slice/Ice/EndpointF.ice +0 -43
  1150. data/slice/Ice/EndpointTypes.ice +0 -48
  1151. data/slice/Ice/FacetMap.ice +0 -36
  1152. data/slice/Ice/Identity.ice +0 -75
  1153. data/slice/Ice/ImplicitContext.ice +0 -119
  1154. data/slice/Ice/ImplicitContextF.ice +0 -30
  1155. data/slice/Ice/Instrumentation.ice +0 -509
  1156. data/slice/Ice/InstrumentationF.ice +0 -38
  1157. data/slice/Ice/LocalException.ice +0 -1040
  1158. data/slice/Ice/Locator.ice +0 -239
  1159. data/slice/Ice/LocatorF.ice +0 -32
  1160. data/slice/Ice/Logger.ice +0 -99
  1161. data/slice/Ice/LoggerF.ice +0 -31
  1162. data/slice/Ice/Metrics.ice +0 -436
  1163. data/slice/Ice/ObjectAdapter.ice +0 -710
  1164. data/slice/Ice/ObjectAdapterF.ice +0 -31
  1165. data/slice/Ice/ObjectFactory.ice +0 -71
  1166. data/slice/Ice/Plugin.ice +0 -131
  1167. data/slice/Ice/PluginF.ice +0 -36
  1168. data/slice/Ice/Process.ice +0 -64
  1169. data/slice/Ice/ProcessF.ice +0 -31
  1170. data/slice/Ice/Properties.ice +0 -244
  1171. data/slice/Ice/PropertiesAdmin.ice +0 -87
  1172. data/slice/Ice/PropertiesF.ice +0 -32
  1173. data/slice/Ice/RemoteLogger.ice +0 -226
  1174. data/slice/Ice/Router.ice +0 -103
  1175. data/slice/Ice/RouterF.ice +0 -31
  1176. data/slice/Ice/ServantLocator.ice +0 -136
  1177. data/slice/Ice/ServantLocatorF.ice +0 -31
  1178. data/slice/Ice/SliceChecksumDict.ice +0 -36
  1179. data/slice/Ice/ValueFactory.ice +0 -133
  1180. data/slice/Ice/Version.ice +0 -51
  1181. data/slice/IceBT/ConnectionInfo.ice +0 -59
  1182. data/slice/IceBT/EndpointInfo.ice +0 -57
  1183. data/slice/IceBT/Types.ice +0 -45
  1184. data/slice/IceBox/IceBox.ice +0 -216
  1185. data/slice/IceDiscovery/IceDiscovery.ice +0 -98
  1186. data/slice/IceGrid/Admin.ice +0 -1957
  1187. data/slice/IceGrid/Descriptor.ice +0 -1094
  1188. data/slice/IceGrid/Exception.ice +0 -396
  1189. data/slice/IceGrid/FileParser.ice +0 -72
  1190. data/slice/IceGrid/PluginFacade.ice +0 -329
  1191. data/slice/IceGrid/Registry.ice +0 -269
  1192. data/slice/IceGrid/Session.ice +0 -128
  1193. data/slice/IceGrid/UserAccountMapper.ice +0 -69
  1194. data/slice/IceIAP/ConnectionInfo.ice +0 -74
  1195. data/slice/IceIAP/EndpointInfo.ice +0 -68
  1196. data/slice/IceLocatorDiscovery/IceLocatorDiscovery.ice +0 -83
  1197. data/slice/IcePatch2/FileInfo.ice +0 -85
  1198. data/slice/IcePatch2/FileServer.ice +0 -191
  1199. data/slice/IceSSL/ConnectionInfo.ice +0 -54
  1200. data/slice/IceSSL/ConnectionInfoF.ice +0 -31
  1201. data/slice/IceSSL/EndpointInfo.ice +0 -45
  1202. data/slice/IceStorm/IceStorm.ice +0 -414
  1203. data/slice/IceStorm/Metrics.ice +0 -83
  1204. /data/{ext → dist}/ice/mcpp/config.h +0 -0
  1205. /data/{ext → dist}/ice/mcpp/configed.H +0 -0
  1206. /data/{ext → dist}/ice/mcpp/directive.c +0 -0
  1207. /data/{ext → dist}/ice/mcpp/eval.c +0 -0
  1208. /data/{ext → dist}/ice/mcpp/expand.c +0 -0
  1209. /data/{ext → dist}/ice/mcpp/mbchar.c +0 -0
  1210. /data/{ext → dist}/ice/mcpp/mcpp_lib.h +0 -0
  1211. /data/{ext/ice/mcpp/main.c → dist/ice/mcpp/mcpp_main.c} +0 -0
  1212. /data/{ext → dist}/ice/mcpp/mcpp_out.h +0 -0
  1213. /data/{ext → dist}/ice/mcpp/support.c +0 -0
  1214. /data/{ext → dist}/ice/mcpp/system.H +0 -0
  1215. /data/{ext → dist}/ice/mcpp/system.c +0 -0
@@ -1,2807 +0,0 @@
1
- #include <IceUtil/ScannerConfig.h>
2
- #line 1 "src/Slice/Scanner.cpp"
3
-
4
- #line 3 "src/Slice/Scanner.cpp"
5
-
6
- #define YY_INT_ALIGNED short int
7
-
8
- /* A lexical scanner generated by flex */
9
-
10
- #define yy_create_buffer slice__create_buffer
11
- #define yy_delete_buffer slice__delete_buffer
12
- #define yy_scan_buffer slice__scan_buffer
13
- #define yy_scan_string slice__scan_string
14
- #define yy_scan_bytes slice__scan_bytes
15
- #define yy_init_buffer slice__init_buffer
16
- #define yy_flush_buffer slice__flush_buffer
17
- #define yy_load_buffer_state slice__load_buffer_state
18
- #define yy_switch_to_buffer slice__switch_to_buffer
19
- #define yypush_buffer_state slice_push_buffer_state
20
- #define yypop_buffer_state slice_pop_buffer_state
21
- #define yyensure_buffer_stack slice_ensure_buffer_stack
22
- #define yy_flex_debug slice__flex_debug
23
- #define yyin slice_in
24
- #define yyleng slice_leng
25
- #define yylex slice_lex
26
- #define yylineno slice_lineno
27
- #define yyout slice_out
28
- #define yyrestart slice_restart
29
- #define yytext slice_text
30
- #define yywrap slice_wrap
31
- #define yyalloc slice_alloc
32
- #define yyrealloc slice_realloc
33
- #define yyfree slice_free
34
-
35
- #define FLEX_SCANNER
36
- #define YY_FLEX_MAJOR_VERSION 2
37
- #define YY_FLEX_MINOR_VERSION 6
38
- #define YY_FLEX_SUBMINOR_VERSION 4
39
- #if YY_FLEX_SUBMINOR_VERSION > 0
40
- #define FLEX_BETA
41
- #endif
42
-
43
- #ifdef yy_create_buffer
44
- #define slice__create_buffer_ALREADY_DEFINED
45
- #else
46
- #define yy_create_buffer slice__create_buffer
47
- #endif
48
-
49
- #ifdef yy_delete_buffer
50
- #define slice__delete_buffer_ALREADY_DEFINED
51
- #else
52
- #define yy_delete_buffer slice__delete_buffer
53
- #endif
54
-
55
- #ifdef yy_scan_buffer
56
- #define slice__scan_buffer_ALREADY_DEFINED
57
- #else
58
- #define yy_scan_buffer slice__scan_buffer
59
- #endif
60
-
61
- #ifdef yy_scan_string
62
- #define slice__scan_string_ALREADY_DEFINED
63
- #else
64
- #define yy_scan_string slice__scan_string
65
- #endif
66
-
67
- #ifdef yy_scan_bytes
68
- #define slice__scan_bytes_ALREADY_DEFINED
69
- #else
70
- #define yy_scan_bytes slice__scan_bytes
71
- #endif
72
-
73
- #ifdef yy_init_buffer
74
- #define slice__init_buffer_ALREADY_DEFINED
75
- #else
76
- #define yy_init_buffer slice__init_buffer
77
- #endif
78
-
79
- #ifdef yy_flush_buffer
80
- #define slice__flush_buffer_ALREADY_DEFINED
81
- #else
82
- #define yy_flush_buffer slice__flush_buffer
83
- #endif
84
-
85
- #ifdef yy_load_buffer_state
86
- #define slice__load_buffer_state_ALREADY_DEFINED
87
- #else
88
- #define yy_load_buffer_state slice__load_buffer_state
89
- #endif
90
-
91
- #ifdef yy_switch_to_buffer
92
- #define slice__switch_to_buffer_ALREADY_DEFINED
93
- #else
94
- #define yy_switch_to_buffer slice__switch_to_buffer
95
- #endif
96
-
97
- #ifdef yypush_buffer_state
98
- #define slice_push_buffer_state_ALREADY_DEFINED
99
- #else
100
- #define yypush_buffer_state slice_push_buffer_state
101
- #endif
102
-
103
- #ifdef yypop_buffer_state
104
- #define slice_pop_buffer_state_ALREADY_DEFINED
105
- #else
106
- #define yypop_buffer_state slice_pop_buffer_state
107
- #endif
108
-
109
- #ifdef yyensure_buffer_stack
110
- #define slice_ensure_buffer_stack_ALREADY_DEFINED
111
- #else
112
- #define yyensure_buffer_stack slice_ensure_buffer_stack
113
- #endif
114
-
115
- #ifdef yylex
116
- #define slice_lex_ALREADY_DEFINED
117
- #else
118
- #define yylex slice_lex
119
- #endif
120
-
121
- #ifdef yyrestart
122
- #define slice_restart_ALREADY_DEFINED
123
- #else
124
- #define yyrestart slice_restart
125
- #endif
126
-
127
- #ifdef yylex_init
128
- #define slice_lex_init_ALREADY_DEFINED
129
- #else
130
- #define yylex_init slice_lex_init
131
- #endif
132
-
133
- #ifdef yylex_init_extra
134
- #define slice_lex_init_extra_ALREADY_DEFINED
135
- #else
136
- #define yylex_init_extra slice_lex_init_extra
137
- #endif
138
-
139
- #ifdef yylex_destroy
140
- #define slice_lex_destroy_ALREADY_DEFINED
141
- #else
142
- #define yylex_destroy slice_lex_destroy
143
- #endif
144
-
145
- #ifdef yyget_debug
146
- #define slice_get_debug_ALREADY_DEFINED
147
- #else
148
- #define yyget_debug slice_get_debug
149
- #endif
150
-
151
- #ifdef yyset_debug
152
- #define slice_set_debug_ALREADY_DEFINED
153
- #else
154
- #define yyset_debug slice_set_debug
155
- #endif
156
-
157
- #ifdef yyget_extra
158
- #define slice_get_extra_ALREADY_DEFINED
159
- #else
160
- #define yyget_extra slice_get_extra
161
- #endif
162
-
163
- #ifdef yyset_extra
164
- #define slice_set_extra_ALREADY_DEFINED
165
- #else
166
- #define yyset_extra slice_set_extra
167
- #endif
168
-
169
- #ifdef yyget_in
170
- #define slice_get_in_ALREADY_DEFINED
171
- #else
172
- #define yyget_in slice_get_in
173
- #endif
174
-
175
- #ifdef yyset_in
176
- #define slice_set_in_ALREADY_DEFINED
177
- #else
178
- #define yyset_in slice_set_in
179
- #endif
180
-
181
- #ifdef yyget_out
182
- #define slice_get_out_ALREADY_DEFINED
183
- #else
184
- #define yyget_out slice_get_out
185
- #endif
186
-
187
- #ifdef yyset_out
188
- #define slice_set_out_ALREADY_DEFINED
189
- #else
190
- #define yyset_out slice_set_out
191
- #endif
192
-
193
- #ifdef yyget_leng
194
- #define slice_get_leng_ALREADY_DEFINED
195
- #else
196
- #define yyget_leng slice_get_leng
197
- #endif
198
-
199
- #ifdef yyget_text
200
- #define slice_get_text_ALREADY_DEFINED
201
- #else
202
- #define yyget_text slice_get_text
203
- #endif
204
-
205
- #ifdef yyget_lineno
206
- #define slice_get_lineno_ALREADY_DEFINED
207
- #else
208
- #define yyget_lineno slice_get_lineno
209
- #endif
210
-
211
- #ifdef yyset_lineno
212
- #define slice_set_lineno_ALREADY_DEFINED
213
- #else
214
- #define yyset_lineno slice_set_lineno
215
- #endif
216
-
217
- #ifdef yywrap
218
- #define slice_wrap_ALREADY_DEFINED
219
- #else
220
- #define yywrap slice_wrap
221
- #endif
222
-
223
- #ifdef yyalloc
224
- #define slice_alloc_ALREADY_DEFINED
225
- #else
226
- #define yyalloc slice_alloc
227
- #endif
228
-
229
- #ifdef yyrealloc
230
- #define slice_realloc_ALREADY_DEFINED
231
- #else
232
- #define yyrealloc slice_realloc
233
- #endif
234
-
235
- #ifdef yyfree
236
- #define slice_free_ALREADY_DEFINED
237
- #else
238
- #define yyfree slice_free
239
- #endif
240
-
241
- #ifdef yytext
242
- #define slice_text_ALREADY_DEFINED
243
- #else
244
- #define yytext slice_text
245
- #endif
246
-
247
- #ifdef yyleng
248
- #define slice_leng_ALREADY_DEFINED
249
- #else
250
- #define yyleng slice_leng
251
- #endif
252
-
253
- #ifdef yyin
254
- #define slice_in_ALREADY_DEFINED
255
- #else
256
- #define yyin slice_in
257
- #endif
258
-
259
- #ifdef yyout
260
- #define slice_out_ALREADY_DEFINED
261
- #else
262
- #define yyout slice_out
263
- #endif
264
-
265
- #ifdef yy_flex_debug
266
- #define slice__flex_debug_ALREADY_DEFINED
267
- #else
268
- #define yy_flex_debug slice__flex_debug
269
- #endif
270
-
271
- #ifdef yylineno
272
- #define slice_lineno_ALREADY_DEFINED
273
- #else
274
- #define yylineno slice_lineno
275
- #endif
276
-
277
- /* First, we deal with platform-specific or compiler-specific issues. */
278
-
279
- /* begin standard C headers. */
280
- #include <stdio.h>
281
- #include <string.h>
282
- #include <errno.h>
283
- #include <stdlib.h>
284
-
285
- /* end standard C headers. */
286
-
287
- /* flex integer type definitions */
288
-
289
- #ifndef FLEXINT_H
290
- #define FLEXINT_H
291
-
292
- /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
293
-
294
- #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
295
-
296
- /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
297
- * if you want the limit (max/min) macros for int types.
298
- */
299
- #ifndef __STDC_LIMIT_MACROS
300
- #define __STDC_LIMIT_MACROS 1
301
- #endif
302
-
303
- #include <inttypes.h>
304
- typedef int8_t flex_int8_t;
305
- typedef uint8_t flex_uint8_t;
306
- typedef int16_t flex_int16_t;
307
- typedef uint16_t flex_uint16_t;
308
- typedef int32_t flex_int32_t;
309
- typedef uint32_t flex_uint32_t;
310
- #else
311
- typedef signed char flex_int8_t;
312
- typedef short int flex_int16_t;
313
- typedef int flex_int32_t;
314
- typedef unsigned char flex_uint8_t;
315
- typedef unsigned short int flex_uint16_t;
316
- typedef unsigned int flex_uint32_t;
317
-
318
- /* Limits of integral types. */
319
- #ifndef INT8_MIN
320
- #define INT8_MIN (-128)
321
- #endif
322
- #ifndef INT16_MIN
323
- #define INT16_MIN (-32767-1)
324
- #endif
325
- #ifndef INT32_MIN
326
- #define INT32_MIN (-2147483647-1)
327
- #endif
328
- #ifndef INT8_MAX
329
- #define INT8_MAX (127)
330
- #endif
331
- #ifndef INT16_MAX
332
- #define INT16_MAX (32767)
333
- #endif
334
- #ifndef INT32_MAX
335
- #define INT32_MAX (2147483647)
336
- #endif
337
- #ifndef UINT8_MAX
338
- #define UINT8_MAX (255U)
339
- #endif
340
- #ifndef UINT16_MAX
341
- #define UINT16_MAX (65535U)
342
- #endif
343
- #ifndef UINT32_MAX
344
- #define UINT32_MAX (4294967295U)
345
- #endif
346
-
347
- #ifndef SIZE_MAX
348
- #define SIZE_MAX (~(size_t)0)
349
- #endif
350
-
351
- #endif /* ! C99 */
352
-
353
- #endif /* ! FLEXINT_H */
354
-
355
- /* begin standard C++ headers. */
356
-
357
- /* TODO: this is always defined, so inline it */
358
- #define yyconst const
359
-
360
- #if defined(__GNUC__) && __GNUC__ >= 3
361
- #define yynoreturn __attribute__((__noreturn__))
362
- #else
363
- #define yynoreturn
364
- #endif
365
-
366
- /* Returned upon end-of-file. */
367
- #define YY_NULL 0
368
-
369
- /* Promotes a possibly negative, possibly signed char to an
370
- * integer in range [0..255] for use as an array index.
371
- */
372
- #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
373
-
374
- /* Enter a start condition. This macro really ought to take a parameter,
375
- * but we do it the disgusting crufty way forced on us by the ()-less
376
- * definition of BEGIN.
377
- */
378
- #define BEGIN (yy_start) = 1 + 2 *
379
- /* Translate the current start state into a value that can be later handed
380
- * to BEGIN to return to the state. The YYSTATE alias is for lex
381
- * compatibility.
382
- */
383
- #define YY_START (((yy_start) - 1) / 2)
384
- #define YYSTATE YY_START
385
- /* Action number for EOF rule of a given start state. */
386
- #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
387
- /* Special action meaning "start processing a new file". */
388
- #define YY_NEW_FILE yyrestart( yyin )
389
- #define YY_END_OF_BUFFER_CHAR 0
390
-
391
- /* Size of default input buffer. */
392
- #ifndef YY_BUF_SIZE
393
- #ifdef __ia64__
394
- /* On IA-64, the buffer size is 16k, not 8k.
395
- * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
396
- * Ditto for the __ia64__ case accordingly.
397
- */
398
- #define YY_BUF_SIZE 32768
399
- #else
400
- #define YY_BUF_SIZE 16384
401
- #endif /* __ia64__ */
402
- #endif
403
-
404
- /* The state buf must be large enough to hold one state per character in the main buffer.
405
- */
406
- #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
407
-
408
- #ifndef YY_TYPEDEF_YY_BUFFER_STATE
409
- #define YY_TYPEDEF_YY_BUFFER_STATE
410
- typedef struct yy_buffer_state *YY_BUFFER_STATE;
411
- #endif
412
-
413
- #ifndef YY_TYPEDEF_YY_SIZE_T
414
- #define YY_TYPEDEF_YY_SIZE_T
415
- typedef size_t yy_size_t;
416
- #endif
417
-
418
- extern int yyleng;
419
-
420
- extern FILE *yyin, *yyout;
421
-
422
- #define EOB_ACT_CONTINUE_SCAN 0
423
- #define EOB_ACT_END_OF_FILE 1
424
- #define EOB_ACT_LAST_MATCH 2
425
-
426
- #define YY_LESS_LINENO(n)
427
- #define YY_LINENO_REWIND_TO(ptr)
428
-
429
- /* Return all but the first "n" matched characters back to the input stream. */
430
- #define yyless(n) \
431
- do \
432
- { \
433
- /* Undo effects of setting up yytext. */ \
434
- int yyless_macro_arg = (n); \
435
- YY_LESS_LINENO(yyless_macro_arg);\
436
- *yy_cp = (yy_hold_char); \
437
- YY_RESTORE_YY_MORE_OFFSET \
438
- (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
439
- YY_DO_BEFORE_ACTION; /* set up yytext again */ \
440
- } \
441
- while ( 0 )
442
- #define unput(c) yyunput( c, (yytext_ptr) )
443
-
444
- #ifndef YY_STRUCT_YY_BUFFER_STATE
445
- #define YY_STRUCT_YY_BUFFER_STATE
446
- struct yy_buffer_state
447
- {
448
- FILE *yy_input_file;
449
-
450
- char *yy_ch_buf; /* input buffer */
451
- char *yy_buf_pos; /* current position in input buffer */
452
-
453
- /* Size of input buffer in bytes, not including room for EOB
454
- * characters.
455
- */
456
- int yy_buf_size;
457
-
458
- /* Number of characters read into yy_ch_buf, not including EOB
459
- * characters.
460
- */
461
- int yy_n_chars;
462
-
463
- /* Whether we "own" the buffer - i.e., we know we created it,
464
- * and can realloc() it to grow it, and should free() it to
465
- * delete it.
466
- */
467
- int yy_is_our_buffer;
468
-
469
- /* Whether this is an "interactive" input source; if so, and
470
- * if we're using stdio for input, then we want to use getc()
471
- * instead of fread(), to make sure we stop fetching input after
472
- * each newline.
473
- */
474
- int yy_is_interactive;
475
-
476
- /* Whether we're considered to be at the beginning of a line.
477
- * If so, '^' rules will be active on the next match, otherwise
478
- * not.
479
- */
480
- int yy_at_bol;
481
-
482
- int yy_bs_lineno; /**< The line count. */
483
- int yy_bs_column; /**< The column count. */
484
-
485
- /* Whether to try to fill the input buffer when we reach the
486
- * end of it.
487
- */
488
- int yy_fill_buffer;
489
-
490
- int yy_buffer_status;
491
-
492
- #define YY_BUFFER_NEW 0
493
- #define YY_BUFFER_NORMAL 1
494
- /* When an EOF's been seen but there's still some text to process
495
- * then we mark the buffer as YY_EOF_PENDING, to indicate that we
496
- * shouldn't try reading from the input source any more. We might
497
- * still have a bunch of tokens to match, though, because of
498
- * possible backing-up.
499
- *
500
- * When we actually see the EOF, we change the status to "new"
501
- * (via yyrestart()), so that the user can continue scanning by
502
- * just pointing yyin at a new input file.
503
- */
504
- #define YY_BUFFER_EOF_PENDING 2
505
-
506
- };
507
- #endif /* !YY_STRUCT_YY_BUFFER_STATE */
508
-
509
- /* Stack of input buffers. */
510
- static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
511
- static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
512
- static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
513
-
514
- /* We provide macros for accessing buffer states in case in the
515
- * future we want to put the buffer states in a more general
516
- * "scanner state".
517
- *
518
- * Returns the top of the stack, or NULL.
519
- */
520
- #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
521
- ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
522
- : NULL)
523
- /* Same as previous macro, but useful when we know that the buffer stack is not
524
- * NULL or when we need an lvalue. For internal use only.
525
- */
526
- #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
527
-
528
- /* yy_hold_char holds the character lost when yytext is formed. */
529
- static char yy_hold_char;
530
- static int yy_n_chars; /* number of characters read into yy_ch_buf */
531
- int yyleng;
532
-
533
- /* Points to current character in buffer. */
534
- static char *yy_c_buf_p = NULL;
535
- static int yy_init = 0; /* whether we need to initialize */
536
- static int yy_start = 0; /* start state number */
537
-
538
- /* Flag which is used to allow yywrap()'s to do buffer switches
539
- * instead of setting up a fresh yyin. A bit of a hack ...
540
- */
541
- static int yy_did_buffer_switch_on_eof;
542
-
543
- void yyrestart ( FILE *input_file );
544
- void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
545
- YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
546
- void yy_delete_buffer ( YY_BUFFER_STATE b );
547
- void yy_flush_buffer ( YY_BUFFER_STATE b );
548
- void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
549
- void yypop_buffer_state ( void );
550
-
551
- static void yyensure_buffer_stack ( void );
552
- static void yy_load_buffer_state ( void );
553
- static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
554
- #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
555
-
556
- YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
557
- YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
558
- YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
559
-
560
- void *yyalloc ( yy_size_t );
561
- void *yyrealloc ( void *, yy_size_t );
562
- void yyfree ( void * );
563
-
564
- #define yy_new_buffer yy_create_buffer
565
- #define yy_set_interactive(is_interactive) \
566
- { \
567
- if ( ! YY_CURRENT_BUFFER ){ \
568
- yyensure_buffer_stack (); \
569
- YY_CURRENT_BUFFER_LVALUE = \
570
- yy_create_buffer( yyin, YY_BUF_SIZE ); \
571
- } \
572
- YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
573
- }
574
- #define yy_set_bol(at_bol) \
575
- { \
576
- if ( ! YY_CURRENT_BUFFER ){\
577
- yyensure_buffer_stack (); \
578
- YY_CURRENT_BUFFER_LVALUE = \
579
- yy_create_buffer( yyin, YY_BUF_SIZE ); \
580
- } \
581
- YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
582
- }
583
- #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
584
-
585
- /* Begin user sect3 */
586
-
587
- #define slice_wrap() (/*CONSTCOND*/1)
588
- #define YY_SKIP_YYWRAP
589
- typedef flex_uint8_t YY_CHAR;
590
-
591
- FILE *yyin = NULL, *yyout = NULL;
592
-
593
- typedef int yy_state_type;
594
-
595
- extern int yylineno;
596
- int yylineno = 1;
597
-
598
- extern char *yytext;
599
- #ifdef yytext_ptr
600
- #undef yytext_ptr
601
- #endif
602
- #define yytext_ptr yytext
603
-
604
- static yy_state_type yy_get_previous_state ( void );
605
- static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
606
- static int yy_get_next_buffer ( void );
607
- static void yynoreturn yy_fatal_error ( const char* msg );
608
-
609
- /* Done after the current pattern has been matched and before the
610
- * corresponding action - sets up yytext.
611
- */
612
- #define YY_DO_BEFORE_ACTION \
613
- (yytext_ptr) = yy_bp; \
614
- yyleng = (int) (yy_cp - yy_bp); \
615
- (yy_hold_char) = *yy_cp; \
616
- *yy_cp = '\0'; \
617
- (yy_c_buf_p) = yy_cp;
618
- #define YY_NUM_RULES 19
619
- #define YY_END_OF_BUFFER 20
620
- /* This struct is not used in this scanner,
621
- but its presence is necessary. */
622
- struct yy_trans_info
623
- {
624
- flex_int32_t yy_verify;
625
- flex_int32_t yy_nxt;
626
- };
627
- static const flex_int16_t yy_accept[76] =
628
- { 0,
629
- 0, 0, 0, 0, 0, 0, 20, 18, 16, 16,
630
- 13, 18, 18, 18, 14, 14, 18, 12, 7, 18,
631
- 8, 18, 18, 0, 14, 14, 15, 6, 5, 15,
632
- 14, 0, 0, 0, 0, 11, 12, 0, 12, 0,
633
- 9, 12, 10, 0, 0, 0, 0, 0, 15, 0,
634
- 15, 14, 0, 1, 0, 17, 0, 15, 0, 0,
635
- 0, 0, 0, 0, 2, 0, 0, 0, 3, 0,
636
- 0, 0, 0, 4, 0
637
- } ;
638
-
639
- static const YY_CHAR yy_ec[256] =
640
- { 0,
641
- 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
642
- 4, 4, 4, 1, 1, 1, 1, 1, 1, 1,
643
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
644
- 1, 2, 1, 5, 6, 1, 1, 1, 1, 7,
645
- 1, 8, 9, 1, 10, 11, 12, 13, 14, 14,
646
- 14, 14, 14, 14, 14, 15, 15, 16, 1, 1,
647
- 1, 1, 1, 1, 17, 17, 17, 17, 18, 19,
648
- 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
649
- 20, 20, 20, 20, 20, 20, 20, 20, 20, 20,
650
- 21, 22, 23, 1, 20, 1, 17, 17, 17, 17,
651
-
652
- 24, 19, 20, 20, 25, 20, 20, 26, 20, 27,
653
- 20, 20, 20, 20, 20, 20, 20, 20, 20, 28,
654
- 20, 20, 1, 1, 1, 1, 1, 1, 1, 1,
655
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
656
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
657
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
658
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
659
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
660
- 1, 1, 1, 1, 1, 1, 29, 1, 1, 1,
661
- 30, 1, 1, 1, 1, 1, 1, 1, 1, 1,
662
-
663
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
664
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
665
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
666
- 1, 1, 1, 1, 1, 1, 1, 1, 31, 1,
667
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
668
- 1, 1, 1, 1, 1
669
- } ;
670
-
671
- static const YY_CHAR yy_meta[32] =
672
- { 0,
673
- 1, 2, 3, 1, 1, 1, 1, 1, 4, 4,
674
- 1, 1, 5, 5, 5, 1, 6, 6, 6, 7,
675
- 1, 1, 1, 6, 7, 8, 7, 7, 1, 1,
676
- 1
677
- } ;
678
-
679
- static const flex_int16_t yy_base[87] =
680
- { 0,
681
- 0, 140, 0, 26, 0, 139, 137, 197, 197, 197,
682
- 197, 22, 25, 33, 47, 35, 120, 74, 114, 0,
683
- 111, 40, 104, 37, 0, 0, 90, 197, 197, 0,
684
- 104, 34, 0, 97, 52, 197, 0, 99, 0, 0,
685
- 197, 0, 197, 44, 65, 88, 77, 63, 197, 69,
686
- 97, 0, 115, 197, 79, 197, 108, 111, 92, 71,
687
- 81, 82, 72, 66, 197, 125, 77, 126, 197, 59,
688
- 48, 44, 31, 197, 197, 135, 142, 147, 148, 153,
689
- 155, 160, 168, 175, 180, 188
690
- } ;
691
-
692
- static const flex_int16_t yy_def[87] =
693
- { 0,
694
- 75, 1, 1, 1, 1, 1, 75, 75, 75, 75,
695
- 75, 75, 75, 75, 75, 15, 75, 75, 75, 76,
696
- 75, 77, 75, 75, 15, 16, 75, 75, 75, 27,
697
- 15, 78, 79, 76, 75, 75, 18, 75, 18, 76,
698
- 75, 18, 75, 77, 80, 75, 75, 81, 75, 75,
699
- 75, 79, 75, 75, 75, 75, 75, 75, 82, 75,
700
- 82, 83, 75, 83, 75, 75, 84, 75, 75, 85,
701
- 85, 86, 86, 75, 0, 75, 75, 75, 75, 75,
702
- 75, 75, 75, 75, 75, 75
703
- } ;
704
-
705
- static const flex_int16_t yy_nxt[229] =
706
- { 0,
707
- 8, 9, 10, 9, 11, 8, 8, 8, 12, 12,
708
- 13, 14, 15, 16, 16, 17, 18, 18, 18, 18,
709
- 19, 20, 21, 18, 18, 18, 18, 18, 8, 8,
710
- 8, 22, 24, 74, 25, 26, 26, 27, 27, 27,
711
- 28, 44, 50, 50, 29, 44, 74, 26, 26, 27,
712
- 27, 27, 72, 35, 35, 35, 23, 30, 36, 31,
713
- 31, 26, 75, 72, 32, 46, 53, 54, 65, 46,
714
- 32, 57, 57, 66, 33, 35, 35, 35, 68, 69,
715
- 36, 51, 51, 51, 65, 62, 37, 37, 37, 38,
716
- 39, 39, 39, 39, 63, 40, 62, 39, 39, 39,
717
-
718
- 39, 39, 27, 27, 27, 60, 56, 48, 49, 51,
719
- 51, 51, 55, 48, 34, 49, 53, 54, 40, 59,
720
- 58, 58, 58, 58, 58, 58, 66, 68, 69, 49,
721
- 70, 75, 47, 43, 41, 34, 75, 67, 67, 67,
722
- 42, 42, 42, 45, 22, 22, 45, 75, 75, 45,
723
- 51, 51, 52, 52, 45, 45, 75, 45, 58, 58,
724
- 61, 61, 61, 61, 61, 61, 61, 61, 64, 64,
725
- 64, 64, 64, 64, 64, 64, 67, 67, 75, 67,
726
- 71, 71, 71, 71, 71, 71, 71, 71, 73, 73,
727
- 73, 73, 73, 73, 73, 73, 7, 75, 75, 75,
728
-
729
- 75, 75, 75, 75, 75, 75, 75, 75, 75, 75,
730
- 75, 75, 75, 75, 75, 75, 75, 75, 75, 75,
731
- 75, 75, 75, 75, 75, 75, 75, 75
732
- } ;
733
-
734
- static const flex_int16_t yy_chk[229] =
735
- { 0,
736
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
737
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
738
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
739
- 1, 4, 12, 73, 12, 12, 12, 13, 13, 13,
740
- 14, 22, 32, 32, 14, 44, 72, 16, 16, 24,
741
- 24, 24, 71, 35, 35, 35, 4, 15, 35, 15,
742
- 15, 15, 16, 70, 15, 22, 45, 45, 64, 44,
743
- 15, 48, 48, 63, 15, 18, 18, 18, 67, 67,
744
- 18, 50, 50, 50, 62, 61, 18, 18, 18, 18,
745
- 18, 18, 18, 18, 60, 18, 59, 18, 18, 18,
746
-
747
- 18, 18, 27, 27, 27, 55, 47, 27, 27, 51,
748
- 51, 51, 46, 27, 38, 51, 53, 53, 34, 53,
749
- 57, 57, 57, 58, 58, 58, 66, 68, 68, 58,
750
- 68, 31, 23, 21, 19, 17, 7, 66, 66, 66,
751
- 76, 76, 76, 77, 6, 2, 77, 0, 0, 77,
752
- 78, 78, 79, 79, 80, 80, 0, 80, 81, 81,
753
- 82, 82, 82, 82, 82, 82, 82, 82, 83, 83,
754
- 83, 83, 83, 83, 83, 83, 84, 84, 0, 84,
755
- 85, 85, 85, 85, 85, 85, 85, 85, 86, 86,
756
- 86, 86, 86, 86, 86, 86, 75, 75, 75, 75,
757
-
758
- 75, 75, 75, 75, 75, 75, 75, 75, 75, 75,
759
- 75, 75, 75, 75, 75, 75, 75, 75, 75, 75,
760
- 75, 75, 75, 75, 75, 75, 75, 75
761
- } ;
762
-
763
- static yy_state_type yy_last_accepting_state;
764
- static char *yy_last_accepting_cpos;
765
-
766
- extern int yy_flex_debug;
767
- int yy_flex_debug = 0;
768
-
769
- /* The intent behind this definition is that it'll catch
770
- * any uses of REJECT which flex missed.
771
- */
772
- #define REJECT reject_used_but_not_detected
773
- #define yymore() yymore_used_but_not_detected
774
- #define YY_MORE_ADJ 0
775
- #define YY_RESTORE_YY_MORE_OFFSET
776
- char *yytext;
777
- #line 1 "src/Slice/Scanner.l"
778
- #line 2 "src/Slice/Scanner.l"
779
-
780
- //
781
- // Copyright (c) ZeroC, Inc. All rights reserved.
782
- //
783
-
784
- #include <Slice/GrammarUtil.h> // Before Grammer.h, so that YYSTYPE is defined
785
- #include <Slice/Grammar.h>
786
- #include <IceUtil/InputUtil.h>
787
-
788
- #include <iomanip>
789
-
790
- #include <stdlib.h>
791
- #include <math.h>
792
-
793
- #if defined(_MSC_VER)
794
- // '<' : signed/unsigned mismatch
795
- # pragma warning(disable:4018)
796
- // 'initializing' : conversion from '__int64' to 'int', possible loss of data
797
- # pragma warning(disable:4244)
798
-
799
- # if defined(ICE_64)
800
- //
801
- // '=' : conversion from 'size_t' to 'int', possible loss of data
802
- // The result of fread() is a size_t and gets inserted into an int
803
- //
804
- # pragma warning(disable:4267)
805
- # endif
806
- #endif
807
-
808
- #if defined(__GNUC__)
809
- # pragma GCC diagnostic ignored "-Wsign-compare"
810
- #endif
811
-
812
- //
813
- // Avoid clang conversion warnings
814
- //
815
- #if defined(__clang__)
816
- # pragma clang diagnostic ignored "-Wconversion"
817
- # pragma clang diagnostic ignored "-Wsign-conversion"
818
- #endif
819
-
820
- #ifdef _MSC_VER
821
- # ifdef slice_wrap
822
- # undef slice_wrap
823
- # define slice_wrap() 1
824
- # endif
825
- # define YY_NO_UNISTD_H
826
- #endif
827
-
828
- #ifdef __SUNPRO_CC
829
- # ifdef slice_wrap
830
- # undef slice_wrap
831
- # define slice_wrap() 1
832
- # endif
833
- # ifdef ICE_64
834
- # pragma error_messages(off,truncwarn)
835
- # endif
836
- #endif
837
-
838
- using namespace std;
839
- using namespace Slice;
840
-
841
- namespace Slice
842
- {
843
-
844
- //
845
- // Definitions for the case-insensitive keyword-token map.
846
- //
847
- typedef std::map<std::string, int> StringTokenMap;
848
- static StringTokenMap keywordMap;
849
-
850
- void initScanner();
851
- int checkKeyword(string&);
852
- int checkIdentifier(string&);
853
-
854
- }
855
-
856
- #define YY_USER_INIT initScanner();
857
-
858
- #line 857 "src/Slice/Scanner.cpp"
859
-
860
- #line 859 "src/Slice/Scanner.cpp"
861
-
862
- #define INITIAL 0
863
- #define BOMSCAN 1
864
- #define MAINSCAN 2
865
-
866
- #ifndef YY_NO_UNISTD_H
867
- /* Special case for "unistd.h", since it is non-ANSI. We include it way
868
- * down here because we want the user's section 1 to have been scanned first.
869
- * The user has a chance to override it with an option.
870
- */
871
- #include <unistd.h>
872
- #endif
873
-
874
- #ifndef YY_EXTRA_TYPE
875
- #define YY_EXTRA_TYPE void *
876
- #endif
877
-
878
- static int yy_init_globals ( void );
879
-
880
- /* Accessor methods to globals.
881
- These are made visible to non-reentrant scanners for convenience. */
882
-
883
- int yylex_destroy ( void );
884
-
885
- int yyget_debug ( void );
886
-
887
- void yyset_debug ( int debug_flag );
888
-
889
- YY_EXTRA_TYPE yyget_extra ( void );
890
-
891
- void yyset_extra ( YY_EXTRA_TYPE user_defined );
892
-
893
- FILE *yyget_in ( void );
894
-
895
- void yyset_in ( FILE * _in_str );
896
-
897
- FILE *yyget_out ( void );
898
-
899
- void yyset_out ( FILE * _out_str );
900
-
901
- int yyget_leng ( void );
902
-
903
- char *yyget_text ( void );
904
-
905
- int yyget_lineno ( void );
906
-
907
- void yyset_lineno ( int _line_number );
908
-
909
- /* Macros after this point can all be overridden by user definitions in
910
- * section 1.
911
- */
912
-
913
- #ifndef YY_SKIP_YYWRAP
914
- #ifdef __cplusplus
915
- extern "C" int yywrap ( void );
916
- #else
917
- extern int yywrap ( void );
918
- #endif
919
- #endif
920
-
921
- #ifndef YY_NO_UNPUT
922
-
923
- static void yyunput ( int c, char *buf_ptr );
924
-
925
- #endif
926
-
927
- #ifndef yytext_ptr
928
- static void yy_flex_strncpy ( char *, const char *, int );
929
- #endif
930
-
931
- #ifdef YY_NEED_STRLEN
932
- static int yy_flex_strlen ( const char * );
933
- #endif
934
-
935
- #ifndef YY_NO_INPUT
936
- #ifdef __cplusplus
937
- static int yyinput ( void );
938
- #else
939
- static int input ( void );
940
- #endif
941
-
942
- #endif
943
-
944
- /* Amount of stuff to slurp up with each read. */
945
- #ifndef YY_READ_BUF_SIZE
946
- #ifdef __ia64__
947
- /* On IA-64, the buffer size is 16k, not 8k */
948
- #define YY_READ_BUF_SIZE 16384
949
- #else
950
- #define YY_READ_BUF_SIZE 8192
951
- #endif /* __ia64__ */
952
- #endif
953
-
954
- /* Copy whatever the last rule matched to the standard output. */
955
- #ifndef ECHO
956
- /* This used to be an fputs(), but since the string might contain NUL's,
957
- * we now use fwrite().
958
- */
959
- #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
960
- #endif
961
-
962
- /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
963
- * is returned in "result".
964
- */
965
- #ifndef YY_INPUT
966
- #define YY_INPUT(buf,result,max_size) \
967
- if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
968
- { \
969
- int c = '*'; \
970
- int n; \
971
- for ( n = 0; n < max_size && \
972
- (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
973
- buf[n] = (char) c; \
974
- if ( c == '\n' ) \
975
- buf[n++] = (char) c; \
976
- if ( c == EOF && ferror( yyin ) ) \
977
- YY_FATAL_ERROR( "input in flex scanner failed" ); \
978
- result = n; \
979
- } \
980
- else \
981
- { \
982
- errno=0; \
983
- while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
984
- { \
985
- if( errno != EINTR) \
986
- { \
987
- YY_FATAL_ERROR( "input in flex scanner failed" ); \
988
- break; \
989
- } \
990
- errno=0; \
991
- clearerr(yyin); \
992
- } \
993
- }\
994
- \
995
-
996
- #endif
997
-
998
- /* No semi-colon after return; correct usage is to write "yyterminate();" -
999
- * we don't want an extra ';' after the "return" because that will cause
1000
- * some compilers to complain about unreachable statements.
1001
- */
1002
- #ifndef yyterminate
1003
- #define yyterminate() return YY_NULL
1004
- #endif
1005
-
1006
- /* Number of entries by which start-condition stack grows. */
1007
- #ifndef YY_START_STACK_INCR
1008
- #define YY_START_STACK_INCR 25
1009
- #endif
1010
-
1011
- /* Report a fatal error. */
1012
- #ifndef YY_FATAL_ERROR
1013
- #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1014
- #endif
1015
-
1016
- /* end tables serialization structures and prototypes */
1017
-
1018
- /* Default declaration of generated scanner - a define so the user can
1019
- * easily add parameters.
1020
- */
1021
- #ifndef YY_DECL
1022
- #define YY_DECL_IS_OURS 1
1023
-
1024
- extern int yylex (void);
1025
-
1026
- #define YY_DECL int yylex (void)
1027
- #endif /* !YY_DECL */
1028
-
1029
- /* Code executed at the beginning of each rule, after yytext and yyleng
1030
- * have been set up.
1031
- */
1032
- #ifndef YY_USER_ACTION
1033
- #define YY_USER_ACTION
1034
- #endif
1035
-
1036
- /* Code executed at the end of each rule. */
1037
- #ifndef YY_BREAK
1038
- #define YY_BREAK /*LINTED*/break;
1039
- #endif
1040
-
1041
- #define YY_RULE_SETUP \
1042
- if ( yyleng > 0 ) \
1043
- YY_CURRENT_BUFFER_LVALUE->yy_at_bol = \
1044
- (yytext[yyleng - 1] == '\n'); \
1045
- YY_USER_ACTION
1046
-
1047
- /** The main scanner function which does all the work.
1048
- */
1049
- YY_DECL
1050
- {
1051
- yy_state_type yy_current_state;
1052
- char *yy_cp, *yy_bp;
1053
- int yy_act;
1054
-
1055
- if ( !(yy_init) )
1056
- {
1057
- (yy_init) = 1;
1058
-
1059
- #ifdef YY_USER_INIT
1060
- YY_USER_INIT;
1061
- #endif
1062
-
1063
- if ( ! (yy_start) )
1064
- (yy_start) = 1; /* first start state */
1065
-
1066
- if ( ! yyin )
1067
- yyin = stdin;
1068
-
1069
- if ( ! yyout )
1070
- yyout = stdout;
1071
-
1072
- if ( ! YY_CURRENT_BUFFER ) {
1073
- yyensure_buffer_stack ();
1074
- YY_CURRENT_BUFFER_LVALUE =
1075
- yy_create_buffer( yyin, YY_BUF_SIZE );
1076
- }
1077
-
1078
- yy_load_buffer_state( );
1079
- }
1080
-
1081
- {
1082
- #line 96 "src/Slice/Scanner.l"
1083
-
1084
-
1085
- #line 1084 "src/Slice/Scanner.cpp"
1086
-
1087
- while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
1088
- {
1089
- yy_cp = (yy_c_buf_p);
1090
-
1091
- /* Support of yytext. */
1092
- *yy_cp = (yy_hold_char);
1093
-
1094
- /* yy_bp points to the position in yy_ch_buf of the start of
1095
- * the current run.
1096
- */
1097
- yy_bp = yy_cp;
1098
-
1099
- yy_current_state = (yy_start);
1100
- yy_current_state += YY_AT_BOL();
1101
- yy_match:
1102
- do
1103
- {
1104
- YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
1105
- if ( yy_accept[yy_current_state] )
1106
- {
1107
- (yy_last_accepting_state) = yy_current_state;
1108
- (yy_last_accepting_cpos) = yy_cp;
1109
- }
1110
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1111
- {
1112
- yy_current_state = (int) yy_def[yy_current_state];
1113
- if ( yy_current_state >= 76 )
1114
- yy_c = yy_meta[yy_c];
1115
- }
1116
- yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1117
- ++yy_cp;
1118
- }
1119
- while ( yy_current_state != 75 );
1120
- yy_cp = (yy_last_accepting_cpos);
1121
- yy_current_state = (yy_last_accepting_state);
1122
-
1123
- yy_find_action:
1124
- yy_act = yy_accept[yy_current_state];
1125
-
1126
- YY_DO_BEFORE_ACTION;
1127
-
1128
- do_action: /* This label is used only to access EOF actions. */
1129
-
1130
- switch ( yy_act )
1131
- { /* beginning of action switch */
1132
- case 0: /* must back up */
1133
- /* undo the effects of YY_DO_BEFORE_ACTION */
1134
- *yy_cp = (yy_hold_char);
1135
- yy_cp = (yy_last_accepting_cpos);
1136
- yy_current_state = (yy_last_accepting_state);
1137
- goto yy_find_action;
1138
-
1139
- case 1:
1140
- *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
1141
- (yy_c_buf_p) = yy_cp -= 1;
1142
- YY_DO_BEFORE_ACTION; /* set up yytext again */
1143
- YY_RULE_SETUP
1144
- #line 98 "src/Slice/Scanner.l"
1145
- {
1146
- if(unit->scanPosition(yytext))
1147
- {
1148
- BEGIN(BOMSCAN);
1149
- }
1150
- }
1151
- YY_BREAK
1152
- case 2:
1153
- /* rule 2 can match eol */
1154
- *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
1155
- YY_LINENO_REWIND_TO(yy_cp - 1);
1156
- (yy_c_buf_p) = yy_cp -= 1;
1157
- YY_DO_BEFORE_ACTION; /* set up yytext again */
1158
- YY_RULE_SETUP
1159
- #line 105 "src/Slice/Scanner.l"
1160
- {
1161
- if(unit->scanPosition(yytext))
1162
- {
1163
- BEGIN(BOMSCAN);
1164
- }
1165
- }
1166
- YY_BREAK
1167
- case 3:
1168
- *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
1169
- (yy_c_buf_p) = yy_cp -= 1;
1170
- YY_DO_BEFORE_ACTION; /* set up yytext again */
1171
- YY_RULE_SETUP
1172
- #line 112 "src/Slice/Scanner.l"
1173
- {
1174
- if(unit->scanPosition(yytext))
1175
- {
1176
- BEGIN(BOMSCAN);
1177
- }
1178
- }
1179
- YY_BREAK
1180
- case 4:
1181
- /* rule 4 can match eol */
1182
- *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
1183
- YY_LINENO_REWIND_TO(yy_cp - 1);
1184
- (yy_c_buf_p) = yy_cp -= 1;
1185
- YY_DO_BEFORE_ACTION; /* set up yytext again */
1186
- YY_RULE_SETUP
1187
- #line 119 "src/Slice/Scanner.l"
1188
- {
1189
- if(unit->scanPosition(yytext))
1190
- {
1191
- BEGIN(BOMSCAN);
1192
- }
1193
- }
1194
- YY_BREAK
1195
- case 5:
1196
- YY_RULE_SETUP
1197
- #line 126 "src/Slice/Scanner.l"
1198
- {
1199
- // C++-style comment
1200
- BEGIN(MAINSCAN);
1201
- int c;
1202
- do
1203
- {
1204
- c = yyinput();
1205
- if(c == '\n')
1206
- {
1207
- unit->nextLine();
1208
- }
1209
- }
1210
- while(c != '\n' && c != EOF);
1211
- }
1212
- YY_BREAK
1213
- case 6:
1214
- YY_RULE_SETUP
1215
- #line 141 "src/Slice/Scanner.l"
1216
- {
1217
- // C-style comment
1218
- BEGIN(MAINSCAN);
1219
- string comment = yytext + 2;
1220
- while(true)
1221
- {
1222
- int c = yyinput();
1223
- if(c == '\n')
1224
- {
1225
- comment += static_cast<char>(c);
1226
- unit->nextLine();
1227
- }
1228
- else if(c == '*')
1229
- {
1230
- int next = yyinput();
1231
- if(next == '/')
1232
- {
1233
- break;
1234
- }
1235
- else
1236
- {
1237
- comment += static_cast<char>(c);
1238
- unput(next);
1239
- }
1240
- }
1241
- else if(c == EOF)
1242
- {
1243
- unit->warning(All, "EOF in comment");
1244
- break;
1245
- }
1246
- else
1247
- {
1248
- comment += static_cast<char>(c);
1249
- }
1250
- }
1251
- if(!comment.empty() && comment[0] == '*')
1252
- {
1253
- unit->setComment(comment);
1254
- }
1255
- }
1256
- YY_BREAK
1257
- case 7:
1258
- YY_RULE_SETUP
1259
- #line 182 "src/Slice/Scanner.l"
1260
- {
1261
- BEGIN(MAINSCAN);
1262
- return ICE_METADATA_OPEN;
1263
- }
1264
- YY_BREAK
1265
- case 8:
1266
- YY_RULE_SETUP
1267
- #line 187 "src/Slice/Scanner.l"
1268
- {
1269
- BEGIN(MAINSCAN);
1270
- return ICE_METADATA_CLOSE;
1271
- }
1272
- YY_BREAK
1273
- case 9:
1274
- YY_RULE_SETUP
1275
- #line 192 "src/Slice/Scanner.l"
1276
- {
1277
- BEGIN(MAINSCAN);
1278
- return ICE_GLOBAL_METADATA_OPEN;
1279
- }
1280
- YY_BREAK
1281
- case 10:
1282
- YY_RULE_SETUP
1283
- #line 197 "src/Slice/Scanner.l"
1284
- {
1285
- BEGIN(MAINSCAN);
1286
- return ICE_GLOBAL_METADATA_CLOSE;
1287
- }
1288
- YY_BREAK
1289
- case 11:
1290
- /* rule 11 can match eol */
1291
- YY_RULE_SETUP
1292
- #line 202 "src/Slice/Scanner.l"
1293
- {
1294
- BEGIN(MAINSCAN);
1295
- StringTokPtr ident = new StringTok;
1296
- ident->v = *yytext == '\\' ? yytext + 1 : yytext;
1297
- ident->v.erase(ident->v.find_first_of(" \t\v\n\r\f("));
1298
- *yylvalp = ident;
1299
- if(*yytext == '\\')
1300
- {
1301
- if(checkIdentifier(ident->v) == ICE_SCOPED_IDENTIFIER)
1302
- {
1303
- unit->error("Operation identifiers cannot be scoped: `" + (ident->v) + "'");
1304
- }
1305
- return ICE_IDENT_OP;
1306
- }
1307
- int st = checkKeyword(ident->v);
1308
- if(st == ICE_IDENTIFIER)
1309
- {
1310
- return ICE_IDENT_OP;
1311
- }
1312
- else if(st == ICE_SCOPED_IDENTIFIER)
1313
- {
1314
- unit->error("Operation identifiers cannot be scoped: `" + (ident->v) + "'");
1315
- return ICE_IDENT_OP;
1316
- }
1317
- else if(st == ICE_OPTIONAL)
1318
- {
1319
- return ICE_OPTIONAL_OP;
1320
- }
1321
- else
1322
- {
1323
- return ICE_KEYWORD_OP;
1324
- }
1325
- }
1326
- YY_BREAK
1327
- case 12:
1328
- YY_RULE_SETUP
1329
- #line 236 "src/Slice/Scanner.l"
1330
- {
1331
- BEGIN(MAINSCAN);
1332
- StringTokPtr ident = new StringTok;
1333
- ident->v = *yytext == '\\' ? yytext + 1 : yytext;
1334
- *yylvalp = ident;
1335
- return *yytext == '\\' ? checkIdentifier(ident->v) : checkKeyword(ident->v);
1336
- }
1337
- YY_BREAK
1338
- case 13:
1339
- YY_RULE_SETUP
1340
- #line 244 "src/Slice/Scanner.l"
1341
- {
1342
- BEGIN(MAINSCAN);
1343
- StringTokPtr str = new StringTok;
1344
- str->literal = "\"";
1345
- while(true)
1346
- {
1347
- int c = yyinput();
1348
- str->literal += static_cast<char>(c);
1349
- if(c == '"')
1350
- {
1351
- break;
1352
- }
1353
- else if(c == EOF)
1354
- {
1355
- unit->error("EOF in string");
1356
- break;
1357
- }
1358
- else if(c < 32 || c == 127)
1359
- {
1360
- unit->error("a string literal can only contain printable ASCII characters and non-ASCII characters");
1361
- break;
1362
- }
1363
- else if(c == '\\')
1364
- {
1365
- int next = yyinput();
1366
- str->literal += static_cast<char>(next);
1367
- switch(next)
1368
- {
1369
- case '\\':
1370
- {
1371
- //
1372
- // add extra escape to our internal string
1373
- //
1374
- str->v += '\\';
1375
- str->v += '\\';
1376
- break;
1377
- }
1378
- case '"':
1379
- case '\'':
1380
- case '?':
1381
- {
1382
- str->v += static_cast<char>(next);
1383
- break;
1384
- }
1385
- case 'a':
1386
- {
1387
- str->v += '\a';
1388
- break;
1389
- }
1390
- case 'b':
1391
- {
1392
- str->v += '\b';
1393
- break;
1394
- }
1395
- case 'f':
1396
- {
1397
- str->v += '\f';
1398
- break;
1399
- }
1400
- case 'n':
1401
- {
1402
- str->v += '\n';
1403
- break;
1404
- }
1405
- case 'r':
1406
- {
1407
- str->v += '\r';
1408
- break;
1409
- }
1410
- case 't':
1411
- {
1412
- str->v += '\t';
1413
- break;
1414
- }
1415
- case 'v':
1416
- {
1417
- str->v += '\v';
1418
- break;
1419
- }
1420
-
1421
- //
1422
- // Octal value \nnn limited to three octal digits but terminate at the first character
1423
- // that is not a valid octal digit if encountered sooner.
1424
- //
1425
- case '0':
1426
- case '1':
1427
- case '2':
1428
- case '3':
1429
- case '4':
1430
- case '5':
1431
- case '6':
1432
- case '7':
1433
- {
1434
- static string octalDigits = "01234567";
1435
- string escape;
1436
- escape += static_cast<char>(next);
1437
- for(int i = 0; i < 2; ++i)
1438
- {
1439
- next = yyinput();
1440
- if(octalDigits.find_first_of(static_cast<char>(next)) == string::npos)
1441
- {
1442
- unput(next);
1443
- break;
1444
- }
1445
- escape += static_cast<char>(next);
1446
- }
1447
- str->literal += escape;
1448
- IceUtil::Int64 value = IceUtilInternal::strToInt64(escape.c_str(), 0, 8);
1449
- if(value > 255)
1450
- {
1451
- unit->error(string("octal escape sequence out of range: `\\") + escape + "'");
1452
- }
1453
- str->v += static_cast<char>(value);
1454
- break;
1455
- }
1456
-
1457
- case 'x':
1458
- {
1459
- string escape = "";
1460
- next = yyinput();
1461
-
1462
- //
1463
- // Unlike C++, we limit hex escape sequences to 2 hex digits
1464
- //
1465
- while(isxdigit(static_cast<char>(next)) && escape.length() < 2)
1466
- {
1467
- escape += static_cast<char>(next);
1468
- next = yyinput();
1469
- }
1470
- unput(next);
1471
-
1472
- if(escape.length() == 0)
1473
- {
1474
- unit->error("no hex digit in hex escape sequence");
1475
- }
1476
-
1477
- str->literal += escape;
1478
- IceUtil::Int64 value = IceUtilInternal::strToInt64(escape.c_str(), 0, 16);
1479
-
1480
- assert(value >= 0 && value <= 255);
1481
- str->v += static_cast<char>(value);
1482
- break;
1483
- }
1484
-
1485
- //
1486
- // Universal character name
1487
- //
1488
- case 'u':
1489
- case 'U':
1490
- {
1491
- string escape = "";
1492
- c = next;
1493
- int size = (c == 'u') ? 4 : 8;
1494
- while(size > 0)
1495
- {
1496
- next = yyinput();
1497
- if(!isxdigit(next))
1498
- {
1499
- unit->error(string("unknown escape sequence in string literal: `\\") +
1500
- static_cast<char>(c) + escape + static_cast<char>(next) + "'");
1501
- unput(next);
1502
- break;
1503
- }
1504
- escape += static_cast<char>(next);
1505
- --size;
1506
- }
1507
-
1508
- if(size == 0)
1509
- {
1510
- // All digits read, check value
1511
- IceUtil::Int64 codePoint = IceUtilInternal::strToInt64(escape.c_str(), 0, 16);
1512
- if(codePoint >= 0xd800 && codePoint <= 0xdfff)
1513
- {
1514
- unit->error(string("a universal character name cannot designate a surrogate: `\\") +
1515
- static_cast<char>(c) + escape + "'");
1516
- }
1517
- }
1518
-
1519
- str->literal += escape;
1520
- str->v += string("\\") + static_cast<char>(c) + escape;
1521
- break;
1522
- }
1523
-
1524
- default:
1525
- {
1526
- ostringstream os;
1527
- os << "unknown escape sequence `\\" << static_cast<char>(next) << "'";
1528
- unit->warning(All, os.str());
1529
-
1530
- // Escape the \ in this unknown escape sequence
1531
- str->v += '\\';
1532
- str->v += '\\';
1533
- unput(next);
1534
- }
1535
- }
1536
- }
1537
- else
1538
- {
1539
- str->v += static_cast<char>(c);
1540
- }
1541
- }
1542
- *yylvalp = str;
1543
- return ICE_STRING_LITERAL;
1544
- }
1545
- YY_BREAK
1546
- case 14:
1547
- YY_RULE_SETUP
1548
- #line 449 "src/Slice/Scanner.l"
1549
- {
1550
- BEGIN(MAINSCAN);
1551
- IntegerTokPtr itp = new IntegerTok;
1552
- itp->literal = string(yytext);
1553
- *yylvalp = itp;
1554
- if(!IceUtilInternal::stringToInt64(string(yytext), itp->v))
1555
- {
1556
- assert(itp->v != 0);
1557
- string msg = "integer constant `";
1558
- msg += yytext;
1559
- msg += "' out of range";
1560
- unit->error(msg);
1561
- }
1562
- return ICE_INTEGER_LITERAL;
1563
- }
1564
- YY_BREAK
1565
- case 15:
1566
- YY_RULE_SETUP
1567
- #line 465 "src/Slice/Scanner.l"
1568
- {
1569
- BEGIN(MAINSCAN);
1570
- errno = 0;
1571
- FloatingTokPtr ftp = new FloatingTok;
1572
- *yylvalp = ftp;
1573
- string literal(yytext);
1574
- ftp->literal = literal;
1575
- char lastChar = literal[literal.size() - 1];
1576
- if(lastChar == 'f' || lastChar == 'F')
1577
- {
1578
- literal = literal.substr(0, literal.size() - 1); // Clobber trailing 'f' or 'F' suffix
1579
- }
1580
- ftp->v = strtod(literal.c_str(), 0);
1581
- if((ftp->v == HUGE_VAL || ftp->v == -HUGE_VAL) && errno == ERANGE)
1582
- {
1583
- string msg = "floating-point constant `";
1584
- msg += yytext;
1585
- msg += "' too large (overflow)";
1586
- unit->error(msg);
1587
- }
1588
- else if(ftp->v == 0 && errno == ERANGE)
1589
- {
1590
- string msg = "floating-point constant `";
1591
- msg += yytext;
1592
- msg += "' too small (underflow)";
1593
- unit->error(msg);
1594
- }
1595
- return ICE_FLOATING_POINT_LITERAL;
1596
- }
1597
- YY_BREAK
1598
- case 16:
1599
- /* rule 16 can match eol */
1600
- YY_RULE_SETUP
1601
- #line 495 "src/Slice/Scanner.l"
1602
- {
1603
- // Ignore white-space
1604
-
1605
- if(unit->currentLine() != 0)
1606
- {
1607
- BEGIN(MAINSCAN);
1608
- }
1609
- if(yytext[0] == '\n')
1610
- {
1611
- unit->nextLine();
1612
- }
1613
- }
1614
- YY_BREAK
1615
- case 17:
1616
- YY_RULE_SETUP
1617
- #line 508 "src/Slice/Scanner.l"
1618
- {
1619
- // Ignore UTF-8 BOM, rule only active when parsing start of file.
1620
-
1621
- BEGIN(MAINSCAN);
1622
- }
1623
- YY_BREAK
1624
- case 18:
1625
- YY_RULE_SETUP
1626
- #line 514 "src/Slice/Scanner.l"
1627
- {
1628
- BEGIN(MAINSCAN);
1629
- if(yytext[0] < 32 || yytext[0] > 126)
1630
- {
1631
- stringstream s;
1632
- s << "illegal input character: '\\";
1633
- s.width(3);
1634
- s.fill('0');
1635
- s << oct << static_cast<int>(static_cast<unsigned char>(yytext[0]));
1636
- s << "'";
1637
- unit->error(s.str());
1638
- return BAD_CHAR;
1639
- }
1640
- return yytext[0];
1641
- }
1642
- YY_BREAK
1643
- case 19:
1644
- YY_RULE_SETUP
1645
- #line 530 "src/Slice/Scanner.l"
1646
- ECHO;
1647
- YY_BREAK
1648
- #line 1647 "src/Slice/Scanner.cpp"
1649
- case YY_STATE_EOF(INITIAL):
1650
- case YY_STATE_EOF(BOMSCAN):
1651
- case YY_STATE_EOF(MAINSCAN):
1652
- yyterminate();
1653
-
1654
- case YY_END_OF_BUFFER:
1655
- {
1656
- /* Amount of text matched not including the EOB char. */
1657
- int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
1658
-
1659
- /* Undo the effects of YY_DO_BEFORE_ACTION. */
1660
- *yy_cp = (yy_hold_char);
1661
- YY_RESTORE_YY_MORE_OFFSET
1662
-
1663
- if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
1664
- {
1665
- /* We're scanning a new file or input source. It's
1666
- * possible that this happened because the user
1667
- * just pointed yyin at a new source and called
1668
- * yylex(). If so, then we have to assure
1669
- * consistency between YY_CURRENT_BUFFER and our
1670
- * globals. Here is the right place to do so, because
1671
- * this is the first action (other than possibly a
1672
- * back-up) that will match for the new input source.
1673
- */
1674
- (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
1675
- YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
1676
- YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
1677
- }
1678
-
1679
- /* Note that here we test for yy_c_buf_p "<=" to the position
1680
- * of the first EOB in the buffer, since yy_c_buf_p will
1681
- * already have been incremented past the NUL character
1682
- * (since all states make transitions on EOB to the
1683
- * end-of-buffer state). Contrast this with the test
1684
- * in input().
1685
- */
1686
- if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
1687
- { /* This was really a NUL. */
1688
- yy_state_type yy_next_state;
1689
-
1690
- (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
1691
-
1692
- yy_current_state = yy_get_previous_state( );
1693
-
1694
- /* Okay, we're now positioned to make the NUL
1695
- * transition. We couldn't have
1696
- * yy_get_previous_state() go ahead and do it
1697
- * for us because it doesn't know how to deal
1698
- * with the possibility of jamming (and we don't
1699
- * want to build jamming into it because then it
1700
- * will run more slowly).
1701
- */
1702
-
1703
- yy_next_state = yy_try_NUL_trans( yy_current_state );
1704
-
1705
- yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1706
-
1707
- if ( yy_next_state )
1708
- {
1709
- /* Consume the NUL. */
1710
- yy_cp = ++(yy_c_buf_p);
1711
- yy_current_state = yy_next_state;
1712
- goto yy_match;
1713
- }
1714
-
1715
- else
1716
- {
1717
- yy_cp = (yy_last_accepting_cpos);
1718
- yy_current_state = (yy_last_accepting_state);
1719
- goto yy_find_action;
1720
- }
1721
- }
1722
-
1723
- else switch ( yy_get_next_buffer( ) )
1724
- {
1725
- case EOB_ACT_END_OF_FILE:
1726
- {
1727
- (yy_did_buffer_switch_on_eof) = 0;
1728
-
1729
- if ( yywrap( ) )
1730
- {
1731
- /* Note: because we've taken care in
1732
- * yy_get_next_buffer() to have set up
1733
- * yytext, we can now set up
1734
- * yy_c_buf_p so that if some total
1735
- * hoser (like flex itself) wants to
1736
- * call the scanner after we return the
1737
- * YY_NULL, it'll still work - another
1738
- * YY_NULL will get returned.
1739
- */
1740
- (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
1741
-
1742
- yy_act = YY_STATE_EOF(YY_START);
1743
- goto do_action;
1744
- }
1745
-
1746
- else
1747
- {
1748
- if ( ! (yy_did_buffer_switch_on_eof) )
1749
- YY_NEW_FILE;
1750
- }
1751
- break;
1752
- }
1753
-
1754
- case EOB_ACT_CONTINUE_SCAN:
1755
- (yy_c_buf_p) =
1756
- (yytext_ptr) + yy_amount_of_matched_text;
1757
-
1758
- yy_current_state = yy_get_previous_state( );
1759
-
1760
- yy_cp = (yy_c_buf_p);
1761
- yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1762
- goto yy_match;
1763
-
1764
- case EOB_ACT_LAST_MATCH:
1765
- (yy_c_buf_p) =
1766
- &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
1767
-
1768
- yy_current_state = yy_get_previous_state( );
1769
-
1770
- yy_cp = (yy_c_buf_p);
1771
- yy_bp = (yytext_ptr) + YY_MORE_ADJ;
1772
- goto yy_find_action;
1773
- }
1774
- break;
1775
- }
1776
-
1777
- default:
1778
- YY_FATAL_ERROR(
1779
- "fatal flex scanner internal error--no action found" );
1780
- } /* end of action switch */
1781
- } /* end of scanning one token */
1782
- } /* end of user's declarations */
1783
- } /* end of yylex */
1784
-
1785
- /* yy_get_next_buffer - try to read in a new buffer
1786
- *
1787
- * Returns a code representing an action:
1788
- * EOB_ACT_LAST_MATCH -
1789
- * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1790
- * EOB_ACT_END_OF_FILE - end of file
1791
- */
1792
- static int yy_get_next_buffer (void)
1793
- {
1794
- char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
1795
- char *source = (yytext_ptr);
1796
- int number_to_move, i;
1797
- int ret_val;
1798
-
1799
- if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
1800
- YY_FATAL_ERROR(
1801
- "fatal flex scanner internal error--end of buffer missed" );
1802
-
1803
- if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
1804
- { /* Don't try to fill the buffer, so this is an EOF. */
1805
- if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
1806
- {
1807
- /* We matched a single character, the EOB, so
1808
- * treat this as a final EOF.
1809
- */
1810
- return EOB_ACT_END_OF_FILE;
1811
- }
1812
-
1813
- else
1814
- {
1815
- /* We matched some text prior to the EOB, first
1816
- * process it.
1817
- */
1818
- return EOB_ACT_LAST_MATCH;
1819
- }
1820
- }
1821
-
1822
- /* Try to read more data. */
1823
-
1824
- /* First move last chars to start of buffer. */
1825
- number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
1826
-
1827
- for ( i = 0; i < number_to_move; ++i )
1828
- *(dest++) = *(source++);
1829
-
1830
- if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
1831
- /* don't do the read, it's not guaranteed to return an EOF,
1832
- * just force an EOF
1833
- */
1834
- YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
1835
-
1836
- else
1837
- {
1838
- int num_to_read =
1839
- YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
1840
-
1841
- while ( num_to_read <= 0 )
1842
- { /* Not enough room in the buffer - grow it. */
1843
-
1844
- /* just a shorter name for the current buffer */
1845
- YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
1846
-
1847
- int yy_c_buf_p_offset =
1848
- (int) ((yy_c_buf_p) - b->yy_ch_buf);
1849
-
1850
- if ( b->yy_is_our_buffer )
1851
- {
1852
- int new_size = b->yy_buf_size * 2;
1853
-
1854
- if ( new_size <= 0 )
1855
- b->yy_buf_size += b->yy_buf_size / 8;
1856
- else
1857
- b->yy_buf_size *= 2;
1858
-
1859
- b->yy_ch_buf = (char *)
1860
- /* Include room in for 2 EOB chars. */
1861
- yyrealloc( (void *) b->yy_ch_buf,
1862
- (yy_size_t) (b->yy_buf_size + 2) );
1863
- }
1864
- else
1865
- /* Can't grow it, we don't own it. */
1866
- b->yy_ch_buf = NULL;
1867
-
1868
- if ( ! b->yy_ch_buf )
1869
- YY_FATAL_ERROR(
1870
- "fatal error - scanner input buffer overflow" );
1871
-
1872
- (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1873
-
1874
- num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
1875
- number_to_move - 1;
1876
-
1877
- }
1878
-
1879
- if ( num_to_read > YY_READ_BUF_SIZE )
1880
- num_to_read = YY_READ_BUF_SIZE;
1881
-
1882
- /* Read in more data. */
1883
- YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
1884
- (yy_n_chars), num_to_read );
1885
-
1886
- YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
1887
- }
1888
-
1889
- if ( (yy_n_chars) == 0 )
1890
- {
1891
- if ( number_to_move == YY_MORE_ADJ )
1892
- {
1893
- ret_val = EOB_ACT_END_OF_FILE;
1894
- yyrestart( yyin );
1895
- }
1896
-
1897
- else
1898
- {
1899
- ret_val = EOB_ACT_LAST_MATCH;
1900
- YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
1901
- YY_BUFFER_EOF_PENDING;
1902
- }
1903
- }
1904
-
1905
- else
1906
- ret_val = EOB_ACT_CONTINUE_SCAN;
1907
-
1908
- if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
1909
- /* Extend the array by 50%, plus the number we really need. */
1910
- int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1911
- YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
1912
- (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
1913
- if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
1914
- YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
1915
- /* "- 2" to take care of EOB's */
1916
- YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
1917
- }
1918
-
1919
- (yy_n_chars) += number_to_move;
1920
- YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
1921
- YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
1922
-
1923
- (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
1924
-
1925
- return ret_val;
1926
- }
1927
-
1928
- /* yy_get_previous_state - get the state just before the EOB char was reached */
1929
-
1930
- static yy_state_type yy_get_previous_state (void)
1931
- {
1932
- yy_state_type yy_current_state;
1933
- char *yy_cp;
1934
-
1935
- yy_current_state = (yy_start);
1936
- yy_current_state += YY_AT_BOL();
1937
-
1938
- for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
1939
- {
1940
- YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
1941
- if ( yy_accept[yy_current_state] )
1942
- {
1943
- (yy_last_accepting_state) = yy_current_state;
1944
- (yy_last_accepting_cpos) = yy_cp;
1945
- }
1946
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1947
- {
1948
- yy_current_state = (int) yy_def[yy_current_state];
1949
- if ( yy_current_state >= 76 )
1950
- yy_c = yy_meta[yy_c];
1951
- }
1952
- yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1953
- }
1954
-
1955
- return yy_current_state;
1956
- }
1957
-
1958
- /* yy_try_NUL_trans - try to make a transition on the NUL character
1959
- *
1960
- * synopsis
1961
- * next_state = yy_try_NUL_trans( current_state );
1962
- */
1963
- static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
1964
- {
1965
- int yy_is_jam;
1966
- char *yy_cp = (yy_c_buf_p);
1967
-
1968
- YY_CHAR yy_c = 1;
1969
- if ( yy_accept[yy_current_state] )
1970
- {
1971
- (yy_last_accepting_state) = yy_current_state;
1972
- (yy_last_accepting_cpos) = yy_cp;
1973
- }
1974
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1975
- {
1976
- yy_current_state = (int) yy_def[yy_current_state];
1977
- if ( yy_current_state >= 76 )
1978
- yy_c = yy_meta[yy_c];
1979
- }
1980
- yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1981
- yy_is_jam = (yy_current_state == 75);
1982
-
1983
- return yy_is_jam ? 0 : yy_current_state;
1984
- }
1985
-
1986
- #ifndef YY_NO_UNPUT
1987
-
1988
- static void yyunput (int c, char * yy_bp )
1989
- {
1990
- char *yy_cp;
1991
-
1992
- yy_cp = (yy_c_buf_p);
1993
-
1994
- /* undo effects of setting up yytext */
1995
- *yy_cp = (yy_hold_char);
1996
-
1997
- if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1998
- { /* need to shift things up to make room */
1999
- /* +2 for EOB chars. */
2000
- int number_to_move = (yy_n_chars) + 2;
2001
- char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
2002
- YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
2003
- char *source =
2004
- &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
2005
-
2006
- while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
2007
- *--dest = *--source;
2008
-
2009
- yy_cp += (int) (dest - source);
2010
- yy_bp += (int) (dest - source);
2011
- YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
2012
- (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
2013
-
2014
- if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
2015
- YY_FATAL_ERROR( "flex scanner push-back overflow" );
2016
- }
2017
-
2018
- *--yy_cp = (char) c;
2019
-
2020
- (yytext_ptr) = yy_bp;
2021
- (yy_hold_char) = *yy_cp;
2022
- (yy_c_buf_p) = yy_cp;
2023
- }
2024
-
2025
- #endif
2026
-
2027
- #ifndef YY_NO_INPUT
2028
- #ifdef __cplusplus
2029
- static int yyinput (void)
2030
- #else
2031
- static int input (void)
2032
- #endif
2033
-
2034
- {
2035
- int c;
2036
-
2037
- *(yy_c_buf_p) = (yy_hold_char);
2038
-
2039
- if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
2040
- {
2041
- /* yy_c_buf_p now points to the character we want to return.
2042
- * If this occurs *before* the EOB characters, then it's a
2043
- * valid NUL; if not, then we've hit the end of the buffer.
2044
- */
2045
- if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
2046
- /* This was really a NUL. */
2047
- *(yy_c_buf_p) = '\0';
2048
-
2049
- else
2050
- { /* need more input */
2051
- int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
2052
- ++(yy_c_buf_p);
2053
-
2054
- switch ( yy_get_next_buffer( ) )
2055
- {
2056
- case EOB_ACT_LAST_MATCH:
2057
- /* This happens because yy_g_n_b()
2058
- * sees that we've accumulated a
2059
- * token and flags that we need to
2060
- * try matching the token before
2061
- * proceeding. But for input(),
2062
- * there's no matching to consider.
2063
- * So convert the EOB_ACT_LAST_MATCH
2064
- * to EOB_ACT_END_OF_FILE.
2065
- */
2066
-
2067
- /* Reset buffer status. */
2068
- yyrestart( yyin );
2069
-
2070
- /*FALLTHROUGH*/
2071
-
2072
- case EOB_ACT_END_OF_FILE:
2073
- {
2074
- if ( yywrap( ) )
2075
- return 0;
2076
-
2077
- if ( ! (yy_did_buffer_switch_on_eof) )
2078
- YY_NEW_FILE;
2079
- #ifdef __cplusplus
2080
- return yyinput();
2081
- #else
2082
- return input();
2083
- #endif
2084
- }
2085
-
2086
- case EOB_ACT_CONTINUE_SCAN:
2087
- (yy_c_buf_p) = (yytext_ptr) + offset;
2088
- break;
2089
- }
2090
- }
2091
- }
2092
-
2093
- c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
2094
- *(yy_c_buf_p) = '\0'; /* preserve yytext */
2095
- (yy_hold_char) = *++(yy_c_buf_p);
2096
-
2097
- YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n');
2098
-
2099
- return c;
2100
- }
2101
- #endif /* ifndef YY_NO_INPUT */
2102
-
2103
- /** Immediately switch to a different input stream.
2104
- * @param input_file A readable stream.
2105
- *
2106
- * @note This function does not reset the start condition to @c INITIAL .
2107
- */
2108
- void yyrestart (FILE * input_file )
2109
- {
2110
-
2111
- if ( ! YY_CURRENT_BUFFER ){
2112
- yyensure_buffer_stack ();
2113
- YY_CURRENT_BUFFER_LVALUE =
2114
- yy_create_buffer( yyin, YY_BUF_SIZE );
2115
- }
2116
-
2117
- yy_init_buffer( YY_CURRENT_BUFFER, input_file );
2118
- yy_load_buffer_state( );
2119
- }
2120
-
2121
- /** Switch to a different input buffer.
2122
- * @param new_buffer The new input buffer.
2123
- *
2124
- */
2125
- void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
2126
- {
2127
-
2128
- /* TODO. We should be able to replace this entire function body
2129
- * with
2130
- * yypop_buffer_state();
2131
- * yypush_buffer_state(new_buffer);
2132
- */
2133
- yyensure_buffer_stack ();
2134
- if ( YY_CURRENT_BUFFER == new_buffer )
2135
- return;
2136
-
2137
- if ( YY_CURRENT_BUFFER )
2138
- {
2139
- /* Flush out information for old buffer. */
2140
- *(yy_c_buf_p) = (yy_hold_char);
2141
- YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
2142
- YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2143
- }
2144
-
2145
- YY_CURRENT_BUFFER_LVALUE = new_buffer;
2146
- yy_load_buffer_state( );
2147
-
2148
- /* We don't actually know whether we did this switch during
2149
- * EOF (yywrap()) processing, but the only time this flag
2150
- * is looked at is after yywrap() is called, so it's safe
2151
- * to go ahead and always set it.
2152
- */
2153
- (yy_did_buffer_switch_on_eof) = 1;
2154
- }
2155
-
2156
- static void yy_load_buffer_state (void)
2157
- {
2158
- (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
2159
- (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
2160
- yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
2161
- (yy_hold_char) = *(yy_c_buf_p);
2162
- }
2163
-
2164
- /** Allocate and initialize an input buffer state.
2165
- * @param file A readable stream.
2166
- * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
2167
- *
2168
- * @return the allocated buffer state.
2169
- */
2170
- YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
2171
- {
2172
- YY_BUFFER_STATE b;
2173
-
2174
- b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
2175
- if ( ! b )
2176
- YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2177
-
2178
- b->yy_buf_size = size;
2179
-
2180
- /* yy_ch_buf has to be 2 characters longer than the size given because
2181
- * we need to put in 2 end-of-buffer characters.
2182
- */
2183
- b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
2184
- if ( ! b->yy_ch_buf )
2185
- YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2186
-
2187
- b->yy_is_our_buffer = 1;
2188
-
2189
- yy_init_buffer( b, file );
2190
-
2191
- return b;
2192
- }
2193
-
2194
- /** Destroy the buffer.
2195
- * @param b a buffer created with yy_create_buffer()
2196
- *
2197
- */
2198
- void yy_delete_buffer (YY_BUFFER_STATE b )
2199
- {
2200
-
2201
- if ( ! b )
2202
- return;
2203
-
2204
- if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
2205
- YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
2206
-
2207
- if ( b->yy_is_our_buffer )
2208
- yyfree( (void *) b->yy_ch_buf );
2209
-
2210
- yyfree( (void *) b );
2211
- }
2212
-
2213
- /* Initializes or reinitializes a buffer.
2214
- * This function is sometimes called more than once on the same buffer,
2215
- * such as during a yyrestart() or at EOF.
2216
- */
2217
- static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
2218
-
2219
- {
2220
- int oerrno = errno;
2221
-
2222
- yy_flush_buffer( b );
2223
-
2224
- b->yy_input_file = file;
2225
- b->yy_fill_buffer = 1;
2226
-
2227
- /* If b is the current buffer, then yy_init_buffer was _probably_
2228
- * called from yyrestart() or through yy_get_next_buffer.
2229
- * In that case, we don't want to reset the lineno or column.
2230
- */
2231
- if (b != YY_CURRENT_BUFFER){
2232
- b->yy_bs_lineno = 1;
2233
- b->yy_bs_column = 0;
2234
- }
2235
-
2236
- b->yy_is_interactive = 0;
2237
-
2238
- errno = oerrno;
2239
- }
2240
-
2241
- /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
2242
- * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
2243
- *
2244
- */
2245
- void yy_flush_buffer (YY_BUFFER_STATE b )
2246
- {
2247
- if ( ! b )
2248
- return;
2249
-
2250
- b->yy_n_chars = 0;
2251
-
2252
- /* We always need two end-of-buffer characters. The first causes
2253
- * a transition to the end-of-buffer state. The second causes
2254
- * a jam in that state.
2255
- */
2256
- b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2257
- b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2258
-
2259
- b->yy_buf_pos = &b->yy_ch_buf[0];
2260
-
2261
- b->yy_at_bol = 1;
2262
- b->yy_buffer_status = YY_BUFFER_NEW;
2263
-
2264
- if ( b == YY_CURRENT_BUFFER )
2265
- yy_load_buffer_state( );
2266
- }
2267
-
2268
- /** Pushes the new state onto the stack. The new state becomes
2269
- * the current state. This function will allocate the stack
2270
- * if necessary.
2271
- * @param new_buffer The new state.
2272
- *
2273
- */
2274
- void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
2275
- {
2276
- if (new_buffer == NULL)
2277
- return;
2278
-
2279
- yyensure_buffer_stack();
2280
-
2281
- /* This block is copied from yy_switch_to_buffer. */
2282
- if ( YY_CURRENT_BUFFER )
2283
- {
2284
- /* Flush out information for old buffer. */
2285
- *(yy_c_buf_p) = (yy_hold_char);
2286
- YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
2287
- YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
2288
- }
2289
-
2290
- /* Only push if top exists. Otherwise, replace top. */
2291
- if (YY_CURRENT_BUFFER)
2292
- (yy_buffer_stack_top)++;
2293
- YY_CURRENT_BUFFER_LVALUE = new_buffer;
2294
-
2295
- /* copied from yy_switch_to_buffer. */
2296
- yy_load_buffer_state( );
2297
- (yy_did_buffer_switch_on_eof) = 1;
2298
- }
2299
-
2300
- /** Removes and deletes the top of the stack, if present.
2301
- * The next element becomes the new top.
2302
- *
2303
- */
2304
- void yypop_buffer_state (void)
2305
- {
2306
- if (!YY_CURRENT_BUFFER)
2307
- return;
2308
-
2309
- yy_delete_buffer(YY_CURRENT_BUFFER );
2310
- YY_CURRENT_BUFFER_LVALUE = NULL;
2311
- if ((yy_buffer_stack_top) > 0)
2312
- --(yy_buffer_stack_top);
2313
-
2314
- if (YY_CURRENT_BUFFER) {
2315
- yy_load_buffer_state( );
2316
- (yy_did_buffer_switch_on_eof) = 1;
2317
- }
2318
- }
2319
-
2320
- /* Allocates the stack if it does not exist.
2321
- * Guarantees space for at least one push.
2322
- */
2323
- static void yyensure_buffer_stack (void)
2324
- {
2325
- yy_size_t num_to_alloc;
2326
-
2327
- if (!(yy_buffer_stack)) {
2328
-
2329
- /* First allocation is just for 2 elements, since we don't know if this
2330
- * scanner will even need a stack. We use 2 instead of 1 to avoid an
2331
- * immediate realloc on the next call.
2332
- */
2333
- num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
2334
- (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
2335
- (num_to_alloc * sizeof(struct yy_buffer_state*)
2336
- );
2337
- if ( ! (yy_buffer_stack) )
2338
- YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2339
-
2340
- memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
2341
-
2342
- (yy_buffer_stack_max) = num_to_alloc;
2343
- (yy_buffer_stack_top) = 0;
2344
- return;
2345
- }
2346
-
2347
- if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
2348
-
2349
- /* Increase the buffer to prepare for a possible push. */
2350
- yy_size_t grow_size = 8 /* arbitrary grow size */;
2351
-
2352
- num_to_alloc = (yy_buffer_stack_max) + grow_size;
2353
- (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
2354
- ((yy_buffer_stack),
2355
- num_to_alloc * sizeof(struct yy_buffer_state*)
2356
- );
2357
- if ( ! (yy_buffer_stack) )
2358
- YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
2359
-
2360
- /* zero only the new slots.*/
2361
- memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
2362
- (yy_buffer_stack_max) = num_to_alloc;
2363
- }
2364
- }
2365
-
2366
- /** Setup the input buffer state to scan directly from a user-specified character buffer.
2367
- * @param base the character buffer
2368
- * @param size the size in bytes of the character buffer
2369
- *
2370
- * @return the newly allocated buffer state object.
2371
- */
2372
- YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
2373
- {
2374
- YY_BUFFER_STATE b;
2375
-
2376
- if ( size < 2 ||
2377
- base[size-2] != YY_END_OF_BUFFER_CHAR ||
2378
- base[size-1] != YY_END_OF_BUFFER_CHAR )
2379
- /* They forgot to leave room for the EOB's. */
2380
- return NULL;
2381
-
2382
- b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
2383
- if ( ! b )
2384
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2385
-
2386
- b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
2387
- b->yy_buf_pos = b->yy_ch_buf = base;
2388
- b->yy_is_our_buffer = 0;
2389
- b->yy_input_file = NULL;
2390
- b->yy_n_chars = b->yy_buf_size;
2391
- b->yy_is_interactive = 0;
2392
- b->yy_at_bol = 1;
2393
- b->yy_fill_buffer = 0;
2394
- b->yy_buffer_status = YY_BUFFER_NEW;
2395
-
2396
- yy_switch_to_buffer( b );
2397
-
2398
- return b;
2399
- }
2400
-
2401
- /** Setup the input buffer state to scan a string. The next call to yylex() will
2402
- * scan from a @e copy of @a str.
2403
- * @param yystr a NUL-terminated string to scan
2404
- *
2405
- * @return the newly allocated buffer state object.
2406
- * @note If you want to scan bytes that may contain NUL values, then use
2407
- * yy_scan_bytes() instead.
2408
- */
2409
- YY_BUFFER_STATE yy_scan_string (const char * yystr )
2410
- {
2411
-
2412
- return yy_scan_bytes( yystr, (int) strlen(yystr) );
2413
- }
2414
-
2415
- /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
2416
- * scan from a @e copy of @a bytes.
2417
- * @param yybytes the byte buffer to scan
2418
- * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
2419
- *
2420
- * @return the newly allocated buffer state object.
2421
- */
2422
- YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
2423
- {
2424
- YY_BUFFER_STATE b;
2425
- char *buf;
2426
- yy_size_t n;
2427
- int i;
2428
-
2429
- /* Get memory for full buffer, including space for trailing EOB's. */
2430
- n = (yy_size_t) (_yybytes_len + 2);
2431
- buf = (char *) yyalloc( n );
2432
- if ( ! buf )
2433
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2434
-
2435
- for ( i = 0; i < _yybytes_len; ++i )
2436
- buf[i] = yybytes[i];
2437
-
2438
- buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
2439
-
2440
- b = yy_scan_buffer( buf, n );
2441
- if ( ! b )
2442
- YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2443
-
2444
- /* It's okay to grow etc. this buffer, and we should throw it
2445
- * away when we're done.
2446
- */
2447
- b->yy_is_our_buffer = 1;
2448
-
2449
- return b;
2450
- }
2451
-
2452
- #ifndef YY_EXIT_FAILURE
2453
- #define YY_EXIT_FAILURE 2
2454
- #endif
2455
-
2456
- static void yynoreturn yy_fatal_error (const char* msg )
2457
- {
2458
- fprintf( stderr, "%s\n", msg );
2459
- exit( YY_EXIT_FAILURE );
2460
- }
2461
-
2462
- /* Redefine yyless() so it works in section 3 code. */
2463
-
2464
- #undef yyless
2465
- #define yyless(n) \
2466
- do \
2467
- { \
2468
- /* Undo effects of setting up yytext. */ \
2469
- int yyless_macro_arg = (n); \
2470
- YY_LESS_LINENO(yyless_macro_arg);\
2471
- yytext[yyleng] = (yy_hold_char); \
2472
- (yy_c_buf_p) = yytext + yyless_macro_arg; \
2473
- (yy_hold_char) = *(yy_c_buf_p); \
2474
- *(yy_c_buf_p) = '\0'; \
2475
- yyleng = yyless_macro_arg; \
2476
- } \
2477
- while ( 0 )
2478
-
2479
- /* Accessor methods (get/set functions) to struct members. */
2480
-
2481
- /** Get the current line number.
2482
- *
2483
- */
2484
- int yyget_lineno (void)
2485
- {
2486
-
2487
- return yylineno;
2488
- }
2489
-
2490
- /** Get the input stream.
2491
- *
2492
- */
2493
- FILE *yyget_in (void)
2494
- {
2495
- return yyin;
2496
- }
2497
-
2498
- /** Get the output stream.
2499
- *
2500
- */
2501
- FILE *yyget_out (void)
2502
- {
2503
- return yyout;
2504
- }
2505
-
2506
- /** Get the length of the current token.
2507
- *
2508
- */
2509
- int yyget_leng (void)
2510
- {
2511
- return yyleng;
2512
- }
2513
-
2514
- /** Get the current token.
2515
- *
2516
- */
2517
-
2518
- char *yyget_text (void)
2519
- {
2520
- return yytext;
2521
- }
2522
-
2523
- /** Set the current line number.
2524
- * @param _line_number line number
2525
- *
2526
- */
2527
- void yyset_lineno (int _line_number )
2528
- {
2529
-
2530
- yylineno = _line_number;
2531
- }
2532
-
2533
- /** Set the input stream. This does not discard the current
2534
- * input buffer.
2535
- * @param _in_str A readable stream.
2536
- *
2537
- * @see yy_switch_to_buffer
2538
- */
2539
- void yyset_in (FILE * _in_str )
2540
- {
2541
- yyin = _in_str ;
2542
- }
2543
-
2544
- void yyset_out (FILE * _out_str )
2545
- {
2546
- yyout = _out_str ;
2547
- }
2548
-
2549
- int yyget_debug (void)
2550
- {
2551
- return yy_flex_debug;
2552
- }
2553
-
2554
- void yyset_debug (int _bdebug )
2555
- {
2556
- yy_flex_debug = _bdebug ;
2557
- }
2558
-
2559
- static int yy_init_globals (void)
2560
- {
2561
- /* Initialization is the same as for the non-reentrant scanner.
2562
- * This function is called from yylex_destroy(), so don't allocate here.
2563
- */
2564
-
2565
- (yy_buffer_stack) = NULL;
2566
- (yy_buffer_stack_top) = 0;
2567
- (yy_buffer_stack_max) = 0;
2568
- (yy_c_buf_p) = NULL;
2569
- (yy_init) = 0;
2570
- (yy_start) = 0;
2571
-
2572
- /* Defined in main.c */
2573
- #ifdef YY_STDINIT
2574
- yyin = stdin;
2575
- yyout = stdout;
2576
- #else
2577
- yyin = NULL;
2578
- yyout = NULL;
2579
- #endif
2580
-
2581
- /* For future reference: Set errno on error, since we are called by
2582
- * yylex_init()
2583
- */
2584
- return 0;
2585
- }
2586
-
2587
- /* yylex_destroy is for both reentrant and non-reentrant scanners. */
2588
- int yylex_destroy (void)
2589
- {
2590
-
2591
- /* Pop the buffer stack, destroying each element. */
2592
- while(YY_CURRENT_BUFFER){
2593
- yy_delete_buffer( YY_CURRENT_BUFFER );
2594
- YY_CURRENT_BUFFER_LVALUE = NULL;
2595
- yypop_buffer_state();
2596
- }
2597
-
2598
- /* Destroy the stack itself. */
2599
- yyfree((yy_buffer_stack) );
2600
- (yy_buffer_stack) = NULL;
2601
-
2602
- /* Reset the globals. This is important in a non-reentrant scanner so the next time
2603
- * yylex() is called, initialization will occur. */
2604
- yy_init_globals( );
2605
-
2606
- return 0;
2607
- }
2608
-
2609
- /*
2610
- * Internal utility routines.
2611
- */
2612
-
2613
- #ifndef yytext_ptr
2614
- static void yy_flex_strncpy (char* s1, const char * s2, int n )
2615
- {
2616
-
2617
- int i;
2618
- for ( i = 0; i < n; ++i )
2619
- s1[i] = s2[i];
2620
- }
2621
- #endif
2622
-
2623
- #ifdef YY_NEED_STRLEN
2624
- static int yy_flex_strlen (const char * s )
2625
- {
2626
- int n;
2627
- for ( n = 0; s[n]; ++n )
2628
- ;
2629
-
2630
- return n;
2631
- }
2632
- #endif
2633
-
2634
- void *yyalloc (yy_size_t size )
2635
- {
2636
- return malloc(size);
2637
- }
2638
-
2639
- void *yyrealloc (void * ptr, yy_size_t size )
2640
- {
2641
-
2642
- /* The cast to (char *) in the following accommodates both
2643
- * implementations that use char* generic pointers, and those
2644
- * that use void* generic pointers. It works with the latter
2645
- * because both ANSI C and C++ allow castless assignment from
2646
- * any pointer type to void*, and deal with argument conversions
2647
- * as though doing an assignment.
2648
- */
2649
- return realloc(ptr, size);
2650
- }
2651
-
2652
- void yyfree (void * ptr )
2653
- {
2654
- free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
2655
- }
2656
-
2657
- #define YYTABLES_NAME "yytables"
2658
-
2659
- #line 530 "src/Slice/Scanner.l"
2660
-
2661
-
2662
- namespace Slice {
2663
-
2664
- //
2665
- // initScanner() fills the keyword map with all keyword-token pairs.
2666
- //
2667
-
2668
- void
2669
- initScanner()
2670
- {
2671
- keywordMap["module"] = ICE_MODULE;
2672
- keywordMap["class"] = ICE_CLASS;
2673
- keywordMap["interface"] = ICE_INTERFACE;
2674
- keywordMap["exception"] = ICE_EXCEPTION;
2675
- keywordMap["struct"] = ICE_STRUCT;
2676
- keywordMap["sequence"] = ICE_SEQUENCE;
2677
- keywordMap["dictionary"] = ICE_DICTIONARY;
2678
- keywordMap["enum"] = ICE_ENUM;
2679
- keywordMap["out"] = ICE_OUT;
2680
- keywordMap["extends"] = ICE_EXTENDS;
2681
- keywordMap["implements"] = ICE_IMPLEMENTS;
2682
- keywordMap["throws"] = ICE_THROWS;
2683
- keywordMap["void"] = ICE_VOID;
2684
- keywordMap["byte"] = ICE_BYTE;
2685
- keywordMap["bool"] = ICE_BOOL;
2686
- keywordMap["short"] = ICE_SHORT;
2687
- keywordMap["int"] = ICE_INT;
2688
- keywordMap["long"] = ICE_LONG;
2689
- keywordMap["float"] = ICE_FLOAT;
2690
- keywordMap["double"] = ICE_DOUBLE;
2691
- keywordMap["string"] = ICE_STRING;
2692
- keywordMap["Object"] = ICE_OBJECT;
2693
- keywordMap["LocalObject"] = ICE_LOCAL_OBJECT;
2694
- keywordMap["local"] = ICE_LOCAL;
2695
- keywordMap["const"] = ICE_CONST;
2696
- keywordMap["false"] = ICE_FALSE;
2697
- keywordMap["true"] = ICE_TRUE;
2698
- keywordMap["idempotent"] = ICE_IDEMPOTENT;
2699
- keywordMap["optional"] = ICE_OPTIONAL;
2700
- keywordMap["Value"] = ICE_VALUE;
2701
- }
2702
-
2703
- //
2704
- // Check if an identifier looks like a keyword.
2705
- // If the identifier is a keyword, return the
2706
- // corresponding keyword token; otherwise, return
2707
- // an identifier token.
2708
- //
2709
-
2710
- int
2711
- checkKeyword(string& id)
2712
- {
2713
- StringTokenMap::const_iterator pos = keywordMap.find(id);
2714
- if(pos != keywordMap.end())
2715
- {
2716
- if(pos->first != id)
2717
- {
2718
- string msg;
2719
- msg = "illegal identifier: `" + id + "' differs from keyword `";
2720
- msg += pos->first + "' only in capitalization";
2721
- unit->error(msg);
2722
- id = pos->first;
2723
- }
2724
- return pos->second;
2725
- }
2726
- return checkIdentifier(id);
2727
- }
2728
-
2729
- //
2730
- // Checks an identifier for any illegal syntax and
2731
- // determines whether it's scoped. If it is, this
2732
- // returns a scoped identifier token; otherwise this
2733
- // returns a normal identifier token.
2734
- //
2735
-
2736
- int checkIdentifier(string& id)
2737
- {
2738
- // check whether the identifier is scoped
2739
- size_t scopeIndex = id.rfind("::");
2740
- bool isScoped = scopeIndex != string::npos;
2741
- string name;
2742
- if(isScoped)
2743
- {
2744
- name = id.substr(scopeIndex + 2); // Only check the unscoped identifier for syntax
2745
- }
2746
- else
2747
- {
2748
- name = id;
2749
- }
2750
-
2751
- // check the identifier for reserved suffixes
2752
- static const string suffixBlacklist[] = { "Helper", "Holder", "Prx", "Ptr" };
2753
- for(size_t i = 0; i < sizeof(suffixBlacklist) / sizeof(*suffixBlacklist); ++i)
2754
- {
2755
- if(name.find(suffixBlacklist[i], name.size() - suffixBlacklist[i].size()) != string::npos)
2756
- {
2757
- unit->error("illegal identifier `" + name + "': `" + suffixBlacklist[i] + "' suffix is reserved");
2758
- }
2759
- }
2760
-
2761
- // check the identifier for illegal underscores
2762
- size_t index = name.find('_');
2763
- if(index == 0)
2764
- {
2765
- unit->error("illegal leading underscore in identifier `" + name + "'");
2766
- }
2767
- else if(name.rfind('_') == (name.size() - 1))
2768
- {
2769
- unit->error("illegal trailing underscore in identifier `" + name + "'");
2770
- }
2771
- else if(name.find("__") != string::npos)
2772
- {
2773
- unit->error("illegal double underscore in identifier `" + name + "'");
2774
- }
2775
- else if(index != string::npos && unit->currentIncludeLevel() == 0 && !unit->allowUnderscore())
2776
- {
2777
- DefinitionContextPtr dc = unit->currentDefinitionContext();
2778
- assert(dc);
2779
- if(dc->findMetaData("underscore") != "underscore") // no 'underscore' file metadata
2780
- {
2781
- unit->error("illegal underscore in identifier `" + name + "'");
2782
- }
2783
- }
2784
-
2785
- // Check the identifier for illegal ice prefixes
2786
- if(unit->currentIncludeLevel() == 0 && !unit->allowIcePrefix() && name.size() > 2)
2787
- {
2788
- DefinitionContextPtr dc = unit->currentDefinitionContext();
2789
- assert(dc);
2790
- if(dc->findMetaData("ice-prefix") != "ice-prefix") // no 'ice-prefix' metadata
2791
- {
2792
- string prefix3;
2793
- prefix3 += ::tolower(static_cast<unsigned char>(name[0]));
2794
- prefix3 += ::tolower(static_cast<unsigned char>(name[1]));
2795
- prefix3 += ::tolower(static_cast<unsigned char>(name[2]));
2796
- if(prefix3 == "ice")
2797
- {
2798
- unit->error("illegal identifier `" + name + "': `" + name.substr(0, 3) + "' prefix is reserved");
2799
- }
2800
- }
2801
- }
2802
-
2803
- return isScoped ? ICE_SCOPED_IDENTIFIER : ICE_IDENTIFIER;
2804
- }
2805
-
2806
- }
2807
-