/third_party/musl/src/network/ |
D | getsockopt.c | 6 int getsockopt(int fd, int level, int optname, void *restrict optval, socklen_t *restrict optlen) in getsockopt() argument 11 int r = __socketcall(getsockopt, fd, level, optname, optval, optlen, 0); in getsockopt() 15 switch (optname) { in getsockopt() 20 if (optname==SO_RCVTIMEO) optname=SO_RCVTIMEO_OLD; in getsockopt() 21 if (optname==SO_SNDTIMEO) optname=SO_SNDTIMEO_OLD; in getsockopt() 22 r = __socketcall(getsockopt, fd, level, optname, in getsockopt() 33 if (optname==SO_TIMESTAMP) optname=SO_TIMESTAMP_OLD; in getsockopt() 34 if (optname==SO_TIMESTAMPNS) optname=SO_TIMESTAMPNS_OLD; in getsockopt() 36 optname, optval, optlen, 0); in getsockopt()
|
D | setsockopt.c | 9 int setsockopt(int fd, int level, int optname, const void *optval, socklen_t optlen) in setsockopt() argument 15 int r = __socketcall(setsockopt, fd, level, optname, optval, optlen, 0); in setsockopt() 19 switch (optname) { in setsockopt() 29 if (optname==SO_RCVTIMEO) optname=SO_RCVTIMEO_OLD; in setsockopt() 30 if (optname==SO_SNDTIMEO) optname=SO_SNDTIMEO_OLD; in setsockopt() 32 r = __socketcall(setsockopt, fd, level, optname, in setsockopt() 38 if (optname==SO_TIMESTAMP) optname=SO_TIMESTAMP_OLD; in setsockopt() 39 if (optname==SO_TIMESTAMPNS) optname=SO_TIMESTAMPNS_OLD; in setsockopt() 41 optname, optval, optlen, 0); in setsockopt()
|
/third_party/node/deps/npm/node_modules/dashdash/etc/ |
D | dashdash.bash_completion.in | 124 local optname 130 optname= 145 optname=${arg%%=*} 147 trace " long opt: optname='$optname' val='$val'" 149 argtype=$(echo "$optargs" | awk -F "-$optname=" '{print $2}' | cut -d' ' -f1) 151 prefix="--$optname=" 153 optname=$arg 155 trace " long opt: optname='$optname'" 157 word=--$optname 159 if [[ "$optargs" == *"-$optname="* && $i -lt $COMP_CWORD ]]; then [all …]
|
/third_party/ltp/include/ |
D | tst_safe_net.h | 23 #define SAFE_GETSOCKOPT(fd, level, optname, optval, optlen) \ argument 24 safe_getsockopt(__FILE__, __LINE__, fd, level, optname, optval, optlen) 26 #define SAFE_SETSOCKOPT(fd, level, optname, optval, optlen) \ argument 27 safe_setsockopt(__FILE__, __LINE__, fd, level, optname, optval, optlen)
|
D | safe_net_fn.h | 35 int optname, void *optval, socklen_t *optlen); 38 int optname, const void *optval, socklen_t optlen);
|
/third_party/lwip/src/api/ |
D | sockets.c | 302 static int lwip_getsockopt_impl(int s, int level, int optname, void *optval, socklen_t *optlen); 303 static int lwip_setsockopt_impl(int s, int level, int optname, const void *optval, socklen_t optlen… 2827 lwip_getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen) in lwip_getsockopt() argument 2849 err = lwip_getsockopt_impl(s, level, optname, optval, optlen); in lwip_getsockopt() 2866 LWIP_SETGETSOCKOPT_DATA_VAR_REF(data).optname = optname; in lwip_getsockopt() 2914 data->err = lwip_getsockopt_impl(data->s, data->level, data->optname, in lwip_getsockopt_callback() 2927 lwip_sockopt_to_ipopt(int optname) in lwip_sockopt_to_ipopt() argument 2933 switch (optname) { in lwip_sockopt_to_ipopt() 2950 lwip_getsockopt_impl(int s, int level, int optname, void *optval, socklen_t *optlen) in lwip_getsockopt_impl() argument 2959 if (LWIP_HOOK_SOCKETS_GETSOCKOPT(s, sock, level, optname, optval, optlen, &err)) { in lwip_getsockopt_impl() [all …]
|
/third_party/ltp/utils/sctp/testlib/ |
D | sctputil.h | 242 static inline int test_getsockopt(int sk, int optname, void *optval, in test_getsockopt() argument 245 int error = getsockopt(sk, SOL_SCTP, optname, optval, optlen); in test_getsockopt() 247 tst_brkm(TBROK, tst_exit, "getsockopt(%d): %s", optname, in test_getsockopt() 252 static inline int test_setsockopt(int sk, int optname, const void *optval, in test_setsockopt() argument 255 int error = setsockopt(sk, SOL_SCTP, optname, optval, optlen); in test_setsockopt() 257 tst_brkm(TBROK, tst_exit, "setsockopt(%d): %s", optname, in test_setsockopt()
|
/third_party/libuv/src/win/ |
D | udp.c | 594 int optname; in uv__udp_set_membership4() local 622 optname = IP_ADD_MEMBERSHIP; in uv__udp_set_membership4() 625 optname = IP_DROP_MEMBERSHIP; in uv__udp_set_membership4() 633 optname, in uv__udp_set_membership4() 647 int optname; in uv__udp_set_membership6() local 677 optname = IPV6_ADD_MEMBERSHIP; in uv__udp_set_membership6() 680 optname = IPV6_DROP_MEMBERSHIP; in uv__udp_set_membership6() 688 optname, in uv__udp_set_membership6() 704 int optname; in uv__udp_set_source_membership4() local 732 optname = IP_ADD_SOURCE_MEMBERSHIP; in uv__udp_set_source_membership4() [all …]
|
D | core.c | 692 int uv__socket_sockopt(uv_handle_t* handle, int optname, int* value) { in uv__socket_sockopt() argument 710 r = getsockopt(socket, SOL_SOCKET, optname, (char*) value, &len); in uv__socket_sockopt() 712 r = setsockopt(socket, SOL_SOCKET, optname, (const char*) value, len); in uv__socket_sockopt()
|
/third_party/python/Tools/scripts/ |
D | untabify.py | 20 for optname, optvalue in opts: 21 if optname == '-t':
|
/third_party/libuv/src/unix/ |
D | udp.c | 838 int optname; in uv__udp_set_membership4() local 855 optname = IP_ADD_MEMBERSHIP; in uv__udp_set_membership4() 858 optname = IP_DROP_MEMBERSHIP; in uv__udp_set_membership4() 866 optname, in uv__udp_set_membership4() 884 int optname; in uv__udp_set_membership6() local 902 optname = IPV6_ADD_MEMBERSHIP; in uv__udp_set_membership6() 905 optname = IPV6_DROP_MEMBERSHIP; in uv__udp_set_membership6() 913 optname, in uv__udp_set_membership6() 939 int optname; in uv__udp_set_source_membership4() local 960 optname = IP_ADD_SOURCE_MEMBERSHIP; in uv__udp_set_source_membership4() [all …]
|
/third_party/python/Lib/ |
D | configparser.py | 1013 optname = None 1045 optname and 1046 cursect[optname] is not None): 1047 cursect[optname].append('') # newlines added at join 1055 if (cursect is not None and optname and 1057 cursect[optname].append(value) 1079 optname = None 1087 optname, vi, optval = mo.group('option', 'vi', 'value') 1088 if not optname: 1090 optname = self.optionxform(optname.rstrip()) [all …]
|
/third_party/ltp/lib/ |
D | safe_net.c | 162 int optname, void *optval, socklen_t *optlen) in safe_getsockopt() argument 164 int rval = getsockopt(sockfd, level, optname, optval, optlen); in safe_getsockopt() 171 file, lineno, sockfd, level, optname, optval, optlen); in safe_getsockopt() 177 int optname, const void *optval, socklen_t optlen) in safe_setsockopt() argument 181 rval = setsockopt(sockfd, level, optname, optval, optlen); in safe_setsockopt() 186 file, lineno, sockfd, level, optname, optval, optlen); in safe_setsockopt()
|
/third_party/grpc/third_party/upb/third_party/lunit/ |
D | lunit.lua | 652 local function checkarg(optname, arg) 654 return error("lunit.main: option "..optname..": argument missing.", 0) 680 local optname = arg; i = i + 1; arg = argv[i] 681 checkarg(optname, arg) 684 local optname = arg; i = i + 1; arg = argv[i] 685 checkarg(optname, arg)
|
/third_party/lwip/src/include/lwip/ |
D | sockets.h | 581 int lwip_getsockopt (int s, int level, int optname, void *optval, socklen_t *optlen); 582 int lwip_setsockopt (int s, int level, int optname, const void *optval, socklen_t optlen); 643 #define setsockopt(s,level,optname,opval,optlen) lwip_setsockopt(s,level,optname,opval,optlen) argument 645 #define getsockopt(s,level,optname,opval,optlen) lwip_getsockopt(s,level,optname,opval,optlen) argument
|
/third_party/python/Lib/test/ |
D | mock_socket.py | 68 def setsockopt(self, level, optname, value): argument 71 def getsockopt(self, level, optname, buflen=None): argument
|
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt01.c | 74 int optname; member 145 tdat[testno].optname, in main()
|
/third_party/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt01.c | 74 int optname; member 144 tdat[testno].optname, in main()
|
/third_party/boost/boost/asio/detail/impl/ |
D | winrt_ssocket_service_base.ipp | 233 int level, int optname, const void* optval, 245 && optname == BOOST_ASIO_OS_DEF(SO_KEEPALIVE)) 260 && optname == BOOST_ASIO_OS_DEF(TCP_NODELAY)) 290 int level, int optname, void* optval, 302 && optname == BOOST_ASIO_OS_DEF(SO_KEEPALIVE)) 317 && optname == BOOST_ASIO_OS_DEF(TCP_NODELAY))
|
/third_party/weston/clients/ |
D | meson.build | 141 foreach optname : t.get('options', []) 142 if not get_option(optname) 143 …her not build this, drop "@2@" from simple-clients option.'.format(t_name, optname, t.get('name')))
|
/third_party/lwip/src/include/lwip/priv/ |
D | sockets_priv.h | 110 int optname; member
|
/third_party/libwebsockets/include/ |
D | libwebsockets.h | 409 int getsockopt(int sockfd, int level, int optname, 411 int setsockopt(int sockfd, int level, int optname,
|
/third_party/glib/gio/ |
D | gsocket.c | 350 #define getsockopt(sockfd, level, optname, optval, optlen) \ argument 351 getsockopt (sockfd, level, optname, (gpointer) optval, (int*) optlen) 352 #define setsockopt(sockfd, level, optname, optval, optlen) \ argument 353 setsockopt (sockfd, level, optname, (gpointer) optval, optlen) 2343 gint optname, result; in g_socket_multicast_group_operation() local 2381 optname = join_group ? IP_ADD_SOURCE_MEMBERSHIP : IP_DROP_SOURCE_MEMBERSHIP; in g_socket_multicast_group_operation() 2392 optname = join_group ? IP_ADD_MEMBERSHIP : IP_DROP_MEMBERSHIP; in g_socket_multicast_group_operation() 2393 result = setsockopt (socket->priv->fd, IPPROTO_IP, optname, in g_socket_multicast_group_operation() 2409 optname = join_group ? IPV6_JOIN_GROUP : IPV6_LEAVE_GROUP; in g_socket_multicast_group_operation() 2410 result = setsockopt (socket->priv->fd, IPPROTO_IPV6, optname, in g_socket_multicast_group_operation() [all …]
|
D | gsocket.h | 316 gint optname, 322 gint optname,
|
/third_party/boost/boost/asio/detail/ |
D | winrt_ssocket_service_base.hpp | 294 int level, int optname, const void* optval, 300 int level, int optname, void* optval,
|