Searched refs:readBuffer (Results 1 - 9 of 9) sorted by relevance
/drivers/peripheral/pin_auth/hdi_service/common/src/ |
H A D | attribute.c | 193 const Uint8Array *readBuffer)
in ParseAttributeSerializedMsgInner() 205 if (length > readBuffer->len) {
in ParseAttributeSerializedMsgInner() 212 Uint8Array readData = { readBuffer->data, length };
in ParseAttributeSerializedMsgInner() 233 Uint8Array *readBuffer = CreateUint8ArrayBySize(MAX_EXECUTOR_MSG_LEN);
in ParseAttributeSerializedMsg() local 234 IF_TRUE_LOGE_AND_RETURN_VAL(readBuffer == NULL, RESULT_GENERAL_ERROR);
in ParseAttributeSerializedMsg() 236 ResultCode result = ParseAttributeSerializedMsgInner(attribute, msg, readBuffer);
in ParseAttributeSerializedMsg() 240 DestroyUint8Array(&readBuffer);
in ParseAttributeSerializedMsg() 192 ParseAttributeSerializedMsgInner(Attribute *attribute, const Uint8Array msg, const Uint8Array *readBuffer) ParseAttributeSerializedMsgInner() argument
|
/drivers/hdf_core/interfaces/inner_api/core/ |
H A D | hdf_io_service.h | 44 uint64_t readBuffer; member
|
/drivers/peripheral/user_auth/hdi_service/utils/src/ |
H A D | attribute.c | 196 const Uint8Array *readBuffer)
in ParseAttributeSerializedMsgInner() 207 IF_TRUE_LOGE_AND_RETURN_VAL(length > readBuffer->len, GENERAL_ERROR);
in ParseAttributeSerializedMsgInner() 209 Uint8Array readData = { readBuffer->data, length };
in ParseAttributeSerializedMsgInner() 224 Uint8Array *readBuffer = CreateUint8ArrayBySize(MAX_EXECUTOR_MSG_LEN);
in ParseAttributeSerializedMsg() local 225 IF_TRUE_LOGE_AND_RETURN_VAL(readBuffer == NULL, GENERAL_ERROR);
in ParseAttributeSerializedMsg() 227 ResultCode result = ParseAttributeSerializedMsgInner(attribute, msg, readBuffer);
in ParseAttributeSerializedMsg() 231 DestroyUint8Array(&readBuffer);
in ParseAttributeSerializedMsg() 195 ParseAttributeSerializedMsgInner(Attribute *attribute, const Uint8Array msg, const Uint8Array *readBuffer) ParseAttributeSerializedMsgInner() argument
|
/drivers/hdf_core/framework/core/adapter/syscall/src/ |
H A D | hdf_syscall_adapter.c | 67 OsalMemFree((void *)(uintptr_t)buffer->readBuffer); in HdfDevEventGrowReadBuffer() 68 buffer->readBuffer = (uintptr_t)newBuff; in HdfDevEventGrowReadBuffer() 99 sbuf = HdfSbufBind(bwr->readBuffer, bwr->readConsumed); in HdfDevEventDispatchLocked() 142 bwr.readBuffer = (uintptr_t)OsalMemAlloc(HDF_DEFAULT_BWR_READ_SIZE); in HdfDevEventReadAndDispatch() 143 if (bwr.readBuffer == (uintptr_t)NULL) { in HdfDevEventReadAndDispatch() 185 OsalMemFree((void *)(uintptr_t)bwr.readBuffer); in HdfDevEventReadAndDispatch() 690 wrBuf.readBuffer = (uintptr_t)HdfSbufGetData(reply); in HdfSyscallAdapterDispatch() 693 wrBuf.readBuffer = 0; in HdfSyscallAdapterDispatch()
|
/drivers/hdf_core/framework/utils/include/ |
H A D | hdf_sbuf_impl.h | 44 bool (*readBuffer)(struct HdfSBufImpl *sbuf, const uint8_t **data, uint32_t *readSize); member
|
/drivers/hdf_core/framework/utils/src/ |
H A D | hdf_sbuf.c | 127 HDF_SBUF_IMPL_CHECK_RETURN(sbuf, readBuffer, false); in HdfSbufReadBuffer() 128 return sbuf->impl->readBuffer(sbuf->impl, (const uint8_t **)data, readSize); in HdfSbufReadBuffer()
|
H A D | hdf_sbuf_impl_raw.c | 494 .readBuffer = SbufRawImplReadBuffer, in SbufInterfaceAssign()
|
/drivers/hdf_core/framework/core/adapter/vnode/src/ |
H A D | hdf_vnode_adapter.c | 175 HDF_LOGE("%s: readBuffer too small %zu", __func__, sbufSize); in HdfSbufCopyToUser() 238 if (bwr.readSize != 0 && HdfSbufCopyToUser(reply, (void*)(uintptr_t)bwr.readBuffer, bwr.readSize) != HDF_SUCCESS) { in HdfVNodeAdapterServCall() 262 if (HdfSbufCopyToUser(event->data, (void *)(uintptr_t)bwr->readBuffer, bwr->readSize) != HDF_SUCCESS) { in EventDataProcess()
|
/drivers/hdf_core/adapter/uhdf2/ipc/src/ |
H A D | hdf_sbuf_impl_hipc.cpp | 345 inf->readBuffer = SbufMParcelImplReadBuffer; in MParcelImplInterfaceAssign()
|
Completed in 10 milliseconds