Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Dwin32_socket_server.cc381 int slevel; in GetOption() local
383 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption()
388 return ::getsockopt(socket_, slevel, sopt, p, &optlen); in GetOption()
392 int slevel; in SetOption() local
394 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption()
398 return ::setsockopt(socket_, slevel, sopt, p, sizeof(value)); in SetOption()
547 int Win32Socket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument
550 *slevel = IPPROTO_IP; in TranslateOption()
554 *slevel = SOL_SOCKET; in TranslateOption()
558 *slevel = SOL_SOCKET; in TranslateOption()
[all …]
Dphysical_socket_server.cc284 int slevel; in GetOption() local
286 if (TranslateOption(opt, &slevel, &sopt) == -1) in GetOption()
289 int ret = ::getsockopt(s_, slevel, sopt, (SockOptArg)value, &optlen); in GetOption()
307 int slevel; in SetOption() local
309 if (TranslateOption(opt, &slevel, &sopt) == -1) in SetOption()
327 return ::setsockopt(s_, slevel, sopt, (SockOptArg)&value, sizeof(value)); in SetOption()
546 int PhysicalSocket::TranslateOption(Option opt, int* slevel, int* sopt) { in TranslateOption() argument
550 *slevel = IPPROTO_IP; in TranslateOption()
557 *slevel = IPPROTO_IP; in TranslateOption()
562 *slevel = SOL_SOCKET; in TranslateOption()
[all …]
Dwin32_socket_server.h69 static int TranslateOption(Option opt, int* slevel, int* sopt);
Dphysical_socket_server.h188 int TranslateOption(Option opt, int* slevel, int* sopt);
/external/libchrome/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/selinux/python/sepolgen/src/sepolgen/
Dyacc.py2591 sprec, slevel = Precedence.get(a, ('right', 0))
2596 … if (slevel < rlevel) or ((slevel == rlevel) and (rprec == 'left')):
2600 if not slevel and not rlevel:
2604 elif (slevel == rlevel) and (rprec == 'nonassoc'):
2655 sprec, slevel = Precedence.get(a, ('right', 0))
2660 … if (slevel > rlevel) or ((slevel == rlevel) and (rprec == 'right')):
2668 elif (slevel == rlevel) and (rprec == 'nonassoc'):
2672 if not slevel and not rlevel:
/external/python/pycparser/pycparser/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:
/external/ply/ply/ply/
Dyacc.py2591 sprec, slevel = Precedence.get(a, ('right', 0))
2596 … if (slevel < rlevel) or ((slevel == rlevel) and (rprec == 'left')):
2600 if not slevel and not rlevel:
2604 elif (slevel == rlevel) and (rprec == 'nonassoc'):
2655 sprec, slevel = Precedence.get(a, ('right', 0))
2660 … if (slevel > rlevel) or ((slevel == rlevel) and (rprec == 'right')):
2668 elif (slevel == rlevel) and (rprec == 'nonassoc'):
2672 if not slevel and not rlevel: