/external/strace/tests/ |
D | net-packet_mreq.c | 9 packet_mreq_membership(int optname, void *optval, socklen_t len) in packet_mreq_membership() argument 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in packet_mreq_membership() 17 test_packet_mreq(const int optname, const char *const optname_str) in test_packet_mreq() argument 30 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 41 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 52 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 77 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 89 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq()
|
D | net-tpacket_req.c | 9 set_tpacket_req(int optname, void *optval, socklen_t len) in set_tpacket_req() argument 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in set_tpacket_req() 17 test_tpacket_req(const int optname, const char *const optname_str) in test_tpacket_req() argument 29 set_tpacket_req(optname, tpreq, len); in test_tpacket_req() 37 set_tpacket_req(optname, tpreq, len); in test_tpacket_req()
|
/external/strace/tests-mx32/ |
D | net-packet_mreq.c | 9 packet_mreq_membership(int optname, void *optval, socklen_t len) in packet_mreq_membership() argument 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in packet_mreq_membership() 17 test_packet_mreq(const int optname, const char *const optname_str) in test_packet_mreq() argument 30 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 41 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 52 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 77 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 89 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq()
|
D | net-tpacket_req.c | 9 set_tpacket_req(int optname, void *optval, socklen_t len) in set_tpacket_req() argument 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in set_tpacket_req() 17 test_tpacket_req(const int optname, const char *const optname_str) in test_tpacket_req() argument 29 set_tpacket_req(optname, tpreq, len); in test_tpacket_req() 37 set_tpacket_req(optname, tpreq, len); in test_tpacket_req()
|
/external/strace/tests-m32/ |
D | net-packet_mreq.c | 9 packet_mreq_membership(int optname, void *optval, socklen_t len) in packet_mreq_membership() argument 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in packet_mreq_membership() 17 test_packet_mreq(const int optname, const char *const optname_str) in test_packet_mreq() argument 30 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 41 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 52 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 77 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq() 89 packet_mreq_membership(optname, pmreq, len); in test_packet_mreq()
|
D | net-tpacket_req.c | 9 set_tpacket_req(int optname, void *optval, socklen_t len) in set_tpacket_req() argument 11 long rc = setsockopt(-1, SOL_PACKET, optname, optval, len); in set_tpacket_req() 17 test_tpacket_req(const int optname, const char *const optname_str) in test_tpacket_req() argument 29 set_tpacket_req(optname, tpreq, len); in test_tpacket_req() 37 set_tpacket_req(optname, tpreq, len); in test_tpacket_req()
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | sockopt_sk.c | 31 if (ctx->level == SOL_IP && ctx->optname == IP_TOS) in _getsockopt() 38 if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { in _getsockopt() 46 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _getsockopt() 84 if (ctx->level == SOL_IP && ctx->optname == IP_TOS) in _setsockopt() 91 if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { in _setsockopt() 103 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _setsockopt()
|
D | sockopt_multi.c | 15 if (ctx->level != SOL_IP || ctx->optname != IP_TOS) in _getsockopt_child() 38 if (ctx->level != SOL_IP || ctx->optname != IP_TOS) in _getsockopt_parent() 61 if (ctx->level != SOL_IP || ctx->optname != IP_TOS) in _setsockopt()
|
D | sockopt_inherit.c | 40 if (ctx->optname == CUSTOM_INHERIT1) in get_storage() 43 else if (ctx->optname == CUSTOM_INHERIT2) in get_storage()
|
/external/ppp/pppd/plugins/radius/ |
D | config.c | 31 static OPTION *find_option(char *optname, unsigned int type) in find_option() argument 37 if (!strcmp(config_options[i].name, optname) && in find_option() 267 char *rc_conf_str(char *optname) in rc_conf_str() argument 271 option = find_option(optname, OT_STR); in rc_conf_str() 274 fatal("rc_conf_str: unkown config option requested: %s", optname); in rc_conf_str() 278 int rc_conf_int(char *optname) in rc_conf_int() argument 282 option = find_option(optname, OT_INT|OT_AUO); in rc_conf_int() 285 fatal("rc_conf_int: unkown config option requested: %s", optname); in rc_conf_int() 289 SERVER *rc_conf_srv(char *optname) in rc_conf_srv() argument 293 option = find_option(optname, OT_SRV); in rc_conf_srv() [all …]
|
/external/arm-trusted-firmware/tools/fiptool/ |
D | win_posix.c | 145 int optmatch(const char *argval, const char *optname) in optmatch() argument 149 while ((result == 0) && (*optname != 0) && (*argval != 0)) in optmatch() 150 result = (*argval++) - (*optname++); in optmatch() 159 const char *const optname, in getopt_1long() argument 177 if (strcmp(optname, longopts[loptn].name) == 0) { in getopt_1long() 188 if (optmatch(optname, longopts[loptn].name) == 0) { in getopt_1long()
|
/external/ltp/include/ |
D | tst_safe_net.h | 35 #define SAFE_GETSOCKOPT(fd, level, optname, optval, optlen) \ argument 36 safe_getsockopt(__FILE__, __LINE__, fd, level, optname, optval, optlen) 38 #define SAFE_SETSOCKOPT(fd, level, optname, optval, optlen) \ argument 39 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);
|
/external/android-clat/ |
D | setif.c | 31 optname = #a; \ 140 char *optname; in do_anycast_setsockopt() local 147 optname = "???"; in do_anycast_setsockopt() 153 logmsg(ANDROID_LOG_ERROR, "%s: setsockopt(%s): %s", __func__, optname, strerror(errno)); in do_anycast_setsockopt()
|
/external/ipsec-tools/src/libipsec/ |
D | test-policy.c | 156 int proto = 0, optname = 0; local 163 optname = IP_IPSEC_POLICY; 167 optname = IPV6_IPSEC_POLICY; 179 if (setsockopt(so, proto, optname, policy, len) < 0) { 187 if (getsockopt(so, proto, optname, getbuf, &len) < 0) {
|
/external/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()
|
/external/python/pycparser/pycparser/ |
D | plyparser.py | 40 optname = rulename + '_opt' 45 optrule.__doc__ = '%s : empty\n| %s' % (optname, rulename) 46 optrule.__name__ = 'p_%s' % optname
|
/external/python/cpython2/Lib/ |
D | ConfigParser.py | 475 optname = None 490 if line[0].isspace() and cursect is not None and optname: 493 cursect[optname].append(value) 509 optname = None 517 optname, vi, optval = mo.group('option', 'vi', 'value') 518 optname = self.optionxform(optname.rstrip()) 532 cursect[optname] = [optval] 535 cursect[optname] = optval
|
/external/python/cpython3/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 …]
|
/external/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()
|
/external/python/cpython2/Tools/scripts/ |
D | untabify.py | 19 for optname, optvalue in opts: 20 if optname == '-t':
|
/external/python/cpython3/Tools/scripts/ |
D | untabify.py | 20 for optname, optvalue in opts: 21 if optname == '-t':
|
/external/iptables/extensions/ |
D | libxt_iprange.c | 45 uint8_t family, const char *optname) in iprange_parse_spec() argument 59 optname, spec[i]); in iprange_parse_spec() 67 optname, spec[i]); in iprange_parse_spec() 74 uint8_t family, const char *optname) in iprange_parse_range() argument 83 iprange_parse_spec(arg, arg, range, family, optname); in iprange_parse_range() 89 iprange_parse_spec(arg, dash + 1, range, family, optname); in iprange_parse_range()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_inherit.c | 39 static int verify_sockopt(int fd, int optname, const char *msg, char expected) in verify_sockopt() argument 45 err = getsockopt(fd, SOL_CUSTOM, optname, &buf, &optlen); in verify_sockopt() 51 printf("%s %d: got=0x%x ? expected=0x%x\n", msg, optname, buf, expected); in verify_sockopt()
|
/external/rust/crates/grpcio-sys/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)
|