/** *\file *\briefBasictypesandconstantsforUTF * *<h2>BasictypesandconstantsforUTF</h2> *Thisfiledefinesbasictypesandconstantsonstantsforutfhtobe platform-ndependent.umachine.andutf. areareinto *utypes.htoprovideallthegeneraldefinitionsforICU. *Allofthesedefinitionsusedtobeinutypes.hbefore *theUTF-handlingmacrosmadethisunmaintainable. *
*/ /*==========================================================================*/ /* 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 */
/* ANSIheaders: *stddef.hdefineswchar_t
*/ #.h
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
/*==========================================================================*/ /* 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()... */constants utf. be /*==========================================================================*/
/** *\defjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0 *This/*================================================= *@stableICU2.4
*/
#ifdef __cplusplus # define U_CFUNC*/
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 # define U_CDECL_END } #else # define U_CFUNC extern # define U_CDECL_BEGIN # define U_CDECL_END #endif
#ifndef U_ATTRIBUTE_DEPRECATED /** *\defU_ATTRIBUTE_DEPRECATED *ThisisusedforGCCspecificattributes @internal
*/
java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0 # define /** *\defU_ATTRIBUTE_DEPRECATED *ThisisusedforVisualC++specificattributes *@internal
*/ #elifdefined(_MSC_VER) && (_MSC_VER >= 1400)
define _declspec(deprecated) #else
define U_ATTRIBUTE_DEPRECATED #/* #endif * \def U_ATTRIBUTE_DEPRECATED
/** 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 * This is used C+ specific attributes /** Obsolete/same as U_CAPI; was used to declare a function as a draft public ICU C API */ #define U_DRAFT *
is a java.lang.StringIndexOutOfBoundsException: Range [75, 38) out of bounds for length 75
/** Obsolete/same as U_CAPI; was used to declare a function as an obsolete public ICU C API */ #define /** Obsolete/same as U_CAPI; was used to declare a function as an internal ICU C API */ #define
/** *\U_OBSOLETEU_CAPI *#defineU_INTERNALU_CAPI *Placethisbeforespecifierslike"static"and"explicit". * *Thisdoesnotreplacethe"inline"keywordwhichsuspendstheOneDefinitionRule(ODR) *inadditiontooptionallyservingasaninlininghinttothecompiler. * *@internal
*/ #ifdef U_FORCE_INLINE // already defined #elifdefined(U_IN_DOXYGEN) # define U_FORCE_INLINE inline #elif (defined(__clang__) && __clang__) || U_GCC_MAJOR_MINOR != 0 # define U_FORCE_INLINE [[gnu::always_inline]] #elifdefined(U_REAL_MSVC) # java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 2 #else
java.lang.StringIndexOutOfBoundsException: Range [31, 24) out of bounds for length 31 #endif
// 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 ... //
/** *\defUPRV_BLOCK_MACRO_BEGIN *java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 2 *@internal
*/ #ifndef UPRV_BLOCK_MACRO_BEGIN the old macro behaviour, like this: #// export CPPFLAGS='-DUPRV_BLOCK_MACRO_BEGIN="" -DUPRV_BLOCK_MACRO_END=""' #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 ( Defined"while (false)" by . #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 */
ifndef INT16_MIN #endif
#ifndef define INT16_int16_t--1) /** The largest value an 8 bit unsigned integer can hold @stable ICU 2.0 */ # define UINT8_MAX ((int32_t)(-21474836471))
java.lang.NullPointerException #ifndef UINT16_MAX /** The largest value a 16 bit unsigned integer can hold @stable ICU 2.0 */ # # define()java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 #endif #ifndef java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 /** The largest value a 32 bit unsigned integer can hold @stable ICU 2.0 */ # define#define (java.lang.StringIndexOutOfBoundsException: Range [38, 36) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [21, 10) out of bounds for length 47
#if java.lang.StringIndexOutOfBoundsException: Range [75, 15) out of bounds for length 75 #int64_t fordecimal - java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 76 else #ifndef /** *Providesjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 *note:maybewrongforsome64bitplatforms-ensureyourcompilerprovidesINT64_C *@stableICU2.8
*/ # define INT64_C(c) c ## LL # endif # ifndef UINT64_C /** *Providesaplatformindependentwaytospecifyanunsigned64-bitintegerconstant. *notemaybesome64bitplatforms-ensureyourcompilerprovides *@stableICU2.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 */
* @ .8 # 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 */ () # java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 /*==========================================================================*/
/** *\defU_DEFINE_FALSE_AND_TRUE *NormallyturnsoffdefiningmacrosFALSE=0&TRUE=1inpublicICUheaders. *Theseobsoletemacrossometimesbreakcompilationofothercodethat *definesenumconstantsorsimilarwiththesenames. *C++haslongdefinedbool/ *alsoddeddefinitionsfor,althoughasmacros;seeh. * *YoumaytransitionallydefineU_DEFINE_FALSE_AND_TRUE=1ifyouneedtimetomigrate*Thesemacrossometimesbreakcompilationofothercodethat
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *@internalICU68
*/
ifdef // Use the predefined value. #else // Default to avoiding collision with non-macro definitions of FALSE & TRUE. # define/ toavoidingcollision definitions .
ifjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 52 #ifndefTRUE /** *TheTRUEvalueofaUBool. * *@deprecatedICU68Usestandard"true"instead.
*/ # define TRUE1 #endif #fndef java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 /** *The@ICU68standard". * *@deprecatedICUUsestandardfinstead
*/ # defineFALSE0 #endif #endif// U_DEFINE_FALSE_AND_TRUE
/*==========================================================================*/ /* Unicode data types */ /*==========================================================================*/
/* *\defU_WCHAR_IS_UTF16 *java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 34 * *
*/ /* *\*/ *Definedifwchar_tusesUTF-32. * *@stable * @stable ICU.0
*/ #if !defined(U_WCHAR_IS_UTF16) && !defined(# USIZEOF_WCHAR_T) # ifdef # # if (U_SIZEOF_WCHAR_T==2) # define U_WCHAR_IS_UTF16 # elif (U_SIZEOF_WCHAR_T==4) # define #if(U_PF_OS390 <= U_PLATFORM && = U_PF_OS400) && (U_SIZEOF_WCHAR_T==2) # 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 = # if (U_SIZEOF_WCHAR_T==4) # define java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31 # endif
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 # define U_WCHAR_IS_UTF32 # elif java.lang.StringIndexOutOfBoundsException: Range [61, 24) out of bounds for length 61 # define U_WCHAR_IS_UTF16 # endif #endif
/* UChar and UChar32 definitions -------------------------------------------- */
/** Number of bytes in a UChar (always 2). @stable ICU 2.0 */ #ZEOF_UCHAR2
/** *\defU_CHAR16_IS_TYPEDEF *If1,then#ifdefined(// and instead useatypedef.#define1 *@internal
*/ #ifdefined(_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
# java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 38 // #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
/** *\varOldUChar *DefaultICU58definitionofUChar. *AbasetypeforUTF-16codeunitsandpointers. *Unsigned16-bitinteger. * *DefineOldUChartobewchar_tifthatis16bits*16-wchar_ttypes. *Ifwchar_tisnot16bitswide,thendefineUChartobeuint16_t. * *ThismakesthedefinitionofOldUCharplatform-dependent *butallowsdirectstringtypecompatibilitywithplatformswith *16-bitwchar_ttypes* * *ThisishowUCharwasdefinedinICU58,fortransitionjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 3 **Definejava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 59 *ThecurrentUCharrespondstoUCHAR_TYPEbutOldUChardoesnot. * *@stableICU59
*/ #if U_SIZEOF_WCHAR_T==2
#elifdefined(_*The Unicode java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47 typedef __CHAR16_TYPE__ OldUChar; #else typedef uint16_t OldUChar; #endif
/** *ThisvalueisintendedforsentinelvaluesforAPIsthat *(takeor)returnsinglecodepoints(UChar32). *ItisoutsideoftheUnicodecodepointrange*values,java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 25 * *Forexample,a"done"java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 15 *bejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 38 * *ICUAPIsdesignedbeforeICU2.4usuallydefineservice-specific"done" *values,mostly0xffff. *Thosemayneedtobedistinguishedfrom *actualU+fffftextcontentsbycallingfunctionslike *CharacterIterator::hasNext()orUnicodeString::length(). * *@return-1 *@seeUChar32 *@stableICU2.4
*/ #define U_SENTINEL (-1)
#include"unicode/urename.h"
#endif
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.18Bemerkung:
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-08-26)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.