Home
last modified time | relevance | path

Searched refs:oldLength (Results 1 – 25 of 28) sorted by relevance

12

/external/icu/icu4c/source/common/
Dunistr_case.cpp101 int32_t oldLength; in caseMap() local
106 oldLength = getShortLength(); in caseMap()
107 u_memcpy(oldStackBuffer, fUnion.fStackFields.fBuffer, oldLength); 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()
Dunistr.cpp1050 int32_t oldLength, in findAndReplace() argument
1060 oldText.pinIndices(oldStart, oldLength); in findAndReplace()
1063 if(oldLength == 0) { in findAndReplace()
1067 while(length > 0 && length >= oldLength) { in findAndReplace()
1068 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length); in findAndReplace()
1074 replace(pos, oldLength, newText, newStart, newLength); in findAndReplace()
1075 length -= pos + oldLength - start; in findAndReplace()
1311 int32_t oldLength = this->length(); in doReplace() local
1320 setLength(oldLength - length); in doReplace()
1324 if(length >= (oldLength - start)) { in doReplace()
[all …]
Dunistr_props.cpp35 int32_t oldLength = this->length(); in trim() local
36 int32_t i = oldLength, length; in trim()
49 if(length < oldLength) { in trim()
Dutext.cpp1889 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 …]
Dmessagepattern.cpp95 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()
Duhash.c396 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/
DCodeAttributeEditor.java599 int oldLength = codeAttribute.u4codeLength; in updateInstructions() local
602 if (newInstructionOffsets.length < oldLength + 1) in updateInstructions()
604 newInstructionOffsets = new int[oldLength + 1]; in updateInstructions()
609 oldLength); in updateInstructions()
625 oldLength); in updateInstructions()
638 private int mapInstructions(byte[] oldCode, int oldLength) in mapInstructions() argument
660 while (oldOffset < oldLength); in mapInstructions()
721 int oldLength) in moveInstructions() argument
741 while (oldOffset < oldLength); in moveInstructions()
/external/robolectric/src/main/java/android/net/
DUri__FromAndroid.java1690 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/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp1072 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/apache-commons-math/src/main/java/org/apache/commons/math/util/
DOpenIntToDoubleHashMap.java437 final int oldLength = states.length; in growTable() local
442 final int newLength = RESIZE_MULTIPLIER * oldLength; in growTable()
447 for (int i = 0; i < oldLength; ++i) { in growTable()
DOpenIntToFieldHashMap.java449 final int oldLength = states.length; in growTable() local
454 final int newLength = RESIZE_MULTIPLIER * oldLength; in growTable()
459 for (int i = 0; i < oldLength; ++i) { in growTable()
/external/skia/tests/
DPointTest.cpp30 SkScalar oldLength = point.length(); in test_Normalize() local
33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength)); in test_Normalize()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java146 int oldLength = oldBuffer.length(); in replaceMatch() local
147 if(pos > oldLength) { pos = oldLength; } in replaceMatch()
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DDiskLruCache.java527 long oldLength = entry.lengths[i]; in completeEdit() local
530 size = size - oldLength + newLength; in completeEdit()
/external/icu/icu4c/source/test/intltest/
Dalphaindextst.cpp32 int32_t oldLength = dest.length(); in joinLabelsAndAppend() local
35 if (dest.length() > oldLength) { in joinLabelsAndAppend()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DDiskLruCache.java541 long oldLength = entry.lengths[i]; in completeEdit() local
544 size = size - oldLength + newLength; in completeEdit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java284 int oldLength=str.length(); in removeSuffix() local
285 str.delete(oldLength-suffixLength, oldLength); in removeSuffix()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidi.java1778 int oldLength = paras_level.length; in checkParaCount() local
1787 System.arraycopy(saveLimits, 0, paras_limit, 0, oldLength); in checkParaCount()
1788 System.arraycopy(saveLevels, 0, paras_level, 0, oldLength); in checkParaCount()
/external/icu/icu4c/source/common/unicode/
Dunistr.h2453 int32_t oldLength,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.team.core_3.5.100.R36x_v20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.core.resources_3.6.1.R36x_v20101007-1215.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12