X7ROOT File Manager
Current Path:
/opt/alt/alt-nodejs20/root/usr/include/unicode
opt
/
alt
/
alt-nodejs20
/
root
/
usr
/
include
/
unicode
/
??
..
??
alphaindex.h
(26.54 KB)
??
appendable.h
(8.54 KB)
??
basictz.h
(9.99 KB)
??
brkiter.h
(27.84 KB)
??
bytestream.h
(10.77 KB)
??
bytestrie.h
(20.83 KB)
??
bytestriebuilder.h
(7.48 KB)
??
calendar.h
(107.54 KB)
??
caniter.h
(7.53 KB)
??
casemap.h
(25.42 KB)
??
char16ptr.h
(10.79 KB)
??
chariter.h
(23.79 KB)
??
choicfmt.h
(23.99 KB)
??
coleitr.h
(13.78 KB)
??
coll.h
(59.6 KB)
??
compactdecimalformat.h
(6.88 KB)
??
curramt.h
(3.67 KB)
??
currpinf.h
(7.3 KB)
??
currunit.h
(4.02 KB)
??
datefmt.h
(40.7 KB)
??
dbbi.h
(1.19 KB)
??
dcfmtsym.h
(20.96 KB)
??
decimfmt.h
(87.46 KB)
??
displayoptions.h
(7.08 KB)
??
docmain.h
(7.6 KB)
??
dtfmtsym.h
(38.22 KB)
??
dtintrv.h
(3.84 KB)
??
dtitvfmt.h
(48.87 KB)
??
dtitvinf.h
(18.63 KB)
??
dtptngen.h
(28.05 KB)
??
dtrule.h
(8.66 KB)
??
edits.h
(20.74 KB)
??
enumset.h
(2.08 KB)
??
errorcode.h
(4.84 KB)
??
fieldpos.h
(8.69 KB)
??
filteredbrk.h
(5.37 KB)
??
fmtable.h
(24.37 KB)
??
format.h
(12.51 KB)
??
formattednumber.h
(6.28 KB)
??
formattedvalue.h
(9.75 KB)
??
fpositer.h
(3.03 KB)
??
gender.h
(3.35 KB)
??
gregocal.h
(30.32 KB)
??
icudataver.h
(1.02 KB)
??
icuplug.h
(12.1 KB)
??
idna.h
(12.93 KB)
??
listformatter.h
(8.59 KB)
??
localebuilder.h
(11.08 KB)
??
localematcher.h
(26.86 KB)
??
localpointer.h
(19.55 KB)
??
locdspnm.h
(7.12 KB)
??
locid.h
(48.62 KB)
??
measfmt.h
(11.41 KB)
??
measunit.h
(111.44 KB)
??
measure.h
(4.63 KB)
??
messageformat2.h
(21.05 KB)
??
messageformat2_arguments.h
(4.49 KB)
??
messageformat2_data_model.h
(101.89 KB)
??
messageformat2_data_model_names.h
(784 B)
??
messageformat2_formattable.h
(38.36 KB)
??
messageformat2_function_registry.h
(18.07 KB)
??
messagepattern.h
(33.79 KB)
??
msgfmt.h
(44.2 KB)
??
normalizer2.h
(34.68 KB)
??
normlzr.h
(30.79 KB)
??
nounit.h
(2.24 KB)
??
numberformatter.h
(90.69 KB)
??
numberrangeformatter.h
(26 KB)
??
numfmt.h
(50.16 KB)
??
numsys.h
(7.22 KB)
??
parseerr.h
(3.08 KB)
??
parsepos.h
(5.56 KB)
??
platform.h
(27.18 KB)
??
plurfmt.h
(25.07 KB)
??
plurrule.h
(20.63 KB)
??
ptypes.h
(2.16 KB)
??
putil.h
(6.32 KB)
??
rbbi.h
(32.04 KB)
??
rbnf.h
(56.16 KB)
??
rbtz.h
(15.75 KB)
??
regex.h
(84.45 KB)
??
region.h
(9.2 KB)
??
reldatefmt.h
(22.48 KB)
??
rep.h
(9.38 KB)
??
resbund.h
(18.02 KB)
??
schriter.h
(6.09 KB)
??
scientificnumberformatter.h
(6.44 KB)
??
search.h
(22.21 KB)
??
selfmt.h
(14.35 KB)
??
simpleformatter.h
(12.6 KB)
??
simplenumberformatter.h
(8.87 KB)
??
simpletz.h
(45.62 KB)
??
smpdtfmt.h
(57.06 KB)
??
sortkey.h
(11.13 KB)
??
std_string.h
(1.05 KB)
??
strenum.h
(9.96 KB)
??
stringoptions.h
(5.79 KB)
??
stringpiece.h
(10.28 KB)
??
stringtriebuilder.h
(15.53 KB)
??
stsearch.h
(21.43 KB)
??
symtable.h
(4.28 KB)
??
tblcoll.h
(36.96 KB)
??
timezone.h
(45.59 KB)
??
tmunit.h
(3.4 KB)
??
tmutamt.h
(4.9 KB)
??
tmutfmt.h
(7.42 KB)
??
translit.h
(65.81 KB)
??
tzfmt.h
(42.95 KB)
??
tznames.h
(16.85 KB)
??
tzrule.h
(34.81 KB)
??
tztrans.h
(6.11 KB)
??
ubidi.h
(89.61 KB)
??
ubiditransform.h
(12.71 KB)
??
ubrk.h
(24.43 KB)
??
ucal.h
(63.96 KB)
??
ucasemap.h
(15.27 KB)
??
ucat.h
(5.35 KB)
??
uchar.h
(151.74 KB)
??
ucharstrie.h
(22.59 KB)
??
ucharstriebuilder.h
(7.48 KB)
??
uchriter.h
(13.24 KB)
??
uclean.h
(11.21 KB)
??
ucnv.h
(83.34 KB)
??
ucnv_cb.h
(6.58 KB)
??
ucnv_err.h
(20.98 KB)
??
ucnvsel.h
(6.24 KB)
??
ucol.h
(67.28 KB)
??
ucoleitr.h
(9.82 KB)
??
uconfig.h
(12.56 KB)
??
ucpmap.h
(5.54 KB)
??
ucptrie.h
(22.51 KB)
??
ucsdet.h
(14.69 KB)
??
ucurr.h
(16.72 KB)
??
udat.h
(62.36 KB)
??
udata.h
(15.63 KB)
??
udateintervalformat.h
(11.93 KB)
??
udatpg.h
(30.13 KB)
??
udisplaycontext.h
(5.94 KB)
??
udisplayoptions.h
(8.86 KB)
??
uenum.h
(7.79 KB)
??
ufieldpositer.h
(4.41 KB)
??
uformattable.h
(10.97 KB)
??
uformattednumber.h
(8.09 KB)
??
uformattedvalue.h
(12.25 KB)
??
ugender.h
(2.06 KB)
??
uidna.h
(34.12 KB)
??
uiter.h
(22.75 KB)
??
uldnames.h
(10.48 KB)
??
ulistformatter.h
(10.78 KB)
??
uloc.h
(55.38 KB)
??
ulocale.h
(6.31 KB)
??
ulocbuilder.h
(16.69 KB)
??
ulocdata.h
(11.3 KB)
??
umachine.h
(14.59 KB)
??
umisc.h
(1.34 KB)
??
umsg.h
(24.25 KB)
??
umutablecptrie.h
(8.3 KB)
??
unifilt.h
(4 KB)
??
unifunct.h
(4.05 KB)
??
unimatch.h
(6.1 KB)
??
unirepl.h
(3.38 KB)
??
uniset.h
(70.4 KB)
??
unistr.h
(182.08 KB)
??
unorm.h
(20.55 KB)
??
unorm2.h
(25.66 KB)
??
unum.h
(55.16 KB)
??
unumberformatter.h
(19.68 KB)
??
unumberoptions.h
(5.23 KB)
??
unumberrangeformatter.h
(15.35 KB)
??
unumsys.h
(7.26 KB)
??
uobject.h
(10.66 KB)
??
upluralrules.h
(8.79 KB)
??
uregex.h
(71.99 KB)
??
uregion.h
(9.81 KB)
??
ureldatefmt.h
(16.98 KB)
??
urename.h
(141.99 KB)
??
urep.h
(5.38 KB)
??
ures.h
(36.65 KB)
??
uscript.h
(28.51 KB)
??
usearch.h
(39.21 KB)
??
uset.h
(63.08 KB)
??
usetiter.h
(9.63 KB)
??
ushape.h
(18 KB)
??
usimplenumberformatter.h
(7.31 KB)
??
uspoof.h
(80 KB)
??
usprep.h
(8.19 KB)
??
ustdio.h
(38.58 KB)
??
ustream.h
(1.89 KB)
??
ustring.h
(72.16 KB)
??
ustringtrie.h
(3.15 KB)
??
utext.h
(58.1 KB)
??
utf.h
(7.87 KB)
??
utf16.h
(23.35 KB)
??
utf32.h
(763 B)
??
utf8.h
(30.83 KB)
??
utf_old.h
(45.8 KB)
??
utmscale.h
(13.78 KB)
??
utrace.h
(17.18 KB)
??
utrans.h
(25.54 KB)
??
utypes.h
(34.48 KB)
??
uvernum.h
(6.33 KB)
??
uversion.h
(8.21 KB)
??
vtzone.h
(20.68 KB)
Editing: umachine.h
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * * Copyright (C) 1999-2015, International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** * file name: umachine.h * encoding: UTF-8 * tab size: 8 (not used) * indentation:4 * * created on: 1999sep13 * created by: Markus W. Scherer * * This file defines basic types and constants for ICU to be * platform-independent. umachine.h and utf.h are included into * utypes.h to provide all the general definitions for ICU. * All of these definitions used to be in utypes.h before * the UTF-handling macros made this unmaintainable. */ #ifndef __UMACHINE_H__ #define __UMACHINE_H__ /** * \file * \brief Basic types and constants for UTF * * <h2> Basic types and constants for UTF </h2> * This file defines basic types and constants for utf.h to be * platform-independent. umachine.h and utf.h are included into * utypes.h to provide all the general definitions for ICU. * All of these definitions used to be in utypes.h before * the UTF-handling macros made this unmaintainable. * */ /*==========================================================================*/ /* Include platform-dependent definitions */ /* which are contained in the platform-specific file platform.h */ /*==========================================================================*/ #include "unicode/ptypes.h" /* platform.h is included in ptypes.h */ /* * ANSI C headers: * stddef.h defines wchar_t */ #include <stdbool.h> #include <stddef.h> /*==========================================================================*/ /* For C wrappers, we use the symbol U_CAPI. */ /* This works properly if the includer is C or C++. */ /* Functions are declared U_CAPI return-type U_EXPORT2 function-name()... */ /*==========================================================================*/ /** * \def U_CFUNC * This is used in a declaration of a library private ICU C function. * @stable ICU 2.4 */ /** * \def U_CDECL_BEGIN * This is used to begin a declaration of a library private ICU C API. * @stable ICU 2.4 */ /** * \def U_CDECL_END * This is used to end a declaration of a library private ICU C API * @stable ICU 2.4 */ #ifdef __cplusplus # define U_CFUNC extern "C" # define U_CDECL_BEGIN extern "C" { # define U_CDECL_END } #else # define U_CFUNC extern # define U_CDECL_BEGIN # define U_CDECL_END #endif #ifndef U_ATTRIBUTE_DEPRECATED /** * \def U_ATTRIBUTE_DEPRECATED * This is used for GCC specific attributes * @internal */ #if U_GCC_MAJOR_MINOR >= 302 # define U_ATTRIBUTE_DEPRECATED __attribute__ ((deprecated)) /** * \def U_ATTRIBUTE_DEPRECATED * This is used for Visual C++ specific attributes * @internal */ #elif defined(_MSC_VER) && (_MSC_VER >= 1400) # define U_ATTRIBUTE_DEPRECATED __declspec(deprecated) #else # define U_ATTRIBUTE_DEPRECATED #endif #endif /** This is used to declare a function as a public ICU C API @stable ICU 2.0*/ #define U_CAPI U_CFUNC U_EXPORT /** Obsolete/same as U_CAPI; was used to declare a function as a stable public ICU C API*/ #define U_STABLE U_CAPI /** Obsolete/same as U_CAPI; was used to declare a function as a draft public ICU C API */ #define U_DRAFT U_CAPI /** This is used to declare a function as a deprecated public ICU C API */ #define U_DEPRECATED U_CAPI U_ATTRIBUTE_DEPRECATED /** Obsolete/same as U_CAPI; was used to declare a function as an obsolete public ICU C API */ #define U_OBSOLETE U_CAPI /** Obsolete/same as U_CAPI; was used to declare a function as an internal ICU C API */ #define U_INTERNAL U_CAPI // Before ICU 65, function-like, multi-statement ICU macros were just defined as // series of statements wrapped in { } blocks and the caller could choose to // either treat them as if they were actual functions and end the invocation // with a trailing ; creating an empty statement after the block or else omit // this trailing ; using the knowledge that the macro would expand to { }. // // But doing so doesn't work well with macros that look like functions and // compiler warnings about empty statements (ICU-20601) and ICU 65 therefore // switches to the standard solution of wrapping such macros in do { } while. // // This will however break existing code that depends on being able to invoke // these macros without a trailing ; so to be able to remain compatible with // such code the wrapper is itself defined as macros so that it's possible to // build ICU 65 and later with the old macro behaviour, like this: // // export CPPFLAGS='-DUPRV_BLOCK_MACRO_BEGIN="" -DUPRV_BLOCK_MACRO_END=""' // runConfigureICU ... // /** * \def UPRV_BLOCK_MACRO_BEGIN * Defined as the "do" keyword by default. * @internal */ #ifndef UPRV_BLOCK_MACRO_BEGIN #define UPRV_BLOCK_MACRO_BEGIN do #endif /** * \def UPRV_BLOCK_MACRO_END * Defined as "while (false)" by default. * @internal */ #ifndef UPRV_BLOCK_MACRO_END #define UPRV_BLOCK_MACRO_END while (false) #endif /*==========================================================================*/ /* limits for int32_t etc., like in POSIX inttypes.h */ /*==========================================================================*/ #ifndef INT8_MIN /** The smallest value an 8 bit signed integer can hold @stable ICU 2.0 */ # define INT8_MIN ((int8_t)(-128)) #endif #ifndef INT16_MIN /** The smallest value a 16 bit signed integer can hold @stable ICU 2.0 */ # define INT16_MIN ((int16_t)(-32767-1)) #endif #ifndef INT32_MIN /** The smallest value a 32 bit signed integer can hold @stable ICU 2.0 */ # define INT32_MIN ((int32_t)(-2147483647-1)) #endif #ifndef INT8_MAX /** The largest value an 8 bit signed integer can hold @stable ICU 2.0 */ # define INT8_MAX ((int8_t)(127)) #endif #ifndef INT16_MAX /** The largest value a 16 bit signed integer can hold @stable ICU 2.0 */ # define INT16_MAX ((int16_t)(32767)) #endif #ifndef INT32_MAX /** The largest value a 32 bit signed integer can hold @stable ICU 2.0 */ # define INT32_MAX ((int32_t)(2147483647)) #endif #ifndef UINT8_MAX /** The largest value an 8 bit unsigned integer can hold @stable ICU 2.0 */ # define UINT8_MAX ((uint8_t)(255U)) #endif #ifndef UINT16_MAX /** The largest value a 16 bit unsigned integer can hold @stable ICU 2.0 */ # define UINT16_MAX ((uint16_t)(65535U)) #endif #ifndef UINT32_MAX /** The largest value a 32 bit unsigned integer can hold @stable ICU 2.0 */ # define UINT32_MAX ((uint32_t)(4294967295U)) #endif #if defined(U_INT64_T_UNAVAILABLE) # error int64_t is required for decimal format and rule-based number format. #else # ifndef INT64_C /** * Provides a platform independent way to specify a signed 64-bit integer constant. * note: may be wrong for some 64 bit platforms - ensure your compiler provides INT64_C * @stable ICU 2.8 */ # define INT64_C(c) c ## LL # endif # ifndef UINT64_C /** * Provides a platform independent way to specify an unsigned 64-bit integer constant. * note: may be wrong for some 64 bit platforms - ensure your compiler provides UINT64_C * @stable ICU 2.8 */ # define UINT64_C(c) c ## ULL # endif # ifndef U_INT64_MIN /** The smallest value a 64 bit signed integer can hold @stable ICU 2.8 */ # define U_INT64_MIN ((int64_t)(INT64_C(-9223372036854775807)-1)) # endif # ifndef U_INT64_MAX /** The largest value a 64 bit signed integer can hold @stable ICU 2.8 */ # define U_INT64_MAX ((int64_t)(INT64_C(9223372036854775807))) # endif # ifndef U_UINT64_MAX /** The largest value a 64 bit unsigned integer can hold @stable ICU 2.8 */ # define U_UINT64_MAX ((uint64_t)(UINT64_C(18446744073709551615))) # endif #endif /*==========================================================================*/ /* Boolean data type */ /*==========================================================================*/ /** * The ICU boolean type, a signed-byte integer. * ICU-specific for historical reasons: The C and C++ standards used to not define type bool. * Also provides a fixed type definition, as opposed to * type bool whose details (e.g., sizeof) may vary by compiler and between C and C++. * * @stable ICU 2.0 */ typedef int8_t UBool; /** * \def U_DEFINE_FALSE_AND_TRUE * Normally turns off defining macros FALSE=0 & TRUE=1 in public ICU headers. * These obsolete macros sometimes break compilation of other code that * defines enum constants or similar with these names. * C++ has long defined bool/false/true. * C99 also added definitions for these, although as macros; see stdbool.h. * * You may transitionally define U_DEFINE_FALSE_AND_TRUE=1 if you need time to migrate code. * * @internal ICU 68 */ #ifdef U_DEFINE_FALSE_AND_TRUE // Use the predefined value. #else // Default to avoiding collision with non-macro definitions of FALSE & TRUE. # define U_DEFINE_FALSE_AND_TRUE 0 #endif #if U_DEFINE_FALSE_AND_TRUE || defined(U_IN_DOXYGEN) #ifndef TRUE /** * The TRUE value of a UBool. * * @deprecated ICU 68 Use standard "true" instead. */ # define TRUE 1 #endif #ifndef FALSE /** * The FALSE value of a UBool. * * @deprecated ICU 68 Use standard "false" instead. */ # define FALSE 0 #endif #endif // U_DEFINE_FALSE_AND_TRUE /*==========================================================================*/ /* Unicode data types */ /*==========================================================================*/ /* wchar_t-related definitions -------------------------------------------- */ /* * \def U_WCHAR_IS_UTF16 * Defined if wchar_t uses UTF-16. * * @stable ICU 2.0 */ /* * \def U_WCHAR_IS_UTF32 * Defined if wchar_t uses UTF-32. * * @stable ICU 2.0 */ #if !defined(U_WCHAR_IS_UTF16) && !defined(U_WCHAR_IS_UTF32) # ifdef __STDC_ISO_10646__ # if (U_SIZEOF_WCHAR_T==2) # define U_WCHAR_IS_UTF16 # elif (U_SIZEOF_WCHAR_T==4) # define U_WCHAR_IS_UTF32 # endif # elif defined __UCS2__ # if (U_PF_OS390 <= U_PLATFORM && U_PLATFORM <= U_PF_OS400) && (U_SIZEOF_WCHAR_T==2) # define U_WCHAR_IS_UTF16 # endif # elif defined(__UCS4__) || (U_PLATFORM == U_PF_OS400 && defined(__UTF32__)) # if (U_SIZEOF_WCHAR_T==4) # define U_WCHAR_IS_UTF32 # endif # elif U_PLATFORM_IS_DARWIN_BASED || (U_SIZEOF_WCHAR_T==4 && U_PLATFORM_IS_LINUX_BASED) # define U_WCHAR_IS_UTF32 # elif U_PLATFORM_HAS_WIN32_API # define U_WCHAR_IS_UTF16 # endif #endif /* UChar and UChar32 definitions -------------------------------------------- */ /** Number of bytes in a UChar (always 2). @stable ICU 2.0 */ #define U_SIZEOF_UCHAR 2 /** * \def U_CHAR16_IS_TYPEDEF * If 1, then char16_t is a typedef and not a real type (yet) * @internal */ #if defined(_MSC_VER) && (_MSC_VER < 1900) // Versions of Visual Studio/MSVC below 2015 do not support char16_t as a real type, // and instead use a typedef. https://msdn.microsoft.com/library/bb531344.aspx # define U_CHAR16_IS_TYPEDEF 1 #else # define U_CHAR16_IS_TYPEDEF 0 #endif /** * \var UChar * * The base type for UTF-16 code units and pointers. * Unsigned 16-bit integer. * Starting with ICU 59, C++ API uses char16_t directly, while C API continues to use UChar. * * UChar is configurable by defining the macro UCHAR_TYPE * on the preprocessor or compiler command line: * -DUCHAR_TYPE=uint16_t or -DUCHAR_TYPE=wchar_t (if U_SIZEOF_WCHAR_T==2) etc. * (The UCHAR_TYPE can also be \#defined earlier in this file, for outside the ICU library code.) * This is for transitional use from application code that uses uint16_t or wchar_t for UTF-16. * * The default is UChar=char16_t. * * C++11 defines char16_t as bit-compatible with uint16_t, but as a distinct type. * * In C, char16_t is a simple typedef of uint_least16_t. * ICU requires uint_least16_t=uint16_t for data memory mapping. * On macOS, char16_t is not available because the uchar.h standard header is missing. * * @stable ICU 4.4 */ #if 1 // #if 1 is normal. UChar defaults to char16_t in C++. // For configuration testing of UChar=uint16_t temporarily change this to #if 0. #else # define UCHAR_TYPE uint16_t #endif #if defined(U_ALL_IMPLEMENTATION) || !defined(UCHAR_TYPE) typedef char16_t UChar; #else typedef UCHAR_TYPE UChar; #endif /** * \var OldUChar * Default ICU 58 definition of UChar. * A base type for UTF-16 code units and pointers. * Unsigned 16-bit integer. * * Define OldUChar to be wchar_t if that is 16 bits wide. * If wchar_t is not 16 bits wide, then define UChar to be uint16_t. * * This makes the definition of OldUChar platform-dependent * but allows direct string type compatibility with platforms with * 16-bit wchar_t types. * * This is how UChar was defined in ICU 58, for transition convenience. * Exception: ICU 58 UChar was defined to UCHAR_TYPE if that macro was defined. * The current UChar responds to UCHAR_TYPE but OldUChar does not. * * @stable ICU 59 */ #if U_SIZEOF_WCHAR_T==2 typedef wchar_t OldUChar; #elif defined(__CHAR16_TYPE__) typedef __CHAR16_TYPE__ OldUChar; #else typedef uint16_t OldUChar; #endif /** * Define UChar32 as a type for single Unicode code points. * UChar32 is a signed 32-bit integer (same as int32_t). * * The Unicode code point range is 0..0x10ffff. * All other values (negative or >=0x110000) are illegal as Unicode code points. * They may be used as sentinel values to indicate "done", "error" * or similar non-code point conditions. * * Before ICU 2.4 (Jitterbug 2146), UChar32 was defined * to be wchar_t if that is 32 bits wide (wchar_t may be signed or unsigned) * or else to be uint32_t. * That is, the definition of UChar32 was platform-dependent. * * @see U_SENTINEL * @stable ICU 2.4 */ typedef int32_t UChar32; /** * This value is intended for sentinel values for APIs that * (take or) return single code points (UChar32). * It is outside of the Unicode code point range 0..0x10ffff. * * For example, a "done" or "error" value in a new API * could be indicated with U_SENTINEL. * * ICU APIs designed before ICU 2.4 usually define service-specific "done" * values, mostly 0xffff. * Those may need to be distinguished from * actual U+ffff text contents by calling functions like * CharacterIterator::hasNext() or UnicodeString::length(). * * @return -1 * @see UChar32 * @stable ICU 2.4 */ #define U_SENTINEL (-1) #include "unicode/urename.h" #endif
Upload File
Create Folder