Searched defs:CheckedNumeric (Results 1 - 3 of 3) sorted by relevance

/external/libchrome/base/numerics/
H A Dsafe_math.h20 // 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 { class in namespace:base::internal
52 "CheckedNumeric<T>: T must be a numeric type.");
57 CheckedNumeric() {} function in class:base::internal::CheckedNumeric
61 CheckedNumeric(cons function in class:base::internal::CheckedNumeric
65 CheckedNumeric(Src value, RangeConstraint validity) function in class:base::internal::CheckedNumeric
71 CheckedNumeric(Src value) // NOLINT(runtime/explicit) function in class:base::internal::CheckedNumeric
80 CheckedNumeric(StrictNumeric<Src> value) // NOLINT(runtime/explicit) function in class:base::internal::CheckedNumeric
[all...]
/external/v8/src/base/
H A Dsafe_math.h17 // 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 { class in namespace:v8::base::internal
52 CheckedNumeric() {} function in class:v8::base::internal::CheckedNumeric
56 CheckedNumeric(cons function in class:v8::base::internal::CheckedNumeric
60 CheckedNumeric(Src value, RangeConstraint validity) function in class:v8::base::internal::CheckedNumeric
66 CheckedNumeric(Src value) // NOLINT function in class:v8::base::internal::CheckedNumeric
[all...]
/external/pdfium/third_party/base/numerics/
H A Dsafe_math.h19 // 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
96 class CheckedNumeric { class in namespace:pdfium::base::internal
103 constexpr CheckedNumeric() {} function in class:pdfium::base::internal::CheckedNumeric
107 constexpr CheckedNumeric(const CheckedNumeric<Src>& rhs) function in class:pdfium::base::internal::CheckedNumeric
116 constexpr CheckedNumeric(Src value) // NOLINT(runtime/explicit) function in class:pdfium::base::internal::CheckedNumeric
124 constexpr CheckedNumeric( function in class:pdfium::base::internal::CheckedNumeric
320 constexpr CheckedNumeric(Src value, bool is_valid) function in class:pdfium::base::internal::CheckedNumeric
[all...]

Completed in 224 milliseconds