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

  /frameworks/native/libs/math/include/math/
half.h 36 #define CONSTEXPR constexpr
38 #define CONSTEXPR
60 explicit constexpr fp16() noexcept : bits(0) { }
61 explicit constexpr fp16(uint16_t b) noexcept : bits(b) { }
65 constexpr unsigned int getS() const noexcept { return bits >> 15u; }
66 constexpr unsigned int getE() const noexcept { return (bits >> 10u) & 0x1Fu; }
67 constexpr unsigned int getM() const noexcept { return bits & 0x3FFu; }
74 explicit constexpr fp32() noexcept : bits(0) { }
75 explicit constexpr fp32(float f) noexcept : fp(f) {
    [all...]
mat2.h 27 #define CONSTEXPR constexpr
29 #define CONSTEXPR
88 static constexpr size_t COL_SIZE = col_type::SIZE; // size of a column (i.e.: number of rows)
89 static constexpr size_t ROW_SIZE = row_type::SIZE; // size of a row (i.e.: number of columns)
90 static constexpr size_t NUM_ROWS = COL_SIZE;
91 static constexpr size_t NUM_COLS = ROW_SIZE;
112 inline constexpr col_type const& operator[](size_t column) const {
114 // only possible in C++0x14 with constexpr
138 explicit constexpr TMat22(no_init
    [all...]
mat3.h 28 #define CONSTEXPR constexpr
30 #define CONSTEXPR
95 static constexpr size_t COL_SIZE = col_type::SIZE; // size of a column (i.e.: number of rows)
96 static constexpr size_t ROW_SIZE = row_type::SIZE; // size of a row (i.e.: number of columns)
97 static constexpr size_t NUM_ROWS = COL_SIZE;
98 static constexpr size_t NUM_COLS = ROW_SIZE;
119 inline constexpr col_type const& operator[](size_t column) const {
121 // only possible in C++0x14 with constexpr
145 explicit constexpr TMat33(no_init
    [all...]
mat4.h 32 #define CONSTEXPR constexpr
34 #define CONSTEXPR
101 static constexpr size_t COL_SIZE = col_type::SIZE; // size of a column (i.e.: number of rows)
102 static constexpr size_t ROW_SIZE = row_type::SIZE; // size of a row (i.e.: number of columns)
103 static constexpr size_t NUM_ROWS = COL_SIZE;
104 static constexpr size_t NUM_COLS = ROW_SIZE;
125 inline constexpr col_type const& operator[](size_t column) const {
127 // only possible in C++0x14 with constexpr
149 explicit constexpr TMat44(no_init
    [all...]
TVecHelpers.h 31 #define CONSTEXPR constexpr
33 #define CONSTEXPR
110 friend inline constexpr VECTOR<T> PURE operator +(VECTOR<T> lv, const VECTOR<RT>& rv) {
115 friend inline constexpr VECTOR<T> PURE operator -(VECTOR<T> lv, const VECTOR<RT>& rv) {
126 friend inline constexpr VECTOR<T> PURE operator +(VECTOR<T> lv, const VECTOR<T>& rv) {
130 friend inline constexpr VECTOR<T> PURE operator -(VECTOR<T> lv, const VECTOR<T>& rv) {
191 friend inline constexpr VECTOR<T> PURE operator *(VECTOR<T> lv, const VECTOR<RT>& rv) {
196 friend inline constexpr VECTOR<T> PURE operator /(VECTOR<T> lv, const VECTOR<RT>& rv) {
207 friend inline constexpr VECTOR<T> PURE operator *(VECTOR<T> lv, const VECTOR<T>& rv)
    [all...]
TMatHelpers.h 47 #define CONSTEXPR constexpr
49 #define CONSTEXPR
69 inline constexpr int transpose(int v) { return v; }
70 inline constexpr float transpose(float v) { return v; }
71 inline constexpr double transpose(double v) { return v; }
73 inline constexpr int trace(int v) { return v; }
74 inline constexpr float trace(float v) { return v; }
75 inline constexpr double trace(double v) { return v; }
83 static constexpr unsigned int N = MATRIX::NUM_ROWS
    [all...]
  /system/core/libutils/include/utils/
Compat.h 56 * Needed for cases where something should be constexpr if possible, but not
57 * being constexpr is fine if in pre-C++11 code (such as a const static float
61 #define CONSTEXPR constexpr
63 #define CONSTEXPR

Completed in 87 milliseconds