Home
last modified time | relevance | path

Searched refs:valSz (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/security/device_auth/frameworks/inc/standard/
H A Dipc_adapt.h33 int32_t valSz; member
79 int32_t DecodeIpcData(uintptr_t data, int32_t *type, uint8_t **val, int32_t *valSz);
/ohos5.0/base/security/device_auth/frameworks/inc/lite/
H A Dipc_adapt.h41 int32_t valSz; member
87 int32_t DecodeIpcData(uintptr_t data, int32_t *type, uint8_t **val, int32_t *valSz);
/ohos5.0/base/security/device_auth/frameworks/src/standard/
H A Dipc_adapt.cpp1377 int32_t DecodeIpcData(uintptr_t data, int32_t *type, uint8_t **val, int32_t *valSz) in DecodeIpcData() argument
1394 *valSz = dataPtr->ReadInt32(); in DecodeIpcData()
1395 if (*valSz > static_cast<int32_t>(dataPtr->GetReadableBytes())) { in DecodeIpcData()
1399 *val = const_cast<uint8_t *>(dataPtr->ReadUnpadBuffer(*valSz)); in DecodeIpcData()
1423 &(replyCache[i].type), &(replyCache[i].val), &(replyCache[i].valSz)); in DecodeCallReply()
1480 *cacheLen = ipcParams[i].valSz; in GetIpcRequestParamByType()
1485 if ((ipcParams[i].val == nullptr) || (ipcParams[i].valSz <= 0)) { in GetIpcRequestParamByType()
1489 eno = memcpy_s(paramCache, *cacheLen, ipcParams[i].val, ipcParams[i].valSz); in GetIpcRequestParamByType()
1493 *cacheLen = ipcParams[i].valSz; in GetIpcRequestParamByType()
H A Dipc_callback_stub.cpp45 &(cbDataCache[i].val), &(cbDataCache[i].valSz)); in DoCallBack()
H A Dipc_dev_auth_stub.cpp145 &(paramsCache[i].val), &(paramsCache[i].valSz)); in DecodeCallRequest()
174 ipcData.valSz = sizeof(StubDevAuthCb); in WithObject()
/ohos5.0/base/security/device_auth/frameworks/src/lite/
H A Dipc_callback_stub.c44 &(cbDataCache[i].val), &(cbDataCache[i].valSz)); in DoCallBack()
H A Dipc_adapt.c1485 int32_t DecodeIpcData(uintptr_t data, int32_t *type, uint8_t **val, int32_t *valSz) in DecodeIpcData() argument
1494 ReadUint32(dataPtr, (uint32_t *)valSz); in DecodeIpcData()
1495 *val = (uint8_t *)ReadBuffer(dataPtr, *valSz); in DecodeIpcData()
1513 &(replyCache[i].type), &(replyCache[i].val), &(replyCache[i].valSz)); in DecodeCallReply()
1570 *cacheLen = ipcParams[i].valSz; in GetIpcRequestParamByType()
1575 if ((ipcParams[i].val == NULL) || (ipcParams[i].valSz <= 0)) { in GetIpcRequestParamByType()
1579 eno = memcpy_s(paramCache, *cacheLen, ipcParams[i].val, ipcParams[i].valSz); in GetIpcRequestParamByType()
1583 *cacheLen = ipcParams[i].valSz; in GetIpcRequestParamByType()
H A Dipc_dev_auth_stub.c104 …deIpcData((uintptr_t)data, &(paramsCache[i].type), &(paramsCache[i].val), &(paramsCache[i].valSz)); in DecodeCallRequest()
125 ipcData->valSz = 0; in WithObject()
/ohos5.0/base/security/device_auth/frameworks/src/
H A Dipc_sdk.c107 eno = memcpy_s(outCache, *cacheLen, ipcData[i].val, ipcData[i].valSz); in GetIpcReplyByType()
111 *cacheLen = ipcData[i].valSz; in GetIpcReplyByType()