Home
last modified time | relevance | path

Searched refs:flat_binder_object (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/communication/ipc/ipc/native/c/ipc/src/linux/
H A Dserializer_inner.c24 static struct flat_binder_object *IoPushBinderObj(IpcIo *io) in IoPushBinderObj()
30 struct flat_binder_object *ptr = NULL; in IoPushBinderObj()
31 ptr = IoPush(io, sizeof(struct flat_binder_object)); in IoPushBinderObj()
45 struct flat_binder_object *ptr = IoPushBinderObj(io); in IpcIoPushObject()
59 struct flat_binder_object *ptr = IoPushBinderObj(io); in IpcIoPushRef()
71 static struct flat_binder_object *IpcIoPopRef(IpcIo *io) in IpcIoPopRef()
81 …struct flat_binder_object *obj = (struct flat_binder_object *)IoPop(io, sizeof(struct flat_binder_… in IpcIoPopRef()
110 struct flat_binder_object *obj = IpcIoPopRef(io); in ReadRemoteObject()
133 struct flat_binder_object *ptr = IoPushBinderObj(io); in WriteFileDescriptor()
151 struct flat_binder_object *obj = IpcIoPopRef(io); in ReadFileDescriptor()
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dmessage_parcel.cpp53 void AcquireObject(flat_binder_object *flat, const void *cookie) in AcquireObject()
284 const flat_binder_object *flat = nullptr; in ClearFileDescriptor()
292 dataOffset = object[i] + sizeof(flat_binder_object); in ClearFileDescriptor()
303 flat = reinterpret_cast<flat_binder_object *>(data + object[i]); in ClearFileDescriptor()
314 const flat_binder_object *flat = nullptr; in ContainFileDescriptors()
322 dataOffset = object[i] + sizeof(flat_binder_object); in ContainFileDescriptors()
333 flat = reinterpret_cast<flat_binder_object *>(data + object[i]); in ContainFileDescriptors()
583flat_binder_object *flat = reinterpret_cast<flat_binder_object *>(this->GetData() + offset); in Append()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_ashmem_helper.cpp189 const flat_binder_object* flat = reinterpret_cast<flat_binder_object*>(data + object[i]); in CopyFileDescriptor()
204 if (object[i] + sizeof(flat_binder_object) > dataParcel->GetDataSize()) { in InjectFileDescriptor()
208 flat_binder_object* flat = reinterpret_cast<flat_binder_object*>(data + object[i]); in InjectFileDescriptor()
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/include/
H A Ddbinder_base_invoker_define.h105 …uint32_t TranslateBinderType(flat_binder_object *binderObject, char *sessionOffset, std::shared_pt…
106 …uint32_t TranslateHandleType(flat_binder_object *binderObject, char *sessionOffset, std::shared_pt…
107 void ClearBinderType(flat_binder_object *binderObject);
108 void ClearHandleType(flat_binder_object *binderObject);
109 …bool TranslateRemoteHandleType(flat_binder_object *binderObject, char *sessionOffset, uint32_t bin…
H A Ddbinder_base_invoker_object.h24 flat_binder_object *binderObject, char *sessionOffset, std::shared_ptr<T> session) in TranslateBinderType()
37 template<class T> void DBinderBaseInvoker<T>::ClearBinderType(flat_binder_object *binderObject) in ClearBinderType()
45 flat_binder_object *binderObject, char *sessionOffset, std::shared_ptr<T> session) in TranslateHandleType()
67 template<class T> void DBinderBaseInvoker<T>::ClearHandleType(flat_binder_object *binderObject) in ClearHandleType()
75 flat_binder_object *binderObject, char *sessionOffset, uint32_t binderVersion) in TranslateRemoteHandleType()
125 …auto binderObject = reinterpret_cast<flat_binder_object *>(dataBuffer + *(binderObjectsOffsets + i… in IRemoteObjectTranslateWhenSend()
173 …auto binderObject = reinterpret_cast<flat_binder_object *>(dataBuffer + *(binderObjectsOffsets + i… in IRemoteObjectTranslateWhenRcv()
H A Dsys_binder.h56 struct flat_binder_object { struct
156 #define BINDER_SET_CONTEXT_MGR_EXT _IOW('b', 13, struct flat_binder_object)
262 BC_TRANSLATION = _IOW('c', 21, struct flat_binder_object),
H A Dbinder_invoker.h242 bool AddCommAuth(int32_t handle, flat_binder_object *flat);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_ashmem_helper_test.cpp64 dataParcel->objectOffsets_[1] = sizeof(flat_binder_object); in CreateMessageParcel()
68 size_t dataSize = offsetsSize * sizeof(flat_binder_object); in CreateMessageParcel()
77 flat_binder_object* flat = reinterpret_cast<flat_binder_object*>(data + object[i]); in CreateMessageParcel()
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/source/
H A Dbinder_invoker.cpp330 bool BinderInvoker::AddCommAuth(int32_t handle, flat_binder_object *flat) in AddCommAuth()
422 auto flat = reinterpret_cast<flat_binder_object *>(dataBuf + objOffset[i]); in TranslateDBinderStub()
1329 flat_binder_object flat = { in SetRegistryObject()
1489 flat_binder_object flat; in FlattenObject()
1508 bool status = parcel.WriteBuffer(&flat, sizeof(flat_binder_object)); in FlattenObject()
1525 const uint8_t *buffer = parcel.ReadBuffer(sizeof(flat_binder_object), false); in UnflattenObject()
1536 auto *flat = reinterpret_cast<const flat_binder_object *>(buffer); in UnflattenObject()
1568 const uint8_t *buffer = parcel.ReadBuffer(sizeof(flat_binder_object), false); in ReadFileDescriptor()
1574 auto *flat = reinterpret_cast<const flat_binder_object *>(buffer); in ReadFileDescriptor()
1587 flat_binder_object flat; in WriteFileDescriptor()
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dbinder_invoker_unittest.cpp103 flat_binder_object tr {};
106 parcel.WriteBuffer(&tr, sizeof(flat_binder_object));
133 flat_binder_object tr {};
136 parcel.WriteBuffer(&tr, sizeof(flat_binder_object));
/ohos5.0/foundation/communication/ipc/ipc/native/c/ipc/src/linux/include/
H A Dsys_binder.h65 struct flat_binder_object { struct
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/
H A Drs_render_service_connection_stub.cpp177 const flat_binder_object* flat = reinterpret_cast<flat_binder_object*>(data + object[i]); in CopyFileDescriptor()
178flat_binder_object* copiedFlat = reinterpret_cast<flat_binder_object*>(copiedData + copiedObject[i… in CopyFileDescriptor()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_base.cpp534 … const flat_binder_object* flat = reinterpret_cast<flat_binder_object*>(parcelData + object[i]); in MarshalRenderModifier()