Home
last modified time | relevance | path

Searched refs:__cmp (Results 1 – 2 of 2) sorted by relevance

/external/libnetfilter_conntrack/src/conntrack/
Dcompare.c13 static int __cmp(int attr, in __cmp() function
97 if (!__cmp(ATTR_ICMP_ID, ct1, ct2, flags, cmp_icmp_id, true)) in cmp_orig_l4proto()
99 if (!__cmp(ATTR_ICMP_CODE, ct1, ct2, flags, cmp_icmp_code, true)) in cmp_orig_l4proto()
101 if (!__cmp(ATTR_ICMP_TYPE, ct1, ct2, flags, cmp_icmp_type, true)) in cmp_orig_l4proto()
109 if (!__cmp(ATTR_ORIG_PORT_SRC, ct1, ct2, in cmp_orig_l4proto()
112 if (!__cmp(ATTR_ORIG_PORT_DST, ct1, ct2, in cmp_orig_l4proto()
165 if (!__cmp(ATTR_ORIG_L3PROTO, ct1, ct2, flags, cmp_orig_l3proto, true)) in __cmp_orig()
167 if (!__cmp(ATTR_ORIG_L4PROTO, ct1, ct2, flags, cmp_orig_l4proto, true)) in __cmp_orig()
169 if (!__cmp(ATTR_ORIG_IPV4_SRC, ct1, ct2, flags, cmp_orig_ipv4_src, true)) in __cmp_orig()
171 if (!__cmp(ATTR_ORIG_IPV4_DST, ct1, ct2, flags, cmp_orig_ipv4_dst, true)) in __cmp_orig()
[all …]
/external/libcxx/include/
Dcompare569 constexpr bool is_eq(weak_equality __cmp) noexcept { return __cmp == 0; }
572 constexpr bool is_neq(weak_equality __cmp) noexcept { return __cmp != 0; }
575 constexpr bool is_lt(partial_ordering __cmp) noexcept { return __cmp < 0; }
578 constexpr bool is_lteq(partial_ordering __cmp) noexcept { return __cmp <= 0; }
581 constexpr bool is_gt(partial_ordering __cmp) noexcept { return __cmp > 0; }
584 constexpr bool is_gteq(partial_ordering __cmp) noexcept { return __cmp >= 0; }