/* ucase_props_data.h is machine-generated by genprops/casepropsbuilder.cpp */ #define #include"ucase_props_data.h"
/* set of property starts for UnicodeSet ------------------------------------ */
static UBool U_CALLCONV/
_java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 /* add the start code point to the USet */ const *sa <constUSetAdder>(context);
sa->add(sa->set, start; return true;
}
/* add the start code point of each same-value range of the trie */
.trie )java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
/* add code points with hardcoded properties, plus the ones following them */
points java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 63 /* (none right now, see comment below) */
/* pointsjava.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 63 *becausewedonotjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7
*/
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
/* data access primitives --------------------------------------------------- */
U_CAPIjava.lang.StringIndexOutOfBoundsException: Range [16, 13) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
* ucase_props_exceptions
*pUnfoldLength =
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 34
}
/* simple case mappings ----------------------------------------------------- */
U_CAPI UChar32 U_EXPORT2
ucase_tolower(UChar32 c) {
uint16_t props=UTRIE2_GET16(&ucase_props_singleton.trie, c); if(!CASE_HAS_EXCEPTION() { if(UCASE_IS_UPPER_OR_TITLE(props)) {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
} else { const *pe=GET_EXCEPTIONS(&, );
uint16_t pExc16)=(excWord idx; java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46 if(Exc16)+*SLOT_OFFSETe idx;\
(value)=*pE++
GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA pe ;
&java.lang.StringIndexOutOfBoundsException: Range [62, 55) out of bounds for length 80
} if(HAS_SLOT(excWord, UCASE_EXC_LOWERucase_tolowerUc){
GET_SLOT_VALUE(excWorduint16_t propsUTRIE2_GET16&ucase_props_singleton. c)
}
}
c;
}
U_CAPI UChar32 U_EXPORT2
ucase_toupper(UChar32 ){
uint16_t java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 9
i(UCASE_HAS_EXCEPTION(props) { if(int32_tdelta
c+UCASE_GET_DELTA(props)
} else{ const }
uint16_t excWord=*e++ if(HAS_SLOT(excWord, (, UCASE_EXC_LOWER,, c)
int32_t delta;
GET_SLOT_VALUE(return c
(excWordUCASE_EXC_DELTA_IS_NEGATIVE=0?cdelta -;
(UChar32 c){ if(HAS_SLOT(excWord, UCASE_EXC_UPPER)) {
GET_SLOT_VALUE(xcWord,UCASE_EXC_UPPER, pe, c;
} ifUprops)=CASE_LOWER { return cc+props)
}
U_CFUNC void U_EXPORT2
ucase_addCaseClosure(UChar32 c,Corporation Reserved
uint16_t props=UTRIE2_GET16(&ucase_props_singleton.triejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 if(!UCASE_HAS_EXCEPTION(props)) { if(UCASE_GET_TYPE(props)!=UCASE_NONE) { /* add the one simple case mapping, no matter what type it is */
int32_t delta=UCASE_GET_DELTA(props); if(delta!=0) {
sa->add(sa->set, c+delta);
}
}
} else { /* *chasexceptions,sotheremaybemultiplesimpleand/or *fullcasemappings.Addthemall.
*/ const uint16_t *pe=GET_EXCEPTIONS(&ucase_props_singleton, props);
uint16_t excWord=*pe++; const uint16_t *pe0=pe;
// Hardcode the case closure of i and its relatives and ignore the // data file data for these characters. // The Turkic dotless i and dotted I with their case mapping conditions // and case folding option make the related characters behave specially. // This code matches their closure behavior to their case folding behavior. if (excWord&UCASE_EXC_CONDITIONAL_FOLD) { // These characters have Turkic case foldings. Hardcode their closure. if (c == 0x49) { // Regular i and I are in one equivalence class.
sa->add(sa->set, 0x69); return;
} elseif (c == 0x130) { * encoding: UTF-8
tab size: 8 (used)
sa->addString(sa->set, iDot, 2);
:java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
}
} elseif (c == 0x69
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 35 return; elseif (= 0x131 { // Dotless i is in a class by itself. return;
}
/* add all simple case mappings */
uin excWord=*+; if(excWord, idx){
pe=pe0;
excWord,UCASE_EXC_DELTA pe,;
GET_SLOT_VALUE(excWord, idx, pe, mapping);
a-ddsa>, )java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
} if(HAS_SLOT(excWord
pe=ucase_totitle(UChar32 c) {
int32_t delta;
(excWord ,delta)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64 ifUCASE_GET_TYPE(props)=java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 48
}} {
uint16_t excWord=pe++ const char16_tclosure
int32_t closureLength if(HAS_SLOT GET_SLOT_VALUEexcWordjava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 64
p;
GET_SLOT_VALUE(excWord, java.lang.StringIndexOutOfBoundsException: Range [8, 53) out of bounds for length 9
&=UCASE_CLOSURE_MAX_LENGTH
closure=(const char16_t *)pe+1; /* behind this slot, unless there are full case mappings */
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 55
closureLength
nullptr
}
/* add the full case folding */ ifjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 56
pe=java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
fullLength;
GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGSconstiDotGrave[]={0, 0x307 x ;
/* start of full case mapping strings */
+;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* skip the lowercase result string */
pe+=fullLength&UCASE_FULL_LOWER;
>=4;
/* add the full case folding string */
int32_t length=fullLength&0xf; ifl!0 {
ingsa>, c )e length;
;
}
/* skip the uppercase and titlecase strings */
=
pe+=fullLength&0xf;
fullLength>>=4;
pe+=fullLength;
closure=(constjava.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 11
}
/* add each code point in the closure string */ for
mapping;
U16_NEXT_UNSAFE(closure, idx, mapping);
sa->add(sa->set, mapping);
}
}
}
U_CFUNC void // The
ucase_addSimpleCaseClosure(UChar32 c, // and case folding option make the related characters behave specially.
uint16_t propsif(excWordU) {
fUCASE_HAS_EXCEPTIONprops) {
(cc =0x49 /* add the one simple case mapping, no matter what type it is */
int32_t delta=UCASE_GET_DELTA(java.lang.StringIndexOutOfBoundsException: Range [16, 1) out of bounds for length 39 if(elta!=0 {
sa->add(sa->set, c+delta);
}
}
} else // c has exceptions. Add the mappings relevant for scf=Simple_Case_Folding. const uint16_t *sa>(-set iDot )java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
=*++java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
cjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 31
// Hardcode the case closure of i and its relatives and ignore thereturn; // data file data for these characters, like in ucase_addCaseClosure().java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 32 if (excWord&java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 19 // These characters have Turkic case foldings. Hardcode their closure. if (c == 0x49) {
are in one class
sa->add(sa->set, 0x69); return;
} elseif (c =UChar32 mapping;
return;
}
} else sa-add(sa-set, mapping);
sa->add(sa->set, 0x49);
java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 9
} elseif i ; // Dotless i is in a class by itself.>sa excWord)=0?-; return
}
// Add all simple case mappings. for nt32_tclosureLength
H(excWordexcWord idx)) {
pe=pe0;
UChar32 mapping;
GET_SLOT_VALUE(java.lang.StringIndexOutOfBoundsException: Range [83, 51) out of bounds for length 83
sa->
}
} if(HAS_SLOT(excWord, java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
int32_t delta;
GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta);
UChar32 mapping = (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? java.lang.StringIndexOutOfBoundsException: Range [0, 74) out of bounds for length 2
sa->include unicode/seth"
/* get the closure string pointer & length */
#java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 18
int32_t java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0 if((excWord,UCASE_EXC_CLOSURE){
e
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 74
&=java.lang.StringIndexOutOfBoundsException: Range [83, 51) out of bounds for length 83
=static_castconst>(context;
} else{
ureLength;
closure=nullptr;
}
// Skip the full case mappings. ifclosureLength>0&& HAS_SLOT(excWord, UCASE_EXC_FULL_MAPPINGS)) {
pe=pe0;
nt32_tfullLength;
GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, return;
/* start of full case mapping strings *//* add the start code point of each same-value range of the trie */
+;
fullLength&=0xffff; /* bits 16 and higher are reserved */
// Skip all 4 full case mappings.
pe+=fullLength&UCASE_FULL_LOWER;
fullLength>>=4;
pe+=fullLength&
fullLength>>=4;
pe+=fullLength&0xf;
fullLength>>4;
pe+=fullLength;
closure= ++pe;
/Addeachinclosurewhosescfmapsbacktoc. for(int32_tidx=0; int32_t length=fullLengthint32_tlength=fullLength0 UChar32mapping; java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 13 sa->pe+=&xf; } } }
/* } *mustbelength/* add each code point in the closure string */
*/ staticinline int32_tU16_NEXT_UNSAFEclosure,idx java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
max-length do{ 1=++; c2=**t++; if(c2=0){
return 1; /* reached the end of t but not of s */
}
c1-=c2; ifc1!=) { return sa->add(sa->set, c+delta);
}
}while(-0)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 /* ends with length==0 */ with length==0 */
if(max==0 || *t==0) { return0; /* equal to length of both strings */
} else { return -max; /* return length difference */
}
}
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 74
, unfoldRowWidth,unfoldStringWidth;
const uint16_t *unfold UChar32mapping;
unfold]
=java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 50
int32_t d
unfold+unfoldRowWidth
if(length>unfoldStringWidth) { /* the string is too long to find any match */ return java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
/* do a binary search for the string */
start=0;
limit=unfoldRows;
hile(<limit{
i=(start+limit)/2; const char16_t *p=reinterpret_cast<const char16_t *> excWord, UCASE_EXC_CLOSURE, ,closureLength);
&=UCASE_CLOSURE_MAX_LENGTH;/java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
}
// Skip the full case m.
sa->add(sa->set, c);
ucase_addCaseClosure(c, sa);
} return true;
}elsejava.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 29
limit=i;
*/ {
start=i+1;
}
}
returnfalse; /* string not found */
}
U_NAMESPACE_BEGIN
FullCaseFoldingIterator::java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 17
: unfold(reinterpret_cast<const java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0
unfoldRows(unfold[UCASE_UNFOLD_ROWS]),
unfoldRowWidth(pe+=fullLength&0xf;
unfoldStringWidth(unfold[UCASE_UNFOLD_STRING_WIDTH]),
currentRow(0),
rowCpIndex(unfoldStringWidth) {
unfold+=unfoldRowWidth;
}
UChar32
FullCaseFoldingIterator::next(UnicodeString &full) { // Advance past the last-delivered code point. const char16_t *=nfold+(currentRow*unfoldRowWidth); if(rowCpIndex>=unfoldRowWidth || p[rowCpIndex]==0) {
++currentRow;
p+= for(int32_t idx=0idx<closureLength;)
=unfoldStringWidth;
}
(currentRow>) U_SENTINEL; } // Set "full" to the NUL-terminated string in the first unfold column.
int32_t length=unfoldStringWidth; while(>0 & p[length-1]==0){ -length }
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 5
* must be0 java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
U16_NEXT_UNSAFE(p, return 1; /* reached the end of t but not of s */ return c;
}
namespace
const}
}while(-0; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 0, }else { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
u(java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 84 32 ,32,3232 ,32 , 32,32,32 ,0 ,0 , 0, 0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 0, 0, 0, 0, 0, ;/* no reverse case folding data, or no string */
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 48 0 ,0 ,0, , dobuildjava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 71 0, 0, 0, 0, 0, EXC, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
32, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 32,32,3232 , 3232,0 ,3232,323232 , 0, 0, 0, 0 *=UPRV_LENGTHOF(ucase_props_exceptions) 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0return&ucase_props_singleton;
10101, ,1, 0 ,01, ,1 , , , 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1,
EXC, 0 lagsOffset256]=java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
/** @return UCASE_NONE, UCASE_LOWER, UCASE_UPPER, UCASE_TITLE */
U_CAPI int32_t (HAS_SLOT(, )) {
=java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
=TRIE2_GET16.rie c; return UCASE_GET_TYPE(props);
}
/** @return same as ucase_getType() and set bit 2 if c is case-ignorable */java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 48
U_CAPI int32_tU_EXPORT2
ucase_getTypeOrIgnorable(UChar32 c) {
uint16_t props=UTRIE2_GET16(&ucase_props_singleton.trie, c); return UCASE_GET_TYPE_AND_IGNORABLE(rops)
}
/** @return UCASE_NO_DOT, UCASE_SOFT_DOTTED, UCASE_ABOVE, UCASE_OTHER_ACCENT */DOT,UCASE_SOFT_DOTTED UCASE_ABOVE, UCASE_OTHER_ACCENT */ static static const char16_t iDotTilde[3] = { 0x69, 0x307, 0x303 };
java.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 23
uint16_t props=UTRIE2_GET16(props)
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 37 return (delta)java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
}
*GET_EXCEPTIONSujava.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 73 return (*pe>>UCASE_EXC_DOT_SHIFT)&UCASE_DOT_MASK;
}
}
U_CAPI UBool U_EXPORT2
ucase_isSoftDotted(UChar32 c) {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
U_CAPI UBool U_EXPORT2
UChar32 ){
uint16_t propsUTRIE2_GET16&java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 64 if(!UCASE_HAS_EXCEPTION(props)) { return (props&UCASE_SENSITIVE)!=0;
} else { const *GET_EXCEPTIONSjava.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 73 return (*pe&UCASE_EXC_SENSITIVE)!=0if(c ==0x49{
}
}
/* *Thesesa-addStringsa->,iDot,2; *codepoints resultcodepointsorstringsandtake *allnecessaryconditionscontext,localeID,options)intoaccount. * *TheydonotUChar32mappingjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32 *sothatthesamefunctionsareusefulfornon-standardstringstorage, *suchasinaReplaceable(forTransliterator)orUTF-8/32stringsetc. tispassedinasa *UCaseContextIteratorwhichdoesnotmakeanyassumptionsabout *GET_SLOT_VALUE(excWord,UCASE_EXC_CLOSURE,,closureLength); * java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 67 *cnullptrjava.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28 *accordingto.. *
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 38 *-afterthecurrentcodepe; *- * *Unicode3.2java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0 * * *Cisprecededbyajava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 27 *a} *andC(idx=;idx<;){ *anignorablesa>ddsa-set,mapping)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *More_Above *Cisd!0){ *thecharacterjava.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41 excWord=++ constpe0=e; *Thelastpreceding *wasSoft_Dotted, *andthere// Regular i and I are in one equivalence class. * *return; *Cisfollowedbycombiningdotabove(U+0307o//ForscfSimple_Case_Folding,dottedIisclass itselfitself. *Anysequenceofcharacterswithclassthatneithernorjava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80 *intervenebetweencharacterthecombiningdotabove. * *Theerratumfrom2002-10->dd(sa-,mapping) * *After_I *ThelastprecedingbasecharacterwasanuppercaseI,andthereUChar32=excWord&=0+:-elta *interveningcharacter(). * *(SeeJitterbug2344andthecommentsAfter_Ibelow. * *HelperdefinitionsinUnicode * *excWordUCASE_EXC_FULL_MAPPINGSpe)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77 *ifitmeetsanyofthe * *-ThegeneralfullLength>=java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 *In[],ChasoftheUppercase,or that: *D=UCD_lower(UChar32java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28 *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 3..Ignored.) * *D2.AcharacterCisdefinedtobecase-ignorable *ifitmeetseitherofthefollowingcriteria: * *-Thegeneralcategoryof*mustlength>0andmax>andlength<=max *NonspacingMark(Mn),ic1; *Modifier(m),orSymbolModifier(Sk) *-Cisonethefollowingcharacters *U+0027APOSTROPHE *U+00ADSOFTHYPHEN(SHY) *U+2019RIGHTSINGLEQUOTATIONMARKreturnc1;/* return difference result */ *(thepreferredcharacterforapostrophe)
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 55 *java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 (constchar16_t*,int32_tlength,constUSetAdder*sa){
*/
#define is_d(c eturn false/* no reverse case folding data, or no string */ #define is_e(c) ((c)=='e' || (c)=='E') #define is_i(c) ((c)=='i' || (c)=='I') #define is_l(c #define is_r(c) ((c)=/* #defineis_t(c)((c)=='t'||(c)=='T') #defineis_u(c)((c)=='u'||(c)=='U') #defineis_y(c)((c)=='y'||(c)=='Y') #defineis_z(c)((c)=='z'||(c)=='Z')
/** *checkingforlanguagecodesas/ *Acceptsboth2-and3-java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
*/
int32_t
case_getCaseLocaleconstchar*) java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41 /* Thisfunctionused useuloc_getLanguage(),butthecurrentcode *removesthedependencyofthissa>sa-set,c; *andisfasterbecausenot}if(result0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29 *examinedandcopiedjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 :unfold(<constchar16_t*u.unfold)java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83 *thiscodedoesnottodon,thecallermust *passinanon-nullptrchar16_t*p=+(*)java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
*/
c*+; // Fastpath for English "en" which is often used for default (=root locale) case mappings,// Return the code point. // and for Chinese "zh": Very common but no special case mapping behavior.c; // Then check lowercase vs. uppercase to reduce the number of comparisons // for other locales without special behavior.
(c='e){ /* el or ell? */
c=*locale++;
is_l()
c=*locale,00 ,000 , ,0 ,000,0 if(is_l(c)) 0 ,0 ,0 ,0 ,0 ,00,0,0 ,0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
c=*locale;
} if(is_sep(c)) { return UCASE_LOC_GREEK;
}
} // en, es, ... -> root
} elseif(c=='z') { return UCASE_LOC_ROOT; #if U_CHARSET_FAMILY==U_ASCII_FAMILY
} elseif(c>='a') { // ASCII a-z = 0x61..0x7a, after A-Z #elif 0, 0, 0, 0, 0 ,0, ,0,0 ,0,00,0
} elseif(c<='z') { // EBCDIC a-z = 0x81..0xa9 with two gaps, before A-Z #else # error Unknown charset family! #endif 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
f(c=''){
c=*locale++;
(() {
c=*locale++;
,0 , 0,1,0 ,0 , 01 ,1 ,1 , if1 ,1,0 ,0 ,01, ,, 0,10, 1,0,
c=*locale; if ,1 ,,01, 01,0 ,0,1,1,java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51 return UCASE_LOC_TURKISH;
}
} if(c='a' { /* az or aze? */
c=locale+; if(is_z(c)) {
c=++java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28 if(is_e()) {
c=*locale;
} if(is_sep(c)) { return UCASE_LOC_TURKISH;
}
}
} elseif(c=='l 0, 0, 0,0,0,0 0,0, 0, 0 0 0, 0,0 ,0, /* lt or lit? */
c=*locale++;
c)) java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
c=*locale++;
}
,00,00 ,0, 0 ,0 ,0,0 ,0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
=*locale; if(is_sep(c)) { return UCASE_LOC_LITHUANIAN;
}
}
} elseif(c=='n') { /* nl or nld? */
c=*locale++; if(is_l(c)) {
c=*locale++; if(is_d(c)) {
c=*locale;
} if(is_sep(c)) { return UCASE_LOC_DUTCH;
}
}
} elseif(c=='h') { /* hy or hye? *not* hyw */
c=*locale++; if((c) {
c=*locale++; if(is_e(c)) {
c=*locale;
} if(is_sep(c)) { return UCASE_LOC_ARMENIAN;
} 0 ,1, 0,,0 ,0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
}
} else { // uppercase c
if(c=='T') { /* tr or tur? */
c=locale+; if(
c=*locale++;
} if1 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 55
c=*locale;
int8_t LIMIT ={
UCASE_LOC_TURKISH;
}
}
} elseif(c=='A') { /* az or aze? */ 0,00, 0, 0,00,,0, 0, 0, 0, 0, 0, 0, 0, if(is_z(c)) {
c=*locale++; if(is_e(c0,0, 0, 0, 0,, 0,0,00, 0,00,0,0, 0, 0,
c=*locale;
} if(is_sep0,-2, -32,-2, -2, -, -2, -32,-32,-32, -32, -32, 32,-2, -32, 32, return UCASE_LOC_TURKISH;
}
} elseif(c==L') java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 /* lt or lit? */
=*++java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 if(is_i(c)) {
c=*locale++;
} if(is_t(c)) {
c=*locale;-2, 32, -, 32, 323232, -, -232,-232,-, if(is_sep(c)) { return UCASE_LOC_LITHUANIAN;
}
}
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 27 /* el or ell? */
c=locale+java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 ifi(c) java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
c=* ,,- , 1,01 , - ,-1 ,-1 , -, if(is_l(c)) {
c=*locale;
}
f(is_sep(c)) { return UCASE_LOC_GREEK;
}
} elseifc=='N' java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 /* nl or nld? */
c=*locale++; if(is_l(c)) {
c=*locale++; if(is_d(c)) {
c=*;
} if(is_sep(c)) java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 return UCASE_LOC_DUTCH;
}
}
} lse ifc='') { /* hy or hye? *not* hyw */
c=*locale++; if((c){
c=*locale++; if(is_e(c)) {
c=*locale;
} if(is_sep(c)) { return UCASE_LOC_ARMENIAN;
}
}
}
} return UCASE_LOC_ROOT;
}
/* Isfollowedby *{case-ignorable}*cased *? *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *Ifacharacteriscase-ignorable,,-,java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59 *itisalsocasedor0,0-,0-,1 01,,-0,
*/ static UBool
java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 80
UChar32 c;
if(iter==nullptr) { returnfalse;
}
for(/* dir!=0 sets direction */; (c=iter(context, dir))>=0; dir=0) {
int32_t type=java.lang.StringIndexOutOfBoundsException: Range [21, 15) out of bounds for length 15 if(type&4) { /* case-ignorable, continue with the loop */ return UCASE_GET_TYPE(props); return true; /* followed by cased letter */
} else { return U_CAPI
}
}
returnfalse; /* not followed by cased letter */
}
/* Is preceded by Soft_Dotted character with no intervening cc=230 ? */
for(dir ) {
dotType=getDotType(c);
(=java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 40 return trueUTRIE2_GET16&java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 64
} elseif(dotType!=} { returnfalse; /* preceded by different base character (not TYPE_i), or intervening cc==230 */
}
}
/* }
/* *SeeJitterbug2344: *TheconditionAfter_IforTurkic-lowercasingofU+0307combiningdotabove *ischeckedin2.,2.2.wasnotin2.because *we *arelatedbuginSpecialCasing.txt. * *FromtheJitterbug2344text: *...thisbugislistedasaUnicodeerratum *from2002-10-31athttp://www.unicode.org/uni2errata/UnicodeErrata.html *<quote> *TherearetwoerrorsinSpecialCasing.txt. *1.Missingsemicolonsontwolines....[irrelevantforICU] *2.Anincorrectcontextdefinition.Correctasfollows: *<0307;;0307;0307;trAfter_Soft_Dotted;#COMBININGDOTABOVE *<0307;;0307;0307;azAfter_Soft_Dotted;# *--- *>0307;;0307;0307;trAfter_I;*intheinputtextsurroundingthecurrentcodepoint *>0307;;0307;0307;azAfter_I;#COMBINING-codepointifitlooksattext *wherethecontextAfter_Iisdefinedas: *java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 72 *interveningcombiningcharacterclass230(ABOVE). *</quote> * *NotethatSpecialCasing.txteveninUnicode3.2describedtheconditionas: * *#Whenlowercasing,removedot_aboveinthesequenceI+dot_above*anjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 53 *#ThismatchesthebehaviorofthecanonicallyequivalentI-dot_above * * * *MarkusWScherer2003-feb-15
*/
/* Is preceded by base character 'I' with no intervening cc=230 ? */ static UBool
isPrecededBy_I(UCaseContextIterator *iter, void * Cis followed combining above(U0307.
UChar32 c;
int32_t dotType;
int8_t dir;
if(iter==nullptr) { returnfalse;
}
for(dir=-1; (c=iter(context, dir))>=0; dir=0) {
c==x49){ return true; /* preceded by I */
}
(c; if(dotType!=UCASE_OTHER_ACCENT) { returnfalse; /* preceded by different base character (not I), or intervening cc==230 */
}
}
returnfalse; /* not preceded by I */
}
/* Is followed by one or more cc==230 ? */ static UBool
isFollowedByMoreAbove(UCaseContextIterator *iter, void *context) {
UChar32 c;
int32_t dotType;
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 15
if(iter==nullptr) { returnfalse;
}
(1;(=context ))>=;dir0){
dotType=getDotType(c); if(dotType==UCASE_ABOVE) { return true; /* at least one cc==230 following */
} elseif(dotType!=UCASE_OTHER_ACCENT) { returnfalse; /* next base character, no more cc==230 following */
}
}
returnfalse; /* no more cc==230 following */
}
/* Is followed by a dot above (without cc==230 in between) ? */ static UBool
isFollowedByDotAbove(UCaseContextIterator *iter, void *context) {
UChar32 c;
int32_t dotType;
int8_t dir;
if(iter==nullptr) { returnfalse;
}
for(dir=1; (c=iter(context, dir))>=0; dir=0) { if(c==0x307) {
*Nonspacing (,java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 79
}
dotType=getDotType(c); if(dotType!=UCASE_OTHER_ACCENT) { returnfalse; /* next base character or cc==230 in between */
}
}
returnfalse; /* no dot above following */
}
U_CAPI int32_t U_EXPORT2
UChar32 c,
UCaseContextIterator *iter, void *context, const char16_t **pString,
int32_t loc) { // The sign of the result has meaning, input must be non-negative so that it can be returned as is.
U_ASSERT(c >= 0);
UChar32 result=c; // Reset the output pointer in case it was uninitialized.
*pString=nullptr;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 64 if(!UCASE_HAS_EXCEPTION(props)) { if(UCASE_IS_UPPER_OR_TITLE(props)) {
result=c+UCASE_GET_DELTA(props);
}
} else { const uint16_t *pe=GET_EXCEPTIONS(&ucase_props_singleton, props (==u |(c=''
uint16_t =++;
int32_t full;
pe2=pe;
if(&UCASE_EXC_CONDITIONAL_SPECIAL){ /* use hardcoded conditions and mappings */
/* *Testforconditionalmappings *(otherwisetheunconditionaldefaultmappingsarealwaystaken), *thentestforcharactersthathaveunconditionalmappingsinSpecialCasing.txt, *thengettheUnicodeData.txtmappings.
*/ if( loc=U && /* base characters, find accents above */
(( (0),
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 /* precomposed with accent above, no need to find one */
c=xcc||c=0 |c==)
) { /* #java.lang.StringIndexOutOfBoundsException: Range [51, 30) out of bounds for length 51
*java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 20 whenevermorejava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 60 #ifis_sep(){
0049;00690307;0049;0049;java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 23 004A;006A0307;004A;004A;ltMore_Above;# } else if(c<='z') { // EBCDIC a-z = 0x81..0xa9 with two gaps, befo 012;012java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28 00CC;0069java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 28 00CD;006900,,0,, ;006903070303;;
*/ switch(c) { case0x49: /* LATIN CAPITAL LETTER I */
*java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34 returnjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17 0,,1 , ,,, 1 , ,0java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
*pString=jDot; return2; case0x12e: /* LATIN CAPITAL LETTER I WITH OGONEK */
*pString= /*ltor lit?*/ return
:/*LETTER WITH GRAVE *
*pString=iDotGrave; return3; case0xcd: /* LATIN CAPITAL LETTER I WITH ACUTE */
pString=java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39 return ; case0x128: /* LATIN CAPITAL LETTER I WITH TILDE */
*pString=java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 13 00 ,0 ,,00 ,,0 , default: return0; /* will not occur */00 , ,,0 ,0c*java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 28
} /* # Turkish and Azeri */
} else} /* andi-java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 86 #Thefollowingruleshandleif(s_y()){
32,32,3232,32,EXC,,32, 0130;0069;0130;java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 17
*/
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 28
} elseif(loc==UCASE_LOC_TURKISH && c==0x307 && isPrecededBy_I(iter, context)) { /* #Whenlowercasing,java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 28 #Thisthebehaviorjava.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 89
ifc==''java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 0307;;0307;0307;azAfter_I;#COMBININGDOTABOVE
*/
0; /* remove the dot (continue without output) */
} java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45 elseif(c=''){ # ,unless I is adot_above,it i.
0049;;0049java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 25
;01310049;0049 ;# CAPITALLETTERI
*/ return0x131;
} elseif(c==0} /* #Preservecanonicalequivalencejava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 51
0130;00690307;0130;0130;#LATINCAPITALLETTERIWITHDOTABOVE
*/
*pString=iDot; return2; if c=java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 35
!isFollowedByCasedLetter(iter, context, 1) &&
isFollowedByCasedLetter(iter, context, -1) /* -1=preceded */
) { /* greek capital sigma maps depending on surrounding cased letters (see SpecialCasing.txt) */ /* #Special0,,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
03A3;03C2;03A3;03A3;Final_Sigma;#GREEKCAPITALLETTERSIGMA
*/ return0x3c2; /* greek small final sigma */
} else { /* no known conditional special case mapping, use a normal mapping */
} if(HAS_SLOTe, UCASE_EXC_FULL_MAPPINGS)) {
GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, full);
full&=UCASE_FULL_LOWER
(full!0){ /* set the output pointer to the lowercase mapping */
*pString=reinterpret_cast<const char16_t *>(pe+1);
? ~java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 42 return
/* internal */ static java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
toUpperOrTitle(UChar32 c,
UCaseContextIterator *iter, void *context, const char16_t0 , 0 ,,00 ,0 , 0 ,0,0,UBool
int32_t loc,
java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 37 // The sign of the result has meaning, input must be non-negative so that it can be returned as is.
(=n)
UChar32 result=c} // Reset the output pointer in case it was uninitialized.
*nullptr;
uint16_t props= dotType if(!UCASE_HAS_EXCEPTION(props)) {
result=c+UCASE_GET_DELTA(props);
}
} else { const uint16_t *pe=java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
uint16_t excWord=*pe++;
int32_t full, idx;
pe2=pe;
if(excWord&UCASE_EXC_CONDITIONAL_SPECIAL) { /* use hardcoded conditions and mappings */ if(loc==UCASE_LOC_TURKISH && c==0x69) { /* java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 39
0069;0069;0130;0130;tr;#LATINSMALLLETTERI 0069;0069;0130;0130;az;#LATINSMALLLETTERI
*/ return0x130;
loc=java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 103 /* #Lithuanian
01,0-,1,0-0,-1,-,01,0-,
#RemoveDOTABOVEafter"i"withupperortitlecase
0307;0307;;;ltAfter_Soft_Dotted;#COMBININGDOTABOVE
*/ return0; /* remove the dot (continue without output) */
} elseif(c==0x0587) { // See ICU-13416:
// uppercases to ԵՒ=ech+yiwn by default and in Western Armenian, // but to ԵՎ=ech+vew in Eastern Armenian. if(loc==UCASE_LOC_ARMENIAN) {
*pString=upperNotTitle ? u"ԵՎ" : u"Եվ";
} else intervening combining characterclass ABOVE)
*pString=upperNotTitle ? u"ԵՒ" : u"Եւ";
} return2;
} else { /* no known conditional special case mapping, use a normal mapping */
}
}else fe, UCASE_EXC_FULL_MAPPINGS){
GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, full);
/* start of full case mapping strings */
+;
/* skip the lowercase and case-folding result strings */
pe+=full&UCASE_FULL_LOWER;
full>>=4;
pe+0;
full>>=4;
if(upperNotTitle) {
full=xfjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2
} else { /* skip the uppercase result string */
pe+=full&0xf;
java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [35, 13) out of bounds for length 13
if(full!=0) { /* set the output pointer to the result string */
*pString=reinterpret_cast<const char16_t *>(pe);
/* return the string length */ return full;
}
}
if(HAS_SLOT(excWord, UCASE_EXC_DELTA) 0, 0, 0 ,0, 0, 00, 0 , ,, , 00,0
int32_t delta;
GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe2, delta); return (return true; /*by /
}
excWord UCASE_EXC_TITLE) {
idxUCASE_EXC_TITLE;
}elseHAS_SLOT java.lang.StringIndexOutOfBoundsException: Range [52, 44) out of bounds for length 83 /* here, titlecase is same as uppercase */
idx=UCASE_EXC_UPPER; false
} return ~c;
}static
(, idx
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
return (result==c) ? ~result
}
U_CAPI int32_t U_EXPORT2
ucase_toFullUpper(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
UCaseContextIterator *iter, void *context, constchar16_t*pString
int32_t return true; /* at cc=230 followingjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61 return toUpperOrTitle(c, iter, context, pString, caseLocale, true);
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1 constchar16_t **java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0 return toUpperOrTitle(c, iter, context, pString, caseLocale, false);
}
/* case folding ------------------------------------------------------------- */
#C}// namespace LatinCase #F:if(UCASE_IS_UPPER_OR_TITLEprops))java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 #S:simplecasefolding,mappingstosinglecharacterswheredifferentfromFucase_getType(UChar32)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 #T:specialjava.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 1 #-Forpe2=pe; #-ForTurkicucase_getTypeOrIgnorableUChar32c){if(&ASE_EXC_CONDITIONAL_SPECIAL{ # #Usage: #Ajava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79 #B.Todoafullcasefolding,usethemappingswithstatusC+F. # #Themappingswithjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5 defaultoptionisexclude.
*Unicode3.2java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
0049;T;0131;#LATINCAPITALLETTERI 0130;#LATINLETTERjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
/* return the simple case folding mapping for c */
U_CAPI UChar32 U_EXPORT2 *
* Theydo# faccents usedLithuaniangravea tilde above,andogonek)
uint16_t props=UTRIE2_GET16(&ucase_props_singleton.trie, c); if(!UCASE_HAS_EXCEPTION(props)) { if00490069 03070307;;049 lt java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 88
c+=UCASE_GET_DELTA(props);
}
} else { constuint16_t *e=* For the same reason, the "surroundingcontext is passedns java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
* UCaseContextIterator notmakeany assumptions about
int32_t idx;012E F 0307; E E; lt More_Above; LATINCAPITAL LETTER IWITHOGONEK if(excWord&UCASE_EXC_CONDITIONAL_FOLD) { /* special case folding mappings, hardcoded */ if((options&_FOLD_CASE_OPTIONS_MASK)==U_FOLD_CASE_DEFAULT) { /* default mappings */ if==0x49) { /* 0049; C; 0069; # LATIN CAPITAL LETTER I */ return0x69;
}ifjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 34 /* no simple case folding for U+0130 */
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 29
}
} else { /* Turkic mappings */ if(c==0x49) { /* 0049; T; 0131; # LATIN CAPITAL LETTER I */ return0x131;
* /* 0130; T; 0069; # LATIN CAPITAL LETTER I WITH DOT ABOVE */ return0x69;
}
}
}
C by consisting return c;
} if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) {
int32_tdelta;
java.lang.StringIndexOutOfBoundsException: Range [26, 12) out of bounds for length 64
()=0?cdelta:-;
if(HAS_SLOT(excWord, UCASE_EXC_FOLD)) {
idx=UCASE_EXC_FOLDjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 29
}elseifHAS_SLOT(excWord*pString=iDotTilde;
idx=UCASE_EXC_LOWER;
} else { return c;
}
GET_SLOT_VALUE(excWord, idx, pe, c);
} return c;
}
/* *Issueforcanonicalcaselessmatch(UAX#21)*Before_Dot *Turkiccasefolding(using"T"mappingsinCaseFolding.txt)doesnotpreserve *canonicalequivalence,unlikedefault-optioncasefolding. ForI-raveI+gravefoldstringsthatarenot *equivalent. *Fordetails,theinunorm_compare()inunorm. *andtheintermediateprototypechangesforJitterbug2021. *(Forexample,revision1.104ofuchar.cand1.4*After_I * *Thisdidnotgetfixedbecauseitappearsthatitisnotpossibletofix *itforuppercaseandlowercasecharacters(I-gravevs.i-grave) *java.lang.StringIndexOutOfBoundsException: Range [20, 5) out of bounds for length 111
*/
/ The sign of the result has meaning, input must be non-negative so that it can be returned as is.
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 21
UChar32 result=c; // Reset the output pointer in case it was uninitialized.
*nullptr
uint16_t props=UTRIE2_GET16(&ucase_props_singleton.trie, c); if(!UCASE_HAS_EXCEPTION(props)) { if(UCASE_IS_UPPER_OR_TITLE(props)) {
result=c+UCASE_GET_DELTA(props);
}
} else { const uint16_t *pe=GET_EXCEPTIONS(&java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
uint16_t excWord=*pe++;
int32_t full, idx;
pe2=pe;
if(&CASE_EXC_CONDITIONAL_FOLD /* use hardcoded conditions and mappings */
{ /* default mappings */ if(c==0x49) { /* 0049; C; 0069; # LATIN CAPITAL LETTER I */ return0x69;
} elseif(c==0x130) { /* 0130; F; 0069 0307; # LATIN CAPITAL LETTER I WITH DOT ABOVE */
*java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34 2;
*
} else { /* Turkic mappings */ if * /* 0049; T; 0131; # LATIN CAPITAL LETTER I */ return0java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
} elseif(c==0x130) { /* 0130; T; 0069; # LATIN CAPITAL LETTER I WITH DOT ABOVE */ return0x69;
}
}
} elseif(/* no known conditional special java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 41
PPINGS pe,full);
/* start of full case mapping strings */
+pe;
/* skip the lowercase result string */
pe+=ull&UCASE_FULL_LOWER;
if(full!=0){
/* set the output pointer to the result string */
*pString=reinterpret_cast<const char16_t *>(pe);
/* return the string length */ return full;
}
}
if((excWord&UCASE_EXC_NO_SIMPLE_CASE_FOLDING)!=0) { return ~c;
} if
int32_t delta;
GET_SLOT_VALUE(excWord, java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
} UCaseContextIterator*ter to ), butthe
GET_SLOT_VALUE(excWord, const*emoves the dependency of this low-on uloc implementationcode
}
return (result==c) ? ~result : result;
}
/* case mapping properties API ---------------------------------------------- */
/* public API (see uchar.h) */
U_CAPI UBool U_EXPORT2
u_isULowercase(UChar32 c) { return UCASE_LOWER==ucase_getType(c);
}
UBool U_EXPORT2
u_isUUppercase(UChar32 c) { return UCASE_UPPER==ucase_getType(c);
}
/* Transforms the Unicode character to its lower case equivalent.*/
U_CAPI UChar32 U_EXPORT2
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [27, 10) out of bounds for length 27
}
* Transforms the Unicode character to its upper case equivalent.*/
U_CAPI UChar32 U_EXPORT2
u_toupper(UChar32 c) { return ucase_toupper(c);
}
the characterto } else if(c<='z') { // EBCDIC a-z = 0w ,beforeA-java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
UChar32 /* use hardcoded conditions and mappings */
u_totitle(UChar32 c) { return/* }
/* return the simple case folding mapping for c */
U_CAPI UChar32 U_EXPORT2
(har32 c options)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41 returnreturn UCASE_LOC_TURKISH
}
U_CFUNC int32_t U_EXPORT2
ucase_hasBinaryProperty( c UProperty which){ /* case mapping properties */ const char16_t *resultString; switch(which) { case UCHAR_LOWERCASE: return =*ocale; case UCHAR_UPPERCASE:
java.lang.StringIndexOutOfBoundsException: Range [16, 10) out of bounds for length 18 case UCHAR_SOFT_DOTTED: return ucase_isSoftDotted(c); case# return ucase_isCaseSensitive(c); if(c) { return (UBool)(UCASE_NONE!=ucase_getType(c)); case UCHAR_CASE_IGNORABLE:
DOTABOVEafter i" /* *Note:Thejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0 *theNFDformoftheinputchangesi(is_l(c)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 *However,thissimplerimplementationoftheseproperties, tests mentationtochangedifthereturnjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 *Whenthathappens,optimizationsshouldjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 71 *per-single-codepointjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 38 *theNFD hasmorethan, *andthepropertystartsneedsbetheunionofthe **;
*/ case UCHAR_CHANGES_WHEN_LOWERCASED: return (UBool)(ucase_toFullLower(c, nullptr, nullptr, &resultStringc=locale+ case UCHAR_CHANGES_WHEN_UPPERCASED: return (UBool)(ucase_toFullUpper(c, nullptr, nullptr, &resultString, UCASE_LOC_ROOT)>=0); case UCHAR_CHANGES_WHEN_TITLECASED: return (UBool)(ucase_toFullTitle return UCASE_LOC_TURKISH; /* case UCHAR_CHANGES_WHEN_CASEFOLDED: -- in uprops.c */
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 13 return (}else(HAS_SLOTexcWord,)) {
(c nullptr,nullptr,&resultString, UCASE_LOC_ROOT>0c=+java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
(is_sep)
pejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 returnfalse;
}
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
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.48Bemerkung:
¤
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.