Searched refs:Modulo (Results 1 – 8 of 8) sorted by relevance
85 template <typename T> class Modulo {92 Modulo() { } // intentionally uninitialized data in Modulo() function93 Modulo(const T &value) { mValue = value; } // NOLINT in Modulo() function102 Modulo<T> operator +=(const Modulo<S> &other) {110 Modulo<T> operator -=(const Modulo<S> &other) {120 const Modulo<T> operator +(const Modulo<S> &other) const {122 return Modulo<T>(mValue + other.unsignedValue());127 const Modulo<T> operator -(const Modulo<S> &other) const {129 return Modulo<T>(mValue - other.unsignedValue());139 bool operator >(const Modulo<S> &other) const {[all …]
1250 Modulo<uint32_t> updateAndGetPosition_l();1382 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units1384 Modulo<uint32_t> mNewPosition; // in frames1387 Modulo<uint32_t> mServer; // in frames, last known mProxy->getPosition()1391 Modulo<uint32_t> mPosition; // in frames, like mServer except continues1394 Modulo<uint32_t> mReleased; // count of frames released to server
670 status_t createRecord_l(const Modulo<uint32_t> &epoch);706 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units708 Modulo<uint32_t> mNewPosition; // in frames
385 Modulo<uint32_t> getPosition() {389 void setEpoch(const Modulo<uint32_t> &epoch) {405 Modulo<uint32_t> getEpoch() const {433 Modulo<uint32_t> mEpoch;573 return (Modulo<int32_t>(rear) - front).unsignedValue();
774 status_t AudioRecord::createRecord_l(const Modulo<uint32_t> &epoch) in createRecord_l()1300 Modulo<uint32_t> position(mProxy->getPosition()); in processAudioBuffer()1304 Modulo<uint32_t> markerPosition(mMarkerPosition); in processAudioBuffer()1312 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer()1538 Modulo<uint32_t> position(mProxy->getPosition()); in restoreRecord_l()
2448 Modulo<uint32_t> position(updateAndGetPosition_l()); in processAudioBuffer()2452 Modulo<uint32_t> markerPosition(mMarkerPosition); in processAudioBuffer()2460 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer()2975 Modulo<uint32_t> AudioTrack::updateAndGetPosition_l() in updateAndGetPosition_l()2978 Modulo<uint32_t> newServer(mProxy->getPosition()); in updateAndGetPosition_l()3445 int32_t deltaPosition = (Modulo<uint32_t>(timestamp.mPosition) in getTimestamp_l()3714 int32_t diff = (Modulo<uint32_t>(mFramesWritten) - mPosition).signedValue(); in pendingDuration()
1035 summary: Modulo
1869 * fmod: Modulo