/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().didRemoveText(this, 0, oldLength); 72 unsigned oldLength = m_data.length(); 77 toText(this)->updateTextRenderer(oldLength, 0); 169 void CharacterData::setDataAndUpdate(const String& newData, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, RecalcStyleBehavior recalcStyleBehavior) 176 toText(this)->updateTextRenderer(offsetOfReplacedData, oldLength, recalcStyleBehavior); 182 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/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/editing/ |
FrameSelection.cpp | 379 static Position updatePositionAfterAdoptingTextReplacement(const Position& position, CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength) 388 if (positionOffset >= offset && positionOffset <= offset + oldLength) 392 // (positionOffset > offset + oldLength) to avoid having a stale offset. 393 if (positionOffset > offset + oldLength) 394 positionOffset = positionOffset - oldLength + newLength; 402 void FrameSelection::didUpdateCharacterData(CharacterData* node, unsigned offset, unsigned oldLength, unsigned newLength) 408 Position base = updatePositionAfterAdoptingTextReplacement(m_selection.base(), node, offset, oldLength, newLength); 409 Position extent = updatePositionAfterAdoptingTextReplacement(m_selection.extent(), node, offset, oldLength, newLength); 410 Position start = updatePositionAfterAdoptingTextReplacement(m_selection.start(), node, offset, oldLength, newLength); 411 Position end = updatePositionAfterAdoptingTextReplacement(m_selection.end(), node, offset, oldLength, newLength) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
TextFieldInputType.cpp | 439 unsigned oldLength = element().innerTextValue().length(); 447 ASSERT(oldLength >= selectionLength); 450 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);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
CountingTimerView.java | 326 int oldLength = getDigitsLength(); 400 if (oldLength != newLength) { 401 if (oldLength > newLength) {
|