Home
last modified time | relevance | path

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

/ohos5.0/base/security/device_auth/frameworks/src/lite/
H A Dipc_callback_proxy.c33 replyDst->bufferLeft = sizeof(int32_t); in CbProxyFormReplyData()
37 LOGI("with reply data, length(%zu), flag(%u)", replySrc->bufferLeft, replySrc->flag); in CbProxyFormReplyData()
38 …eno = memcpy_s(replyDst->bufferCur, replyDst->bufferLeft, replySrc->bufferCur, replySrc->bufferLef… in CbProxyFormReplyData()
44 replyDst->bufferLeft = replySrc->bufferLeft; in CbProxyFormReplyData()
45 LOGI("out reply data, length(%zu)", replyDst->bufferLeft); in CbProxyFormReplyData()
H A Dipc_dev_auth_proxy.c116 eno = memcpy_s(dstReply->bufferCur, dstReply->bufferLeft, reply->bufferCur, reply->bufferLeft); in CliInvokeRetCallback()
120 dstReply->bufferLeft = 0; in CliInvokeRetCallback()
123 dstReply->bufferLeft = reply->bufferLeft; in CliInvokeRetCallback()
124 LOGI("done, reply data length %zu", dstReply->bufferLeft); in CliInvokeRetCallback()
H A Dipc_adapt.c1490 if (dataPtr->bufferLeft <= 0) { in DecodeIpcData()
/ohos5.0/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
H A Dhks_samgr_client_proxy.c88 …if (memcpy_s(curReply->io->bufferCur, curReply->io->bufferLeft, reply->bufferCur, reply->bufferLef… in CurrentCallback()
89 …OG_E("data copy for curReply failed, cur size is %zu, reply size is %zu", curReply->io->bufferLeft, in CurrentCallback()
90 reply->bufferLeft); in CurrentCallback()
92 curReply->io->bufferLeft = 0; in CurrentCallback()
96 curReply->io->bufferLeft = reply->bufferLeft; in CurrentCallback()
/ohos5.0/foundation/communication/ipc/ipc/native/c/manager/src/
H A Dserializer.c50 io->bufferLeft = 0; in IpcIoInit()
76 if (size > io->bufferLeft) { in IoPush()
83 io->bufferLeft -= size; in IoPush()
94 if (io->bufferLeft < size) { in IoPop()
95 io->bufferLeft = 0; in IoPop()
101 io->bufferLeft -= size; in IoPop()
110 if (size > io->bufferLeft) { in IoPushUnaligned()
116 io->bufferLeft -= size; in IoPushUnaligned()
413 if (io->bufferLeft < size) { in IoPopUnaligned()
414 io->bufferLeft = 0; in IoPopUnaligned()
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/c/ipc/src/linux/
H A Dipc_invoker.c159 data->bufferLeft = (size_t)tr->data_size; in ToIpcData()
422 data->bufferLeft = data->bufferCur - data->bufferBase; in InternalRequest()
437 reply->bufferLeft = reply->bufferCur - reply->bufferBase; in InternalRequest()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/c/ipc/include/
H A Dserializer.h32 size_t bufferLeft; member
/ohos5.0/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_a/
H A Dipc_invoker.c149 io->bufferLeft = msg->dataSz; in IpcIoInitFromMsg()
/ohos5.0/foundation/communication/ipc/ipc/native/c/rpc/src/
H A Ddbinder_invoker.c89 data->bufferLeft = (size_t)tr->buffer_size; in ToIpcData()