Home
last modified time | relevance | path

Searched refs:_n (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/opengl/libs/EGL/
DgetProcAddress.cpp67 #define GL_EXTENSION_NAME(_n) __glExtFwd##_n argument
69 #define GL_EXTENSION(_n) \ argument
70 void API_ENTRY(GL_EXTENSION_NAME(_n))() { \
71 CALL_GL_EXTENSION_API(_n); \
77 #define GL_EXTENSION_NAME(_n) NULL
79 #define GL_EXTENSION(_n)
124 #define GL_EXTENSION_ARRAY(_n) GL_EXTENSION_NAME(_n), argument
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp206 Rational(void) : _n(0), _d(1) {} in Rational()
207 Rational(uint32_t n, uint32_t d) : _n(n), _d(d) {} in Rational()
208 uint32_t numerator(void) { return _n; } in numerator()
210 void setNumerator(uint32_t numerator) { _n = numerator; } in setNumerator()
222 operator double() const { return (double) _n / (double) _d; } in operator double()
226 uint32_t _n; member in Rational
1342 if (((uint64_t) _n * other._d) in operator ==()
1343 == ((uint64_t) _d * other._n)) { return true; } in operator ==()
1350 if (((uint64_t) _n * other._d) in operator <()
1351 < ((uint64_t) _d * other._n)) { return true; } in operator <()
[all …]