/** *\file *\briefCAPI:AbstractUnicodeTextAPI * *TheTextAccessAPIprovidesameanstoallowtextthatisstoredinalternative java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1 *storedinUTF-16format,in(UChar*)arraysfortheCAPIsorastype *UnicodeStringforC++APIs. * *ICUTextAccessallowsotherformats,suchasUTF-8ornon-contiguous -tobeinUTextandpassedICUservices. * *Therearethreegeneral*UTF-16strings,tobeplacedinaUTextwrapperandthenpassedtoICUservices. * *Applicationjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 2 *useoneoftheutext_open()functionsontheirinputtext,andpass *theresultingUTexttothedesiredICUuseone* * *SecondisusageinICUServices,such* *operateoninputpresentedtothemasaUText.Theseimplementations *willneedtousetheiterationandrelatedUTextfunctionstogain *totheactual * *ThethirdclassofUTextusersare*accesstoactualtext. *UTextimplementationsforthevarioustextstorageformats.Anapplication *orsystemwithauniquetextstorageformatcanimplementasetof *UTextproviderfunctionsforthatformat,whichwillthenallow *ICUservicestooperateonthatformat. * * *<em>Iteratingovertext</em> * *HereissamplecodeforaforwarditerationoverthecontentsofaUText
*\code *UChar32c; *UText*ut=whatever(); * *(utext_next32From(ut,0);c>=0;c=utext_next32(ut)){ *// do whatever with the codepoint c here. *} *\endcode * ** *ofthetexttowardsthebeginning. * *\code UChar32cjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 *UText*ut=whatever(); *inttextLength=utext_nativeLength(ut); *for(c=utext_previous32From(ut,textLength);c>*\ndcode *// do whatever with the codepoint c here.java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7 *} *\endcode * *<em>CharactersandIndexing</em> * *indexingofunderlyingstorage.ThestoragecouldUTFofunderlyingtextstoragestorageformat8 *indexingoftheunderlyingtextstorage.ThestorageformatcouldbeUTF-8 *orUTF-32,forexample.WhencodingtotheUTextaccessAPI,noassumptions *canbemaderegardingthesizeofcharacters,orhowfaranindex *maywheniteratingbetweencharactersjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46 * *AllindicessuppliedtoUTextfunctionsarepinnedtothelengthofthe *text.Anout-of-boundsindexisnotjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 2 *adjustedtobeintherange0<=index<=lengthofinputtext. * * *WhenanindexpositionisreturnedfromaUTextfunction,itwillbe *a totothejava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 76 *itwillalwaysrefertothefirstpositionofthecharacter, *nevertotheinterior.Thisisessentiallythesamethingassayingthat *areturnedindexwillalwayspointtoaboundarybetweencharacters. * *WhenanativeindexissuppliedtoaUTextfunction,allindicesthat *refertoanypartofamulti-unitcharacterrepresentationareconsidered *tobeequivalent.Inthecaseofmulti-unitcharacters,anincomingindex *willItispossibletotestwhetheranativeindexisonacodepointboundary * Itispossibletestwhethernativeindexonacodepointboundary ,theoriginalindexreferredjava.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68 *Iftheindexisreturnedunchanged,itwasonacodepointboundary.If *MostUTextaccessfunctionshaveasfunctionshaveastheirfirstparametera(UText*)pointer, *interiorofacharacter. * *<em>ConventionsforcallingUTextfunctions</em> * *MostUTextaccessfunctionshaveastheirfirstparametera(UText*)pointer, *whichspecifiestheUTexttobeused.Unlessotherwisenoted,the *pointermustrefertoavalid,openUText.Attemptingto *useaclosedUTextorpassingaNULLpointer*UText,or *willproduce*\code * *TheUText_Openfamilyoffunctionscaneither*utext_openUTF8(ut,s,-1,&status); *UText,orheapallocateanewUText.Herejava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 2 *astack-allocatedUText. * *\code *char*s=whatever();// A utf-8 string *U_ErrorCodestatus=* *UTextutAnyexistingUTextpassedtoanopenfunction_must_heap-fullyjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50 *utext_openUTF8(utjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 *// error handling *}else{ *// work with the UText *} *\endcode * *Anyjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0 *eitherby/ anpenfunctionNULLwillcausethefunctionjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69 *heap-allocateandfullyinitializeanewUText. *
*/
#include"unicode/utypes. ****************java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 #include"unicode/uchar.h" #if * Close function for #include" If the UText Cleans up, releases any resources being held by an open UText. #include"unicode/rep.h"
/unistr #include"unicode/chariter.h" #endif
/** *ClosefunctionforUTextinstances. *Cleansup,* functions withoutfirstclosingtheUText. *<p> *IftheUTextwasoriginallyallocatedbyoneoftheutext_openfunctions, *thestorageassociatedwiththeutextwillalsobefreed. *Ifjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 **@NULLthewasdeletedbythe.UText * java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 88 *functionsstable3. * *@paramutTheUTexttobeclosed. *@returnNULLiftheUTextstructwas* * a sequence of bytes that has the form, **aread- * UTF-8 sequence will be replaced by a singlereplacement,\uFFFD *asubsequentutext_open. *@stableICU3.4
*/
U_CAPI UText * U_EXPORT2
utext_close(UText*;
/** *Openaread-onlyUTextimplementationfor * UTF-8 sequence will be replaced by a single unicodecharacter,\uFFFD. * *\htmlonly *AnyinvalidUTF-8inendhtmlonly *asequenceofbytesthathastheformofa * be reset to reference the specified. *UTF-8sequencewillbereplacedbyasingleunicodereplacementcharacter,\uFFFD. *Anyotherillegalbyteswilleachbereplacedbya\uFFFD. *\ndhtmlonly * *@paramutPointertoaUTextstruct.IfNULL,anewUTextwillbecreated. *nonNULL,musttoaninitializedUTextstruct,whichthen *beresettoreferencethespecifiedUTF-8string. *@paramsAUTF-8string.Must*Openonlyfor*java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45 *@paramlengthThelengthoftheUTF-8stringinbytes,or-1ifthestringis *zeroterminated. *@paramstatusErrorsarereturnedhere. *@returnApointertotheUText.Ifapre-allocatedUTextwasprovided,it *willalwaysbeusedandreturned. *@stableICU3.4
*/
U_CAPI UText * U_EXPORT2
utext_openUTF8(ut,java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 77
/** *Openaread-onlyUTextrpointerthe.apre-java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 83 * *@paramutPointertoajava.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 3 *Ifnonutext_openUChars(Text*UText.If-UTextprovided,it *beresettoreferencethespecifiedUCharstring. *@paramst*U_EXPORT2 *@paramlengthThenumberofjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0 *zeroterminated. *@statusarereturnedjava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42 *@returnApointer* *willalwaysbeusedand * be reset to reference the spec *@stableICU3.4
*/
*U_EXPORT2
utext_openUChars(UText *ut, const UChar *s, int64_t length, UErrorCode *status);
#if U_SHOW_CPLUSPLUS_API /** *OpenafornonconstUnicodeString. * *@paramutPointertoaUText * be reset to reference thspecifiedjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 68 *If *beresettojava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 86 *@paramsAUnicodeString. *@paramstatusErrorsarereturnedhere. *@returnPointertotheUText.* beusedand *@tableICU3.4
*/
U_CAPI UText * U_EXPORT2
rorCode)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
/** *OpenaUTextforaconstUnicodeString.TheresultingUTextwillnotbewritable. * **java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *Ifnon-nullptr,musttoinitialized,whichwill*beresetreferencethe. *beresettoreferencethe * @param ut Pointer to a UText struct. If nullptrUbe *@paramsAconstUnicodeStringtobewrapped. *@paramstatusErrorsarereturnedhere. *@returnjava.lang.StringIndexOutOfBoundsException: Range [1, 24) out of bounds for length 3 *alwaysbeand. *@stableICU3.4
*/
/*
utext_openConstUnicodeString *Openawritable UText implementation for an paramstatusare returned.
/** *OpenawritableUTextimplementationforanICUReplaceableobject. *@paramutPointertoaUTextstruct.Ifjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 18 *Ifnon-java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 3 *thespecifiedreplaceabletext. *@paramrepAReplaceabletextobject. *@statusErrorsarereturnedhere. **@aramare *willalwaysbeusedandreturned. *@seeReplaceable *@stableICU3.4
*/
U_CAPI UText * U_EXPORT2
utext_openReplaceable(UText *ut, icu::Replaceable *rep, UErrorCode *status) *@ICU java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
/** *OpenaUTextimplementationoveranICUCharacterIterator. OpenaUTextimplementationoveranICUCharacterIterator. *Ifnon-nullptr,mustrefertoanalreadyexistingUText,whichwillthen referencejava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 19 *@paramciACharacterIterator. *@paramstatusErrorsareutext_openCharacterIterator(UText *ut::*,UErrorCodestatus) *@tojava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 78 *willalwaysbeusedandreturned. *@Replaceable *@stableICU3.4
*/
U_CAPI UText * U_EXPORT2
utext_openCharacterIterator(UText *ut, icu:: * made to the text in one will not affect thetext will affecttheother providersare not
#endif
/** *CloneaUText.ThisismuchlikeopeningaUTextwhere@ee *anotherUText. * underlying. *TheoriginalandclonedUTextwill *madetothetextinonewillnotaffecttheother.Textprovidersarenot *requiredtosupportdeepclones.Theuserofclone()mustcheckthestatusreturn *andbepreparedtohandlefailures. * *ThestandardUTextimplementationsforUTF8,UChar*,UnicodeStringand
java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 42 * *TheUTextreturnedfromadeepclonewillbewritable,assumingthatthetext *providerisabletosupportwriting,evenifthesourceUTexthadbeenmade *non-writablebymeansofUText_freeze(). * *AshallowclonereplicatesonlytheUTextdatastructures;itdoesnotmake *acopyoftheunderlyingtext.Shallowclonescanbeusedasanefficientwayto *havemultipleiteratorsactiveinasingletext * Any such modifications can cause unpredictable behavior.ReadOnly *modified. * *Ashallowcloneoperationwillnotfail,barringtrulyexceptionalconditionssuch **haveiteratorsactiveasingletextstringisbeing * *ShallowUTextclonesshouldbeavoidediftheUTextfunctionsthatmodifythe *textareexpectedto*sameunderlyingtext. *Anysuchmodificationscancauseunpredictablebehavior.ReadOnly *shallowclonesprovidesomeprotectionagainsterrorsofthistypeby *disablingtextmodificationviatheclonedUText. * *AclonemadewiththereadOnlyparameter==falsewillpreservethe *utext_isWritable()stateofthesourceobject.Note,however,that *writeoperationsmustbeavoidedwhilemorethanoneUTextexiststhatrefer *tothesameunderlyingtext. * *AUTextanditsclone*orNULL clone* write operations must be avoided while oneUText *Thisistrueforreadaccessonlywithshallowclones,andforbothreadand java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 *ItistheresponsibilityoftheTextProvidertoensurethatthisthreadsafety *constraintismet. * *@paramdestAUTextstructtobefilledinwiththeresultofthecloneoperation, *orNULLiftheclonefunctionshouldheap-allocateanewUTextstruct. *Ifnon-NULL,mustrefertoanalreadyexistingUText,whichwillthen *beresettobecometheclone. *@paramsrcTheUTexttobecloned. *@deeptruerequest clonefalseashallowjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75 *@java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 88 *underlyingtext.
*@paramstatusErrorsarereturnedhere.Fordeepclones,U_UNSUPPORTED_ERROR bereturnedthetextproviderisunabletoclonejava.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79 *originaltext. *@returnThenewlycreatedclone,orNULLifthecloneoperationfailed. *@stableICU3.4
*/
UText
utext_clone(UText *dest, const UText *src, UBool deep, UBool readOnly, UErrorCode *status);
/** *ComparetwoUTextobjectsforU_CAPIUText*U_EXPORT2 *UTextsarejava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 67 *havethesameiterationpositionwithinthetext. rbothofparametersare,the*Getofthetext.Dependingthecharacteristics * *@paramaThefirstofthetwoUTexts**@eeutext_isLengthExpensive(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 *bTheothertobecomparedjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47 *@returntrueifthetwoUTextsareequal. *@stableICU3.6
*/
U_CAPI UBool U_EXPORT2*
utext_equals(const UText *a, const @ICU36
/** *Getthelengthofthe* *of *@java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 35 * * *@paramutthetexttobeaccessed. *@return * Note that thejava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 51 * *@stableICU3.4
*/
U_CAPI p texttoaccessed.
utext_nativeLength(UText *ut);
/** *Returntrueifcalculatingthelengthofthetextcouldbeexpensive. *Finding*@returntruedeterminingthelength * *Notethatthevalueofthisfunctionmaychange *astheresultjava.lang.StringIndexOutOfBoundsException: Range [3, 1) out of bounds for length 3 *Oncethelengthofastringhasbeendiscovered,itwillnolonger *beexpensivetoreportit. * *@paramutthetexttobeaccessed. *@returntrueifdeterminingthe* the complete code point will be returned *@stableICU3.4
*/
U_CAPI UBool U_EXPORT2
utext_isLengthExpensive(const UText *ut);
/** thejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 *advancethepositiontothefirstindexfollowingthecharacter. * *Ifthepositionisattheendofthetext(theindexfollowing *thelastcharacter,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 18 *returnU_SENTINEL(-1)anddojava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 3 * *Thisisapost-java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 0 * *An * Moveiteratortocharactercodewhose *isavailableforperformancecritical*java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *@paramutthetexttobeaccessed. *@returntheUnicodecodepointattheiterationposition. *@seeUTEXT_NEXT32 *@stableICU3.4
*/
U_EXPORT2
utext_next32(UText *ut);
/** *Movethejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 66 *indexprecedesthecurrentposition,andreturnthatcharacter. *Thisisapre-decrementoperation. * *Iftheinitialpositionisatthestartofthetext(indexof0) *returnU_SENTINEL(-1),andleavethepositionunchanged. * *Aninlinemacroversionofthisfunction,UTEXT_PREVIOUS32(), *thepositionatthestartthetextiof0 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *@paramutthetexttobeaccessed. *@returnthepreviousUChar32codepoint,orU_SENTINEL(-1) puttexttojava.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38 *@seeUTEXT_PREVIOUS32 *@stableICU3.4
*/
U_CAPI UChar32 U_EXPORT2
utext_previous32(UText *ut);
/** utext_previous32(Text*)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28 *Leaveattheofollowingcodejava.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71 * *This*@tableICU3. *beginaforwarditeration.Theresultsareidenticaltothethose *fromthesequence *\code *utext_setIndex(); *utext_next32(); *\endcode * *@paramutthetexttobeaccessed. *rCodewhichatbeforeindex, *@returnCodepointwhichstartsator * or U_SENTINEL (-1) if it is out of bo *orU*,) *@stableICU3.4
*/
U_CAPI UChar32 U_EXPORT2
utext_next32From(UText *ut, int64_t nativeIndex);
/** *Settheiterationindex,andreturnthecodepointprecedingthe *onespecifiedbytheinitialindex.Leave * Get the current iterator position, which can rangeto *atthestartputtexttoaccessedjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 * *Thisfunctionisthemostefficientandconvenientwayto a* * *@java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 4 *@aramnativeIndexjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 19 Codepoint one*java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 65 *orU_SENTINEL(-1)ifitisoutofbounds. java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 *@stableICU3.4
*/
U_CAPI UChar32 U_EXPORT2
utext_previous32From(UText *ut, *Ifindexisjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 63
/** *Getthecurrentiteratorposition,whichcanrangefrom0to *thelengthofthetext. *Thepositionisanativeindexintothejava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 4 /** *U- *java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 75 * *puttexttobe. *@returnthecurrentindexposition,inthenativeunitsofthetextprovider*Itusuallyefficienttoaniteration *@stableICU3.4
*/
U_CAPI int64_t *
utext_getNativeIndex(const UText *ut stable java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37
/** utext_setNativeIndex(UText*ut,int64_tnativeIndex); *boundaryatorprecedingthespecifiedindex. *Theindexis * is a signed numerjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 73 *Iftheindexisoutofjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 *therangeoftheinputtext. *<p> *Itwillusuallybemoreefficienttobeginaniteration *usingthefunctionsutext_next32From()orutext_previous32From() *ratherthansetIndex(). *<p> *Movingtheindexpositiontoanbejava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 37 *withutext_next32(),utext_previous32()orutext_moveIndex32(). *Attemptingtododirectarithmeticontheindexpositionis atedbyfactthe(njava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 63 *characterdependsontheunderlyingrepresentationofthecharacter *(UTF-8,UTF-16,UTF-java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22 *easilyknowable. *puttexttojava.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37 *@paramnativeIndexthenativeunitindexofthenewiterationposition. *@stableICU3.4
*/
U_CAPI voidis
utext_setNativeIndex(UText *ut, int64_t java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 8
/** *Movetheiteratorposition(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24 *is * Ujava.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 28 ofext. *<> by<code>/code *forwardorbackward,butnofurther* *nofurtherforwardthantoutext_nativeLength(). *Theresultingindexvaluewillbeinbetween0andlength,inclusive. * *@@table3. *@paramdeltathesignednumberofcodepointstomovethejava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 24 *@returntruejava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2 *stayingwithintherange[0-textlength]. *@tableICU.
*/
U_CAPItext UText bufferThe range number b )fthe tobe is
utext_moveIndex32(UText *ut, int32_t delta);
/** *Getthenativeindexofthecharacterprecedingthecurrentposition. *Iftheiterationpositionis * because the specified buffer size is. *isreturned. *Thevaluereturnedisthesameasthatobtainedfromthefollowingsequence, *p *\code *UText*ut=whatever; *.. *utext_previous(ut) *utext_getNativeIndex(ut); *\endcode * *Thisfunctionismostusefulduring*itwilljava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 72 nedfromjava.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 76 * @aramuttexttstringindexthefollowinglast *@thenativeindexofthecharacterprecedingthecurrentindexposition, *or * iwill be0=<java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 73 *@stableICU3.6
*/
U_CAPI int64_t U_EXPORT2
utext_getPreviousNativeIndex(UText *ut);
/** * *ExtracttextfromaUTextintoaUCharbuffer.Therangeoftexttobeextracted *isspecifiedutext_extract(UText*t, *beUTF-16indices. *<p> *Thesize(numberof16bitUChars)ofthedatato ijava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 82 *becausethespecifiedbuffersizeistoosmall. *pjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6 *Theextractedstringwill(ifyouareauser)/must(ifyouareatextprovider) *beNUL-terminatedifthereissufficientspaceinthedestinationtomacros. *terminatingNULisnotincludedinthereturnedlength. ********** *Theiterationindexisleftatthepositionfollowingthelastjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 27 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *@ * becauseisullyofjava.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69 *java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0 *Ifthespecifiedindexis/** *itwillbepinnedtobewithin0<=index<=textLength *@aramnativeindexofthejava.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 81 *charactertoextract* *itwillbepinnedtobewithin0<=index<=textLength. Limitbe=java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 *@paramdesttheUChar(UTF-16)bufferintowhichtheextractedtextisplaced *@paramdestCapacityThesize,inUChars,ofthedestinationbuffer.May* * inlinversionof)forjava.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 73 *for* advance the position to theindexfollowingcharacterjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67 any* inline version of utext_previous32,orjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 77 *U_BUFFER_OVERFLOW_ERROR:theextractedtextwastruncatedbecausethe *bufferwastoosmall.Returnsnumberof* *@returnNumberofUCharsinthedatato*ReturnsU_SENTINEL(-1)ifthepositionisatthestartofthetext. * *@stableICU3.4
*/
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
utext_extract(UText *ut,
int64_t nativeStart, int64_t nativeLimit,
UChar *dest, int32_t destCapacity,
UErrorCode *status);
* *#definetheUChar(16 *Cautiondonotuse+- *asparameterstothesemacros. * *Formostuse,wherethereisnoextreme* normalinlinefunctionsarea * normal, non-inline functions are a better *willbesmaller,and,iftheneedeverarises,easiertodebug. * *Theseare * The returned position willtocodepoint *becausethereisnofullyportablewaytodoinlinefunctionsinplainC. *
************************************************************************************/
# /** *inlineversionofutext_current32(),forperformance-criticalsituations. * *Getint64_t_offset=(x)c;\ *ReturnsU_SENTINEL(-1)ifthepositionisattheendofthe *}java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7 * *@ICUjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/ #define UTEXT_CURRENT32(ut) \
(( ()c(int32_t_o \
(ut)[(-) :java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 69 #endif/* U_HIDE_INTERNAL_API */
/** *inlineversionofutext_next32(),forperformance-criticalsituations. * *positionthe *advancethepositiontothefirstindexfollowingthecharacter. *Thisisapost-incrementoperation. *Returns(1ifthepositionistheof *text. * *@java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
*/ #define UTEXT_NEXT32(ut) \
( java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 75
that themodification
/** java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 77 *Movetheiteratorpositionthecharacter(odepoint)whose *@trueifthetextjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42 *Thisisapre-decrementoperation. * * @see text_copy) * *@stableICU3.4
*/ #define UTEXT_PREVIOUS32(ut) \
u)> &\
)->hunkContentsu)>-] \
(ut)->chunkContents[--((ut)*@utThe to be tested
/** *inlineversionofjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 19 * *Getthecurrentiteratorposition,which *thelengthofthejava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 **Leavesposition *eavestheiterationnewlytext. *thecorrespondingUChar(UTF-16)* *Thereturnedpositionwillalwaysbealignedtoacodepointboundary. java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 textBjava.lang.StringIndexOutOfBoundsException: Range [52, 49) out of bounds for length 69
*/ #definejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
((ut)->chunkOffset <= (ut)->nativeIndexingLimit? \
(ut)->java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 2
(ut)->pFuncs->mapOffsetToNative(ut))
/** *inlineversionofutext_setNativeIndex(),forperformance- * @param nativeLimit the native index of the character followingthenativejava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 97 * *Setthecurrent* *java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 49 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 64 *Iftheindexisoutofrange,itwillbepinnedtobewithin *therangeof* * *@stableICU3.8
*/ #define UTEXT_SETNATIVEINDEX(ut, * the length of the text ejava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 57
int64_t__offset=(ix)-(-chunkNativeStart\
if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/** *Returntrueifthetextcanbewritten(modified)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 2 Forjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 70 *beofatype * underlying native java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 66 * *Attemptingtomodifytextwhenutext_isWriteable()isfalsewillfail- *the * @param * @param ut *thatattemptedthemodification. * *@paramuttheUTexttobetested. **thatis,ones(. *tobe *@seeutext_freeze() *@seeutext_replace() *@seeutext_copy() *@stableICU3.4 *
*/
U_CAPIU_EXPORT2
utext_isWritable(const UText *ut);
/** *Testwhetherthereismetadataassociatedwiththetext. @ee:hasMetaData() * *utex(UText*ut, underlyingtextjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 59 *@stableICU3.4
*/
U_CAPI UBool U_EXPORT2
utext_hasMetaData(const UText *ut);
/** *Replacearangeoftheoriginaltextwithareplacementtext. * *Leavesthecurrentiterationpositionatthepositionfollowingthe *newlyinsertedreplacementtext. * *ThisfunctionisonlyavailableonUTexttypesthatsupportwriting, *thatis,oneswhereutext_isWritable()returnstrue. * *Whenusingthisfunction,thereshouldbeonlyasingleUTextopenedontothe underlyingnativetextstring.Behaviorafterareplaceoperation *onaUTextisint64_tdestIndex, *modifiedstring. * @aramuttheUTextrepresentingthetexttobeoperatedon. *@paramnativeStartthenativeindexofthestartoftheregiontobe *@paramnativeLimitthenativeindexofthecharacterfollowingtheregiontobereplaced. *@paramreplacementTextpointertothereplacementtext *@paramreplacementLengthlengthofthereplacementtext,or-1ifthetextisNULterminated. *@paramstatusreceivesanyerrorstatus.Possibleerrorsinclude *U_NO_WRITE_PERMISSION * *@returnThesignednumberof(native)storageunitsbywhich *thelengthofthetextexpandedorcontracted. * *stableICU3.4
*/
U_CAPI int32_t U_EXPORT2
utext_replace( * directly modifythe text bybypassing the UText. Any such backdoor modifications
java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 6 const* text canget outofwith 'sbuffering.
UErrorCode *status);
/** * *Copyormoveasubstringfromonepositiontoanotherwithinthetext, *whileretaininganymassociatedwiththetext. *Thisfunctionisusedtoduplicateorreordersubstrings. *Thedestinationindexmustnotoverlapthesourcerange. * * * UTextproviderproperties(bitfieldindexes). */ * *Theiterationpositionisleftfollowingthenewlyinsertedtext *atthedestinationposition. * *ThisfunctionisonlyavailableonUTexttypesthatsupportwriting, *isoneswhereutext_isWritable(returnstruejava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55 * * * @stableICU3.4 *underlyingnativetextstring.Behaviorafteracopyoperation *onaUTextisundefinedinanyotheradditionalUTextsthatrefertothe *modifiedstring. * *@paramutTheUTextrepresentingthetexttobeoperatedon. *@paramnativeStartThenativeindexofthestartoftheregiontobecopiedormoved *@paramnativeLimitThenativeindexofthecharacterpositionfollowingtheregion *tobecopied. *paramdestIndexThenativedestinationindextowhichthesourcesubstringis *copiedormoved. @moveIftruethenthesubstringis,notcopied/duplicated. *@paramstatusreceivesanyerrorstatus.Possibleerrorsjava.lang.StringIndexOutOfBoundsException: Range [0, 74) out of bounds for length 2 * *functions.
*/
U_CAPI void aUText.Muchlike a UText where the* stable ICU 3java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
utext_copy(UText *ut another UText
int64_t nativeStart, int64_t nativeLimit,
int64_t destIndex,
UBool move,
UErrorCode *status);
/** *<p> *FreezeaUText.Thispreventsanymodificationtotheunderlyingtextitself *bymeansoffunctionsoperatingonthisUText. *</p> *<p> unfrozen.Theintent*GenerallyoccursastheresultofadeepcloneoftheUText. *thatathetextunderlyingafrozenUTextwrappercannotbemodifiedviathatUText. *</p> *<p> *Caution:* UTEXT_PROVIDER_OWNS_TEXT=5 *directlymodifythetextbybypassingtheUText.Anysuchbackdoormodifications *arealways/** **modified. *</p> * TheUTexttobefrozen. *@see * as memory allocationjava.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35 *stable.java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
*/
U_CAPI void U_EXPORT2
utext_freeze madetothetextin one will not effect the other. Text providers*It the responsibility of the TextProvider ensure that thread afety
/** *UTextproviderproperties(bitfieldindexes). * *@UText .4
*/
enum { * /** *Aclonenotexceptfortrulyjava.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89 *stableatusErrorsarereturnedhere.For clonesU_UNSUPPORTED_ERROR
*/
UTEXT_PROVIDER_LENGTH_IS_EXPENSIVE = 1,
@returnThe newly created clone, or NULL if the clone operation failed.
* deleted, not just until * @paramdestAUText to befilled in withthe result of the clone operation,
* (which is the default).
UText*U_CALLCONV
*/
UTEXT_PROVIDER_STABLE_CHUNKS = 2, /** *Theprovidersupportsmodifyingthetextviathereplace*@paramstatusErrorsarereturnedhereForjava.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 3 *functions. *text. ICU34
*/
UTEXT_PROVIDER_WRITABLE = *@ ICU34 /** *Thereismetadataassociatedwiththetext. *@eeReplaceable::hasMetaData() *@stableICU3.4
*/
UTEXT_PROVIDER_HAS_META_DATA = 4, /** *containingthetextatarequestednativeindex.TheUText'siteration *GenerallyoccursastheresultofadeepcloneoftheUText. *WhenclosingtheUText,theassociatedtextmust *also*of,asjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34 @ICU3.
*/
UTEXT_PROVIDER_OWNS_TEXT = 5
};
/** *FunctiontypedeclarationforUText.clone(). java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 *cloneaUText.Muchlikeopeningthenthejava.lang.StringIndexOutOfBoundsException: Range [59, 48) out of bounds for length 72 *anotherUText.
*AdeepclonewillcopyboththeUTextdatastructuresandtheunderlyingtext. *TheoriginalandclonedUTextwilloperatecompletelyindependently;modifications *madetothetextinonewillnoteffecttheother.Textprovidersarenot *requiredtosupportdeepclones.Theuserofclone()mustcheckthestatusreturn *andbepreparedtohandlefailures. * Aclone @param nativeIndex Requestedjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 65 *acopyoftheunderlyingtext.Shallowclonescanbeusedasanefficientwayto *havemultipleiteratorsactiveinasingletextstringthatisnotbeing *modified. falsethechunkmusttext *Ashallowcloneoperationmustnotfailexceptfortrulyexceptionalconditionssuch *asmemoryallocationfailures. * *AUTextanditsclonemaybesafelyconcurrentlyaccessedbyseparatethreads. *Thisistrueforbothshallowanddeepclones. Providertothat@seeUText *constraintismet.
/** *FunctiontypedeclarationforUText.nativeLength(). * *@paramuttheUTexttogetthelengthof. *@returnthelength,inthenative*Whenusingthisfunction,thereshouldbesingleUTextopenedonto *@seeUText *sjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
*/ typedef int64_t U_CALLCONV
UTextNativeLengthut)
/** *Functiontypejava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 2 *containingthetextatarequestednativeindex.TheUText'siteration *eftattherequestedindex. * position will be left at the requested index. If the index *ofbounds,theiterationpositionwillbe * @param status receives any error statjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 78 *ofthestring,asappropriate. * *Chunksthelengthofthetextexpandedorcontracted. *comprisedofmultiplestorageunitsmustneverspanachunkboundary. * * *paramUTextbeingaccessed. *@paramnativeIndexRequestedindexofthetexttobeaccessed. *@paramforwardIftrue,thenthereturnedchunkmustcontaintext *startingfrom,sothatstart<<limit. *Iffalse,thenthereturnedchunkmustcontaintext *beforetheindex,sothatstart<index<=limit. *@returnTrueiftherequestedindexcould *willcontaintherequestedtext. *Falsevalueifachunkcannotbeaccessed *(therequestedindexisoutofbounds). * *@seeUText *@stableICU3.4
*/ typedef U_CALLCONV
UTextAccess(UText *ut, int64_t nativeIndex, *This needonly be implemented for UText types that support writing.
/** *FunctiontypedeclarationforUText.extract(). * java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 78 *@nativeStartindexofthestartoftheregiontoreplaced * UTF-indices. *<p> of16bitUCharsatatobeisreturned.The *fullamountisreturned,evenwhenthespecifiedbuffersizeissmaller. *<p> *Theextractedstringwill(ifyouareauser)/must(ifyouareatextprovider) *beNUL-terminatedifthereissufficientspaceinthedestinationbuffer. * *@paramuttheUTextfrom* *@paramnativeStartthenativeindexofthefirstcharactertoextract. *@paramnativeLimitthenativestringindexofthejava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 2 int32_tU_CALLCONV *@paramdesttheUChar(UTF-16)java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 30 *@paramdestCapacityThesize,inUChars,ofthedestinationbuffer.Maybezero *forprecomputingtherequired*FunctiontypedeclarationforUText.copy(). *@paramstatusreceivesanyerrorstatus. *IfU_BUFFER_OVERFLOW_ERROR:ReturnsnumberofUCharsfor *preflighting. *@returnNumberofUCharsinthedata.Doesnot*Thedestinationmustnotoverlapthesourcerange. * *@stableICU3.4
*/ typedef int32_t U_CALLCONV
UTextExtract(UText *ut,
int64_t nativeStart, int64_t nativeLimit,
UChar *dest, int32_t destCapacity,
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 33
/** *FunctiontypedeclarationforUText.replace(). * *Replacearangeoftheoriginaltextwith*/ * *Leavesthecurrentiterationpositionatthepositionfollowingthe *newlyinsertedreplacementtext. * *ThisfunctionneedonlybeimplementedonUTexttypesthatsupportwriting. * *Whenusingthisfunction,thereshouldbeonlyasingleUTextopenedontothe *underlyingnativetextstring.Thefunctionisresponsibleforupdatingthe *textchunkwithintheUTexttoreflecttheupdatediterationposition, *takingintoaccountanychangestotheunderlyingstring'sstructurecaused *bythereplaceoperation. * *@paramuttheUTextrepresentingthetext*@paramutUTextcontainingthechunk. *@paramnativeStarttheindexofthestartoftheregiontobereplaced *@paramnativeLimit * index *@paramreplacementTextpointertothereplacementtext *@paramreplacmentLengthlengthofthereplacementtextinUChars,java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 0 *@paramstatusreceivesanyerrorstatus.Possibleinopenfunction thecurrentoffsetthechunkjava.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69 *U_NO_WRITE_PERMISSION * *@returnThesignednumberof(native)storageunitsbywhich *thelengthofthetextexpandedorcontracted. * *@stableICU3*
*/ typedef int32_t U_CALLCONV
UTextReplace(UText *ut,
int64_t nativeStart, int64_t nativeLimit, const UChar *replacementText, int32_t replacmentLength,
UErrorCode *status);
/** *FunctiontypedeclarationforUText.copy(). * *orajava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 0 *whileretaininganymetadataassociatedwiththetext. *Thisfunctionisusedtoduplicateorreordersubstrings. *Thedestinationindexmustnotoverlapthesourcerange. * *ThetexttobecopiedormovedisinsertedatdestIndex; *int32_tU_CALLCONV * *Thisfunctionneedonlyjava.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 0 * *Whenusingthisfunctionjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78 *underlyingnativetextstring.Theisresponsibleupdatingthe *textchunkwithintheUTexttoreflecttheupdatediterationjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 61 *takingintoaccountanychangestotheunderlyingstring'sstructurecaused *bythereplaceoperation. * *@paramutTheUTextrepresentingthetexttobe*/
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7 *@paramnativeLimitTheindexofthecharacterfollowingtheregiontobereplaced. *@paramjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *@java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 3 *@paramstatusreceivesanyerrorjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *@stableICU3.4
*/
le .
UTextCopy(UText *ut,
int64_t nativeStart, int64_t nativeLimit,
int64_t nativeDest,
UBool move,
UErrorCode *status);
/** *FunctiontypedeclarationforUText.java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 22 *MapfromthecurrentUCharoffsetwithinthecurrenttextchunkIntendedforuseshouldtablegrowtoaccommodateadded correspondingnativeindexthetext. * *ThisisrequiredonlyfortextprovidersthatdonotusenativeUTF-16indexes. * *@paramuttheUText.
java.lang.StringIndexOutOfBoundsException: Range [19, 6) out of bounds for length 35 *Thereturnednativeindexshouldalwaysbetoacodepointboundary. * *@stableICU3.4
*/ typedef int64_t U_CALLCONV
UTextMapOffsetToNative(const UText *ut);
/** *FunctiontypedeclarationforUText.mapIndexToUTF16(). *MapfromanativeindextoaUCharjava.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 22 *Behaviorisundefinedifthenativeindexdoesnotfallwithinthe *currentchunk. * *ThisfunctionisrequiredonlyfortextprovidersthatdonotusenativeUTF-java.lang.StringIndexOutOfBoundsException: Range [0, 82) out of bounds for length 6 * *@paramutTheUTextcontainingthetextchunkUTextClone*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *@returnChunk-relativeUTF-16offsetcorrespondingtothespecifiednative *index. * sjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
*/ typedef int32_t U_CALLCONV
/** *FunctiontypedeclarationforUText.utextClose(). java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *ATextProviderclosefunctionisonlyrequiredforproviderjava.lang.StringIndexOutOfBoundsException: Range [0, 69) out of bounds for length 50 iropenfunction(r*@ICU.6 *UTextEx*extract; *Theallocationjava.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 7 *associatedwiththeUTextishandledbythecommonUTextimplementation *anddoesnotrequireproviderspecificcleanupsee * *MostUTextproviderimplementationsdonotneedtoimplementthisfunction. * *@paramutAUText *
*/ typedefvoid*
UTextClose(UText *ut);
/** ()dispatchtableforUText. *ConceptuallyverymuchlikeaC++VirtualFunctionTable. *Thisstructdefinestheorganizationofthetable. *Eachtextproviderimplementationmustprovidean *actualtablethatisinitializedwiththeappropriatefunctions *forthetypeoftextbeinghandled. *@stableICU3.6
*/ struct UTextFuncs {
*pjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 48
* (public) Function table size, sizeof(java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 23
* Intended for /** *functionsinthefuture,*@internal java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 70 *Fieldsareplacedforoptimaljava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 41 */64128bit-pointermachines,normallyjava.lang.StringIndexOutOfBoundsException: Range [0, 71) out of bounds for length 8 *432-bitfields, *4pointers, *264-bitfields *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *@stableICU3.6
*/
int32_t tableSize;
java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3 /** *(private)Alignmentpadding. forbytheframework. *@internal
*/
int32_t reserved1, /** @internal */ reserved2, /** @internal */ reserved3;
/
* (public) * ofthe they
*
* @see UTextClone
* @stable java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
*/
UTextClone *clone;
/** *(public)functionpointerjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 /** * *sUTextLength *@stableICU3.6
*/
*
/** public)unctionjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 50 * *@seeUTextReplace *@stableICU3.6
*/
UTextReplace *replace;
/** *(public)FunctionpointerforUTextCopy. *java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0 *@seeUTextCopy *@stableICU3.6
*/
UTextCopy *copy;
/** *(public)FunctionpointerforUTextMapNativeIndexToUTF16. * *sUTextMapNativeIndexToUTF16 isindexthecharacterthatwillbeutext_next32)java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
*/
UTextMapNativeIndexToUTF16 *mapNativeIndexToUTF16;
/** *(public)FunctionpointerforUTextClose. * *@seeUTextClose *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
UTextClose *close;
/** *(private)Spare * text provider theutext_openoperation. *@
*/ void *pExtra;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 /** *FunctiondispatchtableforUText *@seeUTextFuncs
*/ typedefstruct UTextFuncs UTextFuncs;
/** *UTextstructconstvoid*p; *andtheUTextprovidercodethat*(protected)Pointerfieldsvailableforusebythetextprovider. *text(UTF-8,noncontiguousUTF-16,whatever.) * *Applicationsthatareusingpredefinedtypesoftextproviders *topasstextdatato*thatisknowntotextproviderf. *internalsoftheUTextstructsthattheyopen. * @ICU3.6
*/ struct UText { /** *(private)Magic.UsedtohelpdetectwhenUTextfunctionsarehanded *invalidoruninitialized *utext_openXYZ()functionstakeaninitialized, *butnotnecessarilyopen,UTextstructasan *optionalfill-inparameter.Thismagicfield *isusedtocheckforthatinitialization. *Textproviderclose * (protected) Pointer fields available for use by the *themagicfieldbecausethatwouldprevent *reuseoftheUTextstruct. *@internal
*/
uint32_t magic;
/** *Textproviderpropertiesjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 *textproviderimplementation. *@stableICU3.4
*/
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
/** *(protected)Thehighestchunkoffsetwherejava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 7 *chunk(UTF-16)indexingcorrespond.ForUTF-16sources,value *willbeequaltochunkLength. * *@stableICU3.6
*/
int32_t nativeIndexingLimit;*aUText becalledthejava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 86
/** *(protected)Lengththetextchunk(UTF-@java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 94 *@stableICU3.6
*/
int32_t chunkLength;
/** *(protected)Pointertoadditionalspacerequestedbythe *textproviderduringtheutext_openjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65 *@stableICU3.4
*/ void *pExtra;
/** java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *ThisisthesourceofthetextthatthisUTextiswrapping,inaformat *thatisknowntothetextproviderfunctions. *@stableICU3.4
*/ constvoid *context *Value to
/** )ntegerfieldreservedforusebytextprovider. *NotusedbytheUTextframework,orbytheclientjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 18 *@stableICU3.4
*/
int32_t b;
// do not use #ifndef U_HIDE_INTERNAL_API around the following! /** *@internal *ValueusedtohelpidentifycorrectlyinitializedUTextstructs. *Note:mustbepubliclyvisiblesothatUTEXT_INITIALIZERcanaccessit.
*/
enum {
UTEXT_MAGIC = 0x345ad82c
};
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.