Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.124
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
alt-nodejs10 /
root /
usr /
include /
unicode /
Delete
Unzip
Name
Size
Permission
Date
Action
alphaindex.h
26.27
KB
-rw-r--r--
2019-12-13 17:38
appendable.h
8.43
KB
-rw-r--r--
2019-12-13 17:38
basictz.h
8.84
KB
-rw-r--r--
2019-12-13 17:38
brkiter.h
27.54
KB
-rw-r--r--
2019-12-13 17:38
bytestream.h
9.59
KB
-rw-r--r--
2019-12-13 17:38
bytestrie.h
19.26
KB
-rw-r--r--
2019-12-13 17:38
bytestriebuilder.h
7.1
KB
-rw-r--r--
2019-12-13 17:38
calendar.h
105.35
KB
-rw-r--r--
2019-12-13 17:38
caniter.h
7.35
KB
-rw-r--r--
2019-12-13 17:38
casemap.h
25.31
KB
-rw-r--r--
2019-12-13 17:38
char16ptr.h
7.29
KB
-rw-r--r--
2019-12-13 17:38
chariter.h
24
KB
-rw-r--r--
2019-12-13 17:38
choicfmt.h
23.85
KB
-rw-r--r--
2019-12-13 17:38
coleitr.h
13.7
KB
-rw-r--r--
2019-12-13 17:38
coll.h
55.61
KB
-rw-r--r--
2019-12-13 17:38
compactdecimalformat.h
16.58
KB
-rw-r--r--
2019-12-13 17:38
curramt.h
3.69
KB
-rw-r--r--
2019-12-13 17:38
currpinf.h
7.08
KB
-rw-r--r--
2019-12-13 17:38
currunit.h
3.49
KB
-rw-r--r--
2019-12-13 17:38
datefmt.h
40.18
KB
-rw-r--r--
2019-12-13 17:38
dbbi.h
1.11
KB
-rw-r--r--
2019-12-13 17:38
dcfmtsym.h
17.66
KB
-rw-r--r--
2019-12-13 17:38
decimfmt.h
89.73
KB
-rw-r--r--
2019-12-13 17:38
docmain.h
6.56
KB
-rw-r--r--
2019-12-13 17:38
dtfmtsym.h
37.64
KB
-rw-r--r--
2019-12-13 17:38
dtintrv.h
3.76
KB
-rw-r--r--
2019-12-13 17:38
dtitvfmt.h
42.87
KB
-rw-r--r--
2019-12-13 17:38
dtitvinf.h
18.46
KB
-rw-r--r--
2019-12-13 17:38
dtptngen.h
23.72
KB
-rw-r--r--
2019-12-13 17:38
dtrule.h
8.62
KB
-rw-r--r--
2019-12-13 17:38
edits.h
15.54
KB
-rw-r--r--
2019-12-13 17:38
enumset.h
2.05
KB
-rw-r--r--
2019-12-13 17:38
errorcode.h
4.78
KB
-rw-r--r--
2019-12-13 17:38
fieldpos.h
8.63
KB
-rw-r--r--
2019-12-13 17:38
filteredbrk.h
5.46
KB
-rw-r--r--
2019-12-13 17:38
fmtable.h
24.39
KB
-rw-r--r--
2019-12-13 17:38
format.h
12.44
KB
-rw-r--r--
2019-12-13 17:38
fpositer.h
3.14
KB
-rw-r--r--
2019-12-13 17:38
gender.h
3.18
KB
-rw-r--r--
2019-12-13 17:38
gregocal.h
31.57
KB
-rw-r--r--
2019-12-13 17:38
icudataver.h
1.03
KB
-rw-r--r--
2019-12-13 17:38
icuplug.h
11.86
KB
-rw-r--r--
2019-12-13 17:38
idna.h
12.63
KB
-rw-r--r--
2019-12-13 17:38
listformatter.h
4.98
KB
-rw-r--r--
2019-12-13 17:38
localpointer.h
16.88
KB
-rw-r--r--
2019-12-13 17:38
locdspnm.h
7.05
KB
-rw-r--r--
2019-12-13 17:38
locid.h
31.4
KB
-rw-r--r--
2019-12-13 17:38
measfmt.h
11.25
KB
-rw-r--r--
2019-12-13 17:38
measunit.h
37.74
KB
-rw-r--r--
2019-12-13 17:38
measure.h
4.26
KB
-rw-r--r--
2019-12-13 17:38
messagepattern.h
33.64
KB
-rw-r--r--
2019-12-13 17:38
msgfmt.h
43.16
KB
-rw-r--r--
2019-12-13 17:38
normalizer2.h
33.97
KB
-rw-r--r--
2019-12-13 17:38
normlzr.h
30.74
KB
-rw-r--r--
2019-12-13 17:38
nounit.h
2.6
KB
-rw-r--r--
2019-12-13 17:38
numberformatter.h
64.98
KB
-rw-r--r--
2019-12-13 17:38
numfmt.h
47.76
KB
-rw-r--r--
2019-12-13 17:38
numsys.h
6.73
KB
-rw-r--r--
2019-12-13 17:38
parseerr.h
3.08
KB
-rw-r--r--
2019-12-13 17:38
parsepos.h
5.45
KB
-rw-r--r--
2019-12-13 17:38
platform.h
27.19
KB
-rw-r--r--
2019-12-13 17:38
plurfmt.h
25.66
KB
-rw-r--r--
2019-12-13 17:38
plurrule.h
18.34
KB
-rw-r--r--
2019-12-13 17:38
ptypes.h
3.47
KB
-rw-r--r--
2019-12-13 17:38
putil.h
6.34
KB
-rw-r--r--
2019-12-13 17:38
rbbi.h
27.09
KB
-rw-r--r--
2019-12-13 17:38
rbnf.h
49.76
KB
-rw-r--r--
2019-12-13 17:38
rbtz.h
15.47
KB
-rw-r--r--
2019-12-13 17:38
regex.h
84.91
KB
-rw-r--r--
2019-12-13 17:38
region.h
9.12
KB
-rw-r--r--
2019-12-13 17:38
reldatefmt.h
14.3
KB
-rw-r--r--
2019-12-13 17:38
rep.h
9.5
KB
-rw-r--r--
2019-12-13 17:38
resbund.h
18.01
KB
-rw-r--r--
2019-12-13 17:38
schriter.h
6.26
KB
-rw-r--r--
2019-12-13 17:38
scientificnumberformatter.h
6.59
KB
-rw-r--r--
2019-12-13 17:38
search.h
22.21
KB
-rw-r--r--
2019-12-13 17:38
selfmt.h
14.24
KB
-rw-r--r--
2019-12-13 17:38
simpleformatter.h
11.43
KB
-rw-r--r--
2019-12-13 17:38
simpletz.h
45.24
KB
-rw-r--r--
2019-12-13 17:38
smpdtfmt.h
70.09
KB
-rw-r--r--
2019-12-13 17:38
sortkey.h
11.12
KB
-rw-r--r--
2019-12-13 17:38
std_string.h
1015
B
-rw-r--r--
2019-12-13 17:38
strenum.h
10.04
KB
-rw-r--r--
2019-12-13 17:38
stringoptions.h
5.89
KB
-rw-r--r--
2019-12-13 17:38
stringpiece.h
6.46
KB
-rw-r--r--
2019-12-13 17:38
stringtriebuilder.h
15.2
KB
-rw-r--r--
2019-12-13 17:38
stsearch.h
21.29
KB
-rw-r--r--
2019-12-13 17:38
symtable.h
4.21
KB
-rw-r--r--
2019-12-13 17:38
tblcoll.h
36.4
KB
-rw-r--r--
2019-12-13 17:38
timezone.h
40.83
KB
-rw-r--r--
2019-12-13 17:38
tmunit.h
3.29
KB
-rw-r--r--
2019-12-13 17:38
tmutamt.h
4.8
KB
-rw-r--r--
2019-12-13 17:38
tmutfmt.h
7.79
KB
-rw-r--r--
2019-12-13 17:38
translit.h
54.53
KB
-rw-r--r--
2019-12-13 17:38
tzfmt.h
42.81
KB
-rw-r--r--
2019-12-13 17:38
tznames.h
16.79
KB
-rw-r--r--
2019-12-13 17:38
tzrule.h
35.32
KB
-rw-r--r--
2019-12-13 17:38
tztrans.h
6.07
KB
-rw-r--r--
2019-12-13 17:38
ubidi.h
89.28
KB
-rw-r--r--
2019-12-13 17:38
ubiditransform.h
12.71
KB
-rw-r--r--
2019-12-13 17:38
ubrk.h
24.08
KB
-rw-r--r--
2019-12-13 17:38
ucal.h
54.56
KB
-rw-r--r--
2019-12-13 17:38
ucasemap.h
15.18
KB
-rw-r--r--
2019-12-13 17:38
ucat.h
5.36
KB
-rw-r--r--
2019-12-13 17:38
uchar.h
131.61
KB
-rw-r--r--
2019-12-13 17:38
ucharstrie.h
21.06
KB
-rw-r--r--
2019-12-13 17:38
ucharstriebuilder.h
7.14
KB
-rw-r--r--
2019-12-13 17:38
uchriter.h
13.14
KB
-rw-r--r--
2019-12-13 17:38
uclean.h
11.24
KB
-rw-r--r--
2019-12-13 17:38
ucnv.h
83.06
KB
-rw-r--r--
2019-12-13 17:38
ucnv_cb.h
6.59
KB
-rw-r--r--
2019-12-13 17:38
ucnv_err.h
20.98
KB
-rw-r--r--
2019-12-13 17:38
ucnvsel.h
6.14
KB
-rw-r--r--
2019-12-13 17:38
ucol.h
61.36
KB
-rw-r--r--
2019-12-13 17:38
ucoleitr.h
9.46
KB
-rw-r--r--
2019-12-13 17:38
uconfig.h
11.91
KB
-rw-r--r--
2019-12-13 17:38
ucsdet.h
14.67
KB
-rw-r--r--
2019-12-13 17:38
ucurr.h
15.15
KB
-rw-r--r--
2019-12-13 17:38
udat.h
60.13
KB
-rw-r--r--
2019-12-13 17:38
udata.h
15.53
KB
-rw-r--r--
2019-12-13 17:38
udateintervalformat.h
6.79
KB
-rw-r--r--
2019-12-13 17:38
udatpg.h
24.11
KB
-rw-r--r--
2019-12-13 17:38
udisplaycontext.h
5.89
KB
-rw-r--r--
2019-12-13 17:38
uenum.h
7.9
KB
-rw-r--r--
2019-12-13 17:38
ufieldpositer.h
4.36
KB
-rw-r--r--
2019-12-13 17:38
uformattable.h
10.94
KB
-rw-r--r--
2019-12-13 17:38
ugender.h
2
KB
-rw-r--r--
2019-12-13 17:38
uidna.h
33.37
KB
-rw-r--r--
2019-12-13 17:38
uiter.h
22.77
KB
-rw-r--r--
2019-12-13 17:38
uldnames.h
10.45
KB
-rw-r--r--
2019-12-13 17:38
ulistformatter.h
4.54
KB
-rw-r--r--
2019-12-13 17:38
uloc.h
50.75
KB
-rw-r--r--
2019-12-13 17:38
ulocdata.h
11.26
KB
-rw-r--r--
2019-12-13 17:38
umachine.h
13.1
KB
-rw-r--r--
2019-12-13 17:38
umisc.h
1.33
KB
-rw-r--r--
2019-12-13 17:38
umsg.h
24.23
KB
-rw-r--r--
2019-12-13 17:38
unifilt.h
3.63
KB
-rw-r--r--
2019-12-13 17:38
unifunct.h
3.98
KB
-rw-r--r--
2019-12-13 17:38
unimatch.h
6.04
KB
-rw-r--r--
2019-12-13 17:38
unirepl.h
3.32
KB
-rw-r--r--
2019-12-13 17:38
uniset.h
63.98
KB
-rw-r--r--
2019-12-13 17:38
unistr.h
175.58
KB
-rw-r--r--
2019-12-13 17:38
unorm.h
20.45
KB
-rw-r--r--
2019-12-13 17:38
unorm2.h
24.66
KB
-rw-r--r--
2019-12-13 17:38
unum.h
52.49
KB
-rw-r--r--
2019-12-13 17:38
unumsys.h
7.14
KB
-rw-r--r--
2019-12-13 17:38
uobject.h
10.72
KB
-rw-r--r--
2019-12-13 17:38
upluralrules.h
6.77
KB
-rw-r--r--
2019-12-13 17:38
uregex.h
72.05
KB
-rw-r--r--
2019-12-13 17:38
uregion.h
9.84
KB
-rw-r--r--
2019-12-13 17:38
ureldatefmt.h
12.22
KB
-rw-r--r--
2019-12-13 17:38
urename.h
124.49
KB
-rw-r--r--
2019-12-13 17:38
urep.h
5.38
KB
-rw-r--r--
2019-12-13 17:38
ures.h
36.52
KB
-rw-r--r--
2019-12-13 17:38
uscript.h
25.91
KB
-rw-r--r--
2019-12-13 17:38
usearch.h
38.14
KB
-rw-r--r--
2019-12-13 17:38
uset.h
39.91
KB
-rw-r--r--
2019-12-13 17:38
usetiter.h
9.49
KB
-rw-r--r--
2019-12-13 17:38
ushape.h
18
KB
-rw-r--r--
2019-12-13 17:38
uspoof.h
64.9
KB
-rw-r--r--
2019-12-13 17:38
usprep.h
8.13
KB
-rw-r--r--
2019-12-13 17:38
ustdio.h
38.54
KB
-rw-r--r--
2019-12-13 17:38
ustream.h
1.8
KB
-rw-r--r--
2019-12-13 17:38
ustring.h
72.52
KB
-rw-r--r--
2019-12-13 17:38
ustringtrie.h
3.15
KB
-rw-r--r--
2019-12-13 17:38
utext.h
58.11
KB
-rw-r--r--
2019-12-13 17:38
utf.h
7.86
KB
-rw-r--r--
2019-12-13 17:38
utf16.h
22.49
KB
-rw-r--r--
2019-12-13 17:38
utf32.h
763
B
-rw-r--r--
2019-12-13 17:38
utf8.h
28.16
KB
-rw-r--r--
2019-12-13 17:38
utf_old.h
43.78
KB
-rw-r--r--
2019-12-13 17:38
utmscale.h
13.78
KB
-rw-r--r--
2019-12-13 17:38
utrace.h
13.89
KB
-rw-r--r--
2019-12-13 17:38
utrans.h
25.53
KB
-rw-r--r--
2019-12-13 17:38
utypes.h
29.92
KB
-rw-r--r--
2019-12-13 17:38
uvernum.h
5.69
KB
-rw-r--r--
2019-12-13 17:38
uversion.h
6.4
KB
-rw-r--r--
2019-12-13 17:38
vtzone.h
20.17
KB
-rw-r--r--
2019-12-13 17:38
Save
Rename
// © 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 <stddef.h> /*==========================================================================*/ /* For C wrappers, we use the symbol U_STABLE. */ /* This works properly if the includer is C or C++. */ /* Functions are declared U_STABLE 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 /** This is used to declare a function as a stable public ICU C API*/ #define U_STABLE U_CAPI /** This is 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 /** This is used to declare a function as an obsolete public ICU C API */ #define U_OBSOLETE U_CAPI /** This is used to declare a function as an internal ICU C API */ #define U_INTERNAL U_CAPI /** * \def U_OVERRIDE * Defined to the C++11 "override" keyword if available. * Denotes a class or member which is an override of the base class. * May result in an error if it applied to something not an override. * @internal */ /** * \def U_FINAL * Defined to the C++11 "final" keyword if available. * Denotes a class or member which may not be overridden in subclasses. * May result in an error if subclasses attempt to override. * @internal */ #if U_CPLUSPLUS_VERSION >= 11 /* C++11 */ #ifndef U_OVERRIDE #define U_OVERRIDE override #endif #ifndef U_FINAL #define U_FINAL final #endif #else /* not C++11 - define to nothing */ #ifndef U_OVERRIDE #define U_OVERRIDE #endif #ifndef U_FINAL #define U_FINAL #endif #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 @stable ICU 2.0 */ typedef int8_t UBool; #ifndef TRUE /** The TRUE value of a UBool @stable ICU 2.0 */ # define TRUE 1 #endif #ifndef FALSE /** The FALSE value of a UBool @stable ICU 2.0 */ # define FALSE 0 #endif /*==========================================================================*/ /* 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. @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 (U_PLATFORM == U_PF_AIX) && defined(__cplusplus) &&(U_CPLUSPLUS_VERSION < 11) // for AIX, uchar.h needs to be included # include <uchar.h> # 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 defined(__cplusplus) typedef char16_t UChar; #else typedef uint16_t 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. * * @draft 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