/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 | 121 holder().hostName = null; in Inet4Address() 122 holder().address = 0; in Inet4Address() 123 holder().family = AF_INET; in Inet4Address() 127 holder().hostName = hostName; in Inet4Address() 128 holder().family = AF_INET; in Inet4Address() 135 holder().address = address; in Inet4Address() 138 holder().originalHostName = hostName; in Inet4Address() 141 holder().hostName = hostName; in Inet4Address() 142 holder().family = AF_INET; in Inet4Address() 143 holder().address = address; in Inet4Address() [all …]
|
D | InetSocketAddress.java | 91 if (addr.holder().getHostName() != null) in getHostString() 92 return addr.holder().getHostName(); in getHostString() 138 private final transient InetSocketAddressHolder holder; field in InetSocketAddress 160 holder = new InetSocketAddressHolder(null, null, 0); in InetSocketAddress() 198 holder = new InetSocketAddressHolder( in InetSocketAddress() 239 holder = new InetSocketAddressHolder(host, addr, checkPort(port)); in InetSocketAddress() 244 holder = new InetSocketAddressHolder(hostname, null, port); in InetSocketAddress() 287 pfields.put("hostname", holder.hostname); in writeObject() 288 pfields.put("addr", holder.addr); in writeObject() 289 pfields.put("port", holder.port); in writeObject() [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 | 131 i.holder().address = p.getAddress().holder().address; in peek() 243 inetAddressUnspec.holder().family = AF_UNSPEC; in disconnect0()
|
D | Inet6Address.java | 401 holder.init(null, AF_INET6); in Inet6Address() 409 holder.init(hostName, AF_INET6); in Inet6Address() 528 holder.init(hostName, family); in initif() 669 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/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/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 233 transient java.net.InetAddress.InetAddressHolder holder; field in InetAddress
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 107 ScopedLocalRef<jobject> holder(env, env->GetObjectField(inetAddress, holderFid)); in inetAddressToSockaddr() local 113 ss.ss_family = env->GetIntField(holder.get(), familyFid); in inetAddressToSockaddr()
|
D | libcore_io_Linux.cpp | 597 jobject holder = env->GetObjectField(javaInetSocketAddress, holderFid); in fillInetSocketAddress() local 602 env->SetObjectField(holder, addressFid, sender); in fillInetSocketAddress() 603 env->SetIntField(holder, portFid, port); in fillInetSocketAddress() 628 jobject holder = env->GetObjectField(javaInetSocketAddress, holderFid); in javaInetSocketAddressToInetAddressAndPort() local 634 javaInetAddress = env->GetObjectField(holder, addressFid); in javaInetSocketAddressToInetAddressAndPort() 635 port = env->GetIntField(holder, portFid); in javaInetSocketAddressToInetAddressAndPort()
|
/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/ojluni/ |
D | NOTICE | 347 placed by the copyright holder saying it may be distributed under the terms of 502 copyright holder who places the Program under this License may add an explicit 1549 Except as contained in this notice, the name of a copyright holder shall not 1552 authorization of the copyright holder. 1588 Except as contained in this notice, the name of a copyright holder 1591 written authorization of the copyright holder.
|