/external/webkit/Source/WebCore/dom/ |
D | CharacterData.cpp | 42 unsigned oldLength = length(); in setData() local 44 setDataAndUpdate(dataImpl, 0, oldLength, dataImpl->length()); in setData() 45 document()->textRemoved(this, 0, oldLength); in setData() 59 unsigned oldLength = m_data->length(); in parserAppendData() local 61 unsigned end = min(dataLength, lengthLimit - oldLength); in parserAppendData() 80 updateRenderer(oldLength, 0); in parserAppendData() 171 …PassRefPtr<StringImpl> newData, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLen… in setDataAndUpdate() argument 174 …document()->frame()->selection()->textWillBeReplaced(this, offsetOfReplacedData, oldLength, newLen… in setDataAndUpdate() 177 updateRenderer(offsetOfReplacedData, oldLength); in setDataAndUpdate()
|
D | InputElement.cpp | 185 …unsigned oldLength = numGraphemeClusters(toRenderTextControlSingleLine(element->renderer())->text(… in handleBeforeTextInsertedEvent() local 193 ASSERT(oldLength >= selectionLength); in handleBeforeTextInsertedEvent() 196 unsigned baseLength = oldLength - selectionLength; in handleBeforeTextInsertedEvent()
|
D | ProcessingInstruction.cpp | 69 int oldLength = m_data.length(); in setData() local 71 document()->textRemoved(this, 0, oldLength); in setData()
|
D | CharacterData.h | 68 …void setDataAndUpdate(PassRefPtr<StringImpl>, unsigned offsetOfReplacedData, unsigned oldLength, u…
|
D | Document.cpp | 3760 int oldLength = domain().length(); in setDomain() local 3763 if (newLength >= oldLength) { in setDomain() 3770 if (test[oldLength - newLength - 1] != '.') { in setDomain() 3777 test.remove(0, oldLength - newLength); in setDomain()
|
/external/icu4c/common/ |
D | unistr_case.cpp | 101 int32_t oldLength; in caseMap() local 107 oldLength = fShortLength; in caseMap() 110 oldLength = length(); in caseMap() 114 if(oldLength <= US_STACKBUF_SIZE) { in caseMap() 117 capacity = oldLength + 20; in caseMap() 130 oldArray, oldLength, &errorCode); in caseMap()
|
D | unistr.cpp | 1081 int32_t oldLength, in findAndReplace() argument 1091 oldText.pinIndices(oldStart, oldLength); in findAndReplace() 1094 if(oldLength == 0) { in findAndReplace() 1098 while(length > 0 && length >= oldLength) { in findAndReplace() 1099 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length); in findAndReplace() 1105 replace(pos, oldLength, newText, newStart, newLength); in findAndReplace() 1106 length -= pos + oldLength - start; in findAndReplace() 1306 int32_t oldLength = this->length(); in doReplace() local 1315 setLength(oldLength - length); in doReplace() 1319 if(length >= (oldLength - start)) { in doReplace() [all …]
|
D | unistr_props.cpp | 35 int32_t oldLength = this->length(); in trim() local 36 int32_t i = oldLength, length; in trim() 49 if(length < oldLength) { in trim()
|
D | utext.cpp | 1889 int32_t oldLength; in repTextReplace() local 1898 oldLength=rep->length(); // will subtract from new length in repTextReplace() 1904 int32_t start32 = pinIndex(start, oldLength); in repTextReplace() 1905 int32_t limit32 = pinIndex(limit, oldLength); in repTextReplace() 1908 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) && in repTextReplace() 1913 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace() 1923 int32_t lengthDelta = newLength - oldLength; in repTextReplace() 2162 int32_t oldLength; in unistrTextReplace() local 2174 oldLength=us->length(); in unistrTextReplace() 2175 int32_t start32 = pinIndex(start, oldLength); in unistrTextReplace() [all …]
|
D | messagepattern.cpp | 95 UBool ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode); 123 MessagePatternList<T, stackCapacity>::ensureCapacityForOneMore(int32_t oldLength, UErrorCode &error… in ensureCapacityForOneMore() argument 127 if(a.getCapacity()>oldLength || a.resize(2*oldLength, oldLength)!=NULL) { in ensureCapacityForOneMore()
|
D | uhash.c | 396 int32_t oldLength = hash->length; in _uhash_rehash() local 416 hash->length = oldLength; in _uhash_rehash() 420 for (i = oldLength - 1; i >= 0; --i) { in _uhash_rehash()
|
/external/skia/tests/ |
D | PointTest.cpp | 32 SkScalar oldLength = point.length(); in test_Normalize() local 35 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength)); in test_Normalize()
|
/external/proguard/src/proguard/classfile/editor/ |
D | CodeAttributeEditor.java | 513 int oldLength = codeAttribute.u4codeLength; in updateInstructions() local 516 if (instructionOffsetMap.length < oldLength + 1) in updateInstructions() 518 instructionOffsetMap = new int[oldLength + 1]; in updateInstructions() 523 oldLength); in updateInstructions() 539 oldLength); in updateInstructions() 552 private int mapInstructions(byte[] oldCode, int oldLength) in mapInstructions() argument 574 while (oldOffset < oldLength); in mapInstructions() 635 int oldLength) in moveInstructions() argument 655 while (oldOffset < oldLength); in moveInstructions()
|
/external/robolectric/src/main/java/android/net/ |
D | Uri__FromAndroid.java | 1690 int oldLength = s.length(); in encode() local 1696 while (current < oldLength) { in encode() 1701 while (nextToEncode < oldLength in encode() 1707 if (nextToEncode == oldLength) { in encode() 1713 encoded.append(s, current, oldLength); in encode() 1734 while (nextAllowed < oldLength in encode() 1805 int oldLength = s.length(); in decode() local 1811 while (current < oldLength) { in decode() 1823 decoded.append(s, current, oldLength); in decode() 1834 decoded = new StringBuilder(oldLength); in decode() [all …]
|
/external/icu4c/tools/makeconv/ |
D | genmbcs.cpp | 1067 uint32_t i, value, oldLength, old3Top; in transformEUC() local 1070 oldLength=mbcsData->ucm->states.maxCharLength; in transformEUC() 1071 if(oldLength<3) { in transformEUC() 1083 if(oldLength==4) { in transformEUC() 1088 for(i=0; i<old3Top; i+=oldLength) { in transformEUC() 1099 mbcsData->ucm->states.outputType=(int8_t)(MBCS_OUTPUT_3_EUC+oldLength-3); in transformEUC() 1100 mbcsData->stage3Top=(old3Top*(oldLength-1))/oldLength; in transformEUC() 1109 if(oldLength==3) { in transformEUC() 1111 for(i=0; i<old3Top; i+=oldLength) { in transformEUC()
|
/external/webkit/Source/WebCore/editing/ |
D | SelectionController.cpp | 282 …tion, EndPointType type, CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLen… in shouldRemovePositionAfterAdoptingTextReplacement() argument 289 if (positionOffset > offset && positionOffset < offset + oldLength) in shouldRemovePositionAfterAdoptingTextReplacement() 295 …f ((positionOffset > offset + oldLength) || (positionOffset == offset + oldLength && (type == EndP… in shouldRemovePositionAfterAdoptingTextReplacement() 296 position.moveToOffset(positionOffset - oldLength + newLength); in shouldRemovePositionAfterAdoptingTextReplacement() 301 …ller::textWillBeReplaced(CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLen… in textWillBeReplaced() argument 311 …, m_selection.isBaseFirst() ? EndPointIsStart : EndPointIsEnd, node, offset, oldLength, newLength); in textWillBeReplaced() 312 …, m_selection.isBaseFirst() ? EndPointIsEnd : EndPointIsStart, node, offset, oldLength, newLength); in textWillBeReplaced() 313 …vePositionAfterAdoptingTextReplacement(start, EndPointIsStart, node, offset, oldLength, newLength); in textWillBeReplaced() 314 …RemovePositionAfterAdoptingTextReplacement(end, EndPointIsEnd, node, offset, oldLength, newLength); in textWillBeReplaced()
|
D | SelectionController.h | 137 … void textWillBeReplaced(CharacterData*, unsigned offset, unsigned oldLength, unsigned newLength);
|
D | TextIterator.cpp | 2003 size_t oldLength = m_buffer.size(); in append() local 2004 size_t usableLength = min(m_buffer.capacity() - oldLength, length); in append() 2007 foldQuoteMarksAndSoftHyphens(m_buffer.data() + oldLength, usableLength); in append()
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | DiskLruCache.java | 475 long oldLength = entry.lengths[i]; in completeEdit() local 478 size = size - oldLength + newLength; in completeEdit()
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | JSArray.cpp | 773 unsigned oldLength = storage->m_length; in shiftCount() local 775 if (!oldLength) in shiftCount() 778 if (oldLength != storage->m_numValuesInVector) { in shiftCount() 783 for (unsigned i = count; i < oldLength; ++i) { in shiftCount()
|
/external/icu4c/test/intltest/ |
D | alphaindextst.cpp | 31 int32_t oldLength = dest.length(); in joinLabelsAndAppend() local 34 if (dest.length() > oldLength) { in joinLabelsAndAppend()
|
/external/webkit/Source/WebCore/inspector/ |
D | InspectorStyleSheet.cpp | 223 unsigned oldLength = propertyEnd - propertyStart; in setPropertyText() local 225 propertyLengthDelta = newLength - oldLength; in setPropertyText()
|
/external/icu4c/i18n/ |
D | ucol.cpp | 2235 int32_t oldLength = data->writableBuffer.length(); in insertBufferEnd() local 2236 return data->writableBuffer.append(ch).getTerminatedBuffer() + oldLength; in insertBufferEnd() 2250 int32_t oldLength = data->writableBuffer.length(); in insertBufferEnd() local 2251 return data->writableBuffer.append(str, length).getTerminatedBuffer() + oldLength; in insertBufferEnd()
|
/external/icu4c/common/unicode/ |
D | unistr.h | 2453 int32_t oldLength,
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2011-02-16 | 36732 and renamed lengthOfReplacedData to oldLength; calls textWillBeReplaced.
|