Lines Matching refs:NO_MEMORY
680 if (mObjectsSize > SIZE_MAX - 2) return NO_MEMORY; // overflow in writeObject()
681 if (mObjectsSize + 2 > SIZE_MAX / 3) return NO_MEMORY; // overflow in writeObject()
683 if (newSize > SIZE_MAX / sizeof(binder_size_t)) return NO_MEMORY; // overflow in writeObject()
685 if (objects == nullptr) return NO_MEMORY; in writeObject()
1747 if (len > SIZE_MAX - mDataSize) return NO_MEMORY; // overflow in growData()
1748 if (mDataSize + len > SIZE_MAX / 3) return NO_MEMORY; // overflow in growData()
1783 mError = NO_MEMORY; in restartWrite()
1784 return NO_MEMORY; in restartWrite()
1854 mError = NO_MEMORY; in continueWrite()
1855 return NO_MEMORY; in continueWrite()
1864 mError = NO_MEMORY; in continueWrite()
1865 return NO_MEMORY; in continueWrite()
1940 mError = NO_MEMORY; in continueWrite()
1941 return NO_MEMORY; in continueWrite()
1958 mError = NO_MEMORY; in continueWrite()
1959 return NO_MEMORY; in continueWrite()