Searched refs:haySize (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h69 // needle is in range [hayStart, hayStart + haySize)
72 inline static bool isInRange(const T &hayStart, const U &haySize, const T &needle) { argument
74 return (T)(hayStart + haySize) >= hayStart && needle >= hayStart && (U)(needle - hayStart) < haySize;
77 // [needleStart, needleStart + needleSize) is in range [hayStart, hayStart + haySize)
81 const T &hayStart, const U &haySize, const T &needleStart, const U &needleSize) {
83 return isInRange(hayStart, haySize, needleStart)
85 && (U)(needleStart + needleSize - hayStart) <= haySize;
80 isInRange( const T &hayStart, const U &haySize, const T &needleStart, const U &needleSize) argument
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DAUtils.h69 // needle is in range [hayStart, hayStart + haySize)
72 inline static bool isInRange(const T &hayStart, const U &haySize, const T &needle) { argument
74 return (T)(hayStart + haySize) >= hayStart && needle >= hayStart && (U)(needle - hayStart) < haySize;
77 // [needleStart, needleStart + needleSize) is in range [hayStart, hayStart + haySize)
81 const T &hayStart, const U &haySize, const T &needleStart, const U &needleSize) {
83 return isInRange(hayStart, haySize, needleStart)
85 && (U)(needleStart + needleSize - hayStart) <= haySize;
80 isInRange( const T &hayStart, const U &haySize, const T &needleStart, const U &needleSize) argument
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DAUtils.h69 // needle is in range [hayStart, hayStart + haySize)
72 inline static bool isInRange(const T &hayStart, const U &haySize, const T &needle) { argument
74 return (T)(hayStart + haySize) >= hayStart && needle >= hayStart && (U)(needle - hayStart) < haySize;
77 // [needleStart, needleStart + needleSize) is in range [hayStart, hayStart + haySize)
81 const T &hayStart, const U &haySize, const T &needleStart, const U &needleSize) {
83 return isInRange(hayStart, haySize, needleStart)
85 && (U)(needleStart + needleSize - hayStart) <= haySize;
80 isInRange( const T &hayStart, const U &haySize, const T &needleStart, const U &needleSize) argument

Completed in 7 milliseconds