ICU 4.8.1.1  4.8.1.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
utypes.h
Go to the documentation of this file.
1 /*
2 **********************************************************************
3 * Copyright (C) 1996-2011, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 *
7 * FILE NAME : UTYPES.H (formerly ptypes.h)
8 *
9 * Date Name Description
10 * 12/11/96 helena Creation.
11 * 02/27/97 aliu Added typedefs for UClassID, int8, int16, int32,
12 * uint8, uint16, and uint32.
13 * 04/01/97 aliu Added XP_CPLUSPLUS and modified to work under C as
14 * well as C++.
15 * Modified to use memcpy() for uprv_arrayCopy() fns.
16 * 04/14/97 aliu Added TPlatformUtilities.
17 * 05/07/97 aliu Added import/export specifiers (replacing the old
18 * broken EXT_CLASS). Added version number for our
19 * code. Cleaned up header.
20 * 6/20/97 helena Java class name change.
21 * 08/11/98 stephen UErrorCode changed from typedef to enum
22 * 08/12/98 erm Changed T_ANALYTIC_PACKAGE_VERSION to 3
23 * 08/14/98 stephen Added uprv_arrayCopy() for int8_t, int16_t, int32_t
24 * 12/09/98 jfitz Added BUFFER_OVERFLOW_ERROR (bug 1100066)
25 * 04/20/99 stephen Cleaned up & reworked for autoconf.
26 * Renamed to utypes.h.
27 * 05/05/99 stephen Changed to use <inttypes.h>
28 * 12/07/99 helena Moved copyright notice string from ucnv_bld.h here.
29 *******************************************************************************
30 */
31 
32 #ifndef UTYPES_H
33 #define UTYPES_H
34 
35 
36 #include "unicode/umachine.h"
37 #include "unicode/utf.h"
38 #include "unicode/uversion.h"
39 #include "unicode/uconfig.h"
40 #include "float.h"
41 
57 #ifdef XP_CPLUSPLUS
58 # ifndef U_SHOW_CPLUSPLUS_API
59 # define U_SHOW_CPLUSPLUS_API 1
60 # endif
61 #else
62 # undef U_SHOW_CPLUSPLUS_API
63 # define U_SHOW_CPLUSPLUS_API 0
64 #endif
65 
78 #if !U_DEFAULT_SHOW_DRAFT && !defined(U_SHOW_DRAFT_API)
79 #define U_HIDE_DRAFT_API 1
80 #endif
81 #if !U_DEFAULT_SHOW_DRAFT && !defined(U_SHOW_INTERNAL_API)
82 #define U_HIDE_INTERNAL_API 1
83 #endif
84 
85 #ifdef U_HIDE_DRAFT_API
86 #include "unicode/udraft.h"
87 #endif
88 
89 #ifdef U_HIDE_DEPRECATED_API
90 #include "unicode/udeprctd.h"
91 #endif
92 
93 #ifdef U_HIDE_DEPRECATED_API
94 #include "unicode/uobslete.h"
95 #endif
96 
97 #ifdef U_HIDE_INTERNAL_API
98 #include "unicode/uintrnal.h"
99 #endif
100 
101 #ifdef U_HIDE_SYSTEM_API
102 #include "unicode/usystem.h"
103 #endif
104 
108 /*===========================================================================*/
109 /* char Character set family */
110 /*===========================================================================*/
111 
116 #define U_ASCII_FAMILY 0
117 
122 #define U_EBCDIC_FAMILY 1
123 
167 #ifndef U_CHARSET_FAMILY
168 # define U_CHARSET_FAMILY 0
169 #endif
170 
191 #ifndef U_CHARSET_IS_UTF8
192 # define U_CHARSET_IS_UTF8 0
193 #endif
194 
195 /*===========================================================================*/
196 /* ICUDATA naming scheme */
197 /*===========================================================================*/
198 
215 #if U_CHARSET_FAMILY
216 # if U_IS_BIG_ENDIAN
217  /* EBCDIC - should always be BE */
218 # define U_ICUDATA_TYPE_LETTER "e"
219 # define U_ICUDATA_TYPE_LITLETTER e
220 # else
221 # error "Don't know what to do with little endian EBCDIC!"
222 # define U_ICUDATA_TYPE_LETTER "x"
223 # define U_ICUDATA_TYPE_LITLETTER x
224 # endif
225 #else
226 # if U_IS_BIG_ENDIAN
227  /* Big-endian ASCII */
228 # define U_ICUDATA_TYPE_LETTER "b"
229 # define U_ICUDATA_TYPE_LITLETTER b
230 # else
231  /* Little-endian ASCII */
232 # define U_ICUDATA_TYPE_LETTER "l"
233 # define U_ICUDATA_TYPE_LITLETTER l
234 # endif
235 #endif
236 
242 #define U_ICUDATA_NAME "icudt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER
243 #define U_USRDATA_NAME "usrdt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER
244 #define U_USE_USRDATA 1
257 #define U_ICUDATA_ENTRY_POINT U_DEF2_ICUDATA_ENTRY_POINT(U_ICU_VERSION_MAJOR_NUM, U_ICU_VERSION_MINOR_NUM)
258 
263 #define U_DEF2_ICUDATA_ENTRY_POINT(major, minor) U_DEF_ICUDATA_ENTRY_POINT(major, minor)
264 
268 #ifndef U_DEF_ICUDATA_ENTRY_POINT
269 /* affected by symbol renaming. See platform.h */
270 #define U_DEF_ICUDATA_ENTRY_POINT(major, minor) icudt##major##minor##_dat
271 #endif
272 
284 #if defined(OS390) && defined(XP_CPLUSPLUS)
285 # define U_CALLCONV __cdecl
286 #else
287 # define U_CALLCONV U_EXPORT2
288 #endif
289 
295 #ifndef NULL
296 #ifdef XP_CPLUSPLUS
297 #define NULL 0
298 #else
299 #define NULL ((void *)0)
300 #endif
301 #endif
302 
303 /*===========================================================================*/
304 /* Calendar/TimeZone data types */
305 /*===========================================================================*/
306 
314 typedef double UDate;
315 
317 #define U_MILLIS_PER_SECOND (1000)
318 
319 #define U_MILLIS_PER_MINUTE (60000)
320 
321 #define U_MILLIS_PER_HOUR (3600000)
322 
323 #define U_MILLIS_PER_DAY (86400000)
324 
329 #define U_DATE_MAX DBL_MAX
330 
335 #define U_DATE_MIN -U_DATE_MAX
336 
337 
338 
339 /*===========================================================================*/
340 /* UClassID-based RTTI */
341 /*===========================================================================*/
342 
385 typedef void* UClassID;
386 
387 /*===========================================================================*/
388 /* Shared library/DLL import-export API control */
389 /*===========================================================================*/
390 
391 /*
392  * Control of symbol import/export.
393  * ICU is separated into three libraries.
394  */
395 
396 /*
397  * \def U_COMBINED_IMPLEMENTATION
398  * Set to export library symbols from inside the ICU library
399  * when all of ICU is in a single library.
400  * This can be set as a compiler option while building ICU, and it
401  * needs to be the first one tested to override U_COMMON_API, U_I18N_API, etc.
402  * @stable ICU 2.0
403  */
404 
454 #if defined(U_COMBINED_IMPLEMENTATION)
455 #define U_DATA_API U_EXPORT
456 #define U_COMMON_API U_EXPORT
457 #define U_I18N_API U_EXPORT
458 #define U_LAYOUT_API U_EXPORT
459 #define U_LAYOUTEX_API U_EXPORT
460 #define U_IO_API U_EXPORT
461 #define U_TOOLUTIL_API U_EXPORT
462 #elif defined(U_STATIC_IMPLEMENTATION)
463 #define U_DATA_API
464 #define U_COMMON_API
465 #define U_I18N_API
466 #define U_LAYOUT_API
467 #define U_LAYOUTEX_API
468 #define U_IO_API
469 #define U_TOOLUTIL_API
470 #elif defined(U_COMMON_IMPLEMENTATION)
471 #define U_DATA_API U_IMPORT
472 #define U_COMMON_API U_EXPORT
473 #define U_I18N_API U_IMPORT
474 #define U_LAYOUT_API U_IMPORT
475 #define U_LAYOUTEX_API U_IMPORT
476 #define U_IO_API U_IMPORT
477 #define U_TOOLUTIL_API U_IMPORT
478 #elif defined(U_I18N_IMPLEMENTATION)
479 #define U_DATA_API U_IMPORT
480 #define U_COMMON_API U_IMPORT
481 #define U_I18N_API U_EXPORT
482 #define U_LAYOUT_API U_IMPORT
483 #define U_LAYOUTEX_API U_IMPORT
484 #define U_IO_API U_IMPORT
485 #define U_TOOLUTIL_API U_IMPORT
486 #elif defined(U_LAYOUT_IMPLEMENTATION)
487 #define U_DATA_API U_IMPORT
488 #define U_COMMON_API U_IMPORT
489 #define U_I18N_API U_IMPORT
490 #define U_LAYOUT_API U_EXPORT
491 #define U_LAYOUTEX_API U_IMPORT
492 #define U_IO_API U_IMPORT
493 #define U_TOOLUTIL_API U_IMPORT
494 #elif defined(U_LAYOUTEX_IMPLEMENTATION)
495 #define U_DATA_API U_IMPORT
496 #define U_COMMON_API U_IMPORT
497 #define U_I18N_API U_IMPORT
498 #define U_LAYOUT_API U_IMPORT
499 #define U_LAYOUTEX_API U_EXPORT
500 #define U_IO_API U_IMPORT
501 #define U_TOOLUTIL_API U_IMPORT
502 #elif defined(U_IO_IMPLEMENTATION)
503 #define U_DATA_API U_IMPORT
504 #define U_COMMON_API U_IMPORT
505 #define U_I18N_API U_IMPORT
506 #define U_LAYOUT_API U_IMPORT
507 #define U_LAYOUTEX_API U_IMPORT
508 #define U_IO_API U_EXPORT
509 #define U_TOOLUTIL_API U_IMPORT
510 #elif defined(U_TOOLUTIL_IMPLEMENTATION)
511 #define U_DATA_API U_IMPORT
512 #define U_COMMON_API U_IMPORT
513 #define U_I18N_API U_IMPORT
514 #define U_LAYOUT_API U_IMPORT
515 #define U_LAYOUTEX_API U_IMPORT
516 #define U_IO_API U_IMPORT
517 #define U_TOOLUTIL_API U_EXPORT
518 #else
519 #define U_DATA_API U_IMPORT
520 #define U_COMMON_API U_IMPORT
521 #define U_I18N_API U_IMPORT
522 #define U_LAYOUT_API U_IMPORT
523 #define U_LAYOUTEX_API U_IMPORT
524 #define U_IO_API U_IMPORT
525 #define U_TOOLUTIL_API U_IMPORT
526 #endif
527 
533 #ifdef __cplusplus
534 #define U_STANDARD_CPP_NAMESPACE ::
535 #else
536 #define U_STANDARD_CPP_NAMESPACE
537 #endif
538 
539 
540 /*===========================================================================*/
541 /* Global delete operator */
542 /*===========================================================================*/
543 
544 /*
545  * The ICU4C library must not use the global new and delete operators.
546  * These operators here are defined to enable testing for this.
547  * See Jitterbug 2581 for details of why this is necessary.
548  *
549  * Verification that ICU4C's memory usage is correct, i.e.,
550  * that global new/delete are not used:
551  *
552  * a) Check for imports of global new/delete (see uobject.cpp for details)
553  * b) Verify that new is never imported.
554  * c) Verify that delete is only imported from object code for interface/mixin classes.
555  * d) Add global delete and delete[] only for the ICU4C library itself
556  * and define them in a way that crashes or otherwise easily shows a problem.
557  *
558  * The following implements d).
559  * The operator implementations crash; this is intentional and used for library debugging.
560  *
561  * Note: This is currently only done on Windows because
562  * some Linux/Unix compilers have problems with defining global new/delete.
563  * On Windows, U_WINDOWS is defined, and it is _MSC_VER>=1200 for MSVC 6.0 and higher.
564  */
565 #if defined(XP_CPLUSPLUS) && defined(U_WINDOWS) && U_DEBUG && U_OVERRIDE_CXX_ALLOCATION && (_MSC_VER>=1200) && !defined(U_STATIC_IMPLEMENTATION) && (defined(U_COMMON_IMPLEMENTATION) || defined(U_I18N_IMPLEMENTATION) || defined(U_IO_IMPLEMENTATION) || defined(U_LAYOUT_IMPLEMENTATION) || defined(U_LAYOUTEX_IMPLEMENTATION))
566 
567 #ifndef U_HIDE_INTERNAL_API
568 
573 inline void *
574 operator new(size_t /*size*/) {
575  char *q=NULL;
576  *q=5; /* break it */
577  return q;
578 }
579 
580 #ifdef _Ret_bytecap_
581 /* This is only needed to suppress a Visual C++ 2008 warning for operator new[]. */
582 _Ret_bytecap_(_Size)
583 #endif
584 
589 inline void *
590 operator new[](size_t /*size*/) {
591  char *q=NULL;
592  *q=5; /* break it */
593  return q;
594 }
595 
601 inline void
602 operator delete(void * /*p*/) {
603  char *q=NULL;
604  *q=5; /* break it */
605 }
606 
612 inline void
613 operator delete[](void * /*p*/) {
614  char *q=NULL;
615  *q=5; /* break it */
616 }
617 
618 #endif /* U_HIDE_INTERNAL_API */
619 #endif
620 
621 /*===========================================================================*/
622 /* UErrorCode */
623 /*===========================================================================*/
624 
639 typedef enum UErrorCode {
640  /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
641  * and is that way because VC++ debugger displays first encountered constant,
642  * which is not the what the code is used for
643  */
644 
703  /*
704  * the error code range 0x10000 0x10100 are reserved for Transliterator
705  */
744  /*
745  * the error code range 0x10100 0x10200 are reserved for formatting API parsing error
746  */
769  /*
770  * the error code range 0x10200 0x102ff are reserved for Break Iterator related error
771  */
789  /*
790  * The error codes in the range 0x10300-0x103ff are reserved for regular expression related errrs
791  */
815  /*
816  * The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes
817  */
818  U_IDNA_PROHIBITED_ERROR=0x10400,
819  U_IDNA_ERROR_START=0x10400,
820  U_IDNA_UNASSIGNED_ERROR,
821  U_IDNA_CHECK_BIDI_ERROR,
822  U_IDNA_STD3_ASCII_RULES_ERROR,
823  U_IDNA_ACE_PREFIX_ERROR,
824  U_IDNA_VERIFICATION_ERROR,
825  U_IDNA_LABEL_TOO_LONG_ERROR,
826  U_IDNA_ZERO_LENGTH_LABEL_ERROR,
827  U_IDNA_DOMAIN_NAME_TOO_LONG_ERROR,
828  U_IDNA_ERROR_LIMIT,
829  /*
830  * Aliases for StringPrep
831  */
832  U_STRINGPREP_PROHIBITED_ERROR = U_IDNA_PROHIBITED_ERROR,
833  U_STRINGPREP_UNASSIGNED_ERROR = U_IDNA_UNASSIGNED_ERROR,
834  U_STRINGPREP_CHECK_BIDI_ERROR = U_IDNA_CHECK_BIDI_ERROR,
835 
836  /*
837  * The error code in the range 0x10500-0x105ff are reserved for Plugin related error codes
838  */
845 } UErrorCode;
846 
847 /* Use the following to determine if an UErrorCode represents */
848 /* operational success or failure. */
849 
850 #ifdef XP_CPLUSPLUS
851 
855  static
856  inline UBool U_SUCCESS(UErrorCode code) { return (UBool)(code<=U_ZERO_ERROR); }
861  static
862  inline UBool U_FAILURE(UErrorCode code) { return (UBool)(code>U_ZERO_ERROR); }
863 #else
864 
868 # define U_SUCCESS(x) ((x)<=U_ZERO_ERROR)
869 
873 # define U_FAILURE(x) ((x)>U_ZERO_ERROR)
874 #endif
875 
882 U_STABLE const char * U_EXPORT2
883 u_errorName(UErrorCode code);
884 
885 
886 #endif /* _UTYPES */
Typo: kept for backward compatibility.
Definition: utypes.h:750
Cannot format a number exactly and rounding mode is ROUND_UNNECESSARY.
Definition: utypes.h:766
A plugin caused a level change.
Definition: utypes.h:663
Incorrectly nested parentheses in regexp pattern.
Definition: utypes.h:799
Internal transliterator system error.
Definition: utypes.h:739
const char * u_errorName(UErrorCode code)
Return a string for a UErrorCode value.
This must always be the last warning value to indicate the limit for UErrorCode warnings (last warnin...
Definition: utypes.h:665
Character conversion: Incomplete input sequence.
Definition: utypes.h:680
A compound filter is in an invalid location.
Definition: utypes.h:729
User tried to set variable top to a primary that is longer than two bytes.
Definition: utypes.h:691
A special character is outside its allowed context.
Definition: utypes.h:738
!!option in RBBI rules not recognized.
Definition: utypes.h:785
A variable reference is invalid.
Definition: utypes.h:713
Too many stand-ins generated for the given variable range.
Definition: utypes.h:736
A result would not fit in the supplied buffer.
Definition: utypes.h:684
#define U_SUCCESS(x)
Does the error code indicate success?
Definition: utypes.h:868
Conversion table file not found.
Definition: utypes.h:683
Collator version is not compatible with the base version.
Definition: utypes.h:698
An internal error (bug) was detected.
Definition: utypes.h:792
Switches for excluding parts of ICU library code modules.
Back-reference to a non-existent capture group.
Definition: utypes.h:803
Unrecognized backslash escape sequence in pattern.
Definition: utypes.h:796
#define U_FAILURE(x)
Does the error code indicate a failure?
Definition: utypes.h:873
This converter alias can go to different converter implementations.
Definition: utypes.h:659
The plugin&#39;s level is too high to be loaded right now.
Definition: utypes.h:840
ucol_open encountered a mismatch between UCA version and collator image version, so the collator was ...
Definition: utypes.h:661
Use of an undefined $Variable in an RBBI rule.
Definition: utypes.h:782
A variable definition is invalid.
Definition: utypes.h:712
The requested resource cannot be found.
Definition: utypes.h:671
Hex digits expected as part of a escaped char in a rule.
Definition: utypes.h:774
More than one post context.
Definition: utypes.h:722
A SafeClone operation required allocating memory (informational only)
Definition: utypes.h:651
More than one compound filter.
Definition: utypes.h:730
Syntax error in RBBI rule.
Definition: utypes.h:776
double UDate
Date and Time data type.
Definition: utypes.h:314
In {min,max}, max is less than min.
Definition: utypes.h:802
A rule is hidden by an earlier more general rule.
Definition: utypes.h:728
UnicodeSet witing an RBBI rule missing a closing &#39;]&#39;.
Definition: utypes.h:777
The variable range overlaps characters used in rules.
Definition: utypes.h:737
Start of format library errors.
Definition: utypes.h:748
Decimal number syntax error.
Definition: utypes.h:765
No space available for in-buffer expansion for Arabic shaping.
Definition: utypes.h:689
Indicates a bug in the library code.
Definition: utypes.h:674
More than one percent symbol in number pattern.
Definition: utypes.h:753
Start of Transliterator errors.
Definition: utypes.h:707
Look-Behind pattern matches must have a bounded maximum length.
Definition: utypes.h:805
Elements of a rule are misplaced.
Definition: utypes.h:708
A start anchor appears at an illegal position.
Definition: utypes.h:715
An internal error (bug) was detected.
Definition: utypes.h:772
Decimal number is too large.
Definition: utypes.h:800
Attempt to modify read-only or constant data.
Definition: utypes.h:700
More than one ante context.
Definition: utypes.h:720
No error, no warning.
Definition: utypes.h:668
A closing single quote is missing.
Definition: utypes.h:727
C API: API for accessing ICU version numbers.
Unable to convert a UChar* string to char* with the invariant converter.
Definition: utypes.h:696
Octal character constants must be &lt;= 0377.
Definition: utypes.h:807
More than one cursor.
Definition: utypes.h:721
A special character was not quoted or escaped.
Definition: utypes.h:726
Trying to access the index that is out of bounds.
Definition: utypes.h:677
Error in {min,max} interval.
Definition: utypes.h:801
Mis-matched parentheses in an RBBI rule.
Definition: utypes.h:780
More than one decimal separator in number pattern.
Definition: utypes.h:749
Regexps cannot have UnicodeSets containing strings.
Definition: utypes.h:806
Memory allocation error.
Definition: utypes.h:676
Missing closing quote in an RBBI rule.
Definition: utypes.h:781
Initialization failure.
Definition: utypes.h:783
There are too many aliases in the path to the requested resource.
Definition: utypes.h:693
More than one exponent symbol in number pattern.
Definition: utypes.h:751
A resource bundle lookup returned a fallback result (not an error)
Definition: utypes.h:645
Syntax error in RBBI rule assignment statement.
Definition: utypes.h:778
A closing &#39;)&#39; is missing.
Definition: utypes.h:734
UEnumeration out of sync with underlying collection.
Definition: utypes.h:695
A segment reference does not correspond to a defined segment.
Definition: utypes.h:724
The requested file cannot be found.
Definition: utypes.h:673
ICU has to use compatibility layer to construct the service.
Definition: utypes.h:653
This must always be the last value to indicate the limit for UErrorCode (last error code +1) ...
Definition: utypes.h:844
A &quot;::id&quot; rule specifies an unknown transliterator.
Definition: utypes.h:740
Requested operation not supported in current context.
Definition: utypes.h:685
In a character range [x-y], x is greater than y.
Definition: utypes.h:809
UNUSED as of ICU 2.4.
Definition: utypes.h:759
Use of regexp feature that is not yet implemented.
Definition: utypes.h:798
Basic types and constants for UTF.
C API: Code point macros.
A resource bundle lookup returned a result from the root locale (not an error)
Definition: utypes.h:649
A variable reference does not correspond to a defined variable.
Definition: utypes.h:725
Start of codes indicating failure.
Definition: utypes.h:670
Data format is not what is expected.
Definition: utypes.h:672
Invalid value for match mode flags.
Definition: utypes.h:804
A &quot;&amp;fn()&quot; rule specifies an unknown transliterator.
Definition: utypes.h:741
Start of information results (semantically successful)
Definition: utypes.h:647
an operation is requested over a resource that does not support it
Definition: utypes.h:686
Character conversion: Illegal input sequence/combination of input units.
Definition: utypes.h:681
An output string could not be NUL-terminated because output length==destCapacity. ...
Definition: utypes.h:655
Character conversion: Unmappable input sequence.
Definition: utypes.h:679
Syntax error in regexp pattern.
Definition: utypes.h:794
More than one pad symbol in number pattern.
Definition: utypes.h:755
#define NULL
Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.
Definition: utypes.h:299
UNUSED as of ICU 2.4.
Definition: utypes.h:760
Number of levels requested in getBound is higher than the number of levels in the sort key...
Definition: utypes.h:657
A &quot;::id&quot; rule was passed to the RuleBasedTransliterator parser.
Definition: utypes.h:731
Maximum allowed match time exceeded.
Definition: utypes.h:811
Missing &#39;;&#39; at the end of a RBBI rule.
Definition: utypes.h:775
#define U_EXPORT2
Definition: platform.h:314
UNUSED as of ICU 2.4.
Definition: utypes.h:735
Missing DEFAULT rule in plural rules.
Definition: utypes.h:764
Equivalent to Java ParseException.
Definition: utypes.h:678
This must always be the last value to indicate the limit for plugin errors.
Definition: utypes.h:842
Unable to parse a message (message format)
Definition: utypes.h:675
Start of codes indicating Regexp failures.
Definition: utypes.h:793
This must always be the last value to indicate the limit for Break Iterator failures.
Definition: utypes.h:787
A rule contains no operator.
Definition: utypes.h:718
Matching operation aborted by user callback fn.
Definition: utypes.h:812
Syntax error in format pattern.
Definition: utypes.h:756
Missing closing bracket on a bracket expression.
Definition: utypes.h:808
UNUSED as of ICU 2.4.
Definition: utypes.h:710
Start of codes indicating plugin failures.
Definition: utypes.h:839
Undefined Plural keyword.
Definition: utypes.h:763
Start of codes indicating Break Iterator failures.
Definition: utypes.h:773
Incorrect Unicode property.
Definition: utypes.h:797
The limit for Transliterator errors.
Definition: utypes.h:742
A UnicodeSet pattern is invalid.
Definition: utypes.h:709
Braces do not match in message pattern.
Definition: utypes.h:758
A quantifier appears after a segment close delimiter.
Definition: utypes.h:717
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
Definition: utypes.h:385
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
Definition: utypes.h:639
Regular expression backtrack stack overflow.
Definition: utypes.h:810
RegexMatcher in invalid state for requested operation.
Definition: utypes.h:795
ISO-2022 illlegal escape sequence.
Definition: utypes.h:687
This must always be the last value to indicate the limit for standard errors.
Definition: utypes.h:702
Currently used only while setting variable top, but can be used generally.
Definition: utypes.h:690
Rule contains an empty Unicode Set.
Definition: utypes.h:784
UNUSED as of ICU 2.4.
Definition: utypes.h:732
Collator is options only and no base is specified.
Definition: utypes.h:699
A cursor offset occurs at an illegal position.
Definition: utypes.h:716
UNUSED as of ICU 2.4.
Definition: utypes.h:719
Syntax error in format pattern.
Definition: utypes.h:747
Pad symbol misplaced in number pattern.
Definition: utypes.h:757
The {nnn} tag on a rule is mal formed.
Definition: utypes.h:786
Missing &#39;$&#39; or duplicate variable name.
Definition: utypes.h:706
A Unicode escape pattern is invalid.
Definition: utypes.h:711
This must always be the last value to indicate the limit for regexp errors.
Definition: utypes.h:813
Grouping symbol in exponent pattern.
Definition: utypes.h:752
A dangling backslash.
Definition: utypes.h:723
The limit for format library errors.
Definition: utypes.h:767
Requested operation can not be completed with ICU in its current state.
Definition: utypes.h:697
Duplicate keyword in PluralFormat.
Definition: utypes.h:762
ICU cannot construct a service from this state, as it is no longer supported.
Definition: utypes.h:692
ISO-2022 unsupported escape sequence.
Definition: utypes.h:688
A &#39;use&#39; pragma is invlalid.
Definition: utypes.h:733
The plugin didn&#39;t call uplug_setPlugLevel in response to a QUERY.
Definition: utypes.h:841
RBBI rule $Variable redefined.
Definition: utypes.h:779
#define U_STABLE
This is used to declare a function as a stable public ICU C API.
Definition: umachine.h:137
int8_t UBool
The ICU boolean type.
Definition: umachine.h:228
Argument name and argument index mismatch in MessageFormat functions.
Definition: utypes.h:761
More than one permill symbol in number pattern.
Definition: utypes.h:754
Conversion table file found, but corrupted.
Definition: utypes.h:682
UNUSED as of ICU 2.4.
Definition: utypes.h:714