/external/chromium_org/third_party/icu/source/common/ |
D | unistr_case.cpp | 110 int32_t oldLength; in caseMap() local 116 oldLength = fShortLength; in caseMap() 119 oldLength = length(); in caseMap() 123 if(oldLength <= US_STACKBUF_SIZE) { in caseMap() 126 capacity = oldLength + 20; in caseMap() 140 oldArray, oldLength, in caseMap() 144 oldArray, oldLength, in caseMap() 151 oldArray, oldLength, in caseMap() 156 oldArray, oldLength, in caseMap()
|
D | unistr_props.cpp | 34 int32_t oldLength = this->length(); in trim() local 35 int32_t i = oldLength, length; in trim() 48 if(length < oldLength) { in trim()
|
D | unistr.cpp | 1033 int32_t oldLength, in findAndReplace() argument 1043 oldText.pinIndices(oldStart, oldLength); in findAndReplace() 1046 if(oldLength == 0) { in findAndReplace() 1050 while(length > 0 && length >= oldLength) { in findAndReplace() 1051 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length); in findAndReplace() 1057 replace(pos, oldLength, newText, newStart, newLength); in findAndReplace() 1058 length -= pos + oldLength - start; in findAndReplace() 1233 int32_t oldLength = this->length(); in doReplace() local 1242 setLength(oldLength - length); in doReplace() 1246 if(length >= (oldLength - start)) { in doReplace() [all …]
|
D | utext.cpp | 2235 int32_t oldLength; in repTextReplace() local 2244 oldLength=rep->length(); // will subtract from new length in repTextReplace() 2250 int32_t start32 = pinIndex(start, oldLength); in repTextReplace() 2251 int32_t limit32 = pinIndex(limit, oldLength); in repTextReplace() 2254 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) && in repTextReplace() 2259 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace() 2269 int32_t lengthDelta = newLength - oldLength; in repTextReplace() 2508 int32_t oldLength; in unistrTextReplace() local 2520 oldLength=us->length(); in unistrTextReplace() 2521 int32_t start32 = pinIndex(start, oldLength); in unistrTextReplace() [all …]
|
D | uhash.c | 395 int32_t oldLength = hash->length; in _uhash_rehash() local 415 hash->length = oldLength; in _uhash_rehash() 419 for (i = oldLength - 1; i >= 0; --i) { in _uhash_rehash()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | CharacterData.cpp | 54 unsigned oldLength = length(); in setData() local 56 setDataAndUpdate(nonNullData, 0, oldLength, nonNullData.length()); in setData() 57 document().didRemoveText(this, 0, oldLength); in setData() 72 unsigned oldLength = m_data.length(); in parserAppendData() local 77 toText(this)->updateTextRenderer(oldLength, 0); in parserAppendData() 169 …ndUpdate(const String& newData, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLen… in setDataAndUpdate() argument 176 toText(this)->updateTextRenderer(offsetOfReplacedData, oldLength, recalcStyleBehavior); in setDataAndUpdate() 182 …nt().frame()->selection().didUpdateCharacterData(this, offsetOfReplacedData, oldLength, newLength); in setDataAndUpdate()
|
D | CharacterData.h | 77 …void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned n…
|
/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 | 1079 int32_t oldLength, in findAndReplace() argument 1089 oldText.pinIndices(oldStart, oldLength); in findAndReplace() 1092 if(oldLength == 0) { in findAndReplace() 1096 while(length > 0 && length >= oldLength) { in findAndReplace() 1097 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length); in findAndReplace() 1103 replace(pos, oldLength, newText, newStart, newLength); in findAndReplace() 1104 length -= pos + oldLength - start; in findAndReplace() 1304 int32_t oldLength = this->length(); in doReplace() local 1313 setLength(oldLength - length); in doReplace() 1317 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 | 1875 int32_t oldLength; in repTextReplace() local 1884 oldLength=rep->length(); // will subtract from new length in repTextReplace() 1890 int32_t start32 = pinIndex(start, oldLength); in repTextReplace() 1891 int32_t limit32 = pinIndex(limit, oldLength); in repTextReplace() 1894 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) && in repTextReplace() 1899 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) && in repTextReplace() 1909 int32_t lengthDelta = newLength - oldLength; in repTextReplace() 2148 int32_t oldLength; in unistrTextReplace() local 2160 oldLength=us->length(); in unistrTextReplace() 2161 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/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/skia/tests/ |
D | PointTest.cpp | 30 SkScalar oldLength = point.length(); in test_Normalize() local 33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength)); in test_Normalize()
|
/external/chromium_org/third_party/icu/source/tools/makeconv/ |
D | genmbcs.c | 1067 uint32_t i, value, oldLength, old3Top, new3Top; 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=new3Top=(old3Top*(oldLength-1))/oldLength; in transformEUC() 1109 if(oldLength==3) { in transformEUC() 1111 for(i=0; i<old3Top; i+=oldLength) { in transformEUC()
|
/external/icu4c/tools/makeconv/ |
D | genmbcs.cpp | 1072 uint32_t i, value, oldLength, old3Top; in transformEUC() local 1075 oldLength=mbcsData->ucm->states.maxCharLength; in transformEUC() 1076 if(oldLength<3) { in transformEUC() 1088 if(oldLength==4) { in transformEUC() 1093 for(i=0; i<old3Top; i+=oldLength) { in transformEUC() 1104 mbcsData->ucm->states.outputType=(int8_t)(MBCS_OUTPUT_3_EUC+oldLength-3); in transformEUC() 1105 mbcsData->stage3Top=(old3Top*(oldLength-1))/oldLength; in transformEUC() 1114 if(oldLength==3) { in transformEUC() 1116 for(i=0; i<old3Top; i+=oldLength) { in transformEUC()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | FrameSelection.cpp | 379 …onst Position& position, CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLen… in updatePositionAfterAdoptingTextReplacement() argument 388 if (positionOffset >= offset && positionOffset <= offset + oldLength) in updatePositionAfterAdoptingTextReplacement() 393 if (positionOffset > offset + oldLength) in updatePositionAfterAdoptingTextReplacement() 394 positionOffset = positionOffset - oldLength + newLength; in updatePositionAfterAdoptingTextReplacement() 402 …::didUpdateCharacterData(CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLen… in didUpdateCharacterData() argument 408 …updatePositionAfterAdoptingTextReplacement(m_selection.base(), node, offset, oldLength, newLength); in didUpdateCharacterData() 409 …datePositionAfterAdoptingTextReplacement(m_selection.extent(), node, offset, oldLength, newLength); in didUpdateCharacterData() 410 …pdatePositionAfterAdoptingTextReplacement(m_selection.start(), node, offset, oldLength, newLength); in didUpdateCharacterData() 411 … updatePositionAfterAdoptingTextReplacement(m_selection.end(), node, offset, oldLength, newLength); in didUpdateCharacterData() 450 unsigned oldLength = oldNode.length(); in updatePostionAfterAdoptingTextNodeSplit() local [all …]
|
D | FrameSelection.h | 155 …void didUpdateCharacterData(CharacterData*, unsigned offset, unsigned oldLength, unsigned newLengt…
|
D | TextIterator.cpp | 1796 size_t oldLength = m_buffer.size(); in append() local 1797 size_t usableLength = min(m_buffer.capacity() - oldLength, length); in append() 1799 m_buffer.resize(oldLength + usableLength); in append() 1800 UChar* destination = m_buffer.data() + oldLength; in append()
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
D | TextFieldInputType.cpp | 439 unsigned oldLength = element().innerTextValue().length(); in handleBeforeTextInsertedEvent() local 447 ASSERT(oldLength >= selectionLength); in handleBeforeTextInsertedEvent() 450 unsigned baseLength = oldLength - selectionLength; in handleBeforeTextInsertedEvent()
|
/external/icu4c/test/intltest/ |
D | alphaindextst.cpp | 31 int32_t oldLength = dest.length(); in joinLabelsAndAppend() local 34 if (dest.length() > oldLength) { in joinLabelsAndAppend()
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | DiskLruCache.java | 530 long oldLength = entry.lengths[i]; in completeEdit() local 533 size = size - oldLength + newLength; in completeEdit()
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InjectedScriptCanvasModuleSource.js | 3356 var oldLength = this._calls.length; 3358 toIndex = oldLength; 3360 toIndex = Math.min(toIndex, oldLength); 3361 var newIndex = Math.min(fromIndex, oldLength);
|