Home
last modified time | relevance | path

Searched refs:newStart (Results 1 – 25 of 37) sorted by relevance

12

/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringReplacer.java116 int newStart = 0; in replace() local
128 newStart = cursorPos; in replace()
168 newStart = buf.length() + destLimit - destStart; // relative to start in replace()
214 newStart = destLimit - destStart; // relative to start in replace()
233 newStart = start; in replace()
236 while (n < 0 && newStart > 0) { in replace()
237 newStart -= UTF16.getCharCount(text.char32At(newStart-1)); in replace()
240 newStart += n; in replace()
242 newStart = start + outLen; in replace()
245 while (n > 0 && newStart < text.length()) { in replace()
[all …]
DTransliterationRule.java473 int newStart = intRef[0]; in matchAndReplace() local
479 pos.start = Math.max(minOText, Math.min(Math.min(oText, pos.limit), newStart)); in matchAndReplace()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringReplacer.java117 int newStart = 0; in replace() local
129 newStart = cursorPos; in replace()
169 newStart = buf.length() + destLimit - destStart; // relative to start in replace()
215 newStart = destLimit - destStart; // relative to start in replace()
234 newStart = start; in replace()
237 while (n < 0 && newStart > 0) { in replace()
238 newStart -= UTF16.getCharCount(text.char32At(newStart-1)); in replace()
241 newStart += n; in replace()
243 newStart = start + outLen; in replace()
246 while (n > 0 && newStart < text.length()) { in replace()
[all …]
DSimpleDateFormat.java2972 … int newStart = matchString(text, start, Calendar.YEAR, formatData.shortYearNames, null, cal); in subParse() local
2973 if (newStart > 0) { in subParse()
2974 return newStart; in subParse()
3009 int newStart = 0; in subParse() local
3011 newStart = (patternCharIndex == 2)? in subParse()
3016 if (newStart > 0) { in subParse()
3017 return newStart; in subParse()
3028 return newStart; in subParse()
3065 int newStart = 0; in subParse() local
3067 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.weekdays, null, cal)) > … in subParse()
[all …]
DTransliterationRule.java474 int newStart = intRef[0]; in matchAndReplace() local
480 pos.start = Math.max(minOText, Math.min(Math.min(oText, pos.limit), newStart)); in matchAndReplace()
/external/icu/icu4c/source/i18n/
Dstrrepl.cpp107 int32_t newStart = 0; in replace() local
119 newStart = cursorPos; in replace()
159 newStart = destLimit - destStart; // relative to start in replace()
189 newStart = destLimit - destStart; // relative to start in replace()
208 newStart = start; in replace()
211 while (n < 0 && newStart > 0) { in replace()
212 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace()
215 newStart += n; in replace()
217 newStart = start + outLen; in replace()
220 while (n > 0 && newStart < text.length()) { in replace()
[all …]
Dsmpdtfmt.cpp2867 …int32_t newStart = matchString(text, start, UCAL_YEAR, fSymbols->fShortYearNames, fSymbols->fShort… in subParse() local
2868 if (newStart > 0) { in subParse()
2869 return newStart; in subParse()
2919 int32_t newStart = 0; in subParse() local
2922newStart = matchString(text, start, UCAL_MONTH, fSymbols->fMonths, fSymbols->fMonthsCount, wideMon… in subParse()
2923 if (newStart > 0) { in subParse()
2924 return newStart; in subParse()
2928newStart = matchString(text, start, UCAL_MONTH, fSymbols->fShortMonths, fSymbols->fShortMonthsCoun… in subParse()
2932newStart = matchString(text, start, UCAL_MONTH, fSymbols->fStandaloneMonths, fSymbols->fStandalone… in subParse()
2933 if (newStart > 0) { in subParse()
[all …]
Dbuddhcal.cpp153 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
156 gSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
Drbt_rule.cpp451 int32_t newStart; in matchAndReplace() local
452 int32_t newLength = output->toReplacer()->replace(text, pos.start, keyLimit, newStart); in matchAndReplace()
459 pos.start = uprv_max(minOText, uprv_min(uprv_min(oText, pos.limit), newStart)); in matchAndReplace()
Dindiancal.cpp427 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
433 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2Writable.java740 int start, newStart, movedStart; in compactData() local
745 newStart=UTRIE2_DATA_START_OFFSET; in compactData()
746 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData()
756 for(start=newStart; start<dataLength;) { in compactData()
777 movedStart=findSameDataBlock(newStart, start, blockLength); in compactData()
795 overlap>0 && !equal_int(data, (newStart-overlap), start, overlap); in compactData()
798 if(overlap>0 || newStart<start) { in compactData()
800 movedStart=newStart-overlap; in compactData()
809 data[newStart++]=data[start++]; in compactData()
816 newStart=start; in compactData()
[all …]
DIntTrieBuilder.java572 int newStart = DATA_BLOCK_LENGTH; in compact() local
574 for (int start = newStart; start < m_dataLength_;) { in compact()
587 i = findSameDataBlock(m_data_, newStart, start, in compact()
604 i>0 && !equal_int(m_data_, newStart-i, start, i); in compact()
611 m_map_[start >>> SHIFT_] = newStart - i; in compact()
615 m_data_[newStart ++] = m_data_[start ++]; in compact()
618 else if (newStart < start) { in compact()
620 m_map_[start >>> SHIFT_] = newStart; in compact()
622 m_data_[newStart ++] = m_data_[start ++]; in compact()
627 newStart += DATA_BLOCK_LENGTH; in compact()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java738 int start, newStart, movedStart; in compactData() local
743 newStart=UTRIE2_DATA_START_OFFSET; in compactData()
744 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData()
754 for(start=newStart; start<dataLength;) { in compactData()
775 movedStart=findSameDataBlock(newStart, start, blockLength); in compactData()
793 overlap>0 && !equal_int(data, (newStart-overlap), start, overlap); in compactData()
796 if(overlap>0 || newStart<start) { in compactData()
798 movedStart=newStart-overlap; in compactData()
807 data[newStart++]=data[start++]; in compactData()
814 newStart=start; in compactData()
[all …]
DIntTrieBuilder.java570 int newStart = DATA_BLOCK_LENGTH; in compact() local
572 for (int start = newStart; start < m_dataLength_;) { in compact()
585 i = findSameDataBlock(m_data_, newStart, start, in compact()
602 i>0 && !equal_int(m_data_, newStart-i, start, i); in compact()
609 m_map_[start >>> SHIFT_] = newStart - i; in compact()
613 m_data_[newStart ++] = m_data_[start ++]; in compact()
616 else if (newStart < start) { in compact()
618 m_map_[start >>> SHIFT_] = newStart; in compact()
620 m_data_[newStart ++] = m_data_[start ++]; in compact()
625 newStart += DATA_BLOCK_LENGTH; in compact()
[all …]
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp1170 uint16_t i, start, prevEnd, newStart; in singleCompactStage2() local
1176 start=newStart=MBCS_STAGE_2_FIRST_ASSIGNED; in singleCompactStage2()
1178 prevEnd=(uint16_t)(newStart-1); in singleCompactStage2()
1184 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=(uint16_t)(newStart-i); in singleCompactStage2()
1189 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2()
1191 } else if(newStart<start) { in singleCompactStage2()
1193 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=newStart; in singleCompactStage2()
1195 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2()
1199 start=newStart+=MBCS_STAGE_2_BLOCK_SIZE; in singleCompactStage2()
1204 if(VERBOSE && newStart<mbcsData->stage2Top) { in singleCompactStage2()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DLocalVariableInfo.java117 RegisterSpecSet newStart = start.mutableCopy(); in mergeStarts() local
119 newStart.intersect(specs, true); in mergeStarts()
121 newStart = specs.mutableCopy(); in mergeStarts()
124 if (start.equals(newStart)) { in mergeStarts()
128 newStart.setImmutable(); in mergeStarts()
129 setStarts(label, newStart); in mergeStarts()
/external/icu/icu4c/source/common/
Dutrie2_builder.cpp984 int32_t start, newStart, movedStart; in compactData() local
989 newStart=UTRIE2_DATA_START_OFFSET; in compactData()
990 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData()
1000 for(start=newStart; start<trie->dataLength;) { in compactData()
1021 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData()
1040 overlap>0 && !equal_uint32(trie->data+(newStart-overlap), trie->data+start, overlap); in compactData()
1043 if(overlap>0 || newStart<start) { in compactData()
1045 movedStart=newStart-overlap; in compactData()
1054 trie->data[newStart++]=trie->data[start++]; in compactData()
1061 newStart=start; in compactData()
[all …]
Dutrie.cpp589 int32_t i, start, newStart, overlapStart; in utrie_compact() local
616 newStart=UTRIE_DATA_BLOCK_LENGTH; in utrie_compact()
617 for(start=newStart; start<trie->dataLength;) { in utrie_compact()
635 (i=_findSameDataBlock(trie->data, newStart, start, in utrie_compact()
653 i>0 && !equal_uint32(trie->data+(newStart-i), trie->data+start, i); in utrie_compact()
661 trie->map[start>>UTRIE_SHIFT]=newStart-i; in utrie_compact()
666 trie->data[newStart++]=trie->data[start++]; in utrie_compact()
668 } else if(newStart<start) { in utrie_compact()
670 trie->map[start>>UTRIE_SHIFT]=newStart; in utrie_compact()
672 trie->data[newStart++]=trie->data[start++]; in utrie_compact()
[all …]
Dunistr.cpp1139 int32_t newStart, in findAndReplace() argument
1148 newText.pinIndices(newStart, newLength); in findAndReplace()
1161 replace(pos, oldLength, newText, newStart, newLength); in findAndReplace()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DLocalVariableInfo.java118 RegisterSpecSet newStart = start.mutableCopy(); in mergeStarts() local
119 newStart.intersect(specs, true); in mergeStarts()
121 if (start.equals(newStart)) { in mergeStarts()
125 newStart.setImmutable(); in mergeStarts()
126 setStarts(index, newStart); in mergeStarts()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2988 … int newStart = matchString(text, start, Calendar.YEAR, formatData.shortYearNames, null, cal); in subParse() local
2989 if (newStart > 0) { in subParse()
2990 return newStart; in subParse()
3025 int newStart = 0; in subParse() local
3027 newStart = (patternCharIndex == 2)? in subParse()
3032 if (newStart > 0) { in subParse()
3033 return newStart; in subParse()
3044 return newStart; in subParse()
3081 int newStart = 0; in subParse() local
3083 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.weekdays, null, cal)) > … in subParse()
[all …]
/external/jetty/src/java/org/eclipse/jetty/io/
DBuffer.java303 void setGetIndex(int newStart); in setGetIndex() argument
/external/skia/src/core/
DSkLinearBitmapPipeline.cpp241 SkPoint newStart = in maybeProcessSpan()
244 next->pointSpan(newStart, newLength, count); in maybeProcessSpan()
/external/icu/icu4c/source/common/unicode/
Dunistr.h2562 int32_t newStart,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12