Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: source/common/unicode/utypes.h

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/common/unicode/utf8.h ('k') | source/common/unicode/uvernum.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ********************************************************************** 2 **********************************************************************
3 * Copyright (C) 1996-2014, International Business Machines 3 * Copyright (C) 1996-2015, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * 6 *
7 * FILE NAME : UTYPES.H (formerly ptypes.h) 7 * FILE NAME : UTYPES.H (formerly ptypes.h)
8 * 8 *
9 * Date Name Description 9 * Date Name Description
10 * 12/11/96 helena Creation. 10 * 12/11/96 helena Creation.
11 * 02/27/97 aliu Added typedefs for UClassID, int8, int16, int32, 11 * 02/27/97 aliu Added typedefs for UClassID, int8, int16, int32,
12 * uint8, uint16, and uint32. 12 * uint8, uint16, and uint32.
13 * 04/01/97 aliu Added XP_CPLUSPLUS and modified to work under C as 13 * 04/01/97 aliu Added XP_CPLUSPLUS and modified to work under C as
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 #endif 130 #endif
131 131
132 /** 132 /**
133 * A single string literal containing the icudata stub name. i.e. 'icudt18e' for 133 * A single string literal containing the icudata stub name. i.e. 'icudt18e' for
134 * ICU 1.8.x on EBCDIC, etc.. 134 * ICU 1.8.x on EBCDIC, etc..
135 * @stable ICU 2.0 135 * @stable ICU 2.0
136 */ 136 */
137 #define U_ICUDATA_NAME "icudt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER 137 #define U_ICUDATA_NAME "icudt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER
138 #ifndef U_HIDE_INTERNAL_API 138 #ifndef U_HIDE_INTERNAL_API
139 #define U_USRDATA_NAME "usrdt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER /** < @internal */ 139 #define U_USRDATA_NAME "usrdt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER /** < @internal */
140 #define U_USE_USRDATA 1 /**< @internal */ 140 #define U_USE_USRDATA 0 /**< @internal */
141 #endif /* U_HIDE_INTERNAL_API */ 141 #endif /* U_HIDE_INTERNAL_API */
142 142
143 /** 143 /**
144 * U_ICU_ENTRY_POINT is the name of the DLL entry point to the ICU data library . 144 * U_ICU_ENTRY_POINT is the name of the DLL entry point to the ICU data library .
145 * Defined as a literal, not a string. 145 * Defined as a literal, not a string.
146 * Tricky Preprocessor use - ## operator replaces macro paramters with the li teral string 146 * Tricky Preprocessor use - ## operator replaces macro paramters with the li teral string
147 * from the corresponding macro invocation, _before _ other macro substitutions. 147 * from the corresponding macro invocation, _before _ other macro substitutions.
148 * Need a nested \#defines to get the actual versio n numbers rather than 148 * Need a nested \#defines to get the actual versio n numbers rather than
149 * the literal text U_ICU_VERSION_MAJOR_NUM into th e name. 149 * the literal text U_ICU_VERSION_MAJOR_NUM into th e name.
150 * The net result will be something of the form 150 * The net result will be something of the form
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 #define U_TOOLUTIL_API U_EXPORT 298 #define U_TOOLUTIL_API U_EXPORT
299 #elif defined(U_STATIC_IMPLEMENTATION) 299 #elif defined(U_STATIC_IMPLEMENTATION)
300 #define U_DATA_API 300 #define U_DATA_API
301 #define U_COMMON_API 301 #define U_COMMON_API
302 #define U_I18N_API 302 #define U_I18N_API
303 #define U_LAYOUT_API 303 #define U_LAYOUT_API
304 #define U_LAYOUTEX_API 304 #define U_LAYOUTEX_API
305 #define U_IO_API 305 #define U_IO_API
306 #define U_TOOLUTIL_API 306 #define U_TOOLUTIL_API
307 #elif defined(U_COMMON_IMPLEMENTATION) 307 #elif defined(U_COMMON_IMPLEMENTATION)
308 #if defined(U_ICUDATAENTRY_IN_COMMON)
309 #define U_DATA_API U_EXPORT
310 #else
311 #define U_DATA_API U_IMPORT 308 #define U_DATA_API U_IMPORT
312 #endif
313 #define U_COMMON_API U_EXPORT 309 #define U_COMMON_API U_EXPORT
314 #define U_I18N_API U_IMPORT 310 #define U_I18N_API U_IMPORT
315 #define U_LAYOUT_API U_IMPORT 311 #define U_LAYOUT_API U_IMPORT
316 #define U_LAYOUTEX_API U_IMPORT 312 #define U_LAYOUTEX_API U_IMPORT
317 #define U_IO_API U_IMPORT 313 #define U_IO_API U_IMPORT
318 #define U_TOOLUTIL_API U_IMPORT 314 #define U_TOOLUTIL_API U_IMPORT
319 #elif defined(U_I18N_IMPLEMENTATION) 315 #elif defined(U_I18N_IMPLEMENTATION)
320 #define U_DATA_API U_IMPORT 316 #define U_DATA_API U_IMPORT
321 #define U_COMMON_API U_IMPORT 317 #define U_COMMON_API U_IMPORT
322 #define U_I18N_API U_EXPORT 318 #define U_I18N_API U_EXPORT
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 U_REGEX_PROPERTY_SYNTAX, /**< Incorrect Unicode property */ 634 U_REGEX_PROPERTY_SYNTAX, /**< Incorrect Unicode property */
639 U_REGEX_UNIMPLEMENTED, /**< Use of regexp feature that is not yet implemented. */ 635 U_REGEX_UNIMPLEMENTED, /**< Use of regexp feature that is not yet implemented. */
640 U_REGEX_MISMATCHED_PAREN, /**< Incorrectly nested parentheses in regexp pattern. */ 636 U_REGEX_MISMATCHED_PAREN, /**< Incorrectly nested parentheses in regexp pattern. */
641 U_REGEX_NUMBER_TOO_BIG, /**< Decimal number is too large. */ 637 U_REGEX_NUMBER_TOO_BIG, /**< Decimal number is too large. */
642 U_REGEX_BAD_INTERVAL, /**< Error in {min,max} interval */ 638 U_REGEX_BAD_INTERVAL, /**< Error in {min,max} interval */
643 U_REGEX_MAX_LT_MIN, /**< In {min,max}, max is less than mi n. */ 639 U_REGEX_MAX_LT_MIN, /**< In {min,max}, max is less than mi n. */
644 U_REGEX_INVALID_BACK_REF, /**< Back-reference to a non-existent capture group. */ 640 U_REGEX_INVALID_BACK_REF, /**< Back-reference to a non-existent capture group. */
645 U_REGEX_INVALID_FLAG, /**< Invalid value for match mode flag s. */ 641 U_REGEX_INVALID_FLAG, /**< Invalid value for match mode flag s. */
646 U_REGEX_LOOK_BEHIND_LIMIT, /**< Look-Behind pattern matches must have a bounded maximum length. */ 642 U_REGEX_LOOK_BEHIND_LIMIT, /**< Look-Behind pattern matches must have a bounded maximum length. */
647 U_REGEX_SET_CONTAINS_STRING, /**< Regexps cannot have UnicodeSets c ontaining strings.*/ 643 U_REGEX_SET_CONTAINS_STRING, /**< Regexps cannot have UnicodeSets c ontaining strings.*/
644 #ifndef U_HIDE_DEPRECATED_API
648 U_REGEX_OCTAL_TOO_BIG, /**< Octal character constants must be <= 0377. @deprecated ICU 54. This error cannot occur. */ 645 U_REGEX_OCTAL_TOO_BIG, /**< Octal character constants must be <= 0377. @deprecated ICU 54. This error cannot occur. */
649 U_REGEX_MISSING_CLOSE_BRACKET, /**< Missing closing bracket on a brac ket expression. */ 646 #endif /* U_HIDE_DEPRECATED_API */
647 U_REGEX_MISSING_CLOSE_BRACKET=U_REGEX_SET_CONTAINS_STRING+2, /**< Missing cl osing bracket on a bracket expression. */
650 U_REGEX_INVALID_RANGE, /**< In a character range [x-y], x is greater than y. */ 648 U_REGEX_INVALID_RANGE, /**< In a character range [x-y], x is greater than y. */
651 U_REGEX_STACK_OVERFLOW, /**< Regular expression backtrack stac k overflow. */ 649 U_REGEX_STACK_OVERFLOW, /**< Regular expression backtrack stac k overflow. */
652 U_REGEX_TIME_OUT, /**< Maximum allowed match time exceed ed */ 650 U_REGEX_TIME_OUT, /**< Maximum allowed match time exceed ed */
653 U_REGEX_STOPPED_BY_CALLER, /**< Matching operation aborted by use r callback fn. */ 651 U_REGEX_STOPPED_BY_CALLER, /**< Matching operation aborted by use r callback fn. */
654 U_REGEX_PATTERN_TOO_BIG, /**< Pattern exceeds limits on size or complexity. @draft ICU 55 */ 652 #ifndef U_HIDE_DRAFT_API
655 U_REGEX_ERROR_LIMIT, /**< This must always be the last valu e to indicate the limit for regexp errors */ 653 U_REGEX_PATTERN_TOO_BIG, /**< Pattern exceeds limits on size or complexity. @draft ICU 55 */
654 U_REGEX_INVALID_CAPTURE_GROUP_NAME, /**< Invalid capture group name. @draf t ICU 55 */
655 #endif /* U_HIDE_DRAFT_API */
656 U_REGEX_ERROR_LIMIT=U_REGEX_STOPPED_BY_CALLER+3, /**< This must always be th e last value to indicate the limit for regexp errors */
656 657
657 /* 658 /*
658 * The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes 659 * The error code in the range 0x10400-0x104ff are reserved for IDNA related error codes
659 */ 660 */
660 U_IDNA_PROHIBITED_ERROR=0x10400, 661 U_IDNA_PROHIBITED_ERROR=0x10400,
661 U_IDNA_ERROR_START=0x10400, 662 U_IDNA_ERROR_START=0x10400,
662 U_IDNA_UNASSIGNED_ERROR, 663 U_IDNA_UNASSIGNED_ERROR,
663 U_IDNA_CHECK_BIDI_ERROR, 664 U_IDNA_CHECK_BIDI_ERROR,
664 U_IDNA_STD3_ASCII_RULES_ERROR, 665 U_IDNA_STD3_ASCII_RULES_ERROR,
665 U_IDNA_ACE_PREFIX_ERROR, 666 U_IDNA_ACE_PREFIX_ERROR,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 * Return a string for a UErrorCode value. 720 * Return a string for a UErrorCode value.
720 * The string will be the same as the name of the error code constant 721 * The string will be the same as the name of the error code constant
721 * in the UErrorCode enum above. 722 * in the UErrorCode enum above.
722 * @stable ICU 2.0 723 * @stable ICU 2.0
723 */ 724 */
724 U_STABLE const char * U_EXPORT2 725 U_STABLE const char * U_EXPORT2
725 u_errorName(UErrorCode code); 726 u_errorName(UErrorCode code);
726 727
727 728
728 #endif /* _UTYPES */ 729 #endif /* _UTYPES */
OLDNEW
« no previous file with comments | « source/common/unicode/utf8.h ('k') | source/common/unicode/uvernum.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698