Home
last modified time | relevance | path

Searched refs:UnixDomainSocketAddress (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DUnixDomainSockets.java33 import java.net.UnixDomainSocketAddress;
50 static final UnixDomainSocketAddress UNNAMED = UnixDomainSocketAddress.of("");
70 static UnixDomainSocketAddress getRevealedLocalAddress(SocketAddress sa) { in getRevealedLocalAddress()
71 UnixDomainSocketAddress addr = (UnixDomainSocketAddress) sa; in getRevealedLocalAddress()
82 static UnixDomainSocketAddress localAddress(FileDescriptor fd) throws IOException { in localAddress()
84 return UnixDomainSocketAddress.of(path); in localAddress()
94 static UnixDomainSocketAddress checkAddress(SocketAddress sa) { in checkAddress()
97 if (!(sa instanceof UnixDomainSocketAddress)) in checkAddress()
99 return (UnixDomainSocketAddress) sa; in checkAddress()
133 static UnixDomainSocketAddress generateTempName() throws IOException { in generateTempName()
[all …]
/libcore/ojluni/src/main/java/java/net/
DUnixDomainSocketAddress.java54 public final class UnixDomainSocketAddress extends SocketAddress { class
88 return UnixDomainSocketAddress.of(pathname); in readResolve()
129 private UnixDomainSocketAddress(Path path) { in UnixDomainSocketAddress() method in UnixDomainSocketAddress
146 public static UnixDomainSocketAddress of(String pathname) { in of()
163 public static UnixDomainSocketAddress of(Path path) { in of()
168 return new UnixDomainSocketAddress(path); in of()
195 if (!(o instanceof UnixDomainSocketAddress)) in equals()
197 return this.path.equals(((UnixDomainSocketAddress) o).path); in equals()
/libcore/ojluni/src/test/java/net/UnixDomainSocketAddress/
DUnixDomainSocketAddressSerializationTest.java24 package test.java.net.UnixDomainSocketAddress;
35 import java.net.UnixDomainSocketAddress;
49 private static final UnixDomainSocketAddress addr =
50 UnixDomainSocketAddress.of(Path.of("test.sock"));
59 UnixDomainSocketAddress deserialized = in test()
60 deserialize(serialized, UnixDomainSocketAddress.class); in test()
73 long suid = ObjectStreamClass.lookup(UnixDomainSocketAddress.class).getSerialVersionUID(); in testUnixDomainSocketAddressInStream()
74 byte[] bytes = byteStreamFor(UnixDomainSocketAddress.class.getName(), suid); in testUnixDomainSocketAddressInStream()
75 expectThrows(IOE, () -> deserialize(bytes, UnixDomainSocketAddress.class)); in testUnixDomainSocketAddressInStream()
84 expectThrows(NPE, () -> deserialize(bytes, UnixDomainSocketAddress.class)); in testSerialProxyNoStreamValues()
DLengthTest.java23 package test.java.net.UnixDomainSocketAddress;
38 import java.net.UnixDomainSocketAddress;
63 var addr = UnixDomainSocketAddress.of(s); in expectPass()
66 addr = UnixDomainSocketAddress.of(p); in expectPass()
74 UnixDomainSocketAddress.of(s); in expectNPE()
81 UnixDomainSocketAddress.of(p); in expectNPE()
/libcore/
DEXPECTED_UPSTREAM394 …c/main/java/java/net/UnixDomainSocketAddress.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes…
2088 ojluni/src/test/java/net/UnixDomainSocketAddress/LengthTest.java,jdk17u/jdk-17.0.6-ga,test/jdk/java…
2089 …/java/net/UnixDomainSocketAddress/UnixDomainSocketAddressSerializationTest.java,jdk17u/jdk-17.0.6-…
Dopenjdk_java_files.bp350 "ojluni/src/main/java/java/net/UnixDomainSocketAddress.java",