/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | StringReplacer.java | 120 int newStart = 0; in replace() local 132 newStart = cursorPos; in replace() 172 newStart = buf.length() + destLimit - destStart; // relative to start in replace() 218 newStart = destLimit - destStart; // relative to start in replace() 237 newStart = start; in replace() 240 while (n < 0 && newStart > 0) { in replace() 241 newStart -= UTF16.getCharCount(text.char32At(newStart-1)); in replace() 244 newStart += n; in replace() 246 newStart = start + outLen; in replace() 249 while (n > 0 && newStart < text.length()) { in replace() [all …]
|
D | SimpleDateFormat.java | 3364 … int newStart = matchString(text, start, Calendar.YEAR, formatData.shortYearNames, null, cal); in subParse() local 3365 if (newStart > 0) { in subParse() 3366 return newStart; in subParse() 3401 int newStart = 0; in subParse() local 3403 newStart = (patternCharIndex == 2)? in subParse() 3406 if (newStart > 0) { in subParse() 3407 return newStart; in subParse() 3411 newStart = (patternCharIndex == 2)? in subParse() 3416 if (newStart > 0) { in subParse() 3417 return newStart; in subParse() [all …]
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | StringReplacer.java | 119 int newStart = 0; in replace() local 131 newStart = cursorPos; in replace() 171 newStart = buf.length() + destLimit - destStart; // relative to start in replace() 217 newStart = destLimit - destStart; // relative to start in replace() 236 newStart = start; in replace() 239 while (n < 0 && newStart > 0) { in replace() 240 newStart -= UTF16.getCharCount(text.char32At(newStart-1)); in replace() 243 newStart += n; in replace() 245 newStart = start + outLen; in replace() 248 while (n > 0 && newStart < text.length()) { in replace() [all …]
|
/external/cronet/third_party/icu/source/i18n/ |
D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 161 newStart = destLimit - destStart; // relative to start in replace() 191 newStart = destLimit - destStart; // relative to start in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 222 while (n > 0 && newStart < text.length()) { in replace() [all …]
|
D | smpdtfmt.cpp | 3321 …int32_t newStart = matchString(text, start, UCAL_YEAR, fSymbols->fShortYearNames, fSymbols->fShort… in subParse() local 3322 if (newStart > 0) { in subParse() 3323 return newStart; in subParse() 3373 int32_t newStart = 0; in subParse() local 3378 …newStart = matchAlphaMonthStrings(text, start, fSymbols->fMonths, fSymbols->fShortMonths, fSymbols… in subParse() 3379 if (newStart > 0) { in subParse() 3380 return newStart; in subParse() 3384 …newStart = matchString(text, start, UCAL_MONTH, fSymbols->fMonths, fSymbols->fMonthsCount, wideMon… in subParse() 3385 if (newStart > 0) { in subParse() 3386 return newStart; in subParse() [all …]
|
D | buddhcal.cpp | 155 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local 158 gSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
|
D | rbt_rule.cpp | 453 int32_t newStart; in matchAndReplace() local 454 int32_t newLength = output->toReplacer()->replace(text, pos.start, keyLimit, newStart); in matchAndReplace() 461 pos.start = uprv_max(minOText, uprv_min(uprv_min(oText, pos.limit), newStart)); in matchAndReplace()
|
/external/icu/icu4c/source/i18n/ |
D | strrepl.cpp | 109 int32_t newStart = 0; in replace() local 121 newStart = cursorPos; in replace() 161 newStart = destLimit - destStart; // relative to start in replace() 191 newStart = destLimit - destStart; // relative to start in replace() 210 newStart = start; in replace() 213 while (n < 0 && newStart > 0) { in replace() 214 newStart -= U16_LENGTH(text.char32At(newStart-1)); in replace() 217 newStart += n; in replace() 219 newStart = start + outLen; in replace() 222 while (n > 0 && newStart < text.length()) { in replace() [all …]
|
D | smpdtfmt.cpp | 3321 …int32_t newStart = matchString(text, start, UCAL_YEAR, fSymbols->fShortYearNames, fSymbols->fShort… in subParse() local 3322 if (newStart > 0) { in subParse() 3323 return newStart; in subParse() 3373 int32_t newStart = 0; in subParse() local 3378 …newStart = matchAlphaMonthStrings(text, start, fSymbols->fMonths, fSymbols->fShortMonths, fSymbols… in subParse() 3379 if (newStart > 0) { in subParse() 3380 return newStart; in subParse() 3384 …newStart = matchString(text, start, UCAL_MONTH, fSymbols->fMonths, fSymbols->fMonthsCount, wideMon… in subParse() 3385 if (newStart > 0) { in subParse() 3386 return newStart; in subParse() [all …]
|
D | buddhcal.cpp | 155 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local 158 gSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
|
D | rbt_rule.cpp | 453 int32_t newStart; in matchAndReplace() local 454 int32_t newLength = output->toReplacer()->replace(text, pos.start, keyLimit, newStart); in matchAndReplace() 461 pos.start = uprv_max(minOText, uprv_min(uprv_min(oText, pos.limit), newStart)); in matchAndReplace()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie2Writable.java | 740 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 …]
|
D | IntTrieBuilder.java | 572 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/android_icu4j/src/main/java/android/icu/impl/ |
D | Trie2Writable.java | 742 int start, newStart, movedStart; in compactData() local 747 newStart=UTRIE2_DATA_START_OFFSET; in compactData() 748 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData() 758 for(start=newStart; start<dataLength;) { in compactData() 779 movedStart=findSameDataBlock(newStart, start, blockLength); in compactData() 797 overlap>0 && !equal_int(data, (newStart-overlap), start, overlap); in compactData() 800 if(overlap>0 || newStart<start) { in compactData() 802 movedStart=newStart-overlap; in compactData() 811 data[newStart++]=data[start++]; in compactData() 818 newStart=start; in compactData() [all …]
|
D | IntTrieBuilder.java | 574 int newStart = DATA_BLOCK_LENGTH; in compact() local 576 for (int start = newStart; start < m_dataLength_;) { in compact() 589 i = findSameDataBlock(m_data_, newStart, start, in compact() 606 i>0 && !equal_int(m_data_, newStart-i, start, i); in compact() 613 m_map_[start >>> SHIFT_] = newStart - i; in compact() 617 m_data_[newStart ++] = m_data_[start ++]; in compact() 620 else if (newStart < start) { in compact() 622 m_map_[start >>> SHIFT_] = newStart; in compact() 624 m_data_[newStart ++] = m_data_[start ++]; in compact() 629 newStart += DATA_BLOCK_LENGTH; in compact() [all …]
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/ |
D | Utils.java | 157 float newStart = Math.min(start, end); in applyTrimPathIfNeeded() local 161 newStart += offset; in applyTrimPathIfNeeded() 165 if (newStart >= length && newEnd >= length) { in applyTrimPathIfNeeded() 166 newStart = MiscUtils.floorMod(newStart, length); in applyTrimPathIfNeeded() 170 if (newStart < 0) { in applyTrimPathIfNeeded() 171 newStart = MiscUtils.floorMod(newStart, length); in applyTrimPathIfNeeded() 178 if (newStart == newEnd) { in applyTrimPathIfNeeded() 184 if (newStart >= newEnd) { in applyTrimPathIfNeeded() 185 newStart -= length; in applyTrimPathIfNeeded() 190 newStart, in applyTrimPathIfNeeded() [all …]
|
/external/cronet/third_party/icu/source/tools/makeconv/ |
D | genmbcs.cpp | 1184 uint16_t i, start, prevEnd, newStart; in singleCompactStage2() local 1190 start=newStart=MBCS_STAGE_2_FIRST_ASSIGNED; in singleCompactStage2() 1192 prevEnd=(uint16_t)(newStart-1); in singleCompactStage2() 1198 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=(uint16_t)(newStart-i); in singleCompactStage2() 1203 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2() 1205 } else if(newStart<start) { in singleCompactStage2() 1207 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=newStart; in singleCompactStage2() 1209 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2() 1213 start=newStart+=MBCS_STAGE_2_BLOCK_SIZE; in singleCompactStage2() 1218 if(VERBOSE && newStart<mbcsData->stage2Top) { in singleCompactStage2() [all …]
|
/external/icu/icu4c/source/tools/makeconv/ |
D | genmbcs.cpp | 1184 uint16_t i, start, prevEnd, newStart; in singleCompactStage2() local 1190 start=newStart=MBCS_STAGE_2_FIRST_ASSIGNED; in singleCompactStage2() 1192 prevEnd=(uint16_t)(newStart-1); in singleCompactStage2() 1198 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=(uint16_t)(newStart-i); in singleCompactStage2() 1203 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2() 1205 } else if(newStart<start) { in singleCompactStage2() 1207 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=newStart; in singleCompactStage2() 1209 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2() 1213 start=newStart+=MBCS_STAGE_2_BLOCK_SIZE; in singleCompactStage2() 1218 if(VERBOSE && newStart<mbcsData->stage2Top) { in singleCompactStage2() [all …]
|
/external/cronet/third_party/icu/source/common/ |
D | utrie2_builder.cpp | 1035 int32_t start, newStart, movedStart; in compactData() local 1040 newStart=UTRIE2_DATA_START_OFFSET; in compactData() 1041 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData() 1051 for(start=newStart; start<trie->dataLength;) { in compactData() 1072 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData() 1094 overlap>0 && !equal_uint32(trie->data+(newStart-overlap), trie->data+start, overlap); in compactData() 1100 if(overlap>0 || newStart<start) { in compactData() 1102 movedStart=newStart-overlap; in compactData() 1111 trie->data[newStart++]=trie->data[start++]; in compactData() 1118 newStart=start; in compactData() [all …]
|
D | utrie.cpp | 591 int32_t i, start, newStart, overlapStart; in utrie_compact() local 618 newStart=UTRIE_DATA_BLOCK_LENGTH; in utrie_compact() 619 for(start=newStart; start<trie->dataLength;) { in utrie_compact() 637 (i=_findSameDataBlock(trie->data, newStart, start, in utrie_compact() 655 i>0 && !equal_uint32(trie->data+(newStart-i), trie->data+start, i); in utrie_compact() 663 trie->map[start>>UTRIE_SHIFT]=newStart-i; in utrie_compact() 668 trie->data[newStart++]=trie->data[start++]; in utrie_compact() 670 } else if(newStart<start) { in utrie_compact() 672 trie->map[start>>UTRIE_SHIFT]=newStart; in utrie_compact() 674 trie->data[newStart++]=trie->data[start++]; in utrie_compact() [all …]
|
/external/icu/icu4c/source/common/ |
D | utrie2_builder.cpp | 1035 int32_t start, newStart, movedStart; in compactData() local 1040 newStart=UTRIE2_DATA_START_OFFSET; in compactData() 1041 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData() 1051 for(start=newStart; start<trie->dataLength;) { in compactData() 1072 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData() 1094 overlap>0 && !equal_uint32(trie->data+(newStart-overlap), trie->data+start, overlap); in compactData() 1100 if(overlap>0 || newStart<start) { in compactData() 1102 movedStart=newStart-overlap; in compactData() 1111 trie->data[newStart++]=trie->data[start++]; in compactData() 1118 newStart=start; in compactData() [all …]
|
D | utrie.cpp | 591 int32_t i, start, newStart, overlapStart; in utrie_compact() local 618 newStart=UTRIE_DATA_BLOCK_LENGTH; in utrie_compact() 619 for(start=newStart; start<trie->dataLength;) { in utrie_compact() 637 (i=_findSameDataBlock(trie->data, newStart, start, in utrie_compact() 655 i>0 && !equal_uint32(trie->data+(newStart-i), trie->data+start, i); in utrie_compact() 663 trie->map[start>>UTRIE_SHIFT]=newStart-i; in utrie_compact() 668 trie->data[newStart++]=trie->data[start++]; in utrie_compact() 670 } else if(newStart<start) { in utrie_compact() 672 trie->map[start>>UTRIE_SHIFT]=newStart; in utrie_compact() 674 trie->data[newStart++]=trie->data[start++]; in utrie_compact() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 3382 … int newStart = matchString(text, start, Calendar.YEAR, formatData.shortYearNames, null, cal); in subParse() local 3383 if (newStart > 0) { in subParse() 3384 return newStart; in subParse() 3419 int newStart = 0; in subParse() local 3421 newStart = (patternCharIndex == 2)? in subParse() 3424 if (newStart > 0) { in subParse() 3425 return newStart; in subParse() 3429 newStart = (patternCharIndex == 2)? in subParse() 3434 if (newStart > 0) { in subParse() 3435 return newStart; in subParse() [all …]
|
/external/perfetto/ui/src/frontend/ |
D | scroll_helper.ts | 82 let newStart = select.midpoint.subtract(visible.duration.divide(2)); 89 newStart = trace.end.subtract(visible.duration); 92 if (newStart.isLessThan(trace.start)) { 93 newStart = trace.start; 97 const view = new HighPrecisionTimeSpan(newStart, newEnd);
|
/external/armnn/samples/common/include/Audio/ |
D | SlidingWindow.hpp | 87 virtual void Reset(T* newStart) in Reset() argument 89 m_start = newStart; in Reset()
|