Home
last modified time | relevance | path

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

/frameworks/libs/net/common/src_frameworkcommon/android/net/util/nsd/
DDnsSdTxtRecord.java172 int newLen, avLen; in insert() local
179 newLen = avLen + oldBytes.length + 1; in insert()
181 mData = new byte[newLen]; in insert()
184 System.arraycopy(oldBytes, insertion, mData, newLen - secondHalfLen, secondHalfLen); in insert()
/frameworks/base/identity/java/android/security/identity/
DUtil.java48 int newLen = value.length - n; in stripLeadingZeroes() local
49 byte[] ret = new byte[newLen]; in stripLeadingZeroes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java151 int newLen = ((TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE)) in updateBindingsAndSimStates() local
155 for (int phoneId = prevLen; phoneId < newLen; phoneId++) { in updateBindingsAndSimStates()
161 for (int phoneId = newLen; phoneId < prevLen; phoneId++) { in updateBindingsAndSimStates()
/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java527 final int newLen = tbend - tbstart; in replace() local
529 if (origLen == 0 && newLen == 0 && !hasNonExclusiveExclusiveSpanAt(tb, tbstart)) { in replace()
536 sendBeforeTextChanged(textWatchers, start, origLen, newLen); in replace()
541 boolean adjustSelection = origLen != 0 && newLen != 0; in replace()
555 final int offset = Math.toIntExact(diff * newLen / origLen); in replace()
564 final int offset = Math.toIntExact(diff * newLen / origLen); in replace()
576 sendTextChanged(textWatchers, start, origLen, newLen); in replace()
580 sendToSpanWatchers(start, end, newLen - origLen); in replace()
/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp412 const size_t newLen = strnlen(str, length-1) + 1; in duplicateString() local
413 char *newStr = new char[newLen]; in duplicateString()
414 strlcpy(newStr, str, newLen); in duplicateString()