Lines Matching refs:NO_MEMORY
437 if ((size_t) numObjects > SIZE_MAX - mObjectsSize) return NO_MEMORY; // overflow in appendFrom()
438 if (mObjectsSize + numObjects > SIZE_MAX / 3) return NO_MEMORY; // overflow in appendFrom()
440 if (newSize > SIZE_MAX / sizeof(binder_size_t)) return NO_MEMORY; // overflow in appendFrom()
444 return NO_MEMORY; in appendFrom()
758 return NO_MEMORY; in writeUtf8AsUtf16()
1263 if (!ptr) return NO_MEMORY; in writeBlob()
1271 if (fd < 0) return NO_MEMORY; in writeBlob()
1390 if (mObjectsSize > SIZE_MAX - 2) return NO_MEMORY; // overflow in writeObject()
1391 if ((mObjectsSize + 2) > SIZE_MAX / 3) return NO_MEMORY; // overflow in writeObject()
1393 if (newSize > SIZE_MAX / sizeof(binder_size_t)) return NO_MEMORY; // overflow in writeObject()
1395 if (objects == nullptr) return NO_MEMORY; in writeObject()
2340 if (ptr == MAP_FAILED) return NO_MEMORY; in readBlob()
2625 if (len > SIZE_MAX - mDataSize) return NO_MEMORY; // overflow in growData()
2626 if (mDataSize + len > SIZE_MAX / 3) return NO_MEMORY; // overflow in growData()
2629 ? (status_t) NO_MEMORY in growData()
2648 mError = NO_MEMORY; in restartWrite()
2649 return NO_MEMORY; in restartWrite()
2717 mError = NO_MEMORY; in continueWrite()
2718 return NO_MEMORY; in continueWrite()
2727 mError = NO_MEMORY; in continueWrite()
2728 return NO_MEMORY; in continueWrite()
2808 mError = NO_MEMORY; in continueWrite()
2809 return NO_MEMORY; in continueWrite()
2826 mError = NO_MEMORY; in continueWrite()
2827 return NO_MEMORY; in continueWrite()