Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/security/ssl/
DCipherBox.java271 int newLen = cipher.update(buf, offset, len, buf, offset); in encrypt() local
272 if (newLen != len) { in encrypt()
277 return newLen; in encrypt()
359 int newLen = cipher.update(dup, bb); in encrypt() local
365 if (newLen != len) { in encrypt()
370 return newLen; in encrypt()
403 int newLen = cipher.update(buf, offset, len, buf, offset); in decrypt() local
404 if (newLen != len) { in decrypt()
415 + newLen); in decrypt()
417 new ByteArrayInputStream(buf, offset, newLen), in decrypt()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DThreadLocal.java646 int newLen = oldLen * 2; in resize() local
647 Entry[] newTab = new Entry[newLen]; in resize()
657 int h = k.threadLocalHashCode & (newLen - 1); in resize()
659 h = nextIndex(h, newLen); in resize()
666 setThreshold(newLen); in resize()
/libcore/ojluni/src/main/java/java/util/
DProperties.java535 int newLen = len * 2; in loadConvert() local
536 if (newLen < 0) { in loadConvert()
537 newLen = Integer.MAX_VALUE; in loadConvert()
539 convtBuf = new char[newLen]; in loadConvert()
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java137 int newLen = retCC.length * 2 + 16; in encodePath() local
138 if (newLen < 0) { in encodePath()
139 newLen = Integer.MAX_VALUE; in encodePath()
141 char[] buf = new char[newLen]; in encodePath()
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DHttpURLConnection.java3052 int newLen = super.read(b, off, len);
3056 if (inCache >= newLen) {
3057 inCache -= newLen;
3060 nWrite = newLen - inCache;
3064 nWrite = newLen;
3067 outputStream.write(b, off + (newLen-nWrite), nWrite);
3069 markCount += newLen;
3071 return newLen;