Searched defs:Modulo (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/include/media/
H A DModulo.h22 // Modulo class is used for intentionally wrapping variables such as
29 // 1) Modulo checks type sizes before performing operations to ensure
31 // 2) Modulo returns Modulo types from arithmetic operations, thereby
32 // avoiding unintentional use in a non-modular computation. A Modulo
33 // type is converted to its base non-Modulo type through the value() function.
34 // 3) Modulo separates out overflowable types from non-overflowable types.
36 // Modulo types do not participate in sanitization.
37 // 4) Modulo comparisons are based on signed differences to account for wrap;
85 template <typename T> class Modulo { class in namespace:android
92 Modulo() { } // intentionally uninitialized data function in class:android::Modulo
93 Modulo(const T &value) { mValue = value; } function in class:android::Modulo
[all...]
/frameworks/av/media/libmedia/include/media/
H A DModulo.h22 // Modulo class is used for intentionally wrapping variables such as
29 // 1) Modulo checks type sizes before performing operations to ensure
31 // 2) Modulo returns Modulo types from arithmetic operations, thereby
32 // avoiding unintentional use in a non-modular computation. A Modulo
33 // type is converted to its base non-Modulo type through the value() function.
34 // 3) Modulo separates out overflowable types from non-overflowable types.
36 // Modulo types do not participate in sanitization.
37 // 4) Modulo comparisons are based on signed differences to account for wrap;
85 template <typename T> class Modulo { class in namespace:android
92 Modulo() { } // intentionally uninitialized data function in class:android::Modulo
93 Modulo(const T &value) { mValue = value; } function in class:android::Modulo
[all...]

Completed in 82 milliseconds