Home
last modified time | relevance | path

Searched defs:UnixAddr (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/net/
Dunixsock.go22 type UnixAddr struct { struct
23 Name string
24 Net string
29 func (a *UnixAddr) Network() string {
33 func (a *UnixAddr) String() string {
40 func (a *UnixAddr) isWildcard() bool {
44 func (a *UnixAddr) opAddr() Addr {
203 func DialUnix(network string, laddr, raddr *UnixAddr) (*UnixConn, error) {
314 func ListenUnix(network string, laddr *UnixAddr) (*UnixListener, error) {
334 func ListenUnixgram(network string, laddr *UnixAddr) (*UnixConn, error) {
Dunixsock_plan9.go21 func (c *UnixConn) writeTo(b []byte, addr *UnixAddr) (int, error) {
25 func (c *UnixConn) writeMsg(b, oob []byte, addr *UnixAddr) (n, oobn int, err error) {
29 func (sd *sysDialer) dialUnix(ctx context.Context, laddr, raddr *UnixAddr) (*UnixConn, error) {
45 func (sl *sysListener) listenUnix(ctx context.Context, laddr *UnixAddr) (*UnixListener, error) {
49 func (sl *sysListener) listenUnixgram(ctx context.Context, laddr *UnixAddr) (*UnixConn, error) {
Dunixsock_posix.go129 func (c *UnixConn) writeTo(b []byte, addr *UnixAddr) (int, error) {
143 func (c *UnixConn) writeMsg(b, oob []byte, addr *UnixAddr) (n, oobn int, err error) {
157 func (sd *sysDialer) dialUnix(ctx context.Context, laddr, raddr *UnixAddr) (*UnixConn, error) {
219 func (sl *sysListener) listenUnix(ctx context.Context, laddr *UnixAddr) (*UnixListener, error) {
233 func (sl *sysListener) listenUnixgram(ctx context.Context, laddr *UnixAddr) (*UnixConn, error) {
Dunixsock_test.go191 func testUnixgramWriteConn(t *testing.T, raddr *UnixAddr) {
219 func testUnixgramWritePacketConn(t *testing.T, raddr *UnixAddr) {
/aosp_15_r20/external/rust/android-crates-io/crates/nix/src/sys/socket/
Daddr.rs282 pub struct UnixAddr { struct
299 enum UnixAddrKind<'a> { argument
345 impl UnixAddr { implementation
348 pub fn new<P: ?Sized + NixPath>(path: &P) -> Result<UnixAddr> { in new()
388 pub fn new_abstract(path: &[u8]) -> Result<UnixAddr> { in new_abstract()
443 ) -> UnixAddr { in from_raw_parts()
523 impl private::SockaddrLikePriv for UnixAddr {} implementation
524 impl SockaddrLike for UnixAddr { implementation
597 impl AsRef<libc::sockaddr_un> for UnixAddr { implementation
615 impl fmt::Display for UnixAddr { implementation
[all …]