HomeSort by relevance Sort by last modified time
    Searched defs:CheckedNumeric (Results 1 - 3 of 3) sorted by null

  /external/v8/src/base/
safe_math.h 17 // CheckedNumeric implements all the logic and operators for detecting integer
19 // The CheckedNumeric type implicitly converts from floating point and integer
23 // The following methods convert from CheckedNumeric to standard numeric values:
31 // only for floating point CheckedNumeric types).
39 // CheckedNumeric<int> checked_int = untrusted_input_value;
42 // CheckedNumeric<size_t> checked_size;
43 // CheckedNumeric<int> checked_size = untrusted_input_value;
48 class CheckedNumeric {
52 CheckedNumeric() {}
56 CheckedNumeric(const CheckedNumeric<Src>& rhs
    [all...]
  /external/libchrome/base/numerics/
safe_math.h 20 // CheckedNumeric implements all the logic and operators for detecting integer
22 // The CheckedNumeric type implicitly converts from floating point and integer
26 // The following methods convert from CheckedNumeric to standard numeric values:
34 // only for floating point CheckedNumeric types).
42 // CheckedNumeric<int> checked_int = untrusted_input_value;
45 // CheckedNumeric<size_t> checked_size = untrusted_input_value;
50 class CheckedNumeric {
52 "CheckedNumeric<T>: T must be a numeric type.");
57 CheckedNumeric() {}
61 CheckedNumeric(const CheckedNumeric<Src>& rhs
    [all...]
  /external/pdfium/third_party/base/numerics/
safe_math.h 19 // CheckedNumeric<> implements all the logic and operators for detecting integer
21 // The CheckedNumeric type implicitly converts from floating point and integer
29 // standard arithmetic or CheckedNumeric types, perform arithmetic operations,
30 // and return a CheckedNumeric result. The supported functions are:
46 // CheckedNumeric as a result of the operation:
57 // The following methods convert from CheckedNumeric to standard numeric values:
80 // between arithmetic types and CheckedNumeric types:
81 // CheckedNumeric::Cast<Dst>() - Instance method returning a CheckedNumeric
82 // derived from casting the current instance to a CheckedNumeric o
    [all...]

Completed in 147 milliseconds