Home
last modified time | relevance | path

Searched refs:newLen (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/identity/java/android/security/identity/
DUtil.java44 int newLen = value.length - n; in stripLeadingZeroes() local
45 byte[] ret = new byte[newLen]; in stripLeadingZeroes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java186 int newLen = ((TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE)) in updateBindingsAndSimStates() local
190 for (int phoneId = prevLen; phoneId < newLen; phoneId++) { in updateBindingsAndSimStates()
196 for (int phoneId = newLen; phoneId < prevLen; phoneId++) { in updateBindingsAndSimStates()
/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java528 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()
/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp413 const size_t newLen = strnlen(str, length-1) + 1; in duplicateString() local
414 char *newStr = new char[newLen]; in duplicateString()
415 strlcpy(newStr, str, newLen); in duplicateString()