You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

851 lines
147 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>Xerces-C++: XMLString.hpp Source File</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">Xerces-C++
  21. &#160;<span id="projectnumber">3.1.2</span>
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.9.1 -->
  30. <div id="navrow1" class="tabs">
  31. <ul class="tablist">
  32. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  33. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  34. <li><a href="annotated.html"><span>Classes</span></a></li>
  35. <li class="current"><a href="files.html"><span>Files</span></a></li>
  36. </ul>
  37. </div>
  38. <div id="navrow2" class="tabs2">
  39. <ul class="tablist">
  40. <li><a href="files.html"><span>File&#160;List</span></a></li>
  41. <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  42. </ul>
  43. </div>
  44. <div id="nav-path" class="navpath">
  45. <ul>
  46. <li class="navelem"><a class="el" href="dir_901b4356d5f32ee418b4c714d07fb65a.html">src</a></li><li class="navelem"><a class="el" href="dir_477226ead712f319998d821c029f7620.html">xercesc</a></li><li class="navelem"><a class="el" href="dir_f02e54c5bd281853e16b6572a737d9ee.html">util</a></li> </ul>
  47. </div>
  48. </div><!-- top -->
  49. <div class="header">
  50. <div class="headertitle">
  51. <div class="title">XMLString.hpp</div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <a href="XMLString_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div>
  55. <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div>
  56. <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div>
  57. <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * this work for additional information regarding copyright ownership.</span></div>
  58. <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div>
  59. <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div>
  60. <div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * the License. You may obtain a copy of the License at</span></div>
  61. <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div>
  62. <div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div>
  63. <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div>
  64. <div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
  65. <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
  66. <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
  67. <div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
  68. <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div>
  69. <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
  70. <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
  71. <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/*</span></div>
  72. <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * $Id: XMLString.hpp 932887 2010-04-11 13:04:59Z borisk $</span></div>
  73. <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> */</span></div>
  74. <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
  75. <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_XMLSTRING_HPP)</span></div>
  76. <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#define XERCESC_INCLUDE_GUARD_XMLSTRING_HPP</span></div>
  77. <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
  78. <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;xercesc/util/BaseRefVectorOf.hpp&gt;</span></div>
  79. <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;xercesc/framework/XMLBuffer.hpp&gt;</span></div>
  80. <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="MemoryManager_8hpp.html">xercesc/framework/MemoryManager.hpp</a>&gt;</span></div>
  81. <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
  82. <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;assert.h&gt;</span></div>
  83. <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
  84. <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<a class="code" href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div>
  85. <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
  86. <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">class </span><a class="code" href="classXMLLCPTranscoder.html">XMLLCPTranscoder</a>;</div>
  87. <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classXMLString.html"> 45</a></span>&#160;<span class="keyword">class </span><a class="code" href="XercesDefs_8hpp.html#a97a524372e218133a8eb0aca39b4bd21">XMLUTIL_EXPORT</a> <a class="code" href="classXMLString.html">XMLString</a></div>
  88. <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;{</div>
  89. <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">public</span>:</div>
  90. <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="comment">/* Static methods for native character mode string manipulation */</span></div>
  91. <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
  92. <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div>
  93. <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> catString</div>
  94. <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; (</div>
  95. <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordtype">char</span>* <span class="keyword">const</span> target</div>
  96. <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> src</div>
  97. <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; );</div>
  98. <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div>
  99. <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> catString</div>
  100. <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; (</div>
  101. <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> target</div>
  102. <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> src</div>
  103. <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; );</div>
  104. <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div>
  105. <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> compareIString</div>
  106. <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; (</div>
  107. <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> str1</div>
  108. <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> str2</div>
  109. <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; );</div>
  110. <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;</div>
  111. <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> compareIString</div>
  112. <div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; (</div>
  113. <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str1</div>
  114. <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str2</div>
  115. <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; );</div>
  116. <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div>
  117. <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> compareIStringASCII</div>
  118. <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; (</div>
  119. <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str1</div>
  120. <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str2</div>
  121. <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; );</div>
  122. <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div>
  123. <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div>
  124. <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div>
  125. <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> compareNString</div>
  126. <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; (</div>
  127. <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> str1</div>
  128. <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> str2</div>
  129. <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count</div>
  130. <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; );</div>
  131. <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div>
  132. <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> compareNString</div>
  133. <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; (</div>
  134. <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str1</div>
  135. <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str2</div>
  136. <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count</div>
  137. <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; );</div>
  138. <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div>
  139. <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;</div>
  140. <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> compareNIString</div>
  141. <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; (</div>
  142. <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> str1</div>
  143. <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> str2</div>
  144. <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count</div>
  145. <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; );</div>
  146. <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;</div>
  147. <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> compareNIString</div>
  148. <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; (</div>
  149. <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str1</div>
  150. <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str2</div>
  151. <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count</div>
  152. <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; );</div>
  153. <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;</div>
  154. <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> compareString</div>
  155. <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; (</div>
  156. <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> str1</div>
  157. <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> str2</div>
  158. <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; );</div>
  159. <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;</div>
  160. <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> compareString</div>
  161. <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; (</div>
  162. <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str1</div>
  163. <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str2</div>
  164. <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; );</div>
  165. <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;</div>
  166. <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> equals</div>
  167. <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; (</div>
  168. <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* str1</div>
  169. <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* str2</div>
  170. <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; );</div>
  171. <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;</div>
  172. <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> equalsN</div>
  173. <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; (</div>
  174. <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* str1</div>
  175. <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* str2</div>
  176. <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160; , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> n</div>
  177. <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; );</div>
  178. <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;</div>
  179. <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> equals</div>
  180. <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; (</div>
  181. <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* str1</div>
  182. <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* str2</div>
  183. <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; );</div>
  184. <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;</div>
  185. <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> equalsN</div>
  186. <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; (</div>
  187. <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* str1</div>
  188. <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* str2</div>
  189. <div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> n</div>
  190. <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; );</div>
  191. <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;</div>
  192. <div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> regionMatches</div>
  193. <div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; (</div>
  194. <div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str1</div>
  195. <div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">int</span> offset1</div>
  196. <div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str2</div>
  197. <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">int</span> offset2</div>
  198. <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> charCount</div>
  199. <div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; );</div>
  200. <div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160;</div>
  201. <div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> regionIMatches</div>
  202. <div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160; (</div>
  203. <div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str1</div>
  204. <div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">int</span> offset1</div>
  205. <div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str2</div>
  206. <div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">int</span> offset2</div>
  207. <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> charCount</div>
  208. <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; );</div>
  209. <div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160;</div>
  210. <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> copyString</div>
  211. <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; (</div>
  212. <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160; <span class="keywordtype">char</span>* <span class="keyword">const</span> target</div>
  213. <div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> src</div>
  214. <div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160; );</div>
  215. <div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160;</div>
  216. <div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> copyString</div>
  217. <div class="line"><a name="l00416"></a><span class="lineno"> 416</span>&#160; (</div>
  218. <div class="line"><a name="l00417"></a><span class="lineno"> 417</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> target</div>
  219. <div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> src</div>
  220. <div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160; );</div>
  221. <div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160;</div>
  222. <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> copyNString</div>
  223. <div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160; (</div>
  224. <div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> target</div>
  225. <div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> src</div>
  226. <div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  227. <div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160; );</div>
  228. <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160;</div>
  229. <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hash</div>
  230. <div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; (</div>
  231. <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toHash</div>
  232. <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hashModulus</div>
  233. <div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160; );</div>
  234. <div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160;</div>
  235. <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hash</div>
  236. <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; (</div>
  237. <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toHash</div>
  238. <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hashModulus</div>
  239. <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160; );</div>
  240. <div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160;</div>
  241. <div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hashN</div>
  242. <div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; (</div>
  243. <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toHash</div>
  244. <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> numChars</div>
  245. <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hashModulus</div>
  246. <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160; );</div>
  247. <div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160;</div>
  248. <div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160;</div>
  249. <div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> indexOf(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toSearch, <span class="keyword">const</span> <span class="keywordtype">char</span> ch);</div>
  250. <div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;</div>
  251. <div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> indexOf(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toSearch, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> ch);</div>
  252. <div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160;</div>
  253. <div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> indexOf</div>
  254. <div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160; (</div>
  255. <div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toSearch</div>
  256. <div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span> chToFind</div>
  257. <div class="line"><a name="l00521"></a><span class="lineno"> 521</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> fromIndex</div>
  258. <div class="line"><a name="l00522"></a><span class="lineno"> 522</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  259. <div class="line"><a name="l00523"></a><span class="lineno"> 523</span>&#160; );</div>
  260. <div class="line"><a name="l00524"></a><span class="lineno"> 524</span>&#160;</div>
  261. <div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> indexOf</div>
  262. <div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160; (</div>
  263. <div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toSearch</div>
  264. <div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> chToFind</div>
  265. <div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> fromIndex</div>
  266. <div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  267. <div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160; );</div>
  268. <div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160;</div>
  269. <div class="line"><a name="l00552"></a><span class="lineno"> 552</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> lastIndexOf(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toSearch, <span class="keyword">const</span> <span class="keywordtype">char</span> ch);</div>
  270. <div class="line"><a name="l00553"></a><span class="lineno"> 553</span>&#160;</div>
  271. <div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> lastIndexOf(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toSearch, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> ch);</div>
  272. <div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160;</div>
  273. <div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> lastIndexOf</div>
  274. <div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; (</div>
  275. <div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> ch</div>
  276. <div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toSearch</div>
  277. <div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> toSearchLen</div>
  278. <div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160; );</div>
  279. <div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160;</div>
  280. <div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> lastIndexOf</div>
  281. <div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160; (</div>
  282. <div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toSearch</div>
  283. <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span> chToFind</div>
  284. <div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> fromIndex</div>
  285. <div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  286. <div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160; );</div>
  287. <div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160;</div>
  288. <div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> lastIndexOf</div>
  289. <div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160; (</div>
  290. <div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toSearch</div>
  291. <div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> ch</div>
  292. <div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> fromIndex</div>
  293. <div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  294. <div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160; );</div>
  295. <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160;</div>
  296. <div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> moveChars</div>
  297. <div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160; (</div>
  298. <div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> targetStr</div>
  299. <div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> srcStr</div>
  300. <div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count</div>
  301. <div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160; );</div>
  302. <div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160;</div>
  303. <div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160;</div>
  304. <div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> subString</div>
  305. <div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160; (</div>
  306. <div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160; <span class="keywordtype">char</span>* <span class="keyword">const</span> targetStr</div>
  307. <div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> srcStr</div>
  308. <div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> startIndex</div>
  309. <div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> endIndex</div>
  310. <div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  311. <div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; );</div>
  312. <div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160;</div>
  313. <div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> subString</div>
  314. <div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; (</div>
  315. <div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> targetStr</div>
  316. <div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> srcStr</div>
  317. <div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> startIndex</div>
  318. <div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> endIndex</div>
  319. <div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  320. <div class="line"><a name="l00671"></a><span class="lineno"> 671</span>&#160; );</div>
  321. <div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160;</div>
  322. <div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> subString</div>
  323. <div class="line"><a name="l00684"></a><span class="lineno"> 684</span>&#160; (</div>
  324. <div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> targetStr</div>
  325. <div class="line"><a name="l00686"></a><span class="lineno"> 686</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> srcStr</div>
  326. <div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> startIndex</div>
  327. <div class="line"><a name="l00688"></a><span class="lineno"> 688</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> endIndex</div>
  328. <div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> srcStrLength</div>
  329. <div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  330. <div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160; );</div>
  331. <div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160;</div>
  332. <div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160;</div>
  333. <div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160; <span class="keyword">static</span> <span class="keywordtype">char</span>* replicate(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toRep,</div>
  334. <div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160; <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  335. <div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160;</div>
  336. <div class="line"><a name="l00720"></a><span class="lineno"> 720</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* replicate(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toRep,</div>
  337. <div class="line"><a name="l00721"></a><span class="lineno"> 721</span>&#160; <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  338. <div class="line"><a name="l00722"></a><span class="lineno"> 722</span>&#160;</div>
  339. <div class="line"><a name="l00724"></a><span class="lineno"> 724</span>&#160;</div>
  340. <div class="line"><a name="l00733"></a><span class="lineno"> 733</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> startsWith</div>
  341. <div class="line"><a name="l00734"></a><span class="lineno"> 734</span>&#160; (</div>
  342. <div class="line"><a name="l00735"></a><span class="lineno"> 735</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toTest</div>
  343. <div class="line"><a name="l00736"></a><span class="lineno"> 736</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> prefix</div>
  344. <div class="line"><a name="l00737"></a><span class="lineno"> 737</span>&#160; );</div>
  345. <div class="line"><a name="l00738"></a><span class="lineno"> 738</span>&#160;</div>
  346. <div class="line"><a name="l00745"></a><span class="lineno"> 745</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> startsWith</div>
  347. <div class="line"><a name="l00746"></a><span class="lineno"> 746</span>&#160; (</div>
  348. <div class="line"><a name="l00747"></a><span class="lineno"> 747</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toTest</div>
  349. <div class="line"><a name="l00748"></a><span class="lineno"> 748</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> prefix</div>
  350. <div class="line"><a name="l00749"></a><span class="lineno"> 749</span>&#160; );</div>
  351. <div class="line"><a name="l00750"></a><span class="lineno"> 750</span>&#160;</div>
  352. <div class="line"><a name="l00759"></a><span class="lineno"> 759</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> startsWithI</div>
  353. <div class="line"><a name="l00760"></a><span class="lineno"> 760</span>&#160; (</div>
  354. <div class="line"><a name="l00761"></a><span class="lineno"> 761</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toTest</div>
  355. <div class="line"><a name="l00762"></a><span class="lineno"> 762</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> prefix</div>
  356. <div class="line"><a name="l00763"></a><span class="lineno"> 763</span>&#160; );</div>
  357. <div class="line"><a name="l00764"></a><span class="lineno"> 764</span>&#160;</div>
  358. <div class="line"><a name="l00774"></a><span class="lineno"> 774</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> startsWithI</div>
  359. <div class="line"><a name="l00775"></a><span class="lineno"> 775</span>&#160; (</div>
  360. <div class="line"><a name="l00776"></a><span class="lineno"> 776</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toTest</div>
  361. <div class="line"><a name="l00777"></a><span class="lineno"> 777</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> prefix</div>
  362. <div class="line"><a name="l00778"></a><span class="lineno"> 778</span>&#160; );</div>
  363. <div class="line"><a name="l00779"></a><span class="lineno"> 779</span>&#160;</div>
  364. <div class="line"><a name="l00786"></a><span class="lineno"> 786</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> endsWith</div>
  365. <div class="line"><a name="l00787"></a><span class="lineno"> 787</span>&#160; (</div>
  366. <div class="line"><a name="l00788"></a><span class="lineno"> 788</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toTest</div>
  367. <div class="line"><a name="l00789"></a><span class="lineno"> 789</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> suffix</div>
  368. <div class="line"><a name="l00790"></a><span class="lineno"> 790</span>&#160; );</div>
  369. <div class="line"><a name="l00791"></a><span class="lineno"> 791</span>&#160;</div>
  370. <div class="line"><a name="l00792"></a><span class="lineno"> 792</span>&#160;</div>
  371. <div class="line"><a name="l00801"></a><span class="lineno"> 801</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* findAny</div>
  372. <div class="line"><a name="l00802"></a><span class="lineno"> 802</span>&#160; (</div>
  373. <div class="line"><a name="l00803"></a><span class="lineno"> 803</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toSearch</div>
  374. <div class="line"><a name="l00804"></a><span class="lineno"> 804</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> searchList</div>
  375. <div class="line"><a name="l00805"></a><span class="lineno"> 805</span>&#160; );</div>
  376. <div class="line"><a name="l00806"></a><span class="lineno"> 806</span>&#160;</div>
  377. <div class="line"><a name="l00815"></a><span class="lineno"> 815</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* findAny</div>
  378. <div class="line"><a name="l00816"></a><span class="lineno"> 816</span>&#160; (</div>
  379. <div class="line"><a name="l00817"></a><span class="lineno"> 817</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toSearch</div>
  380. <div class="line"><a name="l00818"></a><span class="lineno"> 818</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> searchList</div>
  381. <div class="line"><a name="l00819"></a><span class="lineno"> 819</span>&#160; );</div>
  382. <div class="line"><a name="l00820"></a><span class="lineno"> 820</span>&#160;</div>
  383. <div class="line"><a name="l00827"></a><span class="lineno"> 827</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> patternMatch</div>
  384. <div class="line"><a name="l00828"></a><span class="lineno"> 828</span>&#160; (</div>
  385. <div class="line"><a name="l00829"></a><span class="lineno"> 829</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toSearch</div>
  386. <div class="line"><a name="l00830"></a><span class="lineno"> 830</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> pattern</div>
  387. <div class="line"><a name="l00831"></a><span class="lineno"> 831</span>&#160; );</div>
  388. <div class="line"><a name="l00832"></a><span class="lineno"> 832</span>&#160;</div>
  389. <div class="line"><a name="l00837"></a><span class="lineno"> 837</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> stringLen(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> src);</div>
  390. <div class="line"><a name="l00838"></a><span class="lineno"> 838</span>&#160;</div>
  391. <div class="line"><a name="l00843"></a><span class="lineno"> 843</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> stringLen(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> src);</div>
  392. <div class="line"><a name="l00844"></a><span class="lineno"> 844</span>&#160;</div>
  393. <div class="line"><a name="l00852"></a><span class="lineno"> 852</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isValidNOTATION(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> name</div>
  394. <div class="line"><a name="l00853"></a><span class="lineno"> 853</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  395. <div class="line"><a name="l00854"></a><span class="lineno"> 854</span>&#160;</div>
  396. <div class="line"><a name="l00860"></a><span class="lineno"> 860</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isValidEncName(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> name);</div>
  397. <div class="line"><a name="l00861"></a><span class="lineno"> 861</span>&#160;</div>
  398. <div class="line"><a name="l00868"></a><span class="lineno"> 868</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isAlpha(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> <span class="keyword">const</span> theChar);</div>
  399. <div class="line"><a name="l00869"></a><span class="lineno"> 869</span>&#160;</div>
  400. <div class="line"><a name="l00875"></a><span class="lineno"> 875</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isDigit(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> <span class="keyword">const</span> theChar);</div>
  401. <div class="line"><a name="l00876"></a><span class="lineno"> 876</span>&#160;</div>
  402. <div class="line"><a name="l00882"></a><span class="lineno"> 882</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isAlphaNum(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> <span class="keyword">const</span> theChar);</div>
  403. <div class="line"><a name="l00883"></a><span class="lineno"> 883</span>&#160;</div>
  404. <div class="line"><a name="l00889"></a><span class="lineno"> 889</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isHex(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> <span class="keyword">const</span> theChar);</div>
  405. <div class="line"><a name="l00890"></a><span class="lineno"> 890</span>&#160;</div>
  406. <div class="line"><a name="l00896"></a><span class="lineno"> 896</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isInList(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toFind, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> enumList);</div>
  407. <div class="line"><a name="l00897"></a><span class="lineno"> 897</span>&#160;</div>
  408. <div class="line"><a name="l00899"></a><span class="lineno"> 899</span>&#160;</div>
  409. <div class="line"><a name="l00902"></a><span class="lineno"> 902</span>&#160;</div>
  410. <div class="line"><a name="l00914"></a><span class="lineno"> 914</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> sizeToText</div>
  411. <div class="line"><a name="l00915"></a><span class="lineno"> 915</span>&#160; (</div>
  412. <div class="line"><a name="l00916"></a><span class="lineno"> 916</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> toFormat</div>
  413. <div class="line"><a name="l00917"></a><span class="lineno"> 917</span>&#160; , <span class="keywordtype">char</span>* <span class="keyword">const</span> toFill</div>
  414. <div class="line"><a name="l00918"></a><span class="lineno"> 918</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  415. <div class="line"><a name="l00919"></a><span class="lineno"> 919</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  416. <div class="line"><a name="l00920"></a><span class="lineno"> 920</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  417. <div class="line"><a name="l00921"></a><span class="lineno"> 921</span>&#160; );</div>
  418. <div class="line"><a name="l00922"></a><span class="lineno"> 922</span>&#160;</div>
  419. <div class="line"><a name="l00934"></a><span class="lineno"> 934</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> sizeToText</div>
  420. <div class="line"><a name="l00935"></a><span class="lineno"> 935</span>&#160; (</div>
  421. <div class="line"><a name="l00936"></a><span class="lineno"> 936</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> toFormat</div>
  422. <div class="line"><a name="l00937"></a><span class="lineno"> 937</span>&#160; , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toFill</div>
  423. <div class="line"><a name="l00938"></a><span class="lineno"> 938</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  424. <div class="line"><a name="l00939"></a><span class="lineno"> 939</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  425. <div class="line"><a name="l00940"></a><span class="lineno"> 940</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  426. <div class="line"><a name="l00941"></a><span class="lineno"> 941</span>&#160; );</div>
  427. <div class="line"><a name="l00942"></a><span class="lineno"> 942</span>&#160;</div>
  428. <div class="line"><a name="l00954"></a><span class="lineno"> 954</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> binToText</div>
  429. <div class="line"><a name="l00955"></a><span class="lineno"> 955</span>&#160; (</div>
  430. <div class="line"><a name="l00956"></a><span class="lineno"> 956</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> toFormat</div>
  431. <div class="line"><a name="l00957"></a><span class="lineno"> 957</span>&#160; , <span class="keywordtype">char</span>* <span class="keyword">const</span> toFill</div>
  432. <div class="line"><a name="l00958"></a><span class="lineno"> 958</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  433. <div class="line"><a name="l00959"></a><span class="lineno"> 959</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  434. <div class="line"><a name="l00960"></a><span class="lineno"> 960</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  435. <div class="line"><a name="l00961"></a><span class="lineno"> 961</span>&#160; );</div>
  436. <div class="line"><a name="l00962"></a><span class="lineno"> 962</span>&#160;</div>
  437. <div class="line"><a name="l00974"></a><span class="lineno"> 974</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> binToText</div>
  438. <div class="line"><a name="l00975"></a><span class="lineno"> 975</span>&#160; (</div>
  439. <div class="line"><a name="l00976"></a><span class="lineno"> 976</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> toFormat</div>
  440. <div class="line"><a name="l00977"></a><span class="lineno"> 977</span>&#160; , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toFill</div>
  441. <div class="line"><a name="l00978"></a><span class="lineno"> 978</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  442. <div class="line"><a name="l00979"></a><span class="lineno"> 979</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  443. <div class="line"><a name="l00980"></a><span class="lineno"> 980</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  444. <div class="line"><a name="l00981"></a><span class="lineno"> 981</span>&#160; );</div>
  445. <div class="line"><a name="l00982"></a><span class="lineno"> 982</span>&#160;</div>
  446. <div class="line"><a name="l00994"></a><span class="lineno"> 994</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> binToText</div>
  447. <div class="line"><a name="l00995"></a><span class="lineno"> 995</span>&#160; (</div>
  448. <div class="line"><a name="l00996"></a><span class="lineno"> 996</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> toFormat</div>
  449. <div class="line"><a name="l00997"></a><span class="lineno"> 997</span>&#160; , <span class="keywordtype">char</span>* <span class="keyword">const</span> toFill</div>
  450. <div class="line"><a name="l00998"></a><span class="lineno"> 998</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  451. <div class="line"><a name="l00999"></a><span class="lineno"> 999</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  452. <div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  453. <div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160; );</div>
  454. <div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;</div>
  455. <div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> binToText</div>
  456. <div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160; (</div>
  457. <div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> toFormat</div>
  458. <div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160; , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toFill</div>
  459. <div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  460. <div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  461. <div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  462. <div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160; );</div>
  463. <div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;</div>
  464. <div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> binToText</div>
  465. <div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160; (</div>
  466. <div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> toFormat</div>
  467. <div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160; , <span class="keywordtype">char</span>* <span class="keyword">const</span> toFill</div>
  468. <div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  469. <div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  470. <div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  471. <div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160; );</div>
  472. <div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;</div>
  473. <div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> binToText</div>
  474. <div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160; (</div>
  475. <div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> toFormat</div>
  476. <div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160; , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toFill</div>
  477. <div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  478. <div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  479. <div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  480. <div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160; );</div>
  481. <div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;</div>
  482. <div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> binToText</div>
  483. <div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160; (</div>
  484. <div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160; <span class="keyword">const</span> <span class="keywordtype">long</span> toFormat</div>
  485. <div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160; , <span class="keywordtype">char</span>* <span class="keyword">const</span> toFill</div>
  486. <div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  487. <div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  488. <div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  489. <div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160; );</div>
  490. <div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;</div>
  491. <div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> binToText</div>
  492. <div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160; (</div>
  493. <div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160; <span class="keyword">const</span> <span class="keywordtype">long</span> toFormat</div>
  494. <div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160; , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toFill</div>
  495. <div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  496. <div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> radix</div>
  497. <div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  498. <div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160; );</div>
  499. <div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;</div>
  500. <div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> textToBin</div>
  501. <div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160; (</div>
  502. <div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toConvert</div>
  503. <div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160; , <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>&amp; toFill</div>
  504. <div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  505. <div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160; );</div>
  506. <div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;</div>
  507. <div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> parseInt</div>
  508. <div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160; (</div>
  509. <div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toConvert</div>
  510. <div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  511. <div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160; );</div>
  512. <div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;</div>
  513. <div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> cut</div>
  514. <div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160; (</div>
  515. <div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toCutFrom</div>
  516. <div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count</div>
  517. <div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160; );</div>
  518. <div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>&#160;</div>
  519. <div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160; <span class="keyword">static</span> <span class="keywordtype">char</span>* transcode</div>
  520. <div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160; (</div>
  521. <div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toTranscode</div>
  522. <div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  523. <div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160; );</div>
  524. <div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;</div>
  525. <div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> transcode</div>
  526. <div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160; (</div>
  527. <div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toTranscode</div>
  528. <div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160; , <span class="keywordtype">char</span>* <span class="keyword">const</span> toFill</div>
  529. <div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  530. <div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  531. <div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160; );</div>
  532. <div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;</div>
  533. <div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* transcode</div>
  534. <div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160; (</div>
  535. <div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toTranscode</div>
  536. <div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  537. <div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160; );</div>
  538. <div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;</div>
  539. <div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> transcode</div>
  540. <div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160; (</div>
  541. <div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> toTranscode</div>
  542. <div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>&#160; , <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toFill</div>
  543. <div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  544. <div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  545. <div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>&#160; );</div>
  546. <div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>&#160;</div>
  547. <div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> trim(<span class="keywordtype">char</span>* <span class="keyword">const</span> toTrim);</div>
  548. <div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;</div>
  549. <div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> trim(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toTrim);</div>
  550. <div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;</div>
  551. <div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160; <span class="keyword">static</span> BaseRefVectorOf&lt;XMLCh&gt;* tokenizeString(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> tokenizeSrc</div>
  552. <div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  553. <div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>&#160;</div>
  554. <div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>&#160;</div>
  555. <div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* makeUName</div>
  556. <div class="line"><a name="l01263"></a><span class="lineno"> 1263</span>&#160; (</div>
  557. <div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> pszURI</div>
  558. <div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> pszName</div>
  559. <div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160; );</div>
  560. <div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;</div>
  561. <div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160; <span class="keyword">static</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> replaceTokens</div>
  562. <div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160; (</div>
  563. <div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> errText</div>
  564. <div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxChars</div>
  565. <div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> text1</div>
  566. <div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> text2</div>
  567. <div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> text3</div>
  568. <div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> text4</div>
  569. <div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  570. <div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160; );</div>
  571. <div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;</div>
  572. <div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> upperCase(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toUpperCase);</div>
  573. <div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;</div>
  574. <div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> upperCaseASCII(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toUpperCase);</div>
  575. <div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>&#160;</div>
  576. <div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> lowerCase(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toLowerCase);</div>
  577. <div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;</div>
  578. <div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> lowerCaseASCII(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toLowerCase);</div>
  579. <div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>&#160;</div>
  580. <div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isWSReplaced(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toCheck);</div>
  581. <div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>&#160;</div>
  582. <div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> isWSCollapsed(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toCheck);</div>
  583. <div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;</div>
  584. <div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> replaceWS(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* toConvert</div>
  585. <div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  586. <div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>&#160;</div>
  587. <div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> collapseWS(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* toConvert</div>
  588. <div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  589. <div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;</div>
  590. <div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> removeWS(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* toConvert</div>
  591. <div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>);</div>
  592. <div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;</div>
  593. <div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;</div>
  594. <div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> removeChar(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> srcString</div>
  595. <div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>&amp; toRemove</div>
  596. <div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160; , XMLBuffer&amp; dstBuffer);</div>
  597. <div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;</div>
  598. <div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> fixURI(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str, <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> target);</div>
  599. <div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;</div>
  600. <div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>&#160;</div>
  601. <div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> release</div>
  602. <div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>&#160; (</div>
  603. <div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160; <span class="keywordtype">char</span>** buf</div>
  604. <div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  605. <div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>&#160; );</div>
  606. <div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>&#160;</div>
  607. <div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> release</div>
  608. <div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>&#160; (</div>
  609. <div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>** buf</div>
  610. <div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>&#160; , <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager = <a class="code" href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div>
  611. <div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160; );</div>
  612. <div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>&#160;</div>
  613. <div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>&#160;</div>
  614. <div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>&#160;<span class="keyword">private</span> :</div>
  615. <div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>&#160;</div>
  616. <div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>&#160; <a class="code" href="classXMLString.html">XMLString</a>();</div>
  617. <div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>&#160; ~<a class="code" href="classXMLString.html">XMLString</a>();</div>
  618. <div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>&#160;</div>
  619. <div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>&#160;</div>
  620. <div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> initString(<a class="code" href="classXMLLCPTranscoder.html">XMLLCPTranscoder</a>* <span class="keyword">const</span> defToUse,</div>
  621. <div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>&#160; <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager);</div>
  622. <div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> termString();</div>
  623. <div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160;</div>
  624. <div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> validateRegion(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str1, <span class="keyword">const</span> <span class="keywordtype">int</span> offset1,</div>
  625. <div class="line"><a name="l01429"></a><span class="lineno"> 1429</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str2, <span class="keyword">const</span> <span class="keywordtype">int</span> offset2,</div>
  626. <div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> charCount);</div>
  627. <div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>&#160;</div>
  628. <div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>&#160; <span class="keyword">static</span> <a class="code" href="classMemoryManager.html">MemoryManager</a>* fgMemoryManager;</div>
  629. <div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>&#160;</div>
  630. <div class="line"><a name="l01434"></a><span class="lineno"><a class="line" href="classXMLString.html#a6fef3aac9b620715c5a90c4ca13869c0"> 1434</a></span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classXMLPlatformUtils.html">XMLPlatformUtils</a>;</div>
  631. <div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>&#160;};</div>
  632. <div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>&#160;</div>
  633. <div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>&#160;</div>
  634. <div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  635. <div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>&#160;<span class="comment">// Inline some methods that are either just passthroughs to other string</span></div>
  636. <div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>&#160;<span class="comment">// methods, or which are key for performance.</span></div>
  637. <div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
  638. <div class="line"><a name="l01442"></a><span class="lineno"><a class="line" href="classXMLString.html#a3af07f8a93eab09114656d875212e4b7"> 1442</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classXMLString.html#a3af07f8a93eab09114656d875212e4b7">XMLString::moveChars</a>( <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> targetStr</div>
  639. <div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> srcStr</div>
  640. <div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> count)</div>
  641. <div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;{</div>
  642. <div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160; memcpy(targetStr, srcStr, count * <span class="keyword">sizeof</span>(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>));</div>
  643. <div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;}</div>
  644. <div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;</div>
  645. <div class="line"><a name="l01449"></a><span class="lineno"><a class="line" href="classXMLString.html#afc7da888638f2c2e69629689bffd325c"> 1449</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <a class="code" href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">XMLString::stringLen</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> src)</div>
  646. <div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;{</div>
  647. <div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160; <span class="keywordflow">if</span> (src == 0)</div>
  648. <div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>&#160; <span class="keywordflow">return</span> 0;</div>
  649. <div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160;</div>
  650. <div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* pszTmp = src;</div>
  651. <div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>&#160;</div>
  652. <div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>&#160; <span class="keywordflow">while</span> (*pszTmp++) ;</div>
  653. <div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>&#160;</div>
  654. <div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>&#160; <span class="keywordflow">return</span> (pszTmp - src - 1);</div>
  655. <div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>&#160;}</div>
  656. <div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>&#160;</div>
  657. <div class="line"><a name="l01461"></a><span class="lineno"><a class="line" href="classXMLString.html#ae53122c8ed75c1c59976b0554bf0515b"> 1461</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <a class="code" href="classXMLString.html#abd917532682cddc53a96706f4c388fc9">XMLString::replicate</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toRep,</div>
  658. <div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>&#160; <a class="code" href="classMemoryManager.html">MemoryManager</a>* <span class="keyword">const</span> manager)</div>
  659. <div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>&#160;{</div>
  660. <div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>&#160; <span class="comment">// If a null string, return a null string!</span></div>
  661. <div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* ret = 0;</div>
  662. <div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160; <span class="keywordflow">if</span> (toRep)</div>
  663. <div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160; {</div>
  664. <div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> len = <a class="code" href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">stringLen</a>(toRep);</div>
  665. <div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>&#160; ret = (<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>*) manager-&gt;<a class="code" href="classMemoryManager.html#a4955a5c169b701c6106c1541bbb96f17">allocate</a>((len+1) * <span class="keyword">sizeof</span>(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>)); <span class="comment">//new XMLCh[len + 1];</span></div>
  666. <div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>&#160; memcpy(ret, toRep, (len + 1) * <span class="keyword">sizeof</span>(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>));</div>
  667. <div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>&#160; }</div>
  668. <div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>&#160; <span class="keywordflow">return</span> ret;</div>
  669. <div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>&#160;}</div>
  670. <div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160;</div>
  671. <div class="line"><a name="l01475"></a><span class="lineno"><a class="line" href="classXMLString.html#af0cc56c2b99a26f4d6b505d814ac9f54"> 1475</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLString.html#a2325083c2425e7fa327b99a54a4b8355">XMLString::startsWith</a>( <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toTest</div>
  672. <div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> prefix)</div>
  673. <div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>&#160;{</div>
  674. <div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>&#160; <span class="keywordflow">return</span> (<a class="code" href="classXMLString.html#a948eee8fa4c56b66964e13222fe34ef5">compareNString</a>(toTest, prefix, <a class="code" href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">stringLen</a>(prefix)) == 0);</div>
  675. <div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;}</div>
  676. <div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>&#160;</div>
  677. <div class="line"><a name="l01481"></a><span class="lineno"><a class="line" href="classXMLString.html#ac39eb0339e1166fb178e6130297d0afc"> 1481</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLString.html#a4095ede23a05b215e0f63d4b8d27a514">XMLString::startsWithI</a>( <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toTest</div>
  678. <div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> prefix)</div>
  679. <div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>&#160;{</div>
  680. <div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>&#160; <span class="keywordflow">return</span> (<a class="code" href="classXMLString.html#a9299a515b10481dd4b11d03327b4ebda">compareNIString</a>(toTest, prefix, <a class="code" href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">stringLen</a>(prefix)) == 0);</div>
  681. <div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>&#160;}</div>
  682. <div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>&#160;</div>
  683. <div class="line"><a name="l01487"></a><span class="lineno"><a class="line" href="classXMLString.html#ab49422da0b0f90404fc36a72bdaf261c"> 1487</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLString.html#ab49422da0b0f90404fc36a72bdaf261c">XMLString::endsWith</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toTest,</div>
  684. <div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> suffix)</div>
  685. <div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>&#160;{</div>
  686. <div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>&#160;</div>
  687. <div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> suffixLen = <a class="code" href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">XMLString::stringLen</a>(suffix);</div>
  688. <div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>&#160;</div>
  689. <div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classXMLString.html#a0855ff8c47fc75b26e3b52c2d7f53a68">regionMatches</a>(toTest, (<span class="keywordtype">int</span>)(<a class="code" href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">XMLString::stringLen</a>(toTest) - suffixLen),</div>
  690. <div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>&#160; suffix, 0, suffixLen);</div>
  691. <div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>&#160;}</div>
  692. <div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;</div>
  693. <div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> XMLString::validateRegion(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str1,</div>
  694. <div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> offset1,</div>
  695. <div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> str2,</div>
  696. <div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> offset2,</div>
  697. <div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> charCount)</div>
  698. <div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>&#160;{</div>
  699. <div class="line"><a name="l01503"></a><span class="lineno"> 1503</span>&#160;</div>
  700. <div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>&#160; <span class="keywordflow">if</span> (offset1 &lt; 0 || offset2 &lt; 0 ||</div>
  701. <div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>&#160; (offset1 + charCount) &gt; <a class="code" href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">XMLString::stringLen</a>(str1) ||</div>
  702. <div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>&#160; (offset2 + charCount) &gt; <a class="code" href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">XMLString::stringLen</a>(str2) )</div>
  703. <div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
  704. <div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>&#160;</div>
  705. <div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
  706. <div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>&#160;}</div>
  707. <div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>&#160;</div>
  708. <div class="line"><a name="l01512"></a><span class="lineno"><a class="line" href="classXMLString.html#a71868e0fac05c3fffe67a81675de4e4c"> 1512</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLString.html#a71868e0fac05c3fffe67a81675de4e4c">XMLString::equals</a>( <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* str1</div>
  709. <div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* str2)</div>
  710. <div class="line"><a name="l01514"></a><span class="lineno"> 1514</span>&#160;{</div>
  711. <div class="line"><a name="l01515"></a><span class="lineno"> 1515</span>&#160; <span class="keywordflow">if</span> (str1 == str2)</div>
  712. <div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
  713. <div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>&#160;</div>
  714. <div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>&#160; <span class="keywordflow">if</span> (str1 == 0 || str2 == 0)</div>
  715. <div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>&#160; <span class="keywordflow">return</span> ((!str1 || !*str1) &amp;&amp; (!str2 || !*str2));</div>
  716. <div class="line"><a name="l01520"></a><span class="lineno"> 1520</span>&#160;</div>
  717. <div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>&#160; <span class="keywordflow">while</span> (*str1)</div>
  718. <div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>&#160; <span class="keywordflow">if</span>(*str1++ != *str2++) <span class="comment">// they are different (or str2 is shorter and we hit the NULL)</span></div>
  719. <div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
  720. <div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>&#160;</div>
  721. <div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>&#160; <span class="comment">// either both ended (and *str2 is 0 too), or str2 is longer</span></div>
  722. <div class="line"><a name="l01526"></a><span class="lineno"> 1526</span>&#160; <span class="keywordflow">return</span> (*str2==0);</div>
  723. <div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>&#160;}</div>
  724. <div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>&#160;</div>
  725. <div class="line"><a name="l01529"></a><span class="lineno"><a class="line" href="classXMLString.html#a72d8644d13292a0d8052718a9f6141c3"> 1529</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLString.html#a72d8644d13292a0d8052718a9f6141c3">XMLString::equalsN</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* str1,</div>
  726. <div class="line"><a name="l01530"></a><span class="lineno"> 1530</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* str2,</div>
  727. <div class="line"><a name="l01531"></a><span class="lineno"> 1531</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> n)</div>
  728. <div class="line"><a name="l01532"></a><span class="lineno"> 1532</span>&#160;{</div>
  729. <div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>&#160; <span class="keywordflow">if</span> (str1 == str2 || n == 0)</div>
  730. <div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
  731. <div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>&#160;</div>
  732. <div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>&#160; <span class="keywordflow">if</span> (str1 == 0 || str2 == 0)</div>
  733. <div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>&#160; <span class="keywordflow">return</span> ((!str1 || !*str1) &amp;&amp; (!str2 || !*str2));</div>
  734. <div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>&#160;</div>
  735. <div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>&#160; <span class="keywordflow">for</span> (; n != 0 &amp;&amp; *str1 &amp;&amp; *str2; --n, ++str1, ++str2)</div>
  736. <div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>&#160; <span class="keywordflow">if</span>(*str1 != *str2)</div>
  737. <div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>&#160; <span class="keywordflow">break</span>;</div>
  738. <div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>&#160;</div>
  739. <div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>&#160; <span class="keywordflow">return</span> n == 0 || *str1 == *str2; <span class="comment">// either equal or both ended premat.</span></div>
  740. <div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>&#160;}</div>
  741. <div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>&#160;</div>
  742. <div class="line"><a name="l01546"></a><span class="lineno"><a class="line" href="classXMLString.html#a4c1b3385f628a9db6f7cbae955c31d58"> 1546</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLString.html#a71868e0fac05c3fffe67a81675de4e4c">XMLString::equals</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* str1</div>
  743. <div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>&#160; , <span class="keyword">const</span> <span class="keywordtype">char</span>* str2)</div>
  744. <div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>&#160;{</div>
  745. <div class="line"><a name="l01549"></a><span class="lineno"> 1549</span>&#160; <span class="keywordflow">if</span> (str1 == str2)</div>
  746. <div class="line"><a name="l01550"></a><span class="lineno"> 1550</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
  747. <div class="line"><a name="l01551"></a><span class="lineno"> 1551</span>&#160;</div>
  748. <div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>&#160; <span class="keywordflow">if</span> (str1 == 0 || str2 == 0)</div>
  749. <div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>&#160; <span class="keywordflow">return</span> ((!str1 || !*str1) &amp;&amp; (!str2 || !*str2));</div>
  750. <div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>&#160;</div>
  751. <div class="line"><a name="l01555"></a><span class="lineno"> 1555</span>&#160; <span class="keywordflow">while</span> (*str1)</div>
  752. <div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>&#160; <span class="keywordflow">if</span>(*str1++ != *str2++) <span class="comment">// they are different (or str2 is shorter and we hit the NULL)</span></div>
  753. <div class="line"><a name="l01557"></a><span class="lineno"> 1557</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
  754. <div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>&#160;</div>
  755. <div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>&#160; <span class="comment">// either both ended (and *str2 is 0 too), or str2 is longer</span></div>
  756. <div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>&#160; <span class="keywordflow">return</span> (*str2==0);</div>
  757. <div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>&#160;}</div>
  758. <div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>&#160;</div>
  759. <div class="line"><a name="l01563"></a><span class="lineno"><a class="line" href="classXMLString.html#a80c1fc1161594d31816333f2ec38ec6f"> 1563</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classXMLString.html#a72d8644d13292a0d8052718a9f6141c3">XMLString::equalsN</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str1,</div>
  760. <div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* str2,</div>
  761. <div class="line"><a name="l01565"></a><span class="lineno"> 1565</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> n)</div>
  762. <div class="line"><a name="l01566"></a><span class="lineno"> 1566</span>&#160;{</div>
  763. <div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>&#160; <span class="keywordflow">if</span> (str1 == str2 || n == 0)</div>
  764. <div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
  765. <div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>&#160;</div>
  766. <div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160; <span class="keywordflow">if</span> (str1 == 0 || str2 == 0)</div>
  767. <div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>&#160; <span class="keywordflow">return</span> ((!str1 || !*str1) &amp;&amp; (!str2 || !*str2));</div>
  768. <div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;</div>
  769. <div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160; <span class="keywordflow">for</span> (; n != 0 &amp;&amp; *str1 &amp;&amp; *str2; --n, ++str1, ++str2)</div>
  770. <div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>&#160; <span class="keywordflow">if</span>(*str1 != *str2)</div>
  771. <div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>&#160; <span class="keywordflow">break</span>;</div>
  772. <div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>&#160;</div>
  773. <div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>&#160; <span class="keywordflow">return</span> n == 0 || *str1 == *str2; <span class="comment">// either equal or both ended premat.</span></div>
  774. <div class="line"><a name="l01578"></a><span class="lineno"> 1578</span>&#160;}</div>
  775. <div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>&#160;</div>
  776. <div class="line"><a name="l01580"></a><span class="lineno"><a class="line" href="classXMLString.html#a507f84b43cc29c44e3275dc90c0c3c1f"> 1580</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="classXMLString.html#a41c8bc79e76b0ad3fbf5db58e0ae38a4">XMLString::lastIndexOf</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> toSearch, <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> ch)</div>
  777. <div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>&#160;{</div>
  778. <div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classXMLString.html#a41c8bc79e76b0ad3fbf5db58e0ae38a4">XMLString::lastIndexOf</a>(ch, toSearch, <a class="code" href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">stringLen</a>(toSearch));</div>
  779. <div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>&#160;}</div>
  780. <div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>&#160;</div>
  781. <div class="line"><a name="l01585"></a><span class="lineno"><a class="line" href="classXMLString.html#a065fa60442a4ee6f4a46cdd779665fe8"> 1585</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <a class="code" href="classXMLString.html#a0279bdbe495354cca5b918a0000742ef">XMLString::hash</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> tohash</div>
  782. <div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hashModulus)</div>
  783. <div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>&#160;{</div>
  784. <div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>&#160; <span class="keywordflow">if</span> (tohash == 0 || *tohash == 0)</div>
  785. <div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>&#160; <span class="keywordflow">return</span> 0;</div>
  786. <div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>&#160;</div>
  787. <div class="line"><a name="l01591"></a><span class="lineno"> 1591</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* curCh = tohash;</div>
  788. <div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hashVal = (<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>)(*curCh++);</div>
  789. <div class="line"><a name="l01593"></a><span class="lineno"> 1593</span>&#160;</div>
  790. <div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>&#160; <span class="keywordflow">while</span> (*curCh)</div>
  791. <div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>&#160; hashVal = (hashVal * 38) + (hashVal &gt;&gt; 24) + (<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>)(*curCh++);</div>
  792. <div class="line"><a name="l01596"></a><span class="lineno"> 1596</span>&#160;</div>
  793. <div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>&#160; <span class="comment">// Divide by modulus</span></div>
  794. <div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>&#160; <span class="keywordflow">return</span> hashVal % hashModulus;</div>
  795. <div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>&#160;}</div>
  796. <div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160;</div>
  797. <div class="line"><a name="l01601"></a><span class="lineno"><a class="line" href="classXMLString.html#a715ad7909a5d937143ef82721774d3f0"> 1601</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> <a class="code" href="classXMLString.html#a715ad7909a5d937143ef82721774d3f0">XMLString::hashN</a>(<span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* <span class="keyword">const</span> tohash</div>
  798. <div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> n</div>
  799. <div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>&#160; , <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hashModulus)</div>
  800. <div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>&#160;{</div>
  801. <div class="line"><a name="l01605"></a><span class="lineno"> 1605</span>&#160; <span class="keywordflow">if</span> (tohash == 0 || n == 0)</div>
  802. <div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>&#160; <span class="keywordflow">return</span> 0;</div>
  803. <div class="line"><a name="l01607"></a><span class="lineno"> 1607</span>&#160;</div>
  804. <div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>&#160; <span class="keyword">const</span> <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* curCh = tohash;</div>
  805. <div class="line"><a name="l01609"></a><span class="lineno"> 1609</span>&#160; <a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> hashVal = (<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>)(*curCh++);</div>
  806. <div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>&#160;</div>
  807. <div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>&#160; <span class="keywordflow">for</span>(<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> i=0;i&lt;n;i++)</div>
  808. <div class="line"><a name="l01612"></a><span class="lineno"> 1612</span>&#160; hashVal = (hashVal * 38) + (hashVal &gt;&gt; 24) + (<a class="code" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>)(*curCh++);</div>
  809. <div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>&#160;</div>
  810. <div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>&#160; <span class="comment">// Divide by modulus</span></div>
  811. <div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>&#160; <span class="keywordflow">return</span> hashVal % hashModulus;</div>
  812. <div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>&#160;}</div>
  813. <div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>&#160;</div>
  814. <div class="line"><a name="l01618"></a><span class="lineno"> 1618</span>&#160;<a class="code" href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div>
  815. <div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>&#160;</div>
  816. <div class="line"><a name="l01620"></a><span class="lineno"> 1620</span>&#160;<span class="preprocessor">#endif</span></div>
  817. <div class="ttc" id="classXMLString_html_abd917532682cddc53a96706f4c388fc9"><div class="ttname"><a href="classXMLString.html#abd917532682cddc53a96706f4c388fc9">XMLString::replicate</a></div><div class="ttdeci">static char * replicate(const char *const toRep, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)</div><div class="ttdoc">Replicates a string NOTE: The returned buffer is allocated with the MemoryManager. </div></div>
  818. <div class="ttc" id="classXMLPlatformUtils_html_a97eff0d9fff3567bea3acd3ca4d95252"><div class="ttname"><a href="classXMLPlatformUtils.html#a97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></div><div class="ttdeci">static MemoryManager * fgMemoryManager</div><div class="ttdoc">The configurable memory manager. </div><div class="ttdef"><b>Definition:</b> PlatformUtils.hpp:121</div></div>
  819. <div class="ttc" id="MemoryManager_8hpp_html"><div class="ttname"><a href="MemoryManager_8hpp.html">MemoryManager.hpp</a></div></div>
  820. <div class="ttc" id="classXMLString_html_a715ad7909a5d937143ef82721774d3f0"><div class="ttname"><a href="classXMLString.html#a715ad7909a5d937143ef82721774d3f0">XMLString::hashN</a></div><div class="ttdeci">static XMLSize_t hashN(const XMLCh *const toHash, const XMLSize_t numChars, const XMLSize_t hashModulus)</div><div class="ttdoc">Hashes a string given a modulus taking a maximum number of characters as the limit. </div><div class="ttdef"><b>Definition:</b> XMLString.hpp:1601</div></div>
  821. <div class="ttc" id="classXMLString_html_a3af07f8a93eab09114656d875212e4b7"><div class="ttname"><a href="classXMLString.html#a3af07f8a93eab09114656d875212e4b7">XMLString::moveChars</a></div><div class="ttdeci">static void moveChars(XMLCh *const targetStr, const XMLCh *const srcStr, const XMLSize_t count)</div><div class="ttdoc">Moves X number of chars. </div><div class="ttdef"><b>Definition:</b> XMLString.hpp:1442</div></div>
  822. <div class="ttc" id="classXMLString_html_a0855ff8c47fc75b26e3b52c2d7f53a68"><div class="ttname"><a href="classXMLString.html#a0855ff8c47fc75b26e3b52c2d7f53a68">XMLString::regionMatches</a></div><div class="ttdeci">static bool regionMatches(const XMLCh *const str1, const int offset1, const XMLCh *const str2, const int offset2, const XMLSize_t charCount)</div><div class="ttdoc">Lexicographically compares str1 and str2 regions and returns true if they are equal, otherwise false. </div></div>
  823. <div class="ttc" id="classMemoryManager_html"><div class="ttname"><a href="classMemoryManager.html">MemoryManager</a></div><div class="ttdoc">Configurable memory manager. </div><div class="ttdef"><b>Definition:</b> MemoryManager.hpp:39</div></div>
  824. <div class="ttc" id="classXMLString_html_a07607dd80d903f52c296f0ce8c3fa9c4"><div class="ttname"><a href="classXMLString.html#a07607dd80d903f52c296f0ce8c3fa9c4">XMLString::stringLen</a></div><div class="ttdeci">static XMLSize_t stringLen(const char *const src)</div><div class="ttdoc">Get the length of the string. </div></div>
  825. <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_ac0f7e36996cd03eb43bcee10321f77cd"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a></div><div class="ttdeci">SIZE_T XMLSize_t</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:86</div></div>
  826. <div class="ttc" id="XercesDefs_8hpp_html_a43d74fa53d868d978f3e97cbb78b194d"><div class="ttname"><a href="XercesDefs_8hpp.html#a43d74fa53d868d978f3e97cbb78b194d">XERCES_CPP_NAMESPACE_BEGIN</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_BEGIN</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:112</div></div>
  827. <div class="ttc" id="classXMLPlatformUtils_html"><div class="ttname"><a href="classXMLPlatformUtils.html">XMLPlatformUtils</a></div><div class="ttdoc">Utilities that must be implemented in a platform-specific way. </div><div class="ttdef"><b>Definition:</b> PlatformUtils.hpp:68</div></div>
  828. <div class="ttc" id="Xerces__autoconf__config_8borland_8hpp_html_a8cb107980a360c490ad7661f5d27cc0e"><div class="ttname"><a href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a></div><div class="ttdeci">wchar_t XMLCh</div><div class="ttdef"><b>Definition:</b> Xerces_autoconf_config.borland.hpp:92</div></div>
  829. <div class="ttc" id="classXMLString_html_a41c8bc79e76b0ad3fbf5db58e0ae38a4"><div class="ttname"><a href="classXMLString.html#a41c8bc79e76b0ad3fbf5db58e0ae38a4">XMLString::lastIndexOf</a></div><div class="ttdeci">static int lastIndexOf(const char *const toSearch, const char ch)</div><div class="ttdoc">Provides the index of the last occurrence of a character within a string. </div></div>
  830. <div class="ttc" id="classXMLString_html_a4095ede23a05b215e0f63d4b8d27a514"><div class="ttname"><a href="classXMLString.html#a4095ede23a05b215e0f63d4b8d27a514">XMLString::startsWithI</a></div><div class="ttdeci">static bool startsWithI(const char *const toTest, const char *const prefix)</div><div class="ttdoc">Tells if the sub-string appears within a string at the beginning without regard to case...</div></div>
  831. <div class="ttc" id="XercesDefs_8hpp_html_a97a524372e218133a8eb0aca39b4bd21"><div class="ttname"><a href="XercesDefs_8hpp.html#a97a524372e218133a8eb0aca39b4bd21">XMLUTIL_EXPORT</a></div><div class="ttdeci">#define XMLUTIL_EXPORT</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:162</div></div>
  832. <div class="ttc" id="classXMLString_html_a72d8644d13292a0d8052718a9f6141c3"><div class="ttname"><a href="classXMLString.html#a72d8644d13292a0d8052718a9f6141c3">XMLString::equalsN</a></div><div class="ttdeci">static bool equalsN(const XMLCh *str1, const XMLCh *str2, XMLSize_t n)</div><div class="ttdoc">compares str1 and str2 </div><div class="ttdef"><b>Definition:</b> XMLString.hpp:1529</div></div>
  833. <div class="ttc" id="classXMLString_html_a2325083c2425e7fa327b99a54a4b8355"><div class="ttname"><a href="classXMLString.html#a2325083c2425e7fa327b99a54a4b8355">XMLString::startsWith</a></div><div class="ttdeci">static bool startsWith(const char *const toTest, const char *const prefix)</div><div class="ttdoc">Tells if the sub-string appears within a string at the beginning. </div></div>
  834. <div class="ttc" id="XercesDefs_8hpp_html_af03d5cb905763ef7a7bd22ab82718285"><div class="ttname"><a href="XercesDefs_8hpp.html#af03d5cb905763ef7a7bd22ab82718285">XERCES_CPP_NAMESPACE_END</a></div><div class="ttdeci">#define XERCES_CPP_NAMESPACE_END</div><div class="ttdef"><b>Definition:</b> XercesDefs.hpp:113</div></div>
  835. <div class="ttc" id="classMemoryManager_html_a4955a5c169b701c6106c1541bbb96f17"><div class="ttname"><a href="classMemoryManager.html#a4955a5c169b701c6106c1541bbb96f17">MemoryManager::allocate</a></div><div class="ttdeci">virtual void * allocate(XMLSize_t size)=0</div><div class="ttdoc">This method allocates requested memory. </div></div>
  836. <div class="ttc" id="classXMLLCPTranscoder_html"><div class="ttname"><a href="classXMLLCPTranscoder.html">XMLLCPTranscoder</a></div><div class="ttdef"><b>Definition:</b> TransService.hpp:387</div></div>
  837. <div class="ttc" id="classXMLString_html"><div class="ttname"><a href="classXMLString.html">XMLString</a></div><div class="ttdoc">Class for representing native character strings and handling common string operations. </div><div class="ttdef"><b>Definition:</b> XMLString.hpp:45</div></div>
  838. <div class="ttc" id="classXMLString_html_a0279bdbe495354cca5b918a0000742ef"><div class="ttname"><a href="classXMLString.html#a0279bdbe495354cca5b918a0000742ef">XMLString::hash</a></div><div class="ttdeci">static XMLSize_t hash(const char *const toHash, const XMLSize_t hashModulus)</div><div class="ttdoc">Hashes a string given a modulus. </div></div>
  839. <div class="ttc" id="classXMLString_html_ab49422da0b0f90404fc36a72bdaf261c"><div class="ttname"><a href="classXMLString.html#ab49422da0b0f90404fc36a72bdaf261c">XMLString::endsWith</a></div><div class="ttdeci">static bool endsWith(const XMLCh *const toTest, const XMLCh *const suffix)</div><div class="ttdoc">Tells if the sub-string appears within a string at the end. </div><div class="ttdef"><b>Definition:</b> XMLString.hpp:1487</div></div>
  840. <div class="ttc" id="classXMLString_html_a9299a515b10481dd4b11d03327b4ebda"><div class="ttname"><a href="classXMLString.html#a9299a515b10481dd4b11d03327b4ebda">XMLString::compareNIString</a></div><div class="ttdeci">static int compareNIString(const char *const str1, const char *const str2, const XMLSize_t count)</div><div class="ttdoc">Lexicographically compares, at most, the first count characters in str1 and str2 without regard to ca...</div></div>
  841. <div class="ttc" id="classXMLString_html_a71868e0fac05c3fffe67a81675de4e4c"><div class="ttname"><a href="classXMLString.html#a71868e0fac05c3fffe67a81675de4e4c">XMLString::equals</a></div><div class="ttdeci">static bool equals(const XMLCh *str1, const XMLCh *str2)</div><div class="ttdoc">compares str1 and str2 </div><div class="ttdef"><b>Definition:</b> XMLString.hpp:1512</div></div>
  842. <div class="ttc" id="classXMLString_html_a948eee8fa4c56b66964e13222fe34ef5"><div class="ttname"><a href="classXMLString.html#a948eee8fa4c56b66964e13222fe34ef5">XMLString::compareNString</a></div><div class="ttdeci">static int compareNString(const char *const str1, const char *const str2, const XMLSize_t count)</div><div class="ttdoc">Lexicographically compares, at most, the first count characters in str1 and str2 and returns a value ...</div></div>
  843. </div><!-- fragment --></div><!-- contents -->
  844. <!-- start footer part -->
  845. <hr class="footer"/><address class="footer"><small>
  846. Generated on Wed Mar 18 2015 10:43:37 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  847. <img class="footer" src="doxygen.png" alt="doxygen"/>
  848. </a> 1.8.9.1
  849. </small></address>
  850. </body>
  851. </html>