Home
last modified time | relevance | path

Searched refs:dataBuf (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/hiview_lite/
Dhiview_util.c238 uint8 *dataBuf = (uint8 *)HIVIEW_MemAlloc(MEM_POOL_HIVIEW_ID, BUFFER_SIZE); in HIVIEW_FileCopy() local
239 if (dataBuf == NULL) { in HIVIEW_FileCopy()
243 int32 nLen = HIVIEW_FileRead(fdSrc, dataBuf, BUFFER_SIZE); in HIVIEW_FileCopy()
245 if (HIVIEW_FileWrite(fdDest, dataBuf, nLen) != nLen) { in HIVIEW_FileCopy()
248 nLen = HIVIEW_FileRead(fdSrc, dataBuf, BUFFER_SIZE); in HIVIEW_FileCopy()
253 free(dataBuf); in HIVIEW_FileCopy()
/base/update/updater/services/package/pkg_package/
Dpkg_upgradefile.cpp328 PkgBuffer dataBuf(len); in ReadImgHashTLV() local
329 ret = pkgStream_->Read(dataBuf, parsedLen, dataBuf.length, readBytes); in ReadImgHashTLV()
335 parsedLen += dataBuf.length; in ReadImgHashTLV()
336 algorithm->Update(dataBuf, dataBuf.length); in ReadImgHashTLV()
337 imgHashBuf.insert(imgHashBuf.end(), dataBuf.data.begin(), dataBuf.data.end()); in ReadImgHashTLV()
/base/security/device_auth/frameworks/src/lite/
Dipc_adapt.c675 uint8_t dataBuf[IPC_STACK_BUFF_SZ] = { 0 }; in GaCbOnTransmitWithType() local
679 IpcIoInit(&reply, (void *)dataBuf, sizeof(dataBuf), 0); in GaCbOnTransmitWithType()
879 uint8_t dataBuf[IPC_STACK_BUFF_SZ] = { 0 }; in GaCbOnRequestWithType() local
884 IpcIoInit(&reply, (void *)dataBuf, sizeof(dataBuf), 0); in GaCbOnRequestWithType()
/base/telephony/sms_mms/test/gtest/
Dzero_branch_mms_test.cpp486 auto dataBuf = std::make_unique<char[]>(BUF_LEN); variable
487 decodeBuffer.WriteDataBuffer(std::move(dataBuf), BUF_LEN);
505 auto dataBuf = std::make_unique<char[]>(BUF_LEN); variable
506 decodeBuffer.WriteDataBuffer(std::move(dataBuf), BUF_LEN);