Home
last modified time | relevance | path

Searched refs:prevLength (Results 1 – 17 of 17) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DMeasureFormat.java293 int prevLength = toAppendTo.length(); in format() local
317 if (prevLength > 0 && fpos.getEndIndex() != 0) { in format()
318 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format()
319 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in format()
404 int prevLength = appendTo.length(); in formatMeasures() local
406 if (prevLength > 0 && fpos.getEndIndex() > 0) { in formatMeasures()
407 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in formatMeasures()
408 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in formatMeasures()
DMessageFormat.java1836 private FieldPosition updateMetaData(AppendableWrapper dest, int prevLength, in updateMetaData() argument
1838 if (dest.attributes != null && prevLength < dest.length) { in updateMetaData()
1839 dest.attributes.add(new AttributeAndPosition(argId, prevLength, dest.length)); in updateMetaData()
1842 fp.setBeginIndex(prevLength); in updateMetaData()
2620 int prevLength = length; in formatAndAppend() local
2626 int offset = prevLength - start; // Adjust attribute indexes for the result string. in formatAndAppend()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java309 int prevLength = toAppendTo.length(); in format() local
333 if (prevLength > 0 && fpos.getEndIndex() != 0) { in format()
334 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format()
335 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in format()
423 int prevLength = appendTo.length(); in formatMeasures() local
425 if (prevLength > 0 && fpos.getEndIndex() > 0) { in formatMeasures()
426 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in formatMeasures()
427 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in formatMeasures()
DMessageFormat.java1880 private FieldPosition updateMetaData(AppendableWrapper dest, int prevLength, in updateMetaData() argument
1882 if (dest.attributes != null && prevLength < dest.length) { in updateMetaData()
1883 dest.attributes.add(new AttributeAndPosition(argId, prevLength, dest.length)); in updateMetaData()
1886 fp.setBeginIndex(prevLength); in updateMetaData()
2665 int prevLength = length; in formatAndAppend() local
2671 int offset = prevLength - start; // Adjust attribute indexes for the result string. in formatAndAppend()
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java2860 int stage2Entry = 0, value = 0, length = 0, prevLength; in encodeLoop() local
2917 prevLength = fromUnicodeStatus; in encodeLoop()
2918 if (prevLength == 0) { in encodeLoop()
2920 prevLength = 1; in encodeLoop()
2924 prevLength = 0; in encodeLoop()
2952 prevSourceIndex, prevLength); in encodeLoop()
2960 prevLength = x.prevLength; in encodeLoop()
2997 nextSourceIndex, prevSourceIndex, prevLength); in encodeLoop()
3072 fromUnicodeStatus = prevLength; /* save the old state */ in encodeLoop()
3078 } else if (prevLength <= 1) { in encodeLoop()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducnvmbcs.cpp4095 int32_t length = 0, prevLength; in ucnv_MBCSFromUnicodeWithOffsets() local
4151 prevLength=cnv->fromUnicodeStatus; in ucnv_MBCSFromUnicodeWithOffsets()
4152 if(prevLength==0) { in ucnv_MBCSFromUnicodeWithOffsets()
4154 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4158 prevLength=0; in ucnv_MBCSFromUnicodeWithOffsets()
4250 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4255 } else if(prevLength<=1) { in ucnv_MBCSFromUnicodeWithOffsets()
4267 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4270 if(prevLength==2) { in ucnv_MBCSFromUnicodeWithOffsets()
4282 prevLength=2; in ucnv_MBCSFromUnicodeWithOffsets()
[all …]
Ducnv_ext.cpp679 int32_t length, prevLength; in ucnv_extWriteFromU() local
713 if((prevLength=cnv->fromUnicodeStatus)!=0) { in ucnv_extWriteFromU()
717 if(prevLength>1 && length==1) { in ucnv_extWriteFromU()
721 } else if(prevLength==1 && length>1) { in ucnv_extWriteFromU()
/third_party/icu/icu4c/source/common/
Ducnvmbcs.cpp4095 int32_t length = 0, prevLength; in ucnv_MBCSFromUnicodeWithOffsets() local
4151 prevLength=cnv->fromUnicodeStatus; in ucnv_MBCSFromUnicodeWithOffsets()
4152 if(prevLength==0) { in ucnv_MBCSFromUnicodeWithOffsets()
4154 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4158 prevLength=0; in ucnv_MBCSFromUnicodeWithOffsets()
4250 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4255 } else if(prevLength<=1) { in ucnv_MBCSFromUnicodeWithOffsets()
4267 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4270 if(prevLength==2) { in ucnv_MBCSFromUnicodeWithOffsets()
4282 prevLength=2; in ucnv_MBCSFromUnicodeWithOffsets()
[all …]
Ducnv_ext.cpp679 int32_t length, prevLength; in ucnv_extWriteFromU() local
713 if((prevLength=cnv->fromUnicodeStatus)!=0) { in ucnv_extWriteFromU()
717 if(prevLength>1 && length==1) { in ucnv_extWriteFromU()
721 } else if(prevLength==1 && length>1) { in ucnv_extWriteFromU()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducnvmbcs.cpp4095 int32_t length = 0, prevLength; in ucnv_MBCSFromUnicodeWithOffsets() local
4151 prevLength=cnv->fromUnicodeStatus; in ucnv_MBCSFromUnicodeWithOffsets()
4152 if(prevLength==0) { in ucnv_MBCSFromUnicodeWithOffsets()
4154 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4158 prevLength=0; in ucnv_MBCSFromUnicodeWithOffsets()
4250 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4255 } else if(prevLength<=1) { in ucnv_MBCSFromUnicodeWithOffsets()
4267 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4270 if(prevLength==2) { in ucnv_MBCSFromUnicodeWithOffsets()
4282 prevLength=2; in ucnv_MBCSFromUnicodeWithOffsets()
[all …]
Ducnv_ext.cpp679 int32_t length, prevLength; in ucnv_extWriteFromU() local
713 if((prevLength=cnv->fromUnicodeStatus)!=0) { in ucnv_extWriteFromU()
717 if(prevLength>1 && length==1) { in ucnv_extWriteFromU()
721 } else if(prevLength==1 && length>1) { in ucnv_extWriteFromU()
/third_party/node/deps/icu-small/source/common/
Ducnvmbcs.cpp4095 int32_t length = 0, prevLength; in ucnv_MBCSFromUnicodeWithOffsets() local
4151 prevLength=cnv->fromUnicodeStatus; in ucnv_MBCSFromUnicodeWithOffsets()
4152 if(prevLength==0) { in ucnv_MBCSFromUnicodeWithOffsets()
4154 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4158 prevLength=0; in ucnv_MBCSFromUnicodeWithOffsets()
4250 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4255 } else if(prevLength<=1) { in ucnv_MBCSFromUnicodeWithOffsets()
4267 prevLength=1; in ucnv_MBCSFromUnicodeWithOffsets()
4270 if(prevLength==2) { in ucnv_MBCSFromUnicodeWithOffsets()
4282 prevLength=2; in ucnv_MBCSFromUnicodeWithOffsets()
[all …]
Ducnv_ext.cpp679 int32_t length, prevLength; in ucnv_extWriteFromU() local
713 if((prevLength=cnv->fromUnicodeStatus)!=0) { in ucnv_extWriteFromU()
717 if(prevLength>1 && length==1) { in ucnv_extWriteFromU()
721 } else if(prevLength==1 && length>1) { in ucnv_extWriteFromU()
/third_party/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h1032 FieldPosition* updateMetaData(AppendableWrapper& dest, int32_t prevLength,
/third_party/node/deps/icu-small/source/i18n/unicode/
Dmsgfmt.h1032 FieldPosition* updateMetaData(AppendableWrapper& dest, int32_t prevLength,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dmsgfmt.h1032 FieldPosition* updateMetaData(AppendableWrapper& dest, int32_t prevLength,
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dmsgfmt.h1013 FieldPosition* updateMetaData(AppendableWrapper& dest, int32_t prevLength,