HomeSort by relevance Sort by last modified time
    Searched refs:oldLength (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/chromium_org/third_party/icu/source/common/
unistr_props.cpp 34 int32_t oldLength = this->length();
35 int32_t i = oldLength, length;
48 if(length < oldLength) {
unistr_case.cpp 110 int32_t oldLength;
116 oldLength = fShortLength;
119 oldLength = length();
123 if(oldLength <= US_STACKBUF_SIZE) {
126 capacity = oldLength + 20;
140 oldArray, oldLength,
144 oldArray, oldLength,
151 oldArray, oldLength,
156 oldArray, oldLength,
unistr.cpp 1033 int32_t oldLength,
1043 oldText.pinIndices(oldStart, oldLength);
1046 if(oldLength == 0) {
1050 while(length > 0 && length >= oldLength) {
1051 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length);
1057 replace(pos, oldLength, newText, newStart, newLength);
1058 length -= pos + oldLength - start;
    [all...]
  /external/icu/icu4c/source/common/
unistr_props.cpp 35 int32_t oldLength = this->length();
36 int32_t i = oldLength, length;
49 if(length < oldLength) {
unistr_case.cpp 101 int32_t oldLength;
107 oldLength = fShortLength;
110 oldLength = length();
114 if(oldLength <= US_STACKBUF_SIZE) {
117 capacity = oldLength + 20;
130 oldArray, oldLength, &errorCode);
unistr.cpp 1075 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;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
CharacterData.cpp 52 unsigned oldLength = length();
54 setDataAndUpdate(nonNullData, 0, oldLength, nonNullData.length());
55 document().didRemoveText(this, 0, oldLength);
70 unsigned oldLength = m_data.length();
75 toText(this)->updateTextRenderer(oldLength, 0);
171 void CharacterData::setDataAndUpdate(const String& newData, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, RecalcStyleBehavior recalcStyleBehavior)
178 toText(this)->updateTextRenderer(offsetOfReplacedData, oldLength, recalcStyleBehavior);
184 document().frame()->selection().didUpdateCharacterData(this, offsetOfReplacedData, oldLength, newLength);
CharacterData.h 77 void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, RecalcStyleBehavior = DoNotRecalcStyle);
  /libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/
DigestTest.java 65 int oldLength = oldDigest.doFinal(oldHash, 0);
79 assertEquals("Hash sizes must be equal", oldLength, newLength);
81 for (int i = 0; i < oldLength; i++) {
  /libcore/luni/src/test/java/libcore/java/util/prefs/
PreferencesTest.java 79 long oldLength = userPrefs.length();
86 assertTrue("Expected file to be clobbered", oldLength != userPrefs.length());
  /system/core/logd/
LogStatistics.cpp 523 size_t oldLength;
530 oldLength = string.length();
535 spaces += spaces_total + oldLength - string.length();
557 oldLength = string.length();
563 spaces += spaces_total + oldLength - string.length();
579 oldLength = string.length();
584 spaces -= string.length() - oldLength;
695 oldLength = string.length();
700 spaces += spaces_time + oldLength - string.length();
712 oldLength = string.length()
    [all...]
  /external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
rtcp_receiver_help.cc 58 uint16_t oldLength = applicationLength;
71 memcpy(applicationData, oldData, oldLength);
72 memcpy(applicationData+oldLength, data, copySize);
  /external/chromium_org/third_party/skia/tests/
PointTest.cpp 30 SkScalar oldLength = point.length();
33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength));
  /external/skia/tests/
PointTest.cpp 30 SkScalar oldLength = point.length();
33 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(returned, oldLength));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ChangeViewRefactoring.java 181 int oldLength = oldName.length();
183 oldLength, name));
186 int oldLength = oldName.length();
187 rootEdit.addChild(new ReplaceEdit(region.getStartOffset() + close, oldLength,
ChangeLayoutRefactoring.java 242 int oldLength = oldName.length();
243 rootEdit.addChild(new ReplaceEdit(mSelectionStart + open, oldLength, name));
245 rootEdit.addChild(new ReplaceEdit(mSelectionStart + close, oldLength, name));
381 int oldLength = oldName.length();
382 rootEdit.addChild(new ReplaceEdit(mSelectionStart + open, oldLength,
386 oldLength, TABLE_ROW));
  /libcore/luni/src/main/java/java/lang/
HexStringParser.java 265 int oldLength = countBitsLength(mantissa);
270 if (oldLength >= MANTISSA_WIDTH && newLength > oldLength) {
  /external/robolectric/src/main/java/android/net/
Uri__FromAndroid.java     [all...]
  /external/proguard/src/proguard/classfile/editor/
CodeAttributeEditor.java 588 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)
649 while (oldOffset < oldLength);
704 * @param oldLength the original code length.
710 int oldLength)
    [all...]
  /external/chromium_org/third_party/icu/source/tools/makeconv/
genmbcs.c     [all...]
  /external/icu/icu4c/source/tools/makeconv/
genmbcs.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
FrameSelection.cpp 380 static Position updatePositionAfterAdoptingTextReplacement(const Position& position, CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength)
389 if (positionOffset >= offset && positionOffset <= offset + oldLength)
393 // (positionOffset > offset + oldLength) to avoid having a stale offset.
394 if (positionOffset > offset + oldLength)
395 positionOffset = positionOffset - oldLength + newLength;
403 void FrameSelection::didUpdateCharacterData(CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength)
409 Position base = updatePositionAfterAdoptingTextReplacement(m_selection.base(), node, offset, oldLength, newLength);
410 Position extent = updatePositionAfterAdoptingTextReplacement(m_selection.extent(), node, offset, oldLength, newLength);
411 Position start = updatePositionAfterAdoptingTextReplacement(m_selection.start(), node, offset, oldLength, newLength);
412 Position end = updatePositionAfterAdoptingTextReplacement(m_selection.end(), node, offset, oldLength, newLength)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
TextFieldInputType.cpp 415 unsigned oldLength = element().innerEditorValue().length();
423 ASSERT(oldLength >= selectionLength);
426 unsigned baseLength = oldLength - selectionLength;
  /frameworks/support/v4/java/android/support/v4/app/
ShareCompat.java 359 int oldLength = old != null ? old.length : 0;
360 String[] result = new String[oldLength + add.length];
361 if (old != null) System.arraycopy(old, 0, result, 0, oldLength);
362 System.arraycopy(add, 0, result, oldLength, add.length);
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/
provided_file_systems.js 153 chartUpdate: function(oldLength, newLength) {
166 console.assert(newLength >= oldLength);
168 for (var i = oldLength; i < newLength; i++) {

Completed in 1407 milliseconds

1 2 3 4