Home | History | Annotate | Download | only in base

Lines Matching refs:value

18 // Convenience function that returns true if the supplied value is in range
21 inline bool IsValueInRangeForNumericType(Src value) {
22 return internal::DstRangeRelationToSrcRange<Dst>(value) ==
30 inline Dst checked_cast(Src value) {
31 CHECK(IsValueInRangeForNumericType<Dst>(value));
32 return static_cast<Dst>(value);
39 inline Dst saturated_cast(Src value) {
42 return static_cast<Dst>(value);
44 switch (internal::DstRangeRelationToSrcRange<Dst>(value)) {
46 return static_cast<Dst>(value);
61 return static_cast<Dst>(value);