Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java499 int sz = get16(extra, off + 2); in setExtra0() local
501 if (off + sz > len) // invalid data in setExtra0()
512 if (sz >= 16) { in setExtra0()
519 if (sz < 32) // reserved 4 bytes + tag 2 bytes + size 2 bytes in setExtra0()
535 if ((flag & 0x1) != 0 && (sz0 + 4) <= sz) { in setExtra0()
539 if ((flag & 0x2) != 0 && (sz0 + 4) <= sz) { in setExtra0()
543 if ((flag & 0x4) != 0 && (sz0 + 4) <= sz) { in setExtra0()
550 off += sz; in setExtra0()
DZipOutputStream.java658 int sz = get16(extra, off + 2); in getExtraLen() local
659 if (sz < 0 || (off + 4 + sz) > len) { in getExtraLen()
663 skipped += (sz + 4); in getExtraLen()
665 off += (sz + 4); in getExtraLen()
682 int sz = get16(extra, off + 2); in writeExtra() local
683 if (sz < 0 || (off + 4 + sz) > len) { in writeExtra()
688 writeBytes(extra, off, sz + 4); in writeExtra()
690 off += (sz + 4); in writeExtra()
/libcore/ojluni/src/main/java/java/io/
DBufferedWriter.java100 public BufferedWriter(Writer out, int sz) { in BufferedWriter() argument
102 if (sz <= 0) in BufferedWriter()
105 cb = new char[sz]; in BufferedWriter()
106 nChars = sz; in BufferedWriter()
DLineNumberReader.java85 public LineNumberReader(Reader in, int sz) { in LineNumberReader() argument
86 super(in, sz); in LineNumberReader()
DBufferedInputStream.java221 int sz = pos - markpos; in fill() local
222 System.arraycopy(buffer, markpos, buffer, 0, sz); in fill()
223 pos = sz; in fill()
DBufferedReader.java101 public BufferedReader(Reader in, int sz) { in BufferedReader() argument
103 if (sz <= 0) in BufferedReader()
106 cb = new char[sz]; in BufferedReader()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedHashMapTest.java523 int sz = 100; in test_ordered_entrySet() local
525 for (i = 0; i < sz; i++) { in test_ordered_entrySet()
540 for (i = 0; i < sz; i++) { in test_ordered_entrySet()
549 for (i = 0; i < sz && it3.hasNext(); i++) { in test_ordered_entrySet()
557 for (i = 0; i < sz; i += 2) { in test_ordered_entrySet()
567 for (i = 1; i < sz && it2.hasNext(); i += 2) { in test_ordered_entrySet()
572 for (i = 0; i < sz && it2.hasNext(); i += 2) { in test_ordered_entrySet()
585 int sz = 100; in test_ordered_keySet() local
587 for (i = 0; i < sz; i++) { in test_ordered_keySet()
601 for (i = 0; i < sz; i++) { in test_ordered_keySet()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DThreadLocal.java482 int sz = ++size; in set() local
483 if (!cleanSomeSlots(i, sz) && sz >= threshold) in set()
/libcore/ojluni/src/main/native/
Dzip_util.c1078 jint sz = SH(extra, off + 2); in newEntry() local
1083 if (sz < 8 || (off + 8) > elen) in newEntry()
1086 sz -= 8; in newEntry()
1090 if (sz < 8 || (off + 8) > elen) in newEntry()
1093 sz -= 8; in newEntry()
1097 if (sz < 8 || (off + 8) > elen) in newEntry()
1100 sz -= 8; in newEntry()
1105 off += (sz + 4); in newEntry()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java649 long sz = size(); in transferTo() local
650 if (position > sz) in transferTo()
653 if ((sz - position) < icount) in transferTo()
654 icount = (int)(sz - position); in transferTo()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java1477 int sz = (int)size; in readObject() local
1478 n = tableSizeFor(sz + (sz >>> 1) + 1); in readObject()
4473 long sz = map.mappingCount(); in toArray() local
4474 if (sz > MAX_ARRAY_SIZE) in toArray()
4476 int n = (int)sz; in toArray()
4496 long sz = map.mappingCount(); in toArray() local
4497 if (sz > MAX_ARRAY_SIZE) in toArray()
4499 int m = (int)sz; in toArray()
/libcore/ojluni/src/main/java/java/util/
DTreeMap.java2631 private static int computeRedLevel(int sz) { in computeRedLevel() argument
2633 for (int m = sz - 1; m >= 0; m = m / 2 - 1) in computeRedLevel()