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

/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp205 Rational(void) : _n(0), _d(1) {}
206 Rational(uint32_t n, uint32_t d) : _n(n), _d(d) {}
207 uint32_t numerator(void) { return _n; }
209 void setNumerator(uint32_t numerator) { _n = numerator; }
221 operator double() const { return (double) _n / (double) _d; }
225 uint32_t _n; member in class:Rational
1340 if (((uint64_t) _n * other._d)
1341 == ((uint64_t) _d * other._n)) { return true; }
1348 if (((uint64_t) _n * other._d)
1349 < ((uint64_t) _d * other._n)) { retur
[all...]

Completed in 46 milliseconds