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

1 2

  /external/icu4c/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 1034 int32_t oldLength,
1044 oldText.pinIndices(oldStart, oldLength);
1047 if(oldLength == 0) {
1051 while(length > 0 && length >= oldLength) {
1052 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length);
1058 replace(pos, oldLength, newText, newStart, newLength);
1059 length -= pos + oldLength - start;
    [all...]
utext.cpp     [all...]
messagepattern.cpp 90 UBool ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode);
115 MessagePatternList<T, stackCapacity>::ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode) {
119 if(a.getCapacity()>oldLength || a.resize(2*oldLength, oldLength)!=NULL) {
    [all...]
  /external/webkit/Source/WebCore/dom/
CharacterData.cpp 42 unsigned oldLength = length();
44 setDataAndUpdate(dataImpl, 0, oldLength, dataImpl->length());
45 document()->textRemoved(this, 0, oldLength);
59 unsigned oldLength = m_data->length();
61 unsigned end = min(dataLength, lengthLimit - oldLength);
80 updateRenderer(oldLength, 0);
171 void CharacterData::setDataAndUpdate(PassRefPtr<StringImpl> newData, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength)
174 document()->frame()->selection()->textWillBeReplaced(this, offsetOfReplacedData, oldLength, newLength);
177 updateRenderer(offsetOfReplacedData, oldLength);
CharacterData.h 68 void setDataAndUpdate(PassRefPtr<StringImpl>, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength);
InputElement.cpp 185 unsigned oldLength = numGraphemeClusters(toRenderTextControlSingleLine(element->renderer())->text());
193 ASSERT(oldLength >= selectionLength);
196 unsigned baseLength = oldLength - selectionLength;
ProcessingInstruction.cpp 69 int oldLength = m_data.length();
71 document()->textRemoved(this, 0, oldLength);
  /external/skia/tests/
PointTest.cpp 30 SkScalar oldLength = point.length();
33 REPORTER_ASSERT(reporter, returned == 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++) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ChangeViewRefactoring.java 178 int oldLength = oldName.length();
180 oldLength, name));
183 int oldLength = oldName.length();
184 rootEdit.addChild(new ReplaceEdit(region.getStartOffset() + close, oldLength,
ChangeLayoutRefactoring.java 241 int oldLength = oldName.length();
242 rootEdit.addChild(new ReplaceEdit(mSelectionStart + open, oldLength, name));
244 rootEdit.addChild(new ReplaceEdit(mSelectionStart + close, oldLength, name));
380 int oldLength = oldName.length();
381 rootEdit.addChild(new ReplaceEdit(mSelectionStart + open, oldLength,
385 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/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/icu4c/tools/makeconv/
genmbcs.c     [all...]
  /frameworks/native/libs/utils/
String8.cpp 317 size_t oldLength = length();
318 char* buf = lockBuffer(oldLength + n);
320 vsnprintf(buf + oldLength, n + 1, fmt, args);
  /external/webkit/Source/WebCore/editing/
SelectionController.cpp 282 static bool shouldRemovePositionAfterAdoptingTextReplacement(Position& position, EndPointType type, CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength)
289 if (positionOffset > offset && positionOffset < offset + oldLength)
292 // Adjust the offset if the position is after or at the end of the deleted contents (positionOffset >= offset + oldLength)
295 if ((positionOffset > offset + oldLength) || (positionOffset == offset + oldLength && (type == EndPointIsStart || oldLength)))
296 position.moveToOffset(positionOffset - oldLength + newLength);
301 void SelectionController::textWillBeReplaced(CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength)
311 bool shouldRemoveBase = shouldRemovePositionAfterAdoptingTextReplacement(base, m_selection.isBaseFirst() ? EndPointIsStart : EndPointIsEnd, node, offset, oldLength, newLength);
312 bool shouldRemoveExtent = shouldRemovePositionAfterAdoptingTextReplacement(extent, m_selection.isBaseFirst() ? EndPointIsEnd : EndPointIsStart, node, offset, oldLength, newLength)
    [all...]
SelectionController.h 137 void textWillBeReplaced(CharacterData*, unsigned offset, unsigned oldLength, unsigned newLength);
  /frameworks/base/core/java/android/net/
Uri.java     [all...]
  /libcore/luni/src/main/java/libcore/io/
DiskLruCache.java 474 long oldLength = entry.lengths[i];
477 size = size - oldLength + newLength;
  /external/webkit/Source/JavaScriptCore/runtime/
JSArray.cpp 773 unsigned oldLength = storage->m_length;
775 if (!oldLength)
778 if (oldLength != storage->m_numValuesInVector) {
783 for (unsigned i = count; i < oldLength; ++i) {
    [all...]
  /frameworks/base/core/java/android/text/
SpannableStringBuilder.java 131 final int oldLength = mText.length;
133 final int delta = newLength - oldLength;
138 final int after = oldLength - (mGapStart + mGapLength);
139 System.arraycopy(mText, oldLength - after, newText, newLength - after, after);
    [all...]

Completed in 628 milliseconds

1 2