Lines Matching refs:Dst
18 template <typename Dst, typename Src>
21 std::is_signed<Src>::value && std::is_integral<Dst>::value &&
24 IntegerBitsPlusSign<Dst>::value <= IntegerBitsPlusSign<int32_t>::value &&
25 !IsTypeInRangeForNumericType<Dst, Src>::value;
27 __attribute__((always_inline)) static Dst Do(Src value) { in Do()
29 typename std::conditional<std::is_signed<Dst>::value, int32_t, in Do()
31 if (std::is_signed<Dst>::value) { in Do()
34 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst>::value <= 32 in Do()
35 ? IntegerBitsPlusSign<Dst>::value in Do()
40 : [src] "r"(src), [shift] "n"(IntegerBitsPlusSign<Dst>::value < 32 in Do()
41 ? IntegerBitsPlusSign<Dst>::value in Do()
44 return static_cast<Dst>(result); in Do()