update dev300-m58
[ooovba.git] / sal / qa / OStringBuffer / rtl_String_Const.h
blobaa0901edd905dde83a8a9606c82f09346e1d655b
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: rtl_String_Const.h,v $
10 * $Revision: 1.13 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 //------------------------------------------------------------------------
32 //------------------------------------------------------------------------
34 #ifndef _RTL_STRING_CONST_H_
35 #define _RTL_STRING_CONST_H_
37 #ifndef _RTL_STRING_UTILS_HXX_
38 #include <rtl_String_Utils.hxx>
39 #endif
41 //------------------------------------------------------------------------
42 //------------------------------------------------------------------------
44 #include <limits.h>
46 //------------------------------------------------------------------------
47 //------------------------------------------------------------------------
49 #ifndef _SAL_TYPES_H_
50 #include <sal/types.h>
51 #endif
53 #ifndef _RTL_TEXTENC_H
54 #include <rtl/textenc.h>
55 #endif
57 #ifndef _RTL_USTRING_H_
58 #include <rtl/ustring.h>
59 #endif
61 //------------------------------------------------------------------------
62 //------------------------------------------------------------------------
64 #ifdef __cplusplus
65 extern "C"
67 #endif
69 //------------------------------------------------------------------------
70 //------------------------------------------------------------------------
72 static const rtl_TextEncoding kEncodingRTLTextUSASCII = RTL_TEXTENCODING_ASCII_US;
74 //------------------------------------------------------------------------
75 //------------------------------------------------------------------------
77 static const sal_uInt32 kConvertFlagsOUStringToOString = OUSTRING_TO_OSTRING_CVTFLAGS;
78 static const sal_uInt32 kConvertFlagsOStringToOUString = OSTRING_TO_OUSTRING_CVTFLAGS;
80 //------------------------------------------------------------------------
81 //------------------------------------------------------------------------
83 static const sal_Char *kTestStr1 = "Sun Microsystems";
84 static const sal_Char *kTestStr2 = "Sun Microsystems Java Technology";
85 static const sal_Char *kTestStr3 = "Sun microsystems";
86 static const sal_Char *kTestStr7 = "Sun ";
87 static const sal_Char *kTestStr8 = "Microsystems";
88 static const sal_Char *kTestStr14 = " Sun Microsystems";
89 static const sal_Char *kTestStr17 = " Sun Microsystems ";
90 static const sal_Char *kTestStr23 = " Java Technology";
91 static const sal_Char *kTestStr25 = "";
92 static const sal_Char *kTestStr27 = "s";
93 static const sal_Char *kTestStr28 = "\50\3\5\7\11\13\15\17sun";
94 static const sal_Char *kTestStr29 = "\50\3\5\7\11\13\15\17sun\21\23\25\27\31\33\50";
95 static const sal_Char *kTestStr31 = "sun Microsystems";
96 static const sal_Char *kTestStr32 = "Sun Microsystem ";
97 static const sal_Char *kTestStr33 = " ";
98 static const sal_Char *kTestStr34 = "\50\5\5\7\11\13\15\17sun";
99 static const sal_Char *kTestStr35 = "\50\373\5\7\11\13\15\17sun";
100 static const sal_Char *kTestStr36 = "Microsystems Java Technology";
101 static const sal_Char *kTestStr37 = "Sun Java Technology";
102 static const sal_Char *kTestStr38 = "\21\23\25\27\31\33\50";
103 static const sal_Char *kTestStr39 = "\50\3\5\7\11\13\15\17sun Sun Microsystems ";
104 static const sal_Char *kTestStr40 = "\50\3\5\7\11\13\15\17sunsun Microsystems";
105 static const sal_Char *kTestStr45 = "Sun true";
106 static const sal_Char *kTestStr46 = "Sun false";
107 static const sal_Char *kTestStr47 = "true";
108 static const sal_Char *kTestStr48 = "false";
109 static const sal_Char *kTestStr49 = "\50\3\5\7\11\13\15\17suntrue";
110 static const sal_Char *kTestStr50 = "\50\3\5\7\11\13\15\17sunfalse";
111 static const sal_Char *kTestStr51 = "Sun M";
112 //static const sal_Char *kTestStr52 = "Sun \077777";
113 //static const sal_Char *kTestStr53 = "Sun \100000";
114 //static const sal_Char *kTestStr54 = "\77777";
115 //static const sal_Char *kTestStr55 = "\100000";
116 static const sal_Char *kTestStr56 = "\50\3\5\7\11\13\15\17suns";
117 //static const sal_Char *kTestStr57 = "\50\3\5\7\11\13\15\17sun\77777";
118 //static const sal_Char *kTestStr58 = "\50\3\5\7\11\13\15\17sun\10000";
119 static const sal_Char *kTestStr59 = "Sun 11";
120 static const sal_Char *kTestStr60 = "11";
121 static const sal_Char *kTestStr61 = "\50\3\5\7\11\13\15\17sun11";
122 static const sal_Char *kTestStr62 = "Sun 0";
123 static const sal_Char *kTestStr63 = "Sun -11";
124 static const sal_Char *kTestStr64 = "Sun 2147483647";
125 static const sal_Char *kTestStr65 = "Sun -2147483648";
126 static const sal_Char *kTestStr66 = "0";
127 static const sal_Char *kTestStr67 = "-11";
128 static const sal_Char *kTestStr68 = "2147483647";
129 static const sal_Char *kTestStr69 = "-2147483648";
130 static const sal_Char *kTestStr70 = "\50\3\5\7\11\13\15\17sun0";
131 static const sal_Char *kTestStr71 = "\50\3\5\7\11\13\15\17sun-11";
132 static const sal_Char *kTestStr72 = "\50\3\5\7\11\13\15\17sun2147483647";
133 static const sal_Char *kTestStr73 = "\50\3\5\7\11\13\15\17sun-2147483648";
134 static const sal_Char *kTestStr116 = "Sun 9223372036854775807";
135 static const sal_Char *kTestStr117 = "Sun -9223372036854775808";
136 static const sal_Char *kTestStr118 = "9223372036854775807";
137 static const sal_Char *kTestStr119 = "-9223372036854775808";
138 static const sal_Char *kTestStr120 = "\50\3\5\7\11\13\15\17sun9223372036854775807";
139 static const sal_Char *kTestStr121 = "\50\3\5\7\11\13\15\17sun-9223372036854775808";
140 static const sal_Char *kTestStr143 = "Sun \377";
141 static const sal_Char *kTestStr144 = "\377";
142 static const sal_Char *kTestStr145 = "\50\3\5\7\11\13\15\17sun\377";
144 //------------------------------------------------------------------------
145 //------------------------------------------------------------------------
147 static const sal_Int32 kTestStr1Len = 16;
148 static const sal_Int32 kTestStr2Len = 32;
149 static const sal_Int32 kTestStr3Len = 16;
150 static const sal_Int32 kTestStr4Len = 16;
151 static const sal_Int32 kTestStr5Len = 16;
152 static const sal_Int32 kTestStr6Len = 15;
153 static const sal_Int32 kTestStr7Len = 4;
154 static const sal_Int32 kTestStr8Len = 12;
155 static const sal_Int32 kTestStr9Len = 32;
156 static const sal_Int32 kTestStr10Len = 17;
157 static const sal_Int32 kTestStr11Len = 17;
158 static const sal_Int32 kTestStr12Len = 18;
159 static const sal_Int32 kTestStr13Len = 19;
160 static const sal_Int32 kTestStr14Len = 19;
161 static const sal_Int32 kTestStr15Len = 20;
162 static const sal_Int32 kTestStr16Len = 20;
163 static const sal_Int32 kTestStr17Len = 22;
164 static const sal_Int32 kTestStr18Len = 16;
165 static const sal_Int32 kTestStr19Len = 22;
166 static const sal_Int32 kTestStr20Len = 3;
167 static const sal_Int32 kTestStr21Len = 3;
168 static const sal_Int32 kTestStr22Len = 32;
169 static const sal_Int32 kTestStr23Len = 16;
170 static const sal_Int32 kTestStr24Len = 31;
171 static const sal_Int32 kTestStr25Len = 0;
172 static const sal_Int32 kTestStr26Len = 4;
173 static const sal_Int32 kTestStr27Len = 1;
174 static const sal_Int32 kTestStr28Len = 11;
175 static const sal_Int32 kTestStr29Len = 18;
176 static const sal_Int32 kTestStr30Len = 10;
177 static const sal_Int32 kTestStr31Len = 16;
178 static const sal_Int32 kTestStr32Len = 16;
179 static const sal_Int32 kTestStr33Len = 1;
180 static const sal_Int32 kTestStr34Len = 11;
181 static const sal_Int32 kTestStr35Len = 11;
182 static const sal_Int32 kTestStr36Len = 28;
183 static const sal_Int32 kTestStr37Len = 20;
184 static const sal_Int32 kTestStr38Len = 7;
185 static const sal_Int32 kTestStr39Len = 33;
186 static const sal_Int32 kTestStr40Len = 27;
187 static const sal_Int32 kTestStr41Len = 3;
188 static const sal_Int32 kTestStr42Len = 10;
189 static const sal_Int32 kTestStr43Len = 13;
190 static const sal_Int32 kTestStr44Len = 2;
191 static const sal_Int32 kTestStr45Len = 8;
192 static const sal_Int32 kTestStr46Len = 9;
193 static const sal_Int32 kTestStr47Len = 4;
194 static const sal_Int32 kTestStr48Len = 5;
195 static const sal_Int32 kTestStr49Len = 15;
196 static const sal_Int32 kTestStr50Len = 16;
197 static const sal_Int32 kTestStr51Len = 5;
198 static const sal_Int32 kTestStr52Len = 5;
199 static const sal_Int32 kTestStr53Len = 5;
200 static const sal_Int32 kTestStr54Len = 1;
201 static const sal_Int32 kTestStr55Len = 1;
202 static const sal_Int32 kTestStr56Len = 12;
203 static const sal_Int32 kTestStr57Len = 12;
204 static const sal_Int32 kTestStr58Len = 12;
205 static const sal_Int32 kTestStr59Len = 6;
206 static const sal_Int32 kTestStr60Len = 2;
207 static const sal_Int32 kTestStr61Len = 13;
208 static const sal_Int32 kTestStr62Len = 5;
209 static const sal_Int32 kTestStr63Len = 7;
210 static const sal_Int32 kTestStr64Len = 14;
211 static const sal_Int32 kTestStr65Len = 15;
212 static const sal_Int32 kTestStr66Len = 1;
213 static const sal_Int32 kTestStr67Len = 3;
214 static const sal_Int32 kTestStr68Len = 10;
215 static const sal_Int32 kTestStr69Len = 11;
216 static const sal_Int32 kTestStr70Len = 12;
217 static const sal_Int32 kTestStr71Len = 14;
218 static const sal_Int32 kTestStr72Len = 21;
219 static const sal_Int32 kTestStr73Len = 22;
220 static const sal_Int32 kTestStr74Len = 7;
221 static const sal_Int32 kTestStr75Len = 7;
222 static const sal_Int32 kTestStr76Len = 10;
223 static const sal_Int32 kTestStr77Len = 12;
224 static const sal_Int32 kTestStr78Len = 12;
225 static const sal_Int32 kTestStr79Len = 13;
226 static const sal_Int32 kTestStr80Len = 13;
227 static const sal_Int32 kTestStr81Len = 3;
228 static const sal_Int32 kTestStr82Len = 3;
229 static const sal_Int32 kTestStr83Len = 6;
230 static const sal_Int32 kTestStr84Len = 8;
231 static const sal_Int32 kTestStr85Len = 8;
232 static const sal_Int32 kTestStr86Len = 9;
233 static const sal_Int32 kTestStr87Len = 9;
234 static const sal_Int32 kTestStr88Len = 14;
235 static const sal_Int32 kTestStr89Len = 14;
236 static const sal_Int32 kTestStr90Len = 17;
237 static const sal_Int32 kTestStr91Len = 19;
238 static const sal_Int32 kTestStr92Len = 19;
239 static const sal_Int32 kTestStr93Len = 20;
240 static const sal_Int32 kTestStr94Len = 20;
241 static const sal_Int32 kTestStr95Len = 8;
242 static const sal_Int32 kTestStr96Len = 8;
243 static const sal_Int32 kTestStr97Len = 11;
244 static const sal_Int32 kTestStr98Len = 13;
245 static const sal_Int32 kTestStr99Len = 13;
246 static const sal_Int32 kTestStr100Len = 14;
247 static const sal_Int32 kTestStr101Len = 14;
248 static const sal_Int32 kTestStr102Len = 4;
249 static const sal_Int32 kTestStr103Len = 4;
250 static const sal_Int32 kTestStr104Len = 7;
251 static const sal_Int32 kTestStr105Len = 9;
252 static const sal_Int32 kTestStr106Len = 9;
253 static const sal_Int32 kTestStr107Len = 10;
254 static const sal_Int32 kTestStr108Len = 10;
255 static const sal_Int32 kTestStr109Len = 15;
256 static const sal_Int32 kTestStr110Len = 15;
257 static const sal_Int32 kTestStr111Len = 18;
258 static const sal_Int32 kTestStr112Len = 20;
259 static const sal_Int32 kTestStr113Len = 20;
260 static const sal_Int32 kTestStr114Len = 21;
261 static const sal_Int32 kTestStr115Len = 21;
262 static const sal_Int32 kTestStr116Len = 23;
263 static const sal_Int32 kTestStr117Len = 24;
264 static const sal_Int32 kTestStr118Len = 19;
265 static const sal_Int32 kTestStr119Len = 20;
266 static const sal_Int32 kTestStr120Len = 30;
267 static const sal_Int32 kTestStr121Len = 31;
268 static const sal_Int32 kTestStr122Len = 16;
269 static const sal_Int32 kTestStr123Len = 21;
270 static const sal_Int32 kTestStr124Len = 23;
271 static const sal_Int32 kTestStr125Len = 30;
272 static const sal_Int32 kTestStr126Len = 12;
273 static const sal_Int32 kTestStr127Len = 17;
274 static const sal_Int32 kTestStr128Len = 19;
275 static const sal_Int32 kTestStr129Len = 26;
276 static const sal_Int32 kTestStr130Len = 23;
277 static const sal_Int32 kTestStr131Len = 28;
278 static const sal_Int32 kTestStr132Len = 30;
279 static const sal_Int32 kTestStr133Len = 37;
280 static const sal_Int32 kTestStr134Len = 22;
281 static const sal_Int32 kTestStr135Len = 24;
282 static const sal_Int32 kTestStr136Len = 31;
283 static const sal_Int32 kTestStr137Len = 18;
284 static const sal_Int32 kTestStr138Len = 20;
285 static const sal_Int32 kTestStr139Len = 27;
286 static const sal_Int32 kTestStr140Len = 29;
287 static const sal_Int32 kTestStr141Len = 31;
288 static const sal_Int32 kTestStr142Len = 38;
289 static const sal_Int32 kTestStr143Len = 5;
290 static const sal_Int32 kTestStr144Len = 1;
291 static const sal_Int32 kTestStr145Len = 12;
292 static const sal_Int32 kTestStr146Len = 19;
293 static const sal_Int32 kTestStr147Len = 19;
294 static const sal_Int32 kTestStr148Len = 19;
295 static const sal_Int32 kTestStr149Len = 32;
296 static const sal_Int32 kTestStr150Len = 32;
297 static const sal_Int32 kTestStr151Len = 31;
298 static const sal_Int32 kTestStr152Len = 31;
299 static const sal_Int32 kTestStr153Len = 31;
300 static const sal_Int32 kTestStr154Len = 36;
301 static const sal_Int32 kTestStr155Len = 36;
302 static const sal_Int32 kTestStr156Len = 36;
303 static const sal_Int32 kTestStr157Len = 49;
304 static const sal_Int32 kTestStr158Len = 49;
305 static const sal_Int32 kTestStr159Len = 49;
306 static const sal_Int32 kTestStr160Len = 48;
307 static const sal_Int32 kTestStr161Len = 48;
308 static const sal_Int32 kTestStr162Len = 48;
309 static const sal_Int32 kTestStr163Len = 15;
310 static const sal_Int32 kTestStr164Len = 15;
311 static const sal_Int32 kTestStr165Len = 15;
312 static const sal_Int32 kTestStr166Len = 28;
313 static const sal_Int32 kTestStr167Len = 28;
314 static const sal_Int32 kTestStr168Len = 28;
315 static const sal_Int32 kTestStr169Len = 27;
316 static const sal_Int32 kTestStr170Len = 27;
317 static const sal_Int32 kTestStr171Len = 27;
318 static const sal_Int32 kTestStr1PlusStr6Len = kTestStr1Len + kTestStr6Len;
320 //------------------------------------------------------------------------
321 //------------------------------------------------------------------------
322 static const sal_Int32 uTestStr1Len = 16;
323 static const sal_Int32 uTestStr2Len = 32;
324 static const sal_Int32 uTestStr3Len = 16;
325 static const sal_Int32 uTestStr4Len = 16;
326 static const sal_Int32 uTestStr5Len = 16;
327 static const sal_Int32 uTestStr9Len = 32;
328 static const sal_Int32 uTestStr22Len = 32;
332 //------------------------------------------------------------------------
333 //------------------------------------------------------------------------
334 const sal_Unicode uTestStr31[]= {0x400,0x410,0x4DF};
335 const sal_Unicode uTestStr32[]= {0x9F9F,0xA000,0x8F80,0x9AD9};
339 //------------------------------------------------------------------------
340 //------------------------------------------------------------------------
342 static const sal_Int32 uTestStr31Len = 3;
343 static const sal_Int32 uTestStr32Len = 4;
345 //------------------------------------------------------------------------
346 //------------------------------------------------------------------------
348 static const sal_Int16 kRadixBinary = 2;
349 static const sal_Int16 kRadixOctol = 8;
350 static const sal_Int16 kRadixDecimal = 10;
351 static const sal_Int16 kRadixHexdecimal = 16;
352 static const sal_Int16 kRadixBase36 = 36;
354 //------------------------------------------------------------------------
355 //------------------------------------------------------------------------
357 static const sal_Int8 kSInt8Max = SCHAR_MAX;
358 static const sal_Int16 kUInt8Max = UCHAR_MAX;
359 static const sal_Int16 kSInt16Max = SHRT_MAX;
360 static const sal_Int32 kUInt16Max = USHRT_MAX;
361 static const sal_Int32 kSInt32Max = INT_MAX;
362 static const sal_Int64 kUInt32Max = UINT_MAX;
363 #if defined(UNX) || defined(OS2)
364 static const sal_Int64 kSInt64Max = 9223372036854775807LL;
365 #else
366 static const sal_Int64 kSInt64Max = 9223372036854775807;
367 #endif
369 //------------------------------------------------------------------------
371 static const sal_Int32 kInt32MaxNumsCount = 5;
373 static const sal_Int32 kInt32MaxNums[kInt32MaxNumsCount] =
375 kSInt8Max, kUInt8Max,
376 kSInt16Max, kUInt16Max,
377 kSInt32Max
380 static const sal_Int32 kInt64MaxNumsCount = 7;
382 static const sal_Int64 kInt64MaxNums[kInt64MaxNumsCount] =
384 kSInt8Max, kUInt8Max,
385 kSInt16Max, kUInt16Max,
386 kSInt32Max, kUInt32Max,
387 kSInt64Max
390 //------------------------------------------------------------------------
391 //------------------------------------------------------------------------
393 static const sal_Int32 kBinaryNumsCount = 16;
395 static const sal_Int32 kBinaryMaxNumsCount = 7;
397 //------------------------------------------------------------------------
399 static const sal_Int32 kOctolNumsCount = 16;
401 static const sal_Int32 kOctolMaxNumsCount = 7;
403 //------------------------------------------------------------------------
405 static const sal_Int32 kDecimalNumsCount = 16;
407 static const sal_Int32 kDecimalMaxNumsCount = 7;
409 //------------------------------------------------------------------------
411 static const sal_Int32 kHexDecimalNumsCount = 16;
413 static const sal_Int32 kHexDecimalMaxNumsCount = 7;
415 //------------------------------------------------------------------------
417 static const sal_Int32 kBase36NumsCount = 36;
419 static const sal_Int32 kBase36MaxNumsCount = 7;
421 //------------------------------------------------------------------------
422 //------------------------------------------------------------------------
423 static const sal_Int32 nDoubleCount=24;
424 static const double expValDouble[nDoubleCount]=
426 3.0,3.1,3.1415,3.1415926535,3.141592653589793,
427 3.1415926535897932,3.14159265358979323,3.1,
428 3.141592653589793238462643,9.1096e-31,2.997925e8,6.241e18,5.381e18,
429 1.7e-309,6.5822e-16,1.7e+307,2.2e30,3.1,3.1,-3.1,
430 0.0,0.0,0.0,1.00e+308
432 //------------------------------------------------------------------------
433 static const sal_Int32 nFloatCount=22;
434 static const float expValFloat[nFloatCount] =
436 3.0f,3.1f,3.1415f,3.14159f,3.141592f,
437 3.1415926f,3.14159265f,3.141592653589793238462643f,
438 6.5822e-16f,9.1096e-31f,2.997925e8f,6.241e18f,
439 1.00e38f,6.241e-37f,6.241e37f,3.1f,3.1f,-3.1f,
440 3.1f,0.0f,0.0f,0.0f
442 //------------------------------------------------------------------------
443 static const sal_Int32 nCharCount=15;
444 static const sal_Unicode expValChar[nCharCount] =
446 65,97,48,45,95,
447 21,27,29,
448 64,10,39,34,
449 0,0,83
451 //------------------------------------------------------------------------
452 static const sal_Int32 nDefaultCount=6;
453 static const sal_Unicode input1Default[nDefaultCount] =
455 77,115,85,119,32,0
457 static const sal_Int32 input2Default[nDefaultCount] =
459 0,0,0,0,0,0
461 static const sal_Int32 expValDefault[nDefaultCount] =
463 4,9,-1,-1,3,-1
465 //------------------------------------------------------------------------
466 static const sal_Int32 nNormalCount=10;
467 static const sal_Unicode input1Normal[nNormalCount] =
469 77,77,77,115,115,115,119,119,0,0
471 static const sal_Int32 input2Normal[nNormalCount] =
473 0,32,80,0,13,20,0,80,0,32
475 static const sal_Int32 expValNormal[nNormalCount] =
477 4,-1,-1,9,15,-1,-1,-1,-1,-1
479 //------------------------------------------------------------------------
480 static const sal_Int32 nlastDefaultCount=5;
481 static const sal_Unicode input1lastDefault[nlastDefaultCount] =
483 77,115,119,32,0
485 static const sal_Int32 input2lastDefault[nlastDefaultCount] =
487 31,31,31,31,31
489 static const sal_Int32 expVallastDefault[nlastDefaultCount] =
491 4,15,-1,21,-1
493 //------------------------------------------------------------------------
494 static const sal_Int32 nlastNormalCount=8;
495 static const sal_Unicode input1lastNormal[nlastNormalCount] =
497 77,77,77,115,115,119,119,0
499 static const sal_Int32 input2lastNormal[nlastNormalCount] =
501 29,0,80,31,3,31,80,31
503 static const sal_Int32 expVallastNormal[nlastNormalCount] =
505 4,-1,4,15,-1,-1,-1,-1
507 //------------------------------------------------------------------------
508 static const sal_Int32 nStrDefaultCount=6;
509 static const sal_Int32 input2StrDefault[nStrDefaultCount] =
511 0,0,0,0,0,0
513 static const sal_Int32 expValStrDefault[nStrDefaultCount] =
515 0,4,-1,-1,-1,3
517 //------------------------------------------------------------------------
518 static const sal_Int32 nStrNormalCount=9;
519 static const sal_Int32 input2StrNormal[nStrNormalCount] =
521 0,32,0,30,0,0,0,32,0
523 static const sal_Int32 expValStrNormal[nStrNormalCount] =
525 0,-1,4,-1,-1,-1,-1,-1,3
527 //------------------------------------------------------------------------
528 static const sal_Int32 nStrLastDefaultCount=6;
529 static const sal_Int32 input2StrLastDefault[nStrLastDefaultCount] =
531 31,31,31,31,31,31
533 static const sal_Int32 expValStrLastDefault[nStrLastDefaultCount] =
535 0,4,-1,-1,-1,3
537 //------------------------------------------------------------------------
538 static const sal_Int32 nStrLastNormalCount=12;
539 static const sal_Int32 input2StrLastNormal[nStrLastNormalCount] =
541 31,0,80,31,2,31,31,31,0,31,31,14
543 static const sal_Int32 expValStrLastNormal[nStrLastNormalCount] =
545 0,-1,0,4,-1,-1,-1,-1,-1,3,15,11
547 //------------------------------------------------------------------------
548 static const sal_Int32 kNonSInt64Max = LONG_MIN;
549 static const sal_Int32 kNonSInt32Max = INT_MIN;
550 static const sal_Int32 kNonSInt16Max = SHRT_MIN;
551 //------------------------------------------------------------------------
552 #ifdef __cplusplus
554 #endif
556 //------------------------------------------------------------------------
557 //------------------------------------------------------------------------
559 #endif /* _RTL_STRING_CONST_H_ */