Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore_attestation_id.cpp154 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/
DString16.cpp186 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()
DString8.cpp223 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()
DString8_test.cpp79 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()
DErrors.cpp28 STATUS_CASE(NO_MEMORY); in statusToString()
DVectorImpl.cpp132 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()
DString16_test.cpp208 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/
DBufferedTextOutput.cpp54 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()
DParcel.cpp680 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 …]
DBpHwBinder.cpp139 return NO_MEMORY; in linkToDeath()
/system/security/keystore2/aaid/
Daaid.cpp34 return ::android::NO_MEMORY; in aaid_keystore_attestation_id()
/system/core/libutils/include/utils/
DErrors.h49 NO_MEMORY = -ENOMEM, enumerator
DFlattenable.h207 if (size < sizeof(T)) return NO_MEMORY; in flatten()
/system/libfmq/
DEventFlag.cpp40 status_t status = NO_MEMORY; in createEventFlag()
61 status_t status = NO_MEMORY; in createEventFlag()
/system/iorap/include/binder/
Dapp_launch_event.h221 return unexpected(::android::NO_MEMORY); in ReadProto()