Home
last modified time | relevance | path

Searched refs:slevel (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/base/
Dwin32socketserver.cc400 int slevel; in GetOption() local
402 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption()
407 return ::getsockopt(socket_, slevel, sopt, p, &optlen); in GetOption()
411 int slevel; in SetOption() local
413 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption()
417 return ::setsockopt(socket_, slevel, sopt, p, sizeof(value)); in SetOption()
591 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument
594 *slevel = IPPROTO_IP; in TranslateOption()
598 *slevel = SOL_SOCKET; in TranslateOption()
602 *slevel = SOL_SOCKET; in TranslateOption()
[all …]
Dphysicalsocketserver.cc237 int slevel; in GetOption() local
239 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption()
242 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); in GetOption()
252 int slevel; in SetOption() local
254 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption()
261 return ::setsockopt(s_, slevel, sopt, (SockOptArg)&value, sizeof(value)); in SetOption()
510 int PhysicalSocket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument
514 *slevel = IPPROTO_IP; in TranslateOption()
521 *slevel = IPPROTO_IP; in TranslateOption()
526 *slevel = SOL_SOCKET; in TranslateOption()
[all …]
Dwin32socketserver.h66 static int TranslateOption(Option opt, int* slevel, int* sopt);
Dphysicalsocketserver.h169 static int TranslateOption(Option opt, int* slevel, int* sopt);
/external/selinux/python/sepolgen/src/sepolgen/
Dyacc.py1680 … sprec,slevel = Productions[actionp[st,a].number].prec
1682 … if (slevel < rlevel) or ((slevel == rlevel) and (rprec == 'left')):
1686 if not slevel and not rlevel:
1690 elif (slevel == rlevel) and (rprec == 'nonassoc'):
1736 sprec,slevel = Precedence.get(a,('right',0))
1737 … if (slevel > rlevel) or ((slevel == rlevel) and (rprec != 'left')):
1745 elif (slevel == rlevel) and (rprec == 'nonassoc'):
1749 if not slevel and not rlevel:
/external/libmojo/third_party/ply/
Dyacc.py2417 sprec,slevel = Productions[st_actionp[a].number].prec
2419 … if (slevel < rlevel) or ((slevel == rlevel) and (rprec == 'left')):
2423 if not slevel and not rlevel:
2427 elif (slevel == rlevel) and (rprec == 'nonassoc'):
2476 sprec,slevel = Precedence.get(a,('right',0))
2477 … if (slevel > rlevel) or ((slevel == rlevel) and (rprec == 'right')):
2485 elif (slevel == rlevel) and (rprec == 'nonassoc'):
2489 if not slevel and not rlevel:
/external/ply/ply/ply/
Dyacc.py2590 sprec, slevel = Precedence.get(a, ('right', 0))
2595 … if (slevel < rlevel) or ((slevel == rlevel) and (rprec == 'left')):
2599 if not slevel and not rlevel:
2603 elif (slevel == rlevel) and (rprec == 'nonassoc'):
2654 sprec, slevel = Precedence.get(a, ('right', 0))
2659 … if (slevel > rlevel) or ((slevel == rlevel) and (rprec == 'right')):
2667 elif (slevel == rlevel) and (rprec == 'nonassoc'):
2671 if not slevel and not rlevel: