Home
last modified time | relevance | path

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

/frameworks/native/libs/gralloc/types/
DGralloc4.cpp52 static inline bool hasAdditionOverflow(size_t a, size_t b) { in hasAdditionOverflow() function
83 if (hasAdditionOverflow(mNeededResize, size)) { in encode()
97 if (hasAdditionOverflow(mOffset, size) || (mVec->size() < size + mOffset)) { in encode()
135 if (!mVec || hasAdditionOverflow(mOffset, size) || mOffset + size > mVec->size()) { in decode()
146 if (!mVec || hasAdditionOverflow(mOffset, size) || mOffset + size > mVec->size()) { in decode()