Home
last modified time | relevance | path

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

/aosp12/system/media/audio_utils/include/audio_utils/
H A Dsafe_math.h42 auto safe_add_overflow(const T& a, const U& b) { in safe_add_overflow() function
/aosp12/frameworks/av/services/audioflinger/
H A DThreads.cpp7882 mRsmpInRear = audio_utils::safe_add_overflow(mRsmpInRear, (int32_t)framesRead); in threadLoop()
8825 mRsmpInFront = audio_utils::safe_add_overflow(mRsmpInFront, stepCount); in releaseBuffer()