/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | StreamCloseTest.java | 48 final boolean[] holder = new boolean[1]; in testOneCloseHandler() 49 Runnable closer = () -> { holder[0] = true; }; in testOneCloseHandler() 55 assertTrue(holder[0]); in testOneCloseHandler() 57 Arrays.fill(holder, false); in testOneCloseHandler() 61 assertTrue(holder[0]); in testOneCloseHandler() 63 Arrays.fill(holder, false); in testOneCloseHandler() 67 assertTrue(holder[0]); in testOneCloseHandler() 69 Arrays.fill(holder, false); in testOneCloseHandler() 73 assertTrue(holder[0]); in testOneCloseHandler() 77 final boolean[] holder = new boolean[2]; in testTwoCloseHandlers() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet4Address.java | 134 holder().hostName = null; in Inet4Address() 135 holder().address = 0; in Inet4Address() 136 holder().family = AF_INET; in Inet4Address() 140 holder().hostName = hostName; in Inet4Address() 141 holder().family = AF_INET; in Inet4Address() 148 holder().address = address; in Inet4Address() 151 holder().originalHostName = hostName; in Inet4Address() 154 holder().hostName = hostName; in Inet4Address() 155 holder().family = AF_INET; in Inet4Address() 156 holder().address = address; in Inet4Address() [all …]
|
D | InetAddress.java | 266 transient InetAddressHolder holder; field in InetAddress 268 InetAddressHolder holder() { in holder() method in InetAddress 269 return holder; in holder() 323 holder = new InetAddressHolder(); in InetAddress() 336 return new Inet4Address(holder().getHostName(), holder().getAddress()); in readResolve() 564 if (holder().getHostName() == null) { in getHostName() 565 holder().hostName = InetAddress.getHostFromNameService(this); in getHostName() 567 return holder().getHostName(); in getHostName() 744 String hostName = holder().getHostName(); in toString() 1574 holder = new InetAddressHolder(host, address, family); in readObject() [all …]
|
D | PlainDatagramSocketImpl.java | 132 i.holder().address = p.getAddress().holder().address; in peek() 244 inetAddressUnspec.holder().family = AF_UNSPEC; in disconnect0()
|
D | Inet6Address.java | 409 holder.init(null, AF_INET6); in Inet6Address() 417 holder.init(hostName, AF_INET6); in Inet6Address() 536 holder.init(hostName, family); in initif() 677 if (holder().getFamily() != AF_INET6) { in readObject()
|
D | Inet6AddressImpl.java | 138 address.holder().hostName = host; in lookupHostByName() 139 address.holder().originalHostName = host; in lookupHostByName() 313 anyAddress.holder().hostName = "::"; in anyLocalAddress()
|
D | AbstractPlainDatagramSocketImpl.java | 146 disconnect0(connectedAddress.holder().getFamily()); in disconnect()
|
/libcore/ojluni/src/main/native/ |
D | net_util.c | 81 jobject holder; in getInet6Address_scopeifname() local 84 holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); in getInet6Address_scopeifname() 85 CHECK_NULL_RETURN(holder, NULL); in getInet6Address_scopeifname() 86 return (*env)->GetObjectField(env, holder, ia6_scopeifnameID); in getInet6Address_scopeifname() 90 jobject holder; in setInet6Address_scopeifname() local 93 holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); in setInet6Address_scopeifname() 94 CHECK_NULL_RETURN(holder, JNI_FALSE); in setInet6Address_scopeifname() 95 (*env)->SetObjectField(env, holder, ia6_scopeifnameID, scopeifname); in setInet6Address_scopeifname() 100 jobject holder; in getInet6Address_scopeid_set() local 103 holder = (*env)->GetObjectField(env, iaObj, ia6_holder6ID); in getInet6Address_scopeid_set() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldInheritableThreadLocalTest.java | 37 final Object[] holder = new Object[1]; in test_Ljava_lang_InheritableThreadLocal() local 40 holder[0] = threadLocal.get(); in test_Ljava_lang_InheritableThreadLocal() 46 assertSame(inheritedValue, holder[0]); in test_Ljava_lang_InheritableThreadLocal()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Spliterators.java | 1309 HoldingConsumer<T> holder = new HoldingConsumer<>(); in trySplit() local 1311 if (s > 1 && tryAdvance(holder)) { in trySplit() 1319 do { a[j] = holder.value; } while (++j < n && tryAdvance(holder)); in trySplit() 1419 HoldingIntConsumer holder = new HoldingIntConsumer(); in trySplit() local 1421 if (s > 1 && tryAdvance(holder)) { in trySplit() 1429 do { a[j] = holder.value; } while (++j < n && tryAdvance(holder)); in trySplit() 1529 HoldingLongConsumer holder = new HoldingLongConsumer(); in trySplit() local 1531 if (s > 1 && tryAdvance(holder)) { in trySplit() 1539 do { a[j] = holder.value; } while (++j < n && tryAdvance(holder)); in trySplit() 1639 HoldingDoubleConsumer holder = new HoldingDoubleConsumer(); in trySplit() local [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | InetSocketAddress.java | 124 private final transient java.net.InetSocketAddress.InetSocketAddressHolder holder; field in InetSocketAddress 127 holder = null;
|
D | InetAddress.java | 40 java.net.InetAddress.InetAddressHolder holder() { in holder() method in InetAddress 239 transient java.net.InetAddress.InetAddressHolder holder; field in InetAddress
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | AbstractListTest.java | 412 List<Integer> holder = new ArrayList<Integer>(16); in test_subListII2() local 414 holder.add(i); in test_subListII2() 418 List<Integer> sub = holder.subList(0, holder.size()); in test_subListII2() 419 holder.add(11); in test_subListII2() 511 holder.clear(); in test_subListII2()
|
/libcore/luni/ |
D | unicode-license.txt | 45 Except as contained in this notice, the name of a copyright holder shall not 48 copyright holder.
|
/libcore/ |
D | NOTICE | 59 Except as contained in this notice, the name of a copyright holder 62 of the copyright holder.
|
D | LICENSE | 61 placed by the copyright holder saying it may be distributed under the terms of 216 copyright holder who places the Program under this License may add an explicit
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 111 ScopedLocalRef<jobject> holder(env, env->GetObjectField(inetAddress, holderFid)); in inetAddressToSockaddr() local 117 ss.ss_family = env->GetIntField(holder.get(), familyFid); in inetAddressToSockaddr()
|