Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java305 int prevLength = toAppendTo.length(); in format() local
328 if (prevLength > 0 && fpos.getEndIndex() != 0) { in format()
329 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format()
330 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in format()
417 int prevLength = appendTo.length(); in formatMeasures() local
419 if (prevLength > 0 && fpos.getEndIndex() > 0) { in formatMeasures()
420 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in formatMeasures()
421 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in formatMeasures()
DMessageFormat.java1855 private FieldPosition updateMetaData(AppendableWrapper dest, int prevLength, in updateMetaData() argument
1857 if (dest.attributes != null && prevLength < dest.length) { in updateMetaData()
1858 dest.attributes.add(new AttributeAndPosition(argId, prevLength, dest.length)); in updateMetaData()
1861 fp.setBeginIndex(prevLength); in updateMetaData()
2631 int prevLength = length; in formatAndAppend() local
2637 int offset = prevLength - start; // Adjust attribute indexes for the result string. in formatAndAppend()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java283 int prevLength = toAppendTo.length(); in format() local
306 if (prevLength > 0 && fpos.getEndIndex() != 0) { in format()
307 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in format()
308 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in format()
391 int prevLength = appendTo.length(); in formatMeasures() local
393 if (prevLength > 0 && fpos.getEndIndex() > 0) { in formatMeasures()
394 fpos.setBeginIndex(fpos.getBeginIndex() + prevLength); in formatMeasures()
395 fpos.setEndIndex(fpos.getEndIndex() + prevLength); in formatMeasures()
DMessageFormat.java1808 private FieldPosition updateMetaData(AppendableWrapper dest, int prevLength, in updateMetaData() argument
1810 if (dest.attributes != null && prevLength < dest.length) { in updateMetaData()
1811 dest.attributes.add(new AttributeAndPosition(argId, prevLength, dest.length)); in updateMetaData()
1814 fp.setBeginIndex(prevLength); in updateMetaData()
2583 int prevLength = length; in formatAndAppend() local
2589 int offset = prevLength - start; // Adjust attribute indexes for the result string. in formatAndAppend()
/external/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 …]
/external/skia/src/gpu/
DGrTRecorder.h201 int prevLength = 0; in alloc_back() local
205 prevLength = lastHeader->fTotalLength; in alloc_back()
226 header->fPrevLength = prevLength; in alloc_back()
/external/skqp/src/gpu/
DGrTRecorder.h201 int prevLength = 0; in alloc_back() local
205 prevLength = lastHeader->fTotalLength; in alloc_back()
226 header->fPrevLength = prevLength; in alloc_back()
/external/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()
/external/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h1013 FieldPosition* updateMetaData(AppendableWrapper& dest, int32_t prevLength,