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

1 2 3

  /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...]
utext.cpp     [all...]
  /external/icu4c/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 1079 int32_t oldLength,
1089 oldText.pinIndices(oldStart, oldLength);
1092 if(oldLength == 0) {
1096 while(length > 0 && length >= oldLength) {
1097 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length);
1103 replace(pos, oldLength, newText, newStart, newLength);
1104 length -= pos + oldLength - start;
    [all...]
utext.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
CharacterData.cpp 54 unsigned oldLength = length();
56 setDataAndUpdate(nonNullData, 0, oldLength, nonNullData.length());
57 document()->textRemoved(this, 0, oldLength);
72 unsigned oldLength = m_data.length();
74 ASSERT(lengthLimit >= oldLength);
77 unsigned characterLengthLimit = min(characterLength, lengthLimit - oldLength);
100 toText(this)->updateTextRenderer(oldLength, 0);
194 void CharacterData::setDataAndUpdate(const String& newData, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength)
201 toText(this)->updateTextRenderer(offsetOfReplacedData, oldLength);
204 document()->frame()->selection()->textWasReplaced(this, offsetOfReplacedData, oldLength, newLength)
    [all...]
CharacterData.h 75 void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength);
ProcessingInstruction.cpp 72 int oldLength = m_data.length();
74 document()->textRemoved(this, 0, oldLength);
  /libcore/luni/src/test/java/libcore/java/util/prefs/
PreferencesTest.java 38 long oldLength = userPrefs.length();
45 assertTrue("Expected file to be clobbered", oldLength != userPrefs.length());
  /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++) {
  /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 513 int oldLength = codeAttribute.u4codeLength;
516 if (instructionOffsetMap.length < oldLength + 1)
518 instructionOffsetMap = new int[oldLength + 1];
523 oldLength);
539 oldLength);
549 * @param oldLength the code length.
552 private int mapInstructions(byte[] oldCode, int oldLength)
574 while (oldOffset < oldLength);
629 * @param oldLength the original code length.
635 int oldLength)
    [all...]
  /frameworks/support/v4/java/android/support/v4/app/
ShareCompat.java 358 int oldLength = old != null ? old.length : 0;
359 String[] result = new String[oldLength + add.length];
360 if (old != null) System.arraycopy(old, 0, result, 0, oldLength);
361 System.arraycopy(add, 0, result, oldLength, add.length);
    [all...]
  /external/chromium_org/third_party/icu/source/tools/makeconv/
genmbcs.c     [all...]
  /external/icu4c/tools/makeconv/
genmbcs.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
TextFieldInputType.cpp 389 unsigned oldLength = element()->innerTextValue().length();
397 ASSERT(oldLength >= selectionLength);
400 unsigned baseLength = oldLength - selectionLength;
  /system/core/libutils/
String8.cpp 329 size_t oldLength = length();
330 char* buf = lockBuffer(oldLength + n);
332 vsnprintf(buf + oldLength, n + 1, fmt, args);
  /external/chromium_org/third_party/WebKit/Source/core/editing/
FrameSelection.cpp 389 static void updatePositionAfterAdoptingTextReplacement(Position& position, CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength)
398 if (positionOffset >= offset && positionOffset <= offset + oldLength)
402 // (positionOffset > offset + oldLength) to avoid having a stale offset.
403 if (positionOffset > offset + oldLength)
404 position.moveToOffset(positionOffset - oldLength + newLength);
416 void FrameSelection::textWasReplaced(CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength)
426 updatePositionAfterAdoptingTextReplacement(base, node, offset, oldLength, newLength);
427 updatePositionAfterAdoptingTextReplacement(extent, node, offset, oldLength, newLength);
428 updatePositionAfterAdoptingTextReplacement(start, node, offset, oldLength, newLength);
429 updatePositionAfterAdoptingTextReplacement(end, node, offset, oldLength, newLength)
    [all...]

Completed in 533 milliseconds

1 2 3