Home
last modified time | relevance | path

Searched refs:oldLength (Results 1 – 6 of 6) sorted by relevance

/aosp14/system/core/libutils/
H A DString8.cpp316 size_t oldLength = length(); in appendFormatV() local
318 oldLength > std::numeric_limits<size_t>::max() - n - 1) { in appendFormatV()
321 char* buf = lockBuffer(oldLength + n); in appendFormatV()
323 vsnprintf(buf + oldLength, n + 1, fmt, args); in appendFormatV()
/aosp14/frameworks/base/core/java/android/net/
H A DUri.java1888 int oldLength = s.length(); in encode() local
1894 while (current < oldLength) { in encode()
1899 while (nextToEncode < oldLength in encode()
1905 if (nextToEncode == oldLength) { in encode()
1911 encoded.append(s, current, oldLength); in encode()
1932 while (nextAllowed < oldLength in encode()
/aosp14/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java142 final int oldLength = mText.length; in resizeFor() local
143 if (size + 1 <= oldLength) { in resizeFor()
150 final int delta = newLength - oldLength; in resizeFor()
151 final int after = oldLength - (mGapStart + mGapLength); in resizeFor()
152 System.arraycopy(mText, oldLength - after, newText, newLength - after, after); in resizeFor()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java960 final int oldLength = mLength;
967 System.arraycopy(oldChars, 0, newChars, 0, oldLength);
970 return oldLength;
/aosp14/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java6118 int oldLength = (accountsForType != null) ? accountsForType.length : 0;
6119 Account[] newAccountsForType = new Account[oldLength + 1];
6121 System.arraycopy(accountsForType, 0, newAccountsForType, 0, oldLength);
6125 newAccountsForType[oldLength] = new Account(account, token);
6128 return newAccountsForType[oldLength];
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...