Home
last modified time | relevance | path

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

12

/external/icu4c/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.cpp2592 …int32_t newStart = matchString(text, start, UCAL_YEAR, fSymbols->fShortYearNames, fSymbols->fShort… in subParse() local
2593 if (newStart > 0) { in subParse()
2594 return newStart; in subParse()
2644 int32_t newStart = 0; in subParse() local
2646newStart = matchString(text, start, UCAL_MONTH, fSymbols->fMonths, fSymbols->fMonthsCount, wideMon… in subParse()
2647 if (newStart > 0) { in subParse()
2648 return newStart; in subParse()
2650newStart = matchString(text, start, UCAL_MONTH, fSymbols->fShortMonths, fSymbols->fShortMonthsCoun… in subParse()
2652newStart = matchString(text, start, UCAL_MONTH, fSymbols->fStandaloneMonths, fSymbols->fStandalone… in subParse()
2653 if (newStart > 0) { in subParse()
[all …]
Dcoptccal.cpp140 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
145 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
Dbuddhcal.cpp196 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
201 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
Dethpccal.cpp177 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
182 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
Dtaiwncal.cpp203 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
209 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
Dpersncal.cpp315 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
321 fgSystemDefaultCenturyStart = 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.cpp428 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
434 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
Dislamcal.cpp529 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
535 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
Dhebrwcal.cpp740 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
745 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
Dchnsecal.cpp845 UDate newStart = calendar.getTime(status); in initializeSystemDefaultCentury() local
851 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
Dgregocal.cpp1336 UDate newStart = calendar->getTime(status); in initializeSystemDefaultCentury() local
1342 fgSystemDefaultCenturyStart = newStart; in initializeSystemDefaultCentury()
/external/icu4c/tools/makeconv/
Dgenmbcs.cpp1165 uint16_t i, start, prevEnd, newStart; in singleCompactStage2() local
1171 start=newStart=MBCS_STAGE_2_FIRST_ASSIGNED; in singleCompactStage2()
1173 prevEnd=(uint16_t)(newStart-1); in singleCompactStage2()
1179 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=(uint16_t)(newStart-i); in singleCompactStage2()
1184 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2()
1186 } else if(newStart<start) { in singleCompactStage2()
1188 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=newStart; in singleCompactStage2()
1190 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2()
1194 start=newStart+=MBCS_STAGE_2_BLOCK_SIZE; in singleCompactStage2()
1199 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/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/icu4c/common/
Dutrie2_builder.cpp986 int32_t start, newStart, movedStart; in compactData() local
991 newStart=UTRIE2_DATA_START_OFFSET; in compactData()
992 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData()
1002 for(start=newStart; start<trie->dataLength;) { in compactData()
1023 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData()
1042 overlap>0 && !equal_uint32(trie->data+(newStart-overlap), trie->data+start, overlap); in compactData()
1045 if(overlap>0 || newStart<start) { in compactData()
1047 movedStart=newStart-overlap; in compactData()
1056 trie->data[newStart++]=trie->data[start++]; in compactData()
1063 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.cpp1083 int32_t newStart, in findAndReplace() argument
1092 newText.pinIndices(newStart, newLength); in findAndReplace()
1105 replace(pos, oldLength, newText, newStart, newLength); in findAndReplace()
/external/webkit/Source/WebCore/rendering/svg/
DSVGTextLayoutAttributesBuilder.h50 …TextPosition(SVGTextPositioningElement* newElement = 0, unsigned newStart = 0, unsigned newLength …
52 , start(newStart) in element()
/external/webkit/Source/WebCore/editing/
DApplyStyleCommand.cpp177 void ApplyStyleCommand::updateStartEnd(const Position& newStart, const Position& newEnd) in updateStartEnd() argument
179 ASSERT(comparePositions(newEnd, newStart) >= 0); in updateStartEnd()
181 if (!m_useEndingSelection && (newStart != m_start || newEnd != m_end)) in updateStartEnd()
184 setEndingSelection(VisibleSelection(newStart, newEnd, VP_DEFAULT_AFFINITY)); in updateStartEnd()
185 m_start = newStart; in updateStartEnd()
1144 …Position newStart = shouldUpdateStart ? Position(prevNode, start.offsetInContainerNode(), Position… in splitTextAtEnd() local
1145 updateStartEnd(newStart, lastPositionInNode(prevNode)); in splitTextAtEnd()
1173 …Position newStart = shouldUpdateStart ? Position(prevNode, start.offsetInContainerNode(), Position… in splitTextElementAtEnd() local
1174 …updateStartEnd(newStart, Position(prevNode->parentNode(), prevNode->nodeIndex() + 1, Position::Pos… in splitTextElementAtEnd()
1474 Position newStart = start; in joinChildTextNodes() local
[all …]
DApplyStyleCommand.h117 void updateStartEnd(const Position& newStart, const Position& newEnd);
DEditor.cpp3159 VisiblePosition newStart(m_frame->selection()->selection().visibleStart()); in respondToChangedSelection() local
3160 …newAdjacentWords = VisibleSelection(startOfWord(newStart, LeftWordIfOnBoundary), endOfWord(newStar… in respondToChangedSelection()
3162 … newSelectedSentence = VisibleSelection(startOfSentence(newStart), endOfSentence(newStart)); in respondToChangedSelection()
/external/webkit/Source/WebKit/mac/WebView/
DWebFrame.mm745 Position newStart = start.upstream().leadingWhitespacePosition(DOWNSTREAM, true);
746 if (newStart.isNull())
747 newStart = start;
752 newStart = newStart.parentAnchoredEquivalent();
757 range->setStart(newStart.containerNode(), newStart.offsetInContainerNode(), exception);
758 range->setEnd(newStart.containerNode(), newStart.offsetInContainerNode(), exception);
/external/webkit/Source/JavaScriptCore/wtf/
DDeque.h430 size_t newStart = newCapacity - (oldCapacity - m_start); in expandCapacity() local
431 … TypeOperations::move(oldBuffer + m_start, oldBuffer + oldCapacity, m_buffer.buffer() + newStart); in expandCapacity()
432 m_start = newStart; in expandCapacity()

12