Searched refs:objOffset (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | message_parcel.cpp | 171 size_t objOffset = offset + sizeof(binder_buffer_object); in UpdateDBinderDataOffset() local 172 if (!WriteObjectOffset(objOffset)) { in UpdateDBinderDataOffset() 174 … ZLOGE(LOG_LABEL, "update obj offset:%{public}zu fail, ptr offset:%{public}zu", objOffset, offset); in UpdateDBinderDataOffset() 177 … ZLOGI(LOG_LABEL, "update obj offset:%{public}zu, ptr offset:%{public}zu", objOffset, offset); in UpdateDBinderDataOffset()
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/source/ |
H A D | binder_invoker.cpp | 203 binder_size_t *objOffset = reinterpret_cast<binder_size_t *>(parcel.GetObjectOffsets()); in TranslateDBinderProxy() local 205 auto flat = reinterpret_cast<flat_binder_object *>(dataOffset + *(objOffset + i)); in TranslateDBinderProxy() 404 binder_size_t *objOffset = reinterpret_cast<binder_size_t *>(parcel.GetObjectOffsets()); in TranslateDBinderStub() local 408 auto obj = reinterpret_cast<binder_buffer_object *>(dataBuf + objOffset[i]); in TranslateDBinderStub() 417 if ((i >= objCount) || (objOffset[i] + sizeof(flat_binder_object) > totalSize)) { in TranslateDBinderStub() 419 i, objCount, objOffset[i], totalSize); in TranslateDBinderStub() 422 auto flat = reinterpret_cast<flat_binder_object *>(dataBuf + objOffset[i]); in TranslateDBinderStub()
|