Searched refs:hasAdditionOverflow (Results 1 – 1 of 1) sorted by relevance
52 static inline bool hasAdditionOverflow(size_t a, size_t b) { in hasAdditionOverflow() function83 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()