Lines Matching refs:trusted

112     private void softUnittest(void delegate() @safe test, int line = __LINE__) @trusted
142 string formatSocketError(int err) @trusted
198 string function(int) @trusted errorFormatter = &formatSocketError)
214 string function(int) @trusted errorFormatter = &formatSocketError)
222 string function(int) @trusted errorFormatter = &formatSocketError,
423 bool getProtocolByName(scope const(char)[] name) @trusted nothrow
436 bool getProtocolByType(ProtocolType type) @trusted nothrow
529 …etServiceByName(scope const(char)[] name, scope const(char)[] protocolName = null) @trusted nothrow
541 bool getServiceByPort(ushort port, scope const(char)[] protocolName = null) @trusted nothrow
711 bool getHostByName(scope const(char)[] name) @trusted
748 bool getHostByAddr(uint addr) @trusted
761 bool getHostByAddr(scope const(char)[] addr) @trusted
841 private string formatGaiError(int err) @trusted
932 return () @trusted { return getAddressInfoImpl(node, service, &hints); }();
1266 private string toHostString(bool numeric) @trusted const
1306 private string toServiceString(bool numeric) @trusted const
1576 override string toAddrString() @trusted const
1644 static uint parse(scope const(char)[] addr) @trusted nothrow
1653 static string addrToString(uint addr) @trusted nothrow
1799 this(scope const(char)[] addr, scope const(char)[] service = null) @trusted
1859 static ubyte[16] parse(scope const(char)[] addr) @trusted
1971 override void setNameLen(socklen_t len) @trusted
1989 override @property socklen_t nameLen() @trusted const
1994 this(scope const(char)[] path) @trusted pure
2019 @property string path() @trusted const pure
2073 scope(exit) () @trusted { if (name[0]) remove(name.tempCString()); } ();
2189 ref inout(fd_set_count_type) count() @trusted @property inout pure nothrow @nogc
2200 inout(socket_t)[] fds() @trusted inout @property pure nothrow @nogc
2287 void add(socket_t s) @trusted pure nothrow
2395 fd_set* toFd_set() @trusted pure nothrow @nogc
2426 assert(cast(bool) set.isSet(fd) == cast(bool)(() @trusted => FD_ISSET(fd, fdset))());
2451 () @trusted
2511 () @trusted {
2521 () @trusted {
2687 this(AddressFamily af, SocketType type, ProtocolType protocol) @trusted
2707 this(AddressFamily af, SocketType type, scope const(char)[] protocolName) @trusted
2754 @property bool blocking() @trusted const nothrow @nogc
2767 @property void blocking(bool byes) @trusted
2802 @property bool isAlive() @trusted const
2817 void bind(Address addr) @trusted
2828 void connect(Address to) @trusted
2861 void listen(int backlog) @trusted
2887 Socket accept() @trusted
2914 void shutdown(SocketShutdown how) @trusted nothrow @nogc
2939 void close() @trusted nothrow @nogc
2949 static @property string hostName() @trusted // getter
2958 @property Address remoteAddress() @trusted
2970 @property Address localAddress() @trusted
3003 ptrdiff_t send(const(void)[] buf, SocketFlags flags) @trusted
3029 ptrdiff_t sendTo(const(void)[] buf, SocketFlags flags, Address to) @trusted
3053 ptrdiff_t sendTo(const(void)[] buf, SocketFlags flags) @trusted
3080 ptrdiff_t receive(void[] buf, SocketFlags flags) @trusted
3109 ptrdiff_t receiveFrom(void[] buf, SocketFlags flags, ref Address from) @trusted
3140 ptrdiff_t receiveFrom(void[] buf, SocketFlags flags) @trusted
3172 int getOption(SocketOptionLevel level, SocketOption option, void[] result) @trusted
3182 int getOption(SocketOptionLevel level, SocketOption option, out int32_t result) @trusted
3189 int getOption(SocketOptionLevel level, SocketOption option, out Linger result) @trusted
3196 void getOption(SocketOptionLevel level, SocketOption option, out Duration result) @trusted
3220 void setOption(SocketOptionLevel level, SocketOption option, void[] value) @trusted
3229 void setOption(SocketOptionLevel level, SocketOption option, int32_t value) @trusted
3236 void setOption(SocketOptionLevel level, SocketOption option, Linger value) @trusted
3284 void setOption(SocketOptionLevel level, SocketOption option, Duration value) @trusted
3334 void setKeepAlive(int time, int interval) @trusted
3382 … select(SocketSet checkRead, SocketSet checkWrite, SocketSet checkError, Duration timeout) @trusted
3399 … select(SocketSet checkRead, SocketSet checkWrite, SocketSet checkError, TimeVal* timeout) @trusted
3598 @property nothrow @nogc @trusted bool blocking() const
3600 checkAttributes!q{nothrow @nogc @trusted}; assert(0);
3602 @property @trusted void blocking(bool byes)
3604 checkAttributes!q{@trusted};
3610 @property @trusted bool isAlive() const
3612 checkAttributes!q{@trusted}; assert(0);
3614 @trusted void bind(Address addr)
3616 checkAttributes!q{@trusted};
3618 @trusted void connect(Address to)
3620 checkAttributes!q{@trusted};
3622 @trusted void listen(int backlog)
3624 checkAttributes!q{@trusted};
3630 @trusted Socket accept()
3632 checkAttributes!q{@trusted}; assert(0);
3634 nothrow @nogc @trusted void shutdown(SocketShutdown how)
3636 checkAttributes!q{nothrow @nogc @trusted};
3638 nothrow @nogc @trusted void close()
3640 checkAttributes!q{nothrow @nogc @trusted};
3642 @property @trusted Address remoteAddress()
3644 checkAttributes!q{@trusted}; assert(0);
3646 @property @trusted Address localAddress()
3648 checkAttributes!q{@trusted}; assert(0);
3650 @trusted ptrdiff_t send(const(void)[] buf, SocketFlags flags)
3652 checkAttributes!q{@trusted}; assert(0);
3658 @trusted ptrdiff_t sendTo(const(void)[] buf, SocketFlags flags, Address to)
3660 checkAttributes!q{@trusted}; assert(0);
3666 @trusted ptrdiff_t sendTo(const(void)[] buf, SocketFlags flags)
3668 checkAttributes!q{@trusted}; assert(0);
3674 @trusted ptrdiff_t receive(void[] buf, SocketFlags flags)
3676 checkAttributes!q{@trusted}; assert(0);
3682 @trusted ptrdiff_t receiveFrom(void[] buf, SocketFlags flags, ref Address from)
3684 checkAttributes!q{@trusted}; assert(0);
3690 @trusted ptrdiff_t receiveFrom(void[] buf, SocketFlags flags)
3692 checkAttributes!q{@trusted}; assert(0);
3698 @trusted int getOption(SocketOptionLevel level, SocketOption option, void[] result)
3700 checkAttributes!q{@trusted}; assert(0);
3702 @trusted int getOption(SocketOptionLevel level, SocketOption option, out int32_t result)
3704 checkAttributes!q{@trusted}; assert(0);
3706 @trusted int getOption(SocketOptionLevel level, SocketOption option, out Linger result)
3708 checkAttributes!q{@trusted}; assert(0);
3710 … @trusted void getOption(SocketOptionLevel level, SocketOption option, out Duration result)
3712 checkAttributes!q{@trusted};
3714 @trusted void setOption(SocketOptionLevel level, SocketOption option, void[] value)
3716 checkAttributes!q{@trusted};
3718 @trusted void setOption(SocketOptionLevel level, SocketOption option, int32_t value)
3720 checkAttributes!q{@trusted};
3722 @trusted void setOption(SocketOptionLevel level, SocketOption option, Linger value)
3724 checkAttributes!q{@trusted};
3726 @trusted void setOption(SocketOptionLevel level, SocketOption option, Duration value)
3728 checkAttributes!q{@trusted};
3734 @trusted void setKeepAlive(int time, int interval)
3736 checkAttributes!q{@trusted};
3753 Socket[2] socketPair() @trusted