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

1 2 3 4 5 6

  /external/icu/icu4c/source/common/
unistr_props.cpp 37 int32_t oldLength = this->length();
38 int32_t i = oldLength, length;
51 if(length < oldLength) {
unistr_case.cpp 103 int32_t oldLength;
108 oldLength = getShortLength();
109 u_memcpy(oldStackBuffer, fUnion.fStackFields.fBuffer, oldLength);
112 oldLength = length();
116 if(oldLength <= US_STACKBUF_SIZE) {
119 capacity = oldLength + 20;
132 oldArray, oldLength, &errorCode);
unistr.cpp     [all...]
utext.cpp     [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
Edits.java 101 public void addReplace(int oldLength, int newLength) {
102 if(oldLength == newLength && 0 < oldLength && oldLength <= MAX_SHORT_WIDTH) {
103 // Replacement of short oldLength text units by same-length new text.
107 (last >> 12) == oldLength && (last & 0xfff) < MAX_SHORT_CHANGE_LENGTH) {
111 append(oldLength << 12);
115 if(oldLength < 0 || newLength < 0) {
117 "addReplace(" + oldLength + ", " + newLength +
120 if (oldLength == 0 && newLength == 0)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
Edits.java 104 public void addReplace(int oldLength, int newLength) {
105 if(oldLength == newLength && 0 < oldLength && oldLength <= MAX_SHORT_WIDTH) {
106 // Replacement of short oldLength text units by same-length new text.
110 (last >> 12) == oldLength && (last & 0xfff) < MAX_SHORT_CHANGE_LENGTH) {
114 append(oldLength << 12);
118 if(oldLength < 0 || newLength < 0) {
120 "addReplace(" + oldLength + ", " + newLength +
123 if (oldLength == 0 && newLength == 0)
    [all...]
  /libcore/luni/src/test/java/com/android/org/bouncycastle/crypto/digests/
DigestTest.java 67 int oldLength = oldDigest.doFinal(oldHash, 0);
85 assertEquals("Hash sizes must be equal", oldLength, newLength);
87 for (int i = 0; i < oldLength; i++) {
  /external/r8/src/main/java/com/android/tools/r8/graph/
IndexedDexItem.java 94 int oldLength = virtualFileIndexes.length;
96 Arrays.fill(fileIndices, oldLength, virtualFileId + 1, UNASSOCIATED_VALUE);
  /external/webrtc/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);
  /libcore/luni/src/test/java/libcore/java/util/prefs/
PreferencesTest.java 87 long oldLength = userPrefs.length();
94 assertTrue("Expected file to be clobbered", oldLength != userPrefs.length());
  /external/skia/tests/
PointTest.cpp 29 SkScalar oldLength = point.length();
32 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));
  /system/core/logd/
LogStatistics.cpp 621 size_t oldLength;
626 oldLength = output.length();
630 spaces += spaces_total + oldLength - output.length();
643 oldLength = output.length();
651 spaces += spaces_total + oldLength - output.length();
668 oldLength = output.length();
675 spaces -= output.length() - oldLength;
721 oldLength = output.length();
733 spaces -= output.length() - oldLength;
754 oldLength = output.length()
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/util/
OpenIntToDoubleHashMap.java 437 final int oldLength = states.length;
442 final int newLength = RESIZE_MULTIPLIER * oldLength;
447 for (int i = 0; i < oldLength; ++i) {
OpenIntToFieldHashMap.java 449 final int oldLength = states.length;
454 final int newLength = RESIZE_MULTIPLIER * oldLength;
459 for (int i = 0; i < oldLength; ++i) {
  /external/robolectric/v1/src/main/java/android/net/
Uri__FromAndroid.java     [all...]
  /external/proguard/src/proguard/classfile/editor/
CodeAttributeEditor.java 599 int oldLength = codeAttribute.u4codeLength;
602 if (newInstructionOffsets.length < oldLength + 1)
604 newInstructionOffsets = new int[oldLength + 1];
609 oldLength);
625 oldLength);
635 * @param oldLength the code length.
638 private int mapInstructions(byte[] oldCode, int oldLength)
660 while (oldOffset < oldLength);
715 * @param oldLength the original code length.
721 int oldLength)
    [all...]
  /frameworks/support/compat/java/android/support/v4/app/
ShareCompat.java 293 int oldLength = old != null ? old.length : 0;
294 String[] result = new String[oldLength + add.length];
295 if (old != null) System.arraycopy(old, 0, result, 0, oldLength);
296 System.arraycopy(add, 0, result, oldLength, add.length);
    [all...]
  /external/icu/icu4c/source/tools/makeconv/
genmbcs.cpp     [all...]
  /system/core/libutils/
String8.cpp 350 size_t oldLength = length();
351 char* buf = lockBuffer(oldLength + n);
353 vsnprintf(buf + oldLength, n + 1, fmt, args);
  /frameworks/base/core/java/android/net/
Uri.java     [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
CaseMapImpl.java     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CaseMapImpl.java     [all...]
  /libcore/ojluni/src/main/java/java/util/
IdentityHashMap.java 462 int oldLength = oldTable.length;
463 if (oldLength == 2 * MAXIMUM_CAPACITY) { // can't expand any further
468 if (oldLength >= newLength)
473 for (int j = 0; j < oldLength; j += 2) {
    [all...]

Completed in 1673 milliseconds

1 2 3 4 5 6