Searched refs:streams (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 377 private final Map<InputStream, Inflater> streams = new WeakHashMap<>(); field in ZipFile 421 synchronized (streams) { in getInputStream() 422 streams.put(in, null); in getInputStream() 436 synchronized (streams) { in getInputStream() 437 streams.put(is, inf); in getInputStream() 464 synchronized (streams) { in close() 465 inf = streams.remove(this); in close() 682 if (streams != null) { in close() 684 synchronized (streams) { in close() 685 if (false == streams.isEmpty()) { in close() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SequenceInputStreamTest.java | 69 InputStream streams[] = new InputStream[2]; in test_ConstructorLjava_util_Enumeration() field in SequenceInputStreamTest.StreamEnumerator 74 streams[0] = new ByteArrayInputStream(s1.getBytes("UTF-8")); in test_ConstructorLjava_util_Enumeration() 75 streams[1] = new ByteArrayInputStream(s2.getBytes("UTF-8")); in test_ConstructorLjava_util_Enumeration() 79 return count < streams.length; in test_ConstructorLjava_util_Enumeration() 83 return streams[count++]; in test_ConstructorLjava_util_Enumeration()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DerOutputStream.java | 375 DerOutputStream[] streams = new DerOutputStream[set.length]; in putOrderedSet() local 378 streams[i] = new DerOutputStream(); in putOrderedSet() 379 set[i].derEncode(streams[i]); in putOrderedSet() 383 byte[][] bufs = new byte[streams.length][]; in putOrderedSet() 384 for (int i = 0; i < streams.length; i++) { in putOrderedSet() 385 bufs[i] = streams[i].toByteArray(); in putOrderedSet() 390 for (int i = 0; i < streams.length; i++) { in putOrderedSet()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | StreamFlagsTest.java | 50 Stream<?>[] streams = { arrayList, linkedList, hashSet, treeSet, linkedHashSet, repeat }; field in StreamFlagsTest 88 for (Stream<?> s : streams) { in testFilter()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | OpTestCase.java | 148 Map<String, Function<S_IN, S_OUT>> streams, in exerciseTerminalOpsMulti() argument 150 for (Map.Entry<String, Function<S_IN, S_OUT>> se : streams.entrySet()) { in exerciseTerminalOpsMulti()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | OpTestCase.java | 147 Map<String, Function<S_IN, S_OUT>> streams, in exerciseTerminalOpsMulti() argument 149 for (Map.Entry<String, Function<S_IN, S_OUT>> se : streams.entrySet()) { in exerciseTerminalOpsMulti()
|