Lines Matching defs:cast
48 literal should be cast before comparing it with T.
117 can be dangerous and should have an explicit cast if deliberate. */
229 - poly_result<T1, T2>::cast is the type to which an operand of type
230 T1 should be cast before doing the operation, to ensure that
243 /* T1 and T2 are primitive types, so cast values to T before operating
245 typedef type cast;
253 /* T1 and T2 are primitive types, so cast values to T before operating
255 typedef type cast;
263 /* Don't cast values before operating on them; leave the wi:: routines
265 typedef const T1 &cast;
302 /* The type to which a coefficient of type C1 should be cast before
304 #define POLY_CAST(C1, C2) typename poly_result<C1, C2>::cast
312 /* The type to which an integer constant should be cast before
2532 span_traits::cast (P2) - span_traits::cast (P1)
2534 Applying the cast before the subtraction avoids undefined overflow
2537 The implementation of the cast tries to avoid unnecessary arithmetic
2545 static const T &cast (const T &x) { return x; }
2553 cast (const T &x) { return x; }
2557 cast (const poly_int_pod<N, T> &x) { return x; }
2590 return maybe_lt (start_span::cast (val) - start_span::cast (pos),
2591 size_span::cast (size));
2606 && known_lt (start_span::cast (val) - start_span::cast (pos),
2607 size_span::cast (size)));
2642 --> known_gt (SIZE1, span1::cast (POS2 - lower_bound (POS1, POS2))).
2652 && known_lt (start_span::cast (pos2)
2653 - start_span::cast (lower_bound (pos1, pos2)),
2654 size1_span::cast (size1))
2655 && known_lt (start_span::cast (pos1)
2656 - start_span::cast (lower_bound (pos1, pos2)),
2657 size2_span::cast (size2)));
2678 && known_le (start_span::cast (pos1) - start_span::cast (pos2),
2679 size_span::cast (size2) - size_span::cast (size1)));