Searched refs:sopt (Results 1 – 7 of 7) sorted by relevance
/external/perfetto/src/base/ |
D | getopt_compat.cc | 70 for (const char* sopt = shortopts; sopt && *sopt;) { in ParseOpts() local 71 const size_t idx = static_cast<size_t>(sopt - shortopts); in ParseOpts() 72 char c = *sopt++; in ParseOpts() 86 if (*sopt == ':') { in ParseOpts() 88 ++sopt; in ParseOpts()
|
/external/iproute2/tc/ |
D | q_gred.c | 269 struct tc_gred_sopt *sopt; in gred_print_opt() local 295 sopt = RTA_DATA(tb[TCA_GRED_DPS]); in gred_print_opt() 297 if (RTA_PAYLOAD(tb[TCA_GRED_DPS]) < sizeof(*sopt) || in gred_print_opt() 306 sopt->DPs, in gred_print_opt() 307 sopt->def_DP, in gred_print_opt() 308 sopt->grio ? "grio " : ""); in gred_print_opt()
|
/external/webrtc/rtc_base/ |
D | physical_socket_server.cc | 302 int sopt; in GetOption() local 303 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption() 306 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); in GetOption() 325 int sopt; in SetOption() local 326 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption() 339 if (sopt == IPV6_TCLASS) { in SetOption() 347 ::setsockopt(s_, slevel, sopt, (SockOptArg)&value, sizeof(value)); in SetOption() 637 int PhysicalSocket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument 642 *sopt = IP_DONTFRAGMENT; in TranslateOption() 649 *sopt = IP_MTU_DISCOVER; in TranslateOption() [all …]
|
D | physical_socket_server.h | 208 int TranslateOption(Option opt, int* slevel, int* sopt);
|
/external/dnsmasq/src/ |
D | rfc2131.c | 192 unsigned char* sopt; in dhcp_reply() local 202 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), in dhcp_reply() 204 subnet_addr = option_addr(sopt); in dhcp_reply() 207 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), in dhcp_reply() 209 override = option_addr(sopt); in dhcp_reply() 224 if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt, option_len(opt)), in dhcp_reply() 226 vendor->len == option_len(sopt) && in dhcp_reply() 227 memcmp(option_ptr(sopt, 0), vendor->data, vendor->len) == 0) { in dhcp_reply()
|
/external/python/cpython3/Lib/ |
D | optparse.py | 353 short_opts = [self._short_opt_fmt % (sopt, metavar) 354 for sopt in option._short_opts]
|
/external/python/cpython2/Lib/ |
D | optparse.py | 347 short_opts = [self._short_opt_fmt % (sopt, metavar) 348 for sopt in option._short_opts]
|