Searched refs:newLen (Results 1 – 3 of 3) sorted by relevance
/aosp14/system/core/libutils/ |
H A D | String8.cpp | 335 size_t newLen; in real_append() local 336 if (__builtin_add_overflow(myLen, otherLen, &newLen) || in real_append() 337 __builtin_add_overflow(newLen, 1, &newLen) || in real_append() 338 (buf = SharedBuffer::bufferFromData(mString)->editResize(newLen)) == nullptr) { in real_append()
|
/aosp14/frameworks/base/identity/java/android/security/identity/ |
H A D | Util.java | 44 int newLen = value.length - n; in stripLeadingZeroes() local 45 byte[] ret = new byte[newLen]; in stripLeadingZeroes()
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 528 final int newLen = tbend - tbstart; in replace() local 530 if (origLen == 0 && newLen == 0 && !hasNonExclusiveExclusiveSpanAt(tb, tbstart)) { in replace() 537 sendBeforeTextChanged(textWatchers, start, origLen, newLen); in replace() 542 boolean adjustSelection = origLen != 0 && newLen != 0; in replace() 556 final int offset = Math.toIntExact(diff * newLen / origLen); in replace() 565 final int offset = Math.toIntExact(diff * newLen / origLen); in replace() 577 sendTextChanged(textWatchers, start, origLen, newLen); in replace() 581 sendToSpanWatchers(start, end, newLen - origLen); in replace()
|