Searched defs:oldLength (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/icu/source/common/
H A Dunistr_props.cpp35 int32_t oldLength = this->length(); local
36 int32_t i = oldLength, length;
49 if(length < oldLength) {
H A Dunistr_case.cpp101 int32_t oldLength; local
107 oldLength = fShortLength;
110 oldLength = length();
114 if(oldLength <= US_STACKBUF_SIZE) {
117 capacity = oldLength + 20;
130 oldArray, oldLength, &errorCode);
H A Duhash.c396 int32_t oldLength = hash->length; local
416 hash->length = oldLength;
420 for (i = oldLength - 1; i >= 0; --i) {
H A Dmessagepattern.cpp95 UBool ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode);
123 MessagePatternList<T, stackCapacity>::ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode) { argument
127 if(a.getCapacity()>oldLength || a.resize(2*oldLength, oldLength)!=NULL) {
H A Dunistr.cpp1075 int32_t oldLength,
1085 oldText.pinIndices(oldStart, oldLength);
1088 if(oldLength == 0) {
1092 while(length > 0 && length >= oldLength) {
1093 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length);
1099 replace(pos, oldLength, newText, newStart, newLength);
1100 length -= pos + oldLength - start;
1338 int32_t oldLength = this->length(); local
1347 setLength(oldLength - length);
1351 if(length >= (oldLength
1071 findAndReplace(int32_t start, int32_t length, const UnicodeString& oldText, int32_t oldStart, int32_t oldLength, const UnicodeString& newText, int32_t newStart, int32_t newLength) argument
1547 int32_t oldLength = length(); local
1569 int32_t oldLength = length(); local
1780 int32_t oldLength = str.length(); local
[all...]
H A Dutext.cpp1875 int32_t oldLength; local
1884 oldLength=rep->length(); // will subtract from new length
1890 int32_t start32 = pinIndex(start, oldLength);
1891 int32_t limit32 = pinIndex(limit, oldLength);
1894 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) &&
1899 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) &&
1909 int32_t lengthDelta = newLength - oldLength;
2148 int32_t oldLength; local
2160 oldLength=us->length();
2161 int32_t start32 = pinIndex(start, oldLength);
[all...]
/external/icu/icu4c/source/common/
H A Dunistr_props.cpp35 int32_t oldLength = this->length(); local
36 int32_t i = oldLength, length;
49 if(length < oldLength) {
H A Dunistr_case.cpp101 int32_t oldLength; local
107 oldLength = fShortLength;
110 oldLength = length();
114 if(oldLength <= US_STACKBUF_SIZE) {
117 capacity = oldLength + 20;
130 oldArray, oldLength, &errorCode);
H A Duhash.c396 int32_t oldLength = hash->length; local
416 hash->length = oldLength;
420 for (i = oldLength - 1; i >= 0; --i) {
H A Dmessagepattern.cpp95 UBool ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode);
123 MessagePatternList<T, stackCapacity>::ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode) { argument
127 if(a.getCapacity()>oldLength || a.resize(2*oldLength, oldLength)!=NULL) {
H A Dunistr.cpp1075 int32_t oldLength,
1085 oldText.pinIndices(oldStart, oldLength);
1088 if(oldLength == 0) {
1092 while(length > 0 && length >= oldLength) {
1093 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length);
1099 replace(pos, oldLength, newText, newStart, newLength);
1100 length -= pos + oldLength - start;
1338 int32_t oldLength = this->length(); local
1347 setLength(oldLength - length);
1351 if(length >= (oldLength
1071 findAndReplace(int32_t start, int32_t length, const UnicodeString& oldText, int32_t oldStart, int32_t oldLength, const UnicodeString& newText, int32_t newStart, int32_t newLength) argument
1547 int32_t oldLength = length(); local
1569 int32_t oldLength = length(); local
1780 int32_t oldLength = str.length(); local
[all...]
H A Dutext.cpp1880 int32_t oldLength; local
1889 oldLength=rep->length(); // will subtract from new length
1895 int32_t start32 = pinIndex(start, oldLength);
1896 int32_t limit32 = pinIndex(limit, oldLength);
1899 if (start32<oldLength && U16_IS_TRAIL(rep->charAt(start32)) &&
1904 if (limit32<oldLength && U16_IS_LEAD(rep->charAt(limit32-1)) &&
1914 int32_t lengthDelta = newLength - oldLength;
2153 int32_t oldLength; local
2165 oldLength=us->length();
2166 int32_t start32 = pinIndex(start, oldLength);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DCharacterData.cpp52 unsigned oldLength = length(); local
54 setDataAndUpdate(nonNullData, 0, oldLength, nonNullData.length());
55 document().didRemoveText(this, 0, oldLength);
70 unsigned oldLength = m_data.length(); local
75 toText(this)->updateTextRenderer(oldLength, 0);
173 void CharacterData::setDataAndUpdate(const String& newData, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, RecalcStyleBehavior recalcStyleBehavior) argument
180 toText(this)->updateTextRenderer(offsetOfReplacedData, oldLength, recalcStyleBehavior);
186 document().frame()->selection().didUpdateCharacterData(this, offsetOfReplacedData, oldLength, newLength);
/external/chromium_org/third_party/skia/tests/
H A DPointTest.cpp30 SkScalar oldLength = point.length(); local
33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength));
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtcp_receiver_help.cc58 uint16_t oldLength = applicationLength; local
71 memcpy(applicationData, oldData, oldLength);
72 memcpy(applicationData+oldLength, data, copySize);
/external/skia/tests/
H A DPointTest.cpp30 SkScalar oldLength = point.length(); local
33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength));
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dalphaindextst.cpp33 int32_t oldLength = dest.length(); local
36 if (dest.length() > oldLength) {
/external/icu/icu4c/source/test/intltest/
H A Dalphaindextst.cpp33 int32_t oldLength = dest.length(); local
36 if (dest.length() > oldLength) {
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DTextFieldInputType.cpp410 unsigned oldLength = element().innerEditorValue().length(); local
418 ASSERT(oldLength >= selectionLength);
421 unsigned baseLength = oldLength - selectionLength;
/external/chromium_org/third_party/icu/source/tools/makeconv/
H A Dgenmbcs.cpp1072 uint32_t i, value, oldLength, old3Top; local
1075 oldLength=mbcsData->ucm->states.maxCharLength;
1076 if(oldLength<3) {
1088 if(oldLength==4) {
1093 for(i=0; i<old3Top; i+=oldLength) {
1104 mbcsData->ucm->states.outputType=(int8_t)(MBCS_OUTPUT_3_EUC+oldLength-3);
1105 mbcsData->stage3Top=(old3Top*(oldLength-1))/oldLength;
1114 if(oldLength==3) {
1116 for(i=0; i<old3Top; i+=oldLength) {
[all...]
/external/icu/icu4c/source/tools/makeconv/
H A Dgenmbcs.cpp1072 uint32_t i, value, oldLength, old3Top; local
1075 oldLength=mbcsData->ucm->states.maxCharLength;
1076 if(oldLength<3) {
1088 if(oldLength==4) {
1093 for(i=0; i<old3Top; i+=oldLength) {
1104 mbcsData->ucm->states.outputType=(int8_t)(MBCS_OUTPUT_3_EUC+oldLength-3);
1105 mbcsData->stage3Top=(old3Top*(oldLength-1))/oldLength;
1114 if(oldLength==3) {
1116 for(i=0; i<old3Top; i+=oldLength) {
[all...]
/external/proguard/src/proguard/classfile/editor/
H A DCodeAttributeEditor.java588 int oldLength = codeAttribute.u4codeLength;
591 if (newInstructionOffsets.length < oldLength + 1)
593 newInstructionOffsets = new int[oldLength + 1];
598 oldLength);
614 oldLength);
624 * @param oldLength the code length.
627 private int mapInstructions(byte[] oldCode, int oldLength) argument
649 while (oldOffset < oldLength);
704 * @param oldLength the original code length.
710 int oldLength)
706 moveInstructions(Clazz clazz, Method method, CodeAttribute codeAttribute, byte[] oldCode, int oldLength) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DFrameSelection.cpp378 static Position updatePositionAfterAdoptingTextReplacement(const Position& position, CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength) argument
387 if (positionOffset >= offset && positionOffset <= offset + oldLength)
391 // (positionOffset > offset + oldLength) to avoid having a stale offset.
392 if (positionOffset > offset + oldLength)
393 positionOffset = positionOffset - oldLength + newLength;
401 void FrameSelection::didUpdateCharacterData(CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength) argument
407 Position base = updatePositionAfterAdoptingTextReplacement(m_selection.base(), node, offset, oldLength, newLength);
408 Position extent = updatePositionAfterAdoptingTextReplacement(m_selection.extent(), node, offset, oldLength, newLength);
409 Position start = updatePositionAfterAdoptingTextReplacement(m_selection.start(), node, offset, oldLength, newLength);
410 Position end = updatePositionAfterAdoptingTextReplacement(m_selection.end(), node, offset, oldLength, newLengt
449 unsigned oldLength = oldNode.length(); local
[all...]
H A DTextIterator.cpp2046 size_t oldLength = m_buffer.size(); local
2047 size_t usableLength = std::min(m_buffer.capacity() - oldLength, length);
2049 m_buffer.resize(oldLength + usableLength);
2050 UChar* destination = m_buffer.data() + oldLength;
/external/glide/third_party/disklrucache/
H A Ddisklrucache-2.0.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/jakewharton/ com/jakewharton/disklrucache/ com/jakewharton/disklrucache/DiskLruCache ...

Completed in 354 milliseconds

12