Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAUtils.h72 inline static bool isInRange(const T &hayStart, const U &haySize, const T &needle) { in isInRange() argument
74 …return (T)(hayStart + haySize) >= hayStart && needle >= hayStart && (U)(needle - hayStart) < haySi… in isInRange()
81 const T &hayStart, const U &haySize, const T &needleStart, const U &needleSize) { in isInRange() argument
83 return isInRange(hayStart, haySize, needleStart) in isInRange()
85 && (U)(needleStart + needleSize - hayStart) <= haySize; in isInRange()