HomeSort by relevance Sort by last modified time
    Searched full:oldlength (Results 1 - 25 of 53) sorted by null

1 2 3

  /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 1081 int32_t oldLength,
1091 oldText.pinIndices(oldStart, oldLength);
1094 if(oldLength == 0) {
1098 while(length > 0 && length >= oldLength) {
1099 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length);
1105 replace(pos, oldLength, newText, newStart, newLength);
1106 length -= pos + oldLength - start;
    [all...]
utext.cpp     [all...]
messagepattern.cpp 95 UBool ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode);
123 MessagePatternList<T, stackCapacity>::ensureCapacityForOneMore(int32_t oldLength, UErrorCode &errorCode) {
127 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 32 SkScalar oldLength = point.length();
35 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(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++) {
  /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...]
  /libcore/luni/src/main/java/java/lang/
HexStringParser.java 265 int oldLength = countBitsLength(mantissa);
270 if (oldLength >= MANTISSA_WIDTH && newLength > 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));
  /external/robolectric/src/main/java/android/net/
Uri__FromAndroid.java     [all...]
  /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/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/icu4c/tools/makeconv/
genmbcs.cpp     [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...]
  /frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java     [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/timer/
CountingTimerView.java 344 int oldLength = getDigitsLength();
372 if (oldLength != newLength) {
373 if (oldLength > newLength) {
  /frameworks/base/core/java/android/net/
Uri.java     [all...]

Completed in 958 milliseconds

1 2 3