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

/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp206 Rational(void) : _n(0), _d(1) {}
207 Rational(uint32_t n, uint32_t d) : _n(n), _d(d) {}
209 uint32_t denominator(void) { return _d; }
222 operator double() const { return (double) _n / (double) _d; }
227 uint32_t _d; member in class:Rational
1342 if (((uint64_t) _n * other._d)
1343 == ((uint64_t) _d * other._n)) { return true; }
1350 if (((uint64_t) _n * other._d)
1351 < ((uint64_t) _d * other._n)) { return true; }
1360 out << _n << '/' << _d; local
[all...]

Completed in 23 milliseconds