Home
last modified time | relevance | path

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

/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);
/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);
/base/security/device_auth/frameworks/src/lite/
H A Dipc_callback_stub.c44 &(cbDataCache[i].val), &(cbDataCache[i].valSz)); in DoCallBack()
H A Dipc_dev_auth_stub.c104 ret = DecodeIpcData((uintptr_t)data, &(paramsCache[i].type), &(paramsCache[i].val), &(paramsCache[i].valSz)); in DecodeCallRequest()
125 ipcData->valSz = 0; in WithObject()
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()
/base/security/device_auth/frameworks/src/standard/
H A Dipc_callback_stub.cpp45 &(cbDataCache[i].val), &(cbDataCache[i].valSz)); in DoCallBack()
H A Dipc_adapt.cpp1393 int32_t DecodeIpcData(uintptr_t data, int32_t *type, uint8_t **val, int32_t *valSz) in DecodeIpcData() argument
1407 LOGE("Insufficient data available in IPC container. [Data]: valSz"); in DecodeIpcData()
1410 *valSz = dataPtr->ReadInt32(); in DecodeIpcData()
1411 if (*valSz > static_cast<int32_t>(dataPtr->GetReadableBytes())) { in DecodeIpcData()
1415 *val = const_cast<uint8_t *>(dataPtr->ReadUnpadBuffer(*valSz)); in DecodeIpcData()
1439 &(replyCache[i].type), &(replyCache[i].val), &(replyCache[i].valSz)); in DecodeCallReply()
1496 *cacheLen = ipcParams[i].valSz; in GetIpcRequestParamByType()
1501 if ((ipcParams[i].val == nullptr) || (ipcParams[i].valSz <= 0)) { in GetIpcRequestParamByType()
1505 eno = memcpy_s(paramCache, *cacheLen, ipcParams[i].val, ipcParams[i].valSz); in GetIpcRequestParamByType()
1509 *cacheLen = ipcParams[i].valSz; in GetIpcRequestParamByType()
[all...]
H A Dipc_dev_auth_stub.cpp145 &(paramsCache[i].val), &(paramsCache[i].valSz)); in DecodeCallRequest()
174 ipcData.valSz = sizeof(StubDevAuthCb); in WithObject()
/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()

Completed in 10 milliseconds