Searched refs:dataBuf (Results 1 – 3 of 3) sorted by relevance
/base/hiviewdfx/hiview_lite/ |
D | hiview_util.c | 242 uint8 *dataBuf = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, BUFFER_SIZE); in HIVIEW_FileCopy() local 243 if (dataBuf == NULL) { in HIVIEW_FileCopy() 247 int32 nLen = HIVIEW_FileRead(fdSrc, dataBuf, BUFFER_SIZE); in HIVIEW_FileCopy() 249 if (HIVIEW_FileWrite(fdDest, dataBuf, nLen) != nLen) { in HIVIEW_FileCopy() 252 nLen = HIVIEW_FileRead(fdSrc, dataBuf, BUFFER_SIZE); in HIVIEW_FileCopy() 257 free(dataBuf); in HIVIEW_FileCopy()
|
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
D | hks_samgr_client_proxy.c | 90 uint8_t *dataBuf = HksMalloc(len); in CurrentCallback() local 91 if (dataBuf == NULL) { in CurrentCallback() 95 if (memcpy_s(dataBuf, len, buffRsv->buff, len) != EOK) { in CurrentCallback() 96 HKS_FREE_PTR(dataBuf); in CurrentCallback() 102 g_outBlob.data = dataBuf; in CurrentCallback()
|
/base/security/device_auth/frameworks/src/lite/ |
D | ipc_adapt.c | 688 uint8_t dataBuf[IPC_STACK_BUFF_SZ] = { 0 }; in GaCbOnTransmitWithType() local 692 IpcIoInit(&reply, (void *)dataBuf, sizeof(dataBuf), 0); in GaCbOnTransmitWithType() 890 uint8_t dataBuf[IPC_STACK_BUFF_SZ] = { 0 }; in GaCbOnRequestWithType() local 895 IpcIoInit(&reply, (void *)dataBuf, sizeof(dataBuf), 0); in GaCbOnRequestWithType()
|