Home
last modified time | relevance | path

Searched refs:handleToIndex (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/ipc/ipc/native/c/rpc/ipc_adapter/mini/
H A Dipc_proxy_inner.c166 HandleToIndexList *handleToIndex = (HandleToIndexList *)malloc(sizeof(HandleToIndexList)); in GetSessionFromDBinderService() local
167 if (handleToIndex == NULL) { in GetSessionFromDBinderService()
172 handleToIndex->handle = svc->handle; in GetSessionFromDBinderService()
173 handleToIndex->index = session->stubIndex; in GetSessionFromDBinderService()
175 if (AttachHandleToIndex(handleToIndex) != ERR_NONE) { in GetSessionFromDBinderService()
178 free(handleToIndex); in GetSessionFromDBinderService()
185 DetachHandleToIndex(handleToIndex); in GetSessionFromDBinderService()
187 free(handleToIndex); in GetSessionFromDBinderService()
/ohos5.0/foundation/communication/ipc/ipc/native/c/rpc/ipc_adapter/small/
H A Dipc_proxy_inner.c47 HandleToIndexList *handleToIndex = (HandleToIndexList *)malloc(sizeof(HandleToIndexList)); in UpdateDatabusClientSession() local
48 if (handleToIndex == NULL) { in UpdateDatabusClientSession()
53 handleToIndex->handle = handle; in UpdateDatabusClientSession()
54 handleToIndex->index = stubIndex; in UpdateDatabusClientSession()
56 if (AttachHandleToIndex(handleToIndex) != ERR_NONE) { in UpdateDatabusClientSession()
59 free(handleToIndex); in UpdateDatabusClientSession()
65 DetachHandleToIndex(handleToIndex); in UpdateDatabusClientSession()
67 free(handleToIndex); in UpdateDatabusClientSession()
/ohos5.0/foundation/communication/ipc/ipc/native/c/rpc/include/
H A Drpc_process_skeleton.h125 int32_t AttachHandleToIndex(HandleToIndexList *handleToIndex);
126 void DetachHandleToIndex(HandleToIndexList *handleToIndex);
/ohos5.0/foundation/communication/ipc/ipc/native/c/rpc/src/
H A Drpc_process_skeleton.c320 int32_t AttachHandleToIndex(HandleToIndexList *handleToIndex) in AttachHandleToIndex() argument
323 UtilsListAdd(&g_handleToIndexList.list, &handleToIndex->list); in AttachHandleToIndex()
328 void DetachHandleToIndex(HandleToIndexList *handleToIndex) in DetachHandleToIndex() argument
331 UtilsListDelete(&handleToIndex->list); in DetachHandleToIndex()
H A Ddbinder_invoker.c138 HandleToIndexList *handleToIndex = QueryHandleToIndex(handle); in ProcessNormalData() local
139 if (handleToIndex == NULL) { in ProcessNormalData()
143 transData->cookie = handleToIndex->index; in ProcessNormalData()