Searched refs:NO_MEMORY (Results 1 – 15 of 15) sorted by relevance
/system/security/keystore/ |
D | keystore_attestation_id.cpp | 154 if (!attestation_package_info.get()) return NO_MEMORY; in build_attestation_package_info() 170 return NO_MEMORY; in build_attestation_package_info() 224 return NO_MEMORY; in build_attestation_application_id() 248 if (!asn1_item) return NO_MEMORY; in build_attestation_application_id() 253 return NO_MEMORY; in build_attestation_application_id()
|
/system/core/libutils/ |
D | String16.cpp | 186 return NO_MEMORY; in setTo() 203 __builtin_mul_overflow(size, sizeof(char16_t), &size)) return NO_MEMORY; in append() 206 if (!buf) return NO_MEMORY; in append() 231 __builtin_mul_overflow(size, sizeof(char16_t), &size)) return NO_MEMORY; in insert() 234 if (!buf) return NO_MEMORY; in insert() 363 return NO_MEMORY; in replaceAll()
|
D | String8.cpp | 223 return NO_MEMORY; in setTo() 234 return NO_MEMORY; in setTo() 245 return NO_MEMORY; in setTo() 256 return NO_MEMORY; in setTo() 318 return NO_MEMORY; in appendFormatV() 324 result = NO_MEMORY; in appendFormatV() 338 return NO_MEMORY; in real_append() 372 return NO_MEMORY; in unlockBuffer()
|
D | String8_test.cpp | 79 EXPECT_EQ(NO_MEMORY, String8("").setTo(in, SIZE_MAX)); in TEST_F() 114 EXPECT_EQ(NO_MEMORY, s.append("baz", SIZE_MAX)); in TEST_F()
|
D | Errors.cpp | 28 STATUS_CASE(NO_MEMORY); in statusToString()
|
D | VectorImpl.cpp | 132 return where ? index : (ssize_t)NO_MEMORY; in insertArrayAt() 157 return where ? index : (ssize_t)NO_MEMORY; in insertAt() 188 if (!array) return NO_MEMORY; in sort() 190 if (!temp) return NO_MEMORY; in sort() 269 return NO_MEMORY; in replaceAt() 351 return NO_MEMORY; in setCapacity()
|
D | String16_test.cpp | 208 EXPECT_EQ(NO_MEMORY, s.append(u"baz", SIZE_MAX)); in TEST() 230 EXPECT_EQ(NO_MEMORY, s.insert(3, u"", SIZE_MAX)); in TEST()
|
/system/libhwbinder/ |
D | BufferedTextOutput.cpp | 54 if (len > SIZE_MAX - bufferPos) return NO_MEMORY; // overflow in append() 56 if ((len + bufferPos) > SIZE_MAX / 3) return NO_MEMORY; // overflow in append() 59 if (!b) return NO_MEMORY; in append()
|
D | Parcel.cpp | 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() [all …]
|
D | BpHwBinder.cpp | 139 return NO_MEMORY; in linkToDeath()
|
/system/security/keystore2/aaid/ |
D | aaid.cpp | 34 return ::android::NO_MEMORY; in aaid_keystore_attestation_id()
|
/system/core/libutils/include/utils/ |
D | Errors.h | 49 NO_MEMORY = -ENOMEM, enumerator
|
D | Flattenable.h | 207 if (size < sizeof(T)) return NO_MEMORY; in flatten()
|
/system/libfmq/ |
D | EventFlag.cpp | 40 status_t status = NO_MEMORY; in createEventFlag() 61 status_t status = NO_MEMORY; in createEventFlag()
|
/system/iorap/include/binder/ |
D | app_launch_event.h | 221 return unexpected(::android::NO_MEMORY); in ReadProto()
|