Home
last modified time | relevance | path

Searched refs:RETURN_ON_FAILURE (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/binder/
DParcelableHolder.cpp21 #define RETURN_ON_FAILURE(expr) \ macro
30 RETURN_ON_FAILURE(p->writeInt32(static_cast<int32_t>(this->getStability()))); in writeToParcel()
32 RETURN_ON_FAILURE(p->writeInt32(this->mParcelPtr->dataSize())); in writeToParcel()
33 RETURN_ON_FAILURE(p->appendFrom(this->mParcelPtr.get(), 0, this->mParcelPtr->dataSize())); in writeToParcel()
38 RETURN_ON_FAILURE(p->writeInt32(0)); in writeToParcel()
40 RETURN_ON_FAILURE(p->writeString16(this->mParcelableName)); in writeToParcel()
45 RETURN_ON_FAILURE(p->writeInt32(dataSize)); in writeToParcel()
50 RETURN_ON_FAILURE(p->writeInt32(0)); in writeToParcel()
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_parcelable_utils.h38 #define RETURN_ON_FAILURE(expr) \ macro
69 RETURN_ON_FAILURE(AParcel_writeInt32(parcel, static_cast<int32_t>(this->mStability)));
76 RETURN_ON_FAILURE(AParcel_writeInt32(parcel, size));
86 RETURN_ON_FAILURE(AParcel_appendFrom(this->mParcel.get(), parcel, 0, size));
105 RETURN_ON_FAILURE(AParcel_readInt32(parcel, &wireStability));
210 #undef RETURN_ON_FAILURE